OSDN Git Service

PR libstdc++/38923
[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
15362   # Fake what AC_TRY_COMPILE does, without linking as this is
15363   # unnecessary for this test.
15364
15365     cat > conftest.$ac_ext << EOF
15366 #line 15366 "configure"
15367 int main()
15368 {
15369   _Decimal32 d1;
15370   _Decimal64 d2;
15371   _Decimal128 d3;
15372   return 0;
15373 }
15374 EOF
15375
15376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15377 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15378     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379   (eval $ac_compile) 2>&5
15380   ac_status=$?
15381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382   test $ac_status = 0; }; then
15383
15384 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15385
15386       enable_dfp=yes
15387     else
15388       enable_dfp=no
15389     fi
15390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15391 $as_echo "$enable_dfp" >&6; }
15392     rm -f conftest*
15393
15394
15395 # Checks for compiler support that doesn't require linking.
15396
15397   # All these tests are for C++; save the language and the compiler flags.
15398   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15399   # found in GLIBCXX_CONFIGURE.
15400
15401   ac_ext=cpp
15402 ac_cpp='$CXXCPP $CPPFLAGS'
15403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15406
15407   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15408   ac_save_CXXFLAGS="$CXXFLAGS"
15409
15410   # Check for maintainer-mode bits.
15411   if test x"$USE_MAINTAINER_MODE" = xno; then
15412     WERROR=''
15413   else
15414     WERROR='-Werror'
15415   fi
15416
15417   # Check for -ffunction-sections -fdata-sections
15418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15419 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15420   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h.  */
15423 int foo; void bar() { };
15424 int
15425 main ()
15426 {
15427
15428   ;
15429   return 0;
15430 }
15431 _ACEOF
15432 if ac_fn_cxx_try_compile "$LINENO"; then :
15433   ac_fdsections=yes
15434 else
15435   ac_fdsections=no
15436 fi
15437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438   if test "$ac_test_CXXFLAGS" = set; then
15439     CXXFLAGS="$ac_save_CXXFLAGS"
15440   else
15441     # this is the suspicious part
15442     CXXFLAGS=''
15443   fi
15444   if test x"$ac_fdsections" = x"yes"; then
15445     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15446   fi
15447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15448 $as_echo "$ac_fdsections" >&6; }
15449
15450   ac_ext=c
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15455
15456
15457
15458
15459
15460 # Enable all the variable C++ runtime options that don't require linking.
15461
15462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15463 $as_echo_n "checking for underlying I/O to use... " >&6; }
15464    # Check whether --enable-cstdio was given.
15465 if test "${enable_cstdio+set}" = set; then :
15466   enableval=$enable_cstdio;
15467       case "$enableval" in
15468        stdio) ;;
15469        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15470                           esac
15471
15472 else
15473   enable_cstdio=stdio
15474 fi
15475
15476
15477
15478   # Now that libio has been removed, you can have any color you want as long
15479   # as it's black.  This is one big no-op until other packages are added, but
15480   # showing the framework never hurts.
15481   case ${enable_cstdio} in
15482     stdio)
15483       CSTDIO_H=config/io/c_io_stdio.h
15484       BASIC_FILE_H=config/io/basic_file_stdio.h
15485       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15486       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15487 $as_echo "stdio" >&6; }
15488       ;;
15489   esac
15490
15491
15492
15493
15494
15495
15496    # Check whether --enable-clocale was given.
15497 if test "${enable_clocale+set}" = set; then :
15498   enableval=$enable_clocale;
15499       case "$enableval" in
15500        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15501        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15502                           esac
15503
15504 else
15505   enable_clocale=auto
15506 fi
15507
15508
15509
15510   # Deal with gettext issues.  Default to not using it (=no) until we detect
15511   # support for it later.  Let the user turn it off via --e/d, but let that
15512   # default to on for easier handling.
15513   USE_NLS=no
15514   # Check whether --enable-nls was given.
15515 if test "${enable_nls+set}" = set; then :
15516   enableval=$enable_nls;
15517 else
15518   enable_nls=yes
15519 fi
15520
15521
15522   # Either a known packaage, or "auto"
15523   if test $enable_clocale = no || test $enable_clocale = yes; then
15524      enable_clocale=auto
15525   fi
15526   enable_clocale_flag=$enable_clocale
15527
15528   # Probe for locale model to use if none specified.
15529   # Default to "generic".
15530   if test $enable_clocale_flag = auto; then
15531     case ${target_os} in
15532       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15533         enable_clocale_flag=gnu
15534         ;;
15535       darwin* | freebsd*)
15536         enable_clocale_flag=darwin
15537         ;;
15538       *)
15539         enable_clocale_flag=generic
15540         ;;
15541     esac
15542   fi
15543
15544   # Sanity check model, and test for special functionality.
15545   if test $enable_clocale_flag = gnu; then
15546     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h.  */
15548
15549     #include <features.h>
15550     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15551       _GLIBCXX_ok
15552     #endif
15553
15554 _ACEOF
15555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15556   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15557   enable_clocale_flag=gnu
15558 else
15559   enable_clocale_flag=generic
15560 fi
15561 rm -f conftest*
15562
15563
15564     if test $enable_clocale = auto; then
15565       # Test for bugs early in glibc-2.2.x series
15566       if test "$cross_compiling" = yes; then :
15567   enable_clocale_flag=generic
15568 else
15569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h.  */
15571
15572       #define _GNU_SOURCE 1
15573       #include <locale.h>
15574       #include <string.h>
15575       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15576       extern __typeof(newlocale) __newlocale;
15577       extern __typeof(duplocale) __duplocale;
15578       extern __typeof(strcoll_l) __strcoll_l;
15579       #endif
15580       int main()
15581       {
15582         const char __one[] = "Äuglein Augmen";
15583         const char __two[] = "Äuglein";
15584         int i;
15585         int j;
15586         __locale_t        loc;
15587         __locale_t        loc_dup;
15588         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15589         loc_dup = __duplocale(loc);
15590         i = __strcoll_l(__one, __two, loc);
15591         j = __strcoll_l(__one, __two, loc_dup);
15592         return 0;
15593       }
15594
15595 _ACEOF
15596 if ac_fn_c_try_run "$LINENO"; then :
15597   enable_clocale_flag=gnu
15598 else
15599   enable_clocale_flag=generic
15600 fi
15601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15602   conftest.$ac_objext conftest.beam conftest.$ac_ext
15603 fi
15604
15605     fi
15606
15607     # Set it to scream when it hurts.
15608     ac_save_CFLAGS="$CFLAGS"
15609     CFLAGS="-Wimplicit-function-declaration -Werror"
15610
15611     # Use strxfrm_l if available.
15612     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h.  */
15614 #define _GNU_SOURCE 1
15615                     #include <string.h>
15616                     #include <locale.h>
15617 int
15618 main ()
15619 {
15620 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15621   ;
15622   return 0;
15623 }
15624 _ACEOF
15625 if ac_fn_c_try_compile "$LINENO"; then :
15626
15627 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15628
15629 fi
15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15631
15632     # Use strerror_l if available.
15633     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h.  */
15635 #define _GNU_SOURCE 1
15636                     #include <string.h>
15637                     #include <locale.h>
15638 int
15639 main ()
15640 {
15641 __locale_t loc; strerror_l(5, loc);
15642   ;
15643   return 0;
15644 }
15645 _ACEOF
15646 if ac_fn_c_try_compile "$LINENO"; then :
15647
15648 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15649
15650 fi
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652
15653     CFLAGS="$ac_save_CFLAGS"
15654   fi
15655
15656   # Perhaps use strerror_r if available, and strerror_l isn't.
15657   ac_save_CFLAGS="$CFLAGS"
15658   CFLAGS="-Wimplicit-function-declaration -Werror"
15659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h.  */
15661 #define _GNU_SOURCE 1
15662                   #include <string.h>
15663                   #include <locale.h>
15664 int
15665 main ()
15666 {
15667 char s[128]; strerror_r(5, s, 128);
15668   ;
15669   return 0;
15670 }
15671 _ACEOF
15672 if ac_fn_c_try_compile "$LINENO"; then :
15673
15674 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15675
15676 fi
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678   CFLAGS="$ac_save_CFLAGS"
15679
15680   # Set configure bits for specified locale package
15681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15682 $as_echo_n "checking for C locale to use... " >&6; }
15683   case ${enable_clocale_flag} in
15684     generic)
15685       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15686 $as_echo "generic" >&6; }
15687
15688       CLOCALE_H=config/locale/generic/c_locale.h
15689       CLOCALE_CC=config/locale/generic/c_locale.cc
15690       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15691       CCOLLATE_CC=config/locale/generic/collate_members.cc
15692       CCTYPE_CC=config/locale/generic/ctype_members.cc
15693       CMESSAGES_H=config/locale/generic/messages_members.h
15694       CMESSAGES_CC=config/locale/generic/messages_members.cc
15695       CMONEY_CC=config/locale/generic/monetary_members.cc
15696       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15697       CTIME_H=config/locale/generic/time_members.h
15698       CTIME_CC=config/locale/generic/time_members.cc
15699       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15700       ;;
15701     darwin)
15702       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15703 $as_echo "darwin or freebsd" >&6; }
15704
15705       CLOCALE_H=config/locale/generic/c_locale.h
15706       CLOCALE_CC=config/locale/generic/c_locale.cc
15707       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15708       CCOLLATE_CC=config/locale/generic/collate_members.cc
15709       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15710       CMESSAGES_H=config/locale/generic/messages_members.h
15711       CMESSAGES_CC=config/locale/generic/messages_members.cc
15712       CMONEY_CC=config/locale/generic/monetary_members.cc
15713       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15714       CTIME_H=config/locale/generic/time_members.h
15715       CTIME_CC=config/locale/generic/time_members.cc
15716       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15717       ;;
15718
15719     gnu)
15720       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15721 $as_echo "gnu" >&6; }
15722
15723       # Declare intention to use gettext, and add support for specific
15724       # languages.
15725       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15726       ALL_LINGUAS="de fr"
15727
15728       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15729       # Extract the first word of "msgfmt", so it can be a program name with args.
15730 set dummy msgfmt; ac_word=$2
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15732 $as_echo_n "checking for $ac_word... " >&6; }
15733 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15734   $as_echo_n "(cached) " >&6
15735 else
15736   if test -n "$check_msgfmt"; then
15737   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15738 else
15739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15740 for as_dir in $PATH
15741 do
15742   IFS=$as_save_IFS
15743   test -z "$as_dir" && as_dir=.
15744     for ac_exec_ext in '' $ac_executable_extensions; do
15745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15746     ac_cv_prog_check_msgfmt="yes"
15747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15748     break 2
15749   fi
15750 done
15751   done
15752 IFS=$as_save_IFS
15753
15754   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15755 fi
15756 fi
15757 check_msgfmt=$ac_cv_prog_check_msgfmt
15758 if test -n "$check_msgfmt"; then
15759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15760 $as_echo "$check_msgfmt" >&6; }
15761 else
15762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15763 $as_echo "no" >&6; }
15764 fi
15765
15766
15767       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15768         USE_NLS=yes
15769       fi
15770       # Export the build objects.
15771       for ling in $ALL_LINGUAS; do \
15772         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15773         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15774       done
15775
15776
15777
15778       CLOCALE_H=config/locale/gnu/c_locale.h
15779       CLOCALE_CC=config/locale/gnu/c_locale.cc
15780       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15781       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15782       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15783       CMESSAGES_H=config/locale/gnu/messages_members.h
15784       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15785       CMONEY_CC=config/locale/gnu/monetary_members.cc
15786       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15787       CTIME_H=config/locale/gnu/time_members.h
15788       CTIME_CC=config/locale/gnu/time_members.cc
15789       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15790       ;;
15791     ieee_1003.1-2001)
15792       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15793 $as_echo "IEEE 1003.1" >&6; }
15794
15795       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15796       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15797       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798       CCOLLATE_CC=config/locale/generic/collate_members.cc
15799       CCTYPE_CC=config/locale/generic/ctype_members.cc
15800       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15801       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15802       CMONEY_CC=config/locale/generic/monetary_members.cc
15803       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804       CTIME_H=config/locale/generic/time_members.h
15805       CTIME_CC=config/locale/generic/time_members.cc
15806       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15807       ;;
15808   esac
15809
15810   # This is where the testsuite looks for locale catalogs, using the
15811   # -DLOCALEDIR define during testsuite compilation.
15812   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15813
15814
15815   # A standalone libintl (e.g., GNU libintl) may be in use.
15816   if test $USE_NLS = yes; then
15817     for ac_header in libintl.h
15818 do :
15819   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15820 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15821   cat >>confdefs.h <<_ACEOF
15822 #define HAVE_LIBINTL_H 1
15823 _ACEOF
15824
15825 else
15826   USE_NLS=no
15827 fi
15828
15829 done
15830
15831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15832 $as_echo_n "checking for library containing gettext... " >&6; }
15833 if test "${ac_cv_search_gettext+set}" = set; then :
15834   $as_echo_n "(cached) " >&6
15835 else
15836   ac_func_search_save_LIBS=$LIBS
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h.  */
15839
15840 /* Override any GCC internal prototype to avoid an error.
15841    Use char because int might match the return type of a GCC
15842    builtin and then its argument prototype would still apply.  */
15843 #ifdef __cplusplus
15844 extern "C"
15845 #endif
15846 char gettext ();
15847 int
15848 main ()
15849 {
15850 return gettext ();
15851   ;
15852   return 0;
15853 }
15854 _ACEOF
15855 for ac_lib in '' intl; do
15856   if test -z "$ac_lib"; then
15857     ac_res="none required"
15858   else
15859     ac_res=-l$ac_lib
15860     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15861   fi
15862   if test x$gcc_no_link = xyes; then
15863   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15864 fi
15865 if ac_fn_c_try_link "$LINENO"; then :
15866   ac_cv_search_gettext=$ac_res
15867 fi
15868 rm -f core conftest.err conftest.$ac_objext \
15869     conftest$ac_exeext
15870   if test "${ac_cv_search_gettext+set}" = set; then :
15871   break
15872 fi
15873 done
15874 if test "${ac_cv_search_gettext+set}" = set; then :
15875
15876 else
15877   ac_cv_search_gettext=no
15878 fi
15879 rm conftest.$ac_ext
15880 LIBS=$ac_func_search_save_LIBS
15881 fi
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15883 $as_echo "$ac_cv_search_gettext" >&6; }
15884 ac_res=$ac_cv_search_gettext
15885 if test "$ac_res" != no; then :
15886   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15887
15888 else
15889   USE_NLS=no
15890 fi
15891
15892   fi
15893   if test $USE_NLS = yes; then
15894
15895 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15896
15897   fi
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15915 $as_echo_n "checking for std::allocator base class... " >&6; }
15916    # Check whether --enable-libstdcxx-allocator was given.
15917 if test "${enable_libstdcxx_allocator+set}" = set; then :
15918   enableval=$enable_libstdcxx_allocator;
15919       case "$enableval" in
15920        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15921        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15922                           esac
15923
15924 else
15925   enable_libstdcxx_allocator=auto
15926 fi
15927
15928
15929
15930   # If they didn't use this option switch, or if they specified --enable
15931   # with no specific model, we'll have to look for one.  If they
15932   # specified --disable (???), do likewise.
15933   if test $enable_libstdcxx_allocator = no ||
15934      test $enable_libstdcxx_allocator = yes;
15935   then
15936      enable_libstdcxx_allocator=auto
15937   fi
15938
15939   # Either a known package, or "auto". Auto implies the default choice
15940   # for a particular platform.
15941   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15942
15943   # Probe for host-specific support if no specific model is specified.
15944   # Default to "new".
15945   if test $enable_libstdcxx_allocator_flag = auto; then
15946     case ${target_os} in
15947       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15948         enable_libstdcxx_allocator_flag=new
15949         ;;
15950       *)
15951         enable_libstdcxx_allocator_flag=new
15952         ;;
15953     esac
15954   fi
15955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15956 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15957
15958
15959   # Set configure bits for specified locale package
15960   case ${enable_libstdcxx_allocator_flag} in
15961     bitmap)
15962       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15963       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15964       ;;
15965     malloc)
15966       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15967       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15968       ;;
15969     mt)
15970       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15971       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15972       ;;
15973     new)
15974       ALLOCATOR_H=config/allocator/new_allocator_base.h
15975       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15976       ;;
15977     pool)
15978       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15979       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15980       ;;
15981   esac
15982
15983
15984
15985
15986
15987    # Check whether --enable-cheaders was given.
15988 if test "${enable_cheaders+set}" = set; then :
15989   enableval=$enable_cheaders;
15990       case "$enableval" in
15991        c|c_std|c_global) ;;
15992        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15993                           esac
15994
15995 else
15996   enable_cheaders=$c_model
15997 fi
15998
15999
16000   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16001 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16002
16003   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16004
16005   # Allow overrides to configure.host here.
16006   if test $enable_cheaders = c_global; then
16007      c_compatibility=yes
16008   fi
16009
16010   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16011      c_extra=yes
16012   fi
16013
16014
16015
16016
16017
16018
16019
16020
16021    # Check whether --enable-long-long was given.
16022 if test "${enable_long_long+set}" = set; then :
16023   enableval=$enable_long_long;
16024       case "$enableval" in
16025        yes|no) ;;
16026        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16027       esac
16028
16029 else
16030   enable_long_long=yes
16031 fi
16032
16033
16034   if test $enable_long_long = yes; then
16035
16036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16037
16038   fi
16039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16040 $as_echo_n "checking for enabled long long specializations... " >&6; }
16041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16042 $as_echo "$enable_long_long" >&6; }
16043
16044
16045    # Check whether --enable-wchar_t was given.
16046 if test "${enable_wchar_t+set}" = set; then :
16047   enableval=$enable_wchar_t;
16048       case "$enableval" in
16049        yes|no) ;;
16050        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16051       esac
16052
16053 else
16054   enable_wchar_t=yes
16055 fi
16056
16057
16058
16059   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16060   for ac_header in wchar.h
16061 do :
16062   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16063 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16064   cat >>confdefs.h <<_ACEOF
16065 #define HAVE_WCHAR_H 1
16066 _ACEOF
16067  ac_has_wchar_h=yes
16068 else
16069   ac_has_wchar_h=no
16070 fi
16071
16072 done
16073
16074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16075 $as_echo_n "checking for mbstate_t... " >&6; }
16076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h.  */
16078 #include <wchar.h>
16079 int
16080 main ()
16081 {
16082 mbstate_t teststate;
16083   ;
16084   return 0;
16085 }
16086 _ACEOF
16087 if ac_fn_c_try_compile "$LINENO"; then :
16088   have_mbstate_t=yes
16089 else
16090   have_mbstate_t=no
16091 fi
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16094 $as_echo "$have_mbstate_t" >&6; }
16095   if test x"$have_mbstate_t" = xyes; then
16096
16097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16098
16099   fi
16100
16101   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16102   # ac_has_wchar_h.
16103   for ac_header in wctype.h
16104 do :
16105   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16106 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16107   cat >>confdefs.h <<_ACEOF
16108 #define HAVE_WCTYPE_H 1
16109 _ACEOF
16110  ac_has_wctype_h=yes
16111 else
16112   ac_has_wctype_h=no
16113 fi
16114
16115 done
16116
16117
16118   if test x"$enable_wchar_t" = x"yes"; then
16119
16120
16121     ac_ext=cpp
16122 ac_cpp='$CXXCPP $CPPFLAGS'
16123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16126
16127
16128     if test x"$ac_has_wchar_h" = xyes &&
16129        test x"$ac_has_wctype_h" = xyes; then
16130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h.  */
16132 #include <wchar.h>
16133                       #include <stddef.h>
16134                       wint_t i;
16135                       long l = WEOF;
16136                       long j = WCHAR_MIN;
16137                       long k = WCHAR_MAX;
16138                       namespace test
16139                       {
16140                         using ::btowc;
16141                         using ::fgetwc;
16142                         using ::fgetws;
16143                         using ::fputwc;
16144                         using ::fputws;
16145                         using ::fwide;
16146                         using ::fwprintf;
16147                         using ::fwscanf;
16148                         using ::getwc;
16149                         using ::getwchar;
16150                         using ::mbrlen;
16151                         using ::mbrtowc;
16152                         using ::mbsinit;
16153                         using ::mbsrtowcs;
16154                         using ::putwc;
16155                         using ::putwchar;
16156                         using ::swprintf;
16157                         using ::swscanf;
16158                         using ::ungetwc;
16159                         using ::vfwprintf;
16160                         using ::vswprintf;
16161                         using ::vwprintf;
16162                         using ::wcrtomb;
16163                         using ::wcscat;
16164                         using ::wcschr;
16165                         using ::wcscmp;
16166                         using ::wcscoll;
16167                         using ::wcscpy;
16168                         using ::wcscspn;
16169                         using ::wcsftime;
16170                         using ::wcslen;
16171                         using ::wcsncat;
16172                         using ::wcsncmp;
16173                         using ::wcsncpy;
16174                         using ::wcspbrk;
16175                         using ::wcsrchr;
16176                         using ::wcsrtombs;
16177                         using ::wcsspn;
16178                         using ::wcsstr;
16179                         using ::wcstod;
16180                         using ::wcstok;
16181                         using ::wcstol;
16182                         using ::wcstoul;
16183                         using ::wcsxfrm;
16184                         using ::wctob;
16185                         using ::wmemchr;
16186                         using ::wmemcmp;
16187                         using ::wmemcpy;
16188                         using ::wmemmove;
16189                         using ::wmemset;
16190                         using ::wprintf;
16191                         using ::wscanf;
16192                       }
16193
16194 int
16195 main ()
16196 {
16197
16198   ;
16199   return 0;
16200 }
16201 _ACEOF
16202 if ac_fn_cxx_try_compile "$LINENO"; then :
16203
16204 else
16205   enable_wchar_t=no
16206 fi
16207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16208     else
16209       enable_wchar_t=no
16210     fi
16211
16212     ac_ext=c
16213 ac_cpp='$CPP $CPPFLAGS'
16214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16217
16218   fi
16219
16220   if test x"$enable_wchar_t" = x"yes"; then
16221
16222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16223
16224   fi
16225
16226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16229 $as_echo "$enable_wchar_t" >&6; }
16230
16231
16232
16233    # Check whether --enable-c99 was given.
16234 if test "${enable_c99+set}" = set; then :
16235   enableval=$enable_c99;
16236       case "$enableval" in
16237        yes|no) ;;
16238        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16239       esac
16240
16241 else
16242   enable_c99=yes
16243 fi
16244
16245
16246
16247   if test x"$enable_c99" = x"yes"; then
16248
16249
16250   ac_ext=cpp
16251 ac_cpp='$CXXCPP $CPPFLAGS'
16252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16255
16256
16257   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16258   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16259   # spuriously enabled.
16260   # Long term, -std=c++0x could be even better, could manage to explicitely
16261   # request C99 facilities to the underlying C headers.
16262   ac_save_CXXFLAGS="$CXXFLAGS"
16263   CXXFLAGS="$CXXFLAGS -std=c++98"
16264   ac_save_LIBS="$LIBS"
16265   ac_save_gcc_no_link="$gcc_no_link"
16266
16267   if test x$gcc_no_link != xyes; then
16268     # Use -fno-exceptions to that the C driver can link these tests without
16269     # hitting undefined references to personality routines.
16270     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16272 $as_echo_n "checking for sin in -lm... " >&6; }
16273 if test "${ac_cv_lib_m_sin+set}" = set; then :
16274   $as_echo_n "(cached) " >&6
16275 else
16276   ac_check_lib_save_LIBS=$LIBS
16277 LIBS="-lm  $LIBS"
16278 if test x$gcc_no_link = xyes; then
16279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16280 fi
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h.  */
16283
16284 /* Override any GCC internal prototype to avoid an error.
16285    Use char because int might match the return type of a GCC
16286    builtin and then its argument prototype would still apply.  */
16287 #ifdef __cplusplus
16288 extern "C"
16289 #endif
16290 char sin ();
16291 int
16292 main ()
16293 {
16294 return sin ();
16295   ;
16296   return 0;
16297 }
16298 _ACEOF
16299 if ac_fn_cxx_try_link "$LINENO"; then :
16300   ac_cv_lib_m_sin=yes
16301 else
16302   ac_cv_lib_m_sin=no
16303 fi
16304 rm -f core conftest.err conftest.$ac_objext \
16305     conftest$ac_exeext conftest.$ac_ext
16306 LIBS=$ac_check_lib_save_LIBS
16307 fi
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16309 $as_echo "$ac_cv_lib_m_sin" >&6; }
16310 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16311
16312       LIBS="$LIBS -lm"
16313
16314 else
16315
16316       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16317       gcc_no_link=yes
16318
16319 fi
16320
16321   fi
16322
16323   # Check for the existence of <math.h> functions used if C99 is enabled.
16324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16325 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16326   if test "${glibcxx_cv_c99_math+set}" = set; then :
16327   $as_echo_n "(cached) " >&6
16328 else
16329
16330   if test x$gcc_no_link = xyes; then
16331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h.  */
16333 #include <math.h>
16334       volatile double d1, d2;
16335       volatile int i;
16336 int
16337 main ()
16338 {
16339 i = fpclassify(d1);
16340       i = isfinite(d1);
16341       i = isinf(d1);
16342       i = isnan(d1);
16343       i = isnormal(d1);
16344       i = signbit(d1);
16345       i = isgreater(d1, d2);
16346       i = isgreaterequal(d1, d2);
16347       i = isless(d1, d2);
16348       i = islessequal(d1, d2);
16349       i = islessgreater(d1, d2);
16350       i = islessgreater(d1, d2);
16351       i = isunordered(d1, d2);
16352
16353   ;
16354   return 0;
16355 }
16356 _ACEOF
16357 if ac_fn_cxx_try_compile "$LINENO"; then :
16358   glibcxx_cv_c99_math=yes
16359 else
16360   glibcxx_cv_c99_math=no
16361 fi
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16363 else
16364   if test x$gcc_no_link = xyes; then
16365   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16366 fi
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h.  */
16369 #include <math.h>
16370       volatile double d1, d2;
16371       volatile int i;
16372 int
16373 main ()
16374 {
16375 i = fpclassify(d1);
16376       i = isfinite(d1);
16377       i = isinf(d1);
16378       i = isnan(d1);
16379       i = isnormal(d1);
16380       i = signbit(d1);
16381       i = isgreater(d1, d2);
16382       i = isgreaterequal(d1, d2);
16383       i = isless(d1, d2);
16384       i = islessequal(d1, d2);
16385       i = islessgreater(d1, d2);
16386       i = islessgreater(d1, d2);
16387       i = isunordered(d1, d2);
16388
16389   ;
16390   return 0;
16391 }
16392 _ACEOF
16393 if ac_fn_cxx_try_link "$LINENO"; then :
16394   glibcxx_cv_c99_math=yes
16395 else
16396   glibcxx_cv_c99_math=no
16397 fi
16398 rm -f core conftest.err conftest.$ac_objext \
16399     conftest$ac_exeext conftest.$ac_ext
16400 fi
16401
16402 fi
16403
16404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16405 $as_echo "$glibcxx_cv_c99_math" >&6; }
16406   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16407
16408 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16409
16410   fi
16411
16412   # Check for the existence of <complex.h> complex math functions.
16413   # This is necessary even though libstdc++ uses the builtin versions
16414   # of these functions, because if the builtin cannot be used, a reference
16415   # to the library function is emitted.
16416   for ac_header in tgmath.h
16417 do :
16418   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16419 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16420   cat >>confdefs.h <<_ACEOF
16421 #define HAVE_TGMATH_H 1
16422 _ACEOF
16423  ac_has_tgmath_h=yes
16424 else
16425   ac_has_tgmath_h=no
16426 fi
16427
16428 done
16429
16430   for ac_header in complex.h
16431 do :
16432   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_complex_h" = x""yes; then :
16434   cat >>confdefs.h <<_ACEOF
16435 #define HAVE_COMPLEX_H 1
16436 _ACEOF
16437  ac_has_complex_h=yes
16438 else
16439   ac_has_complex_h=no
16440 fi
16441
16442 done
16443
16444   glibcxx_cv_c99_complex=no;
16445   if test x"$ac_has_complex_h" = x"yes"; then
16446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16447 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16448     if test x$gcc_no_link = xyes; then
16449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h.  */
16451 #include <complex.h>
16452         typedef __complex__ float float_type;
16453         typedef __complex__ double double_type;
16454         typedef __complex__ long double ld_type;
16455         volatile float_type tmpf;
16456         volatile double_type tmpd;
16457         volatile ld_type tmpld;
16458         volatile float f;
16459         volatile double d;
16460         volatile long double ld;
16461 int
16462 main ()
16463 {
16464 f = cabsf(tmpf);
16465         f = cargf(tmpf);
16466         tmpf = ccosf(tmpf);
16467         tmpf = ccoshf(tmpf);
16468         tmpf = cexpf(tmpf);
16469         tmpf = clogf(tmpf);
16470         tmpf = csinf(tmpf);
16471         tmpf = csinhf(tmpf);
16472         tmpf = csqrtf(tmpf);
16473         tmpf = ctanf(tmpf);
16474         tmpf = ctanhf(tmpf);
16475         tmpf = cpowf(tmpf, tmpf);
16476         tmpf = cprojf(tmpf);
16477         d = cabs(tmpd);
16478         d = carg(tmpd);
16479         tmpd = ccos(tmpd);
16480         tmpd = ccosh(tmpd);
16481         tmpd = cexp(tmpd);
16482         tmpd = clog(tmpd);
16483         tmpd = csin(tmpd);
16484         tmpd = csinh(tmpd);
16485         tmpd = csqrt(tmpd);
16486         tmpd = ctan(tmpd);
16487         tmpd = ctanh(tmpd);
16488         tmpd = cpow(tmpd, tmpd);
16489         tmpd = cproj(tmpd);
16490         ld = cabsl(tmpld);
16491         ld = cargl(tmpld);
16492         tmpld = ccosl(tmpld);
16493         tmpld = ccoshl(tmpld);
16494         tmpld = cexpl(tmpld);
16495         tmpld = clogl(tmpld);
16496         tmpld = csinl(tmpld);
16497         tmpld = csinhl(tmpld);
16498         tmpld = csqrtl(tmpld);
16499         tmpld = ctanl(tmpld);
16500         tmpld = ctanhl(tmpld);
16501         tmpld = cpowl(tmpld, tmpld);
16502         tmpld = cprojl(tmpld);
16503
16504   ;
16505   return 0;
16506 }
16507 _ACEOF
16508 if ac_fn_cxx_try_compile "$LINENO"; then :
16509   glibcxx_cv_c99_complex=yes
16510 else
16511   glibcxx_cv_c99_complex=no
16512 fi
16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 else
16515   if test x$gcc_no_link = xyes; then
16516   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16517 fi
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h.  */
16520 #include <complex.h>
16521         typedef __complex__ float float_type;
16522         typedef __complex__ double double_type;
16523         typedef __complex__ long double ld_type;
16524         volatile float_type tmpf;
16525         volatile double_type tmpd;
16526         volatile ld_type tmpld;
16527         volatile float f;
16528         volatile double d;
16529         volatile long double ld;
16530 int
16531 main ()
16532 {
16533 f = cabsf(tmpf);
16534         f = cargf(tmpf);
16535         tmpf = ccosf(tmpf);
16536         tmpf = ccoshf(tmpf);
16537         tmpf = cexpf(tmpf);
16538         tmpf = clogf(tmpf);
16539         tmpf = csinf(tmpf);
16540         tmpf = csinhf(tmpf);
16541         tmpf = csqrtf(tmpf);
16542         tmpf = ctanf(tmpf);
16543         tmpf = ctanhf(tmpf);
16544         tmpf = cpowf(tmpf, tmpf);
16545         tmpf = cprojf(tmpf);
16546         d = cabs(tmpd);
16547         d = carg(tmpd);
16548         tmpd = ccos(tmpd);
16549         tmpd = ccosh(tmpd);
16550         tmpd = cexp(tmpd);
16551         tmpd = clog(tmpd);
16552         tmpd = csin(tmpd);
16553         tmpd = csinh(tmpd);
16554         tmpd = csqrt(tmpd);
16555         tmpd = ctan(tmpd);
16556         tmpd = ctanh(tmpd);
16557         tmpd = cpow(tmpd, tmpd);
16558         tmpd = cproj(tmpd);
16559         ld = cabsl(tmpld);
16560         ld = cargl(tmpld);
16561         tmpld = ccosl(tmpld);
16562         tmpld = ccoshl(tmpld);
16563         tmpld = cexpl(tmpld);
16564         tmpld = clogl(tmpld);
16565         tmpld = csinl(tmpld);
16566         tmpld = csinhl(tmpld);
16567         tmpld = csqrtl(tmpld);
16568         tmpld = ctanl(tmpld);
16569         tmpld = ctanhl(tmpld);
16570         tmpld = cpowl(tmpld, tmpld);
16571         tmpld = cprojl(tmpld);
16572
16573   ;
16574   return 0;
16575 }
16576 _ACEOF
16577 if ac_fn_cxx_try_link "$LINENO"; then :
16578   glibcxx_cv_c99_complex=yes
16579 else
16580   glibcxx_cv_c99_complex=no
16581 fi
16582 rm -f core conftest.err conftest.$ac_objext \
16583     conftest$ac_exeext conftest.$ac_ext
16584 fi
16585   fi
16586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16587 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16588   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16589
16590 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16591
16592   fi
16593
16594   # Check for the existence in <stdio.h> of vscanf, et. al.
16595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16596 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16597   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16598   $as_echo_n "(cached) " >&6
16599 else
16600
16601   if test x$gcc_no_link = xyes; then
16602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h.  */
16604 #include <stdio.h>
16605       #include <stdarg.h>
16606       void foo(char* fmt, ...)
16607       {
16608         va_list args; va_start(args, fmt);
16609         vfscanf(stderr, "%i", args);
16610         vscanf("%i", args);
16611         vsnprintf(fmt, 0, "%i", args);
16612         vsscanf(fmt, "%i", args);
16613       }
16614 int
16615 main ()
16616 {
16617 snprintf("12", 0, "%i");
16618   ;
16619   return 0;
16620 }
16621 _ACEOF
16622 if ac_fn_cxx_try_compile "$LINENO"; then :
16623   glibcxx_cv_c99_stdio=yes
16624 else
16625   glibcxx_cv_c99_stdio=no
16626 fi
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 else
16629   if test x$gcc_no_link = xyes; then
16630   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16631 fi
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h.  */
16634 #include <stdio.h>
16635       #include <stdarg.h>
16636       void foo(char* fmt, ...)
16637       {
16638         va_list args; va_start(args, fmt);
16639         vfscanf(stderr, "%i", args);
16640         vscanf("%i", args);
16641         vsnprintf(fmt, 0, "%i", args);
16642         vsscanf(fmt, "%i", args);
16643       }
16644 int
16645 main ()
16646 {
16647 snprintf("12", 0, "%i");
16648   ;
16649   return 0;
16650 }
16651 _ACEOF
16652 if ac_fn_cxx_try_link "$LINENO"; then :
16653   glibcxx_cv_c99_stdio=yes
16654 else
16655   glibcxx_cv_c99_stdio=no
16656 fi
16657 rm -f core conftest.err conftest.$ac_objext \
16658     conftest$ac_exeext conftest.$ac_ext
16659 fi
16660
16661 fi
16662
16663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16664 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16665
16666   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16668 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16669   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16670   $as_echo_n "(cached) " >&6
16671 else
16672
16673   if test x$gcc_no_link = xyes; then
16674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h.  */
16676 #include <stdlib.h>
16677       volatile float f;
16678       volatile long double ld;
16679       volatile unsigned long long ll;
16680       lldiv_t mydivt;
16681 int
16682 main ()
16683 {
16684 char* tmp;
16685       f = strtof("gnu", &tmp);
16686       ld = strtold("gnu", &tmp);
16687       ll = strtoll("gnu", &tmp, 10);
16688       ll = strtoull("gnu", &tmp, 10);
16689       ll = llabs(10);
16690       mydivt = lldiv(10,1);
16691       ll = mydivt.quot;
16692       ll = mydivt.rem;
16693       ll = atoll("10");
16694       _Exit(0);
16695
16696   ;
16697   return 0;
16698 }
16699 _ACEOF
16700 if ac_fn_cxx_try_compile "$LINENO"; then :
16701   glibcxx_cv_c99_stdlib=yes
16702 else
16703   glibcxx_cv_c99_stdlib=no
16704 fi
16705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 else
16707   if test x$gcc_no_link = xyes; then
16708   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16709 fi
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h.  */
16712 #include <stdlib.h>
16713       volatile float f;
16714       volatile long double ld;
16715       volatile unsigned long long ll;
16716       lldiv_t mydivt;
16717 int
16718 main ()
16719 {
16720 char* tmp;
16721       f = strtof("gnu", &tmp);
16722       ld = strtold("gnu", &tmp);
16723       ll = strtoll("gnu", &tmp, 10);
16724       ll = strtoull("gnu", &tmp, 10);
16725       ll = llabs(10);
16726       mydivt = lldiv(10,1);
16727       ll = mydivt.quot;
16728       ll = mydivt.rem;
16729       ll = atoll("10");
16730       _Exit(0);
16731
16732   ;
16733   return 0;
16734 }
16735 _ACEOF
16736 if ac_fn_cxx_try_link "$LINENO"; then :
16737   glibcxx_cv_c99_stdlib=yes
16738 else
16739   glibcxx_cv_c99_stdlib=no
16740 fi
16741 rm -f core conftest.err conftest.$ac_objext \
16742     conftest$ac_exeext conftest.$ac_ext
16743 fi
16744
16745 fi
16746
16747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16748 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16749
16750   # Check for the existence in <wchar.h> of wcstold, etc.
16751   glibcxx_cv_c99_wchar=no;
16752   if test x"$ac_has_wchar_h" = xyes &&
16753      test x"$ac_has_wctype_h" = xyes; then
16754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16755 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16756     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h.  */
16758 #include <wchar.h>
16759                     namespace test
16760                     {
16761                       using ::wcstold;
16762                       using ::wcstoll;
16763                       using ::wcstoull;
16764                     }
16765
16766 int
16767 main ()
16768 {
16769
16770   ;
16771   return 0;
16772 }
16773 _ACEOF
16774 if ac_fn_cxx_try_compile "$LINENO"; then :
16775   glibcxx_cv_c99_wchar=yes
16776 else
16777   glibcxx_cv_c99_wchar=no
16778 fi
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16780
16781     # Checks for wide character functions that may not be present.
16782     # Injection of these is wrapped with guard macros.
16783     # NB: only put functions here, instead of immediately above, if
16784     # absolutely necessary.
16785     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h.  */
16787 #include <wchar.h>
16788                     namespace test { using ::vfwscanf; }
16789 int
16790 main ()
16791 {
16792
16793   ;
16794   return 0;
16795 }
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798
16799 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16800
16801 fi
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803
16804     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h.  */
16806 #include <wchar.h>
16807                     namespace test { using ::vswscanf; }
16808 int
16809 main ()
16810 {
16811
16812   ;
16813   return 0;
16814 }
16815 _ACEOF
16816 if ac_fn_cxx_try_compile "$LINENO"; then :
16817
16818 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16819
16820 fi
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822
16823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h.  */
16825 #include <wchar.h>
16826                     namespace test { using ::vwscanf; }
16827 int
16828 main ()
16829 {
16830
16831   ;
16832   return 0;
16833 }
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16836
16837 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16838
16839 fi
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841
16842     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h.  */
16844 #include <wchar.h>
16845                     namespace test { using ::wcstof; }
16846 int
16847 main ()
16848 {
16849
16850   ;
16851   return 0;
16852 }
16853 _ACEOF
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16855
16856 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16857
16858 fi
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860
16861     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h.  */
16863 #include <wctype.h>
16864 int
16865 main ()
16866 {
16867  wint_t t; int i = iswblank(t);
16868   ;
16869   return 0;
16870 }
16871 _ACEOF
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16873
16874 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16875
16876 fi
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878
16879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16880 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16881   fi
16882
16883   # Option parsed, now set things appropriately.
16884   if test x"$glibcxx_cv_c99_math" = x"no" ||
16885      test x"$glibcxx_cv_c99_complex" = x"no" ||
16886      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16887      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16888      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16889     enable_c99=no;
16890   else
16891
16892 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16893
16894   fi
16895
16896   gcc_no_link="$ac_save_gcc_no_link"
16897   LIBS="$ac_save_LIBS"
16898   CXXFLAGS="$ac_save_CXXFLAGS"
16899   ac_ext=c
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16904
16905   fi
16906
16907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16908 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16910 $as_echo "$enable_c99" >&6; }
16911
16912
16913    # Check whether --enable-concept-checks was given.
16914 if test "${enable_concept_checks+set}" = set; then :
16915   enableval=$enable_concept_checks;
16916       case "$enableval" in
16917        yes|no) ;;
16918        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16919       esac
16920
16921 else
16922   enable_concept_checks=no
16923 fi
16924
16925
16926   if test $enable_concept_checks = yes; then
16927
16928 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16929
16930   fi
16931
16932
16933    # Check whether --enable-libstdcxx-debug-flags was given.
16934 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16935   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16936       xno | x)    enable_libstdcxx_debug_flags= ;;
16937       x-*)        ;;
16938       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16939      esac
16940 else
16941   enable_libstdcxx_debug_flags="-g3 -O0"
16942 fi
16943
16944
16945
16946   # Option parsed, now set things appropriately
16947   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16948
16949
16950   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16951 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16952
16953
16954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16955 $as_echo_n "checking for additional debug build... " >&6; }
16956    # Check whether --enable-libstdcxx-debug was given.
16957 if test "${enable_libstdcxx_debug+set}" = set; then :
16958   enableval=$enable_libstdcxx_debug;
16959       case "$enableval" in
16960        yes|no) ;;
16961        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16962       esac
16963
16964 else
16965   enable_libstdcxx_debug=no
16966 fi
16967
16968
16969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16970 $as_echo "$enable_libstdcxx_debug" >&6; }
16971
16972
16973
16974
16975   enable_parallel=no;
16976
16977   # See if configured libgomp/omp.h exists. (libgomp may be in
16978   # noconfigdirs but not explicitly disabled.)
16979   if test -f $glibcxx_builddir/../libgomp/omp.h; then
16980     enable_parallel=yes;
16981   else
16982     { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16983 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16984   fi
16985
16986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16987 $as_echo_n "checking for parallel mode support... " >&6; }
16988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16989 $as_echo "$enable_parallel" >&6; }
16990
16991
16992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16993 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16994    # Check whether --enable-cxx-flags was given.
16995 if test "${enable_cxx_flags+set}" = set; then :
16996   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16997       xno | x)   enable_cxx_flags= ;;
16998       x-*)       ;;
16999       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17000      esac
17001 else
17002   enable_cxx_flags=
17003 fi
17004
17005
17006
17007   # Run through flags (either default or command-line) and set anything
17008   # extra (e.g., #defines) that must accompany particular g++ options.
17009   if test -n "$enable_cxx_flags"; then
17010     for f in $enable_cxx_flags; do
17011       case "$f" in
17012         -fhonor-std)  ;;
17013         -*)  ;;
17014         *)   # and we're trying to pass /what/ exactly?
17015              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17016       esac
17017     done
17018   fi
17019
17020   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17022 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17023
17024
17025
17026    # Check whether --enable-fully-dynamic-string was given.
17027 if test "${enable_fully_dynamic_string+set}" = set; then :
17028   enableval=$enable_fully_dynamic_string;
17029       case "$enableval" in
17030        yes|no) ;;
17031        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17032       esac
17033
17034 else
17035   enable_fully_dynamic_string=no
17036 fi
17037
17038
17039   if test $enable_fully_dynamic_string = yes; then
17040
17041 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17042
17043   fi
17044
17045
17046 # Checks for operating systems support that doesn't require linking.
17047
17048
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17050 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17051 if test "${glibcxx_cv_system_error1+set}" = set; then :
17052   $as_echo_n "(cached) " >&6
17053 else
17054
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h.  */
17057 #include <errno.h>
17058 int
17059 main ()
17060 {
17061 int i = EOWNERDEAD;
17062   ;
17063   return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_c_try_compile "$LINENO"; then :
17067   glibcxx_cv_system_error1=yes
17068 else
17069   glibcxx_cv_system_error1=no
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073 fi
17074
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17076 $as_echo "$glibcxx_cv_system_error1" >&6; }
17077 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17078
17079 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17080
17081 fi
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17083 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17084 if test "${glibcxx_cv_system_error2+set}" = set; then :
17085   $as_echo_n "(cached) " >&6
17086 else
17087
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h.  */
17090 #include <errno.h>
17091 int
17092 main ()
17093 {
17094 int i = ENOTRECOVERABLE;
17095   ;
17096   return 0;
17097 }
17098 _ACEOF
17099 if ac_fn_c_try_compile "$LINENO"; then :
17100   glibcxx_cv_system_error2=yes
17101 else
17102   glibcxx_cv_system_error2=no
17103 fi
17104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105
17106 fi
17107
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17109 $as_echo "$glibcxx_cv_system_error2" >&6; }
17110 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17111
17112 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17113
17114 fi
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17116 $as_echo_n "checking for ENOLINK... " >&6; }
17117 if test "${glibcxx_cv_system_error3+set}" = set; then :
17118   $as_echo_n "(cached) " >&6
17119 else
17120
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h.  */
17123 #include <errno.h>
17124 int
17125 main ()
17126 {
17127 int i = ENOLINK;
17128   ;
17129   return 0;
17130 }
17131 _ACEOF
17132 if ac_fn_c_try_compile "$LINENO"; then :
17133   glibcxx_cv_system_error3=yes
17134 else
17135   glibcxx_cv_system_error3=no
17136 fi
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138
17139 fi
17140
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17142 $as_echo "$glibcxx_cv_system_error3" >&6; }
17143 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17144
17145 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17146
17147 fi
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17149 $as_echo_n "checking for EPROTO... " >&6; }
17150 if test "${glibcxx_cv_system_error4+set}" = set; then :
17151   $as_echo_n "(cached) " >&6
17152 else
17153
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h.  */
17156 #include <errno.h>
17157 int
17158 main ()
17159 {
17160 int i = EPROTO;
17161   ;
17162   return 0;
17163 }
17164 _ACEOF
17165 if ac_fn_c_try_compile "$LINENO"; then :
17166   glibcxx_cv_system_error4=yes
17167 else
17168   glibcxx_cv_system_error4=no
17169 fi
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171
17172 fi
17173
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17175 $as_echo "$glibcxx_cv_system_error4" >&6; }
17176 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17177
17178 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17179
17180 fi
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17182 $as_echo_n "checking for ENODATA... " >&6; }
17183 if test "${glibcxx_cv_system_error5+set}" = set; then :
17184   $as_echo_n "(cached) " >&6
17185 else
17186
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h.  */
17189 #include <errno.h>
17190 int
17191 main ()
17192 {
17193 int i = ENODATA;
17194   ;
17195   return 0;
17196 }
17197 _ACEOF
17198 if ac_fn_c_try_compile "$LINENO"; then :
17199   glibcxx_cv_system_error5=yes
17200 else
17201   glibcxx_cv_system_error5=no
17202 fi
17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204
17205 fi
17206
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17208 $as_echo "$glibcxx_cv_system_error5" >&6; }
17209 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17210
17211 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17212
17213 fi
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17215 $as_echo_n "checking for ENOSR... " >&6; }
17216 if test "${glibcxx_cv_system_error6+set}" = set; then :
17217   $as_echo_n "(cached) " >&6
17218 else
17219
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h.  */
17222 #include <errno.h>
17223 int
17224 main ()
17225 {
17226 int i = ENOSR;
17227   ;
17228   return 0;
17229 }
17230 _ACEOF
17231 if ac_fn_c_try_compile "$LINENO"; then :
17232   glibcxx_cv_system_error6=yes
17233 else
17234   glibcxx_cv_system_error6=no
17235 fi
17236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17237
17238 fi
17239
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17241 $as_echo "$glibcxx_cv_system_error6" >&6; }
17242 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17243
17244 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17245
17246 fi
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17248 $as_echo_n "checking for ENOSTR... " >&6; }
17249 if test "${glibcxx_cv_system_error7+set}" = set; then :
17250   $as_echo_n "(cached) " >&6
17251 else
17252
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h.  */
17255 #include <errno.h>
17256 int
17257 main ()
17258 {
17259 int i = ENOSTR;
17260   ;
17261   return 0;
17262 }
17263 _ACEOF
17264 if ac_fn_c_try_compile "$LINENO"; then :
17265   glibcxx_cv_system_error7=yes
17266 else
17267   glibcxx_cv_system_error7=no
17268 fi
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270
17271 fi
17272
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17274 $as_echo "$glibcxx_cv_system_error7" >&6; }
17275 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17276
17277 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17278
17279 fi
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17281 $as_echo_n "checking for ETIME... " >&6; }
17282 if test "${glibcxx_cv_system_error8+set}" = set; then :
17283   $as_echo_n "(cached) " >&6
17284 else
17285
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h.  */
17288 #include <errno.h>
17289 int
17290 main ()
17291 {
17292 int i = ETIME;
17293   ;
17294   return 0;
17295 }
17296 _ACEOF
17297 if ac_fn_c_try_compile "$LINENO"; then :
17298   glibcxx_cv_system_error8=yes
17299 else
17300   glibcxx_cv_system_error8=no
17301 fi
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303
17304 fi
17305
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17307 $as_echo "$glibcxx_cv_system_error8" >&6; }
17308 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17309
17310 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17311
17312 fi
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17314 $as_echo_n "checking for EBADMSG... " >&6; }
17315 if test "${glibcxx_cv_system_error9+set}" = set; then :
17316   $as_echo_n "(cached) " >&6
17317 else
17318
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h.  */
17321 #include <errno.h>
17322 int
17323 main ()
17324 {
17325 int i = EBADMSG;
17326   ;
17327   return 0;
17328 }
17329 _ACEOF
17330 if ac_fn_c_try_compile "$LINENO"; then :
17331   glibcxx_cv_system_error9=yes
17332 else
17333   glibcxx_cv_system_error9=no
17334 fi
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336
17337 fi
17338
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17340 $as_echo "$glibcxx_cv_system_error9" >&6; }
17341 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17342
17343 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17344
17345 fi
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17347 $as_echo_n "checking for ECANCELED... " >&6; }
17348 if test "${glibcxx_cv_system_error10+set}" = set; then :
17349   $as_echo_n "(cached) " >&6
17350 else
17351
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h.  */
17354 #include <errno.h>
17355 int
17356 main ()
17357 {
17358 int i = ECANCELED;
17359   ;
17360   return 0;
17361 }
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364   glibcxx_cv_system_error10=yes
17365 else
17366   glibcxx_cv_system_error10=no
17367 fi
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17369
17370 fi
17371
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17373 $as_echo "$glibcxx_cv_system_error10" >&6; }
17374 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17375
17376 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17377
17378 fi
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17380 $as_echo_n "checking for EOVERFLOW... " >&6; }
17381 if test "${glibcxx_cv_system_error11+set}" = set; then :
17382   $as_echo_n "(cached) " >&6
17383 else
17384
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h.  */
17387 #include <errno.h>
17388 int
17389 main ()
17390 {
17391 int i = EOVERFLOW;
17392   ;
17393   return 0;
17394 }
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397   glibcxx_cv_system_error11=yes
17398 else
17399   glibcxx_cv_system_error11=no
17400 fi
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402
17403 fi
17404
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17406 $as_echo "$glibcxx_cv_system_error11" >&6; }
17407 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17408
17409 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17410
17411 fi
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17413 $as_echo_n "checking for ENOTSUP... " >&6; }
17414 if test "${glibcxx_cv_system_error12+set}" = set; then :
17415   $as_echo_n "(cached) " >&6
17416 else
17417
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h.  */
17420 #include <errno.h>
17421 int
17422 main ()
17423 {
17424 int i = ENOTSUP;
17425   ;
17426   return 0;
17427 }
17428 _ACEOF
17429 if ac_fn_c_try_compile "$LINENO"; then :
17430   glibcxx_cv_system_error12=yes
17431 else
17432   glibcxx_cv_system_error12=no
17433 fi
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17435
17436 fi
17437
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17439 $as_echo "$glibcxx_cv_system_error12" >&6; }
17440 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17441
17442 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17443
17444 fi
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17446 $as_echo_n "checking for EIDRM... " >&6; }
17447 if test "${glibcxx_cv_system_error13+set}" = set; then :
17448   $as_echo_n "(cached) " >&6
17449 else
17450
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h.  */
17453 #include <errno.h>
17454 int
17455 main ()
17456 {
17457 int i = EIDRM;
17458   ;
17459   return 0;
17460 }
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463   glibcxx_cv_system_error13=yes
17464 else
17465   glibcxx_cv_system_error13=no
17466 fi
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468
17469 fi
17470
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17472 $as_echo "$glibcxx_cv_system_error13" >&6; }
17473 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17474
17475 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17476
17477 fi
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17479 $as_echo_n "checking for ETXTBSY... " >&6; }
17480 if test "${glibcxx_cv_system_error14+set}" = set; then :
17481   $as_echo_n "(cached) " >&6
17482 else
17483
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h.  */
17486 #include <errno.h>
17487 int
17488 main ()
17489 {
17490 int i = ETXTBSY;
17491   ;
17492   return 0;
17493 }
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496   glibcxx_cv_system_error14=yes
17497 else
17498   glibcxx_cv_system_error14=no
17499 fi
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501
17502 fi
17503
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17505 $as_echo "$glibcxx_cv_system_error14" >&6; }
17506 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17507
17508 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17509
17510 fi
17511
17512
17513
17514 # For the streamoff typedef.
17515
17516
17517
17518   ac_ext=cpp
17519 ac_cpp='$CXXCPP $CPPFLAGS'
17520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17523
17524
17525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17526 $as_echo_n "checking for int64_t... " >&6; }
17527   if test "${glibcxx_cv_INT64_T+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 int
17535 main ()
17536 {
17537 int64_t var;
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 if ac_fn_cxx_try_compile "$LINENO"; then :
17543   glibcxx_cv_INT64_T=yes
17544 else
17545   glibcxx_cv_INT64_T=no
17546 fi
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548
17549 fi
17550
17551
17552   if test $glibcxx_cv_INT64_T = yes; then
17553
17554 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17555
17556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17557 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17558
17559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17560 $as_echo_n "checking for int64_t as long... " >&6; }
17561     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17562   $as_echo_n "(cached) " >&6
17563 else
17564
17565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h.  */
17567 #include <stdint.h>
17568         template<typename, typename> struct same { enum { value = -1 }; };
17569         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17570         int array[same<int64_t, long>::value];
17571 int
17572 main ()
17573 {
17574
17575   ;
17576   return 0;
17577 }
17578 _ACEOF
17579 if ac_fn_cxx_try_compile "$LINENO"; then :
17580   glibcxx_cv_int64_t_long=yes
17581 else
17582   glibcxx_cv_int64_t_long=no
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586 fi
17587
17588
17589     if test $glibcxx_cv_int64_t_long = yes; then
17590
17591 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17592
17593       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17594 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17595     fi
17596
17597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17598 $as_echo_n "checking for int64_t as long long... " >&6; }
17599     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17600   $as_echo_n "(cached) " >&6
17601 else
17602
17603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h.  */
17605 #include <stdint.h>
17606         template<typename, typename> struct same { enum { value = -1 }; };
17607         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17608         int array[same<int64_t, long long>::value];
17609 int
17610 main ()
17611 {
17612
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618   glibcxx_cv_int64_t_long_long=yes
17619 else
17620   glibcxx_cv_int64_t_long_long=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626
17627     if test $glibcxx_cv_int64_t_long_long = yes; then
17628
17629 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17630
17631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17632 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17633     fi
17634   fi
17635
17636   ac_ext=c
17637 ac_cpp='$CPP $CPPFLAGS'
17638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641
17642
17643
17644 # For LFS support.
17645
17646
17647   ac_ext=cpp
17648 ac_cpp='$CXXCPP $CPPFLAGS'
17649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17652
17653   ac_save_CXXFLAGS="$CXXFLAGS"
17654   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17656 $as_echo_n "checking for LFS support... " >&6; }
17657   if test "${glibcxx_cv_LFS+set}" = set; then :
17658   $as_echo_n "(cached) " >&6
17659 else
17660
17661     if test x$gcc_no_link = xyes; then
17662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h.  */
17664 #include <unistd.h>
17665        #include <stdio.h>
17666        #include <sys/stat.h>
17667
17668 int
17669 main ()
17670 {
17671 FILE* fp;
17672        fopen64("t", "w");
17673        fseeko64(fp, 0, SEEK_CUR);
17674        ftello64(fp);
17675        lseek64(1, 0, SEEK_CUR);
17676        struct stat64 buf;
17677        fstat64(1, &buf);
17678   ;
17679   return 0;
17680 }
17681 _ACEOF
17682 if ac_fn_cxx_try_compile "$LINENO"; then :
17683   glibcxx_cv_LFS=yes
17684 else
17685   glibcxx_cv_LFS=no
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 else
17689   if test x$gcc_no_link = xyes; then
17690   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17691 fi
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h.  */
17694 #include <unistd.h>
17695        #include <stdio.h>
17696        #include <sys/stat.h>
17697
17698 int
17699 main ()
17700 {
17701 FILE* fp;
17702        fopen64("t", "w");
17703        fseeko64(fp, 0, SEEK_CUR);
17704        ftello64(fp);
17705        lseek64(1, 0, SEEK_CUR);
17706        struct stat64 buf;
17707        fstat64(1, &buf);
17708   ;
17709   return 0;
17710 }
17711 _ACEOF
17712 if ac_fn_cxx_try_link "$LINENO"; then :
17713   glibcxx_cv_LFS=yes
17714 else
17715   glibcxx_cv_LFS=no
17716 fi
17717 rm -f core conftest.err conftest.$ac_objext \
17718     conftest$ac_exeext conftest.$ac_ext
17719 fi
17720
17721 fi
17722
17723   if test $glibcxx_cv_LFS = yes; then
17724
17725 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17726
17727   fi
17728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17729 $as_echo "$glibcxx_cv_LFS" >&6; }
17730   CXXFLAGS="$ac_save_CXXFLAGS"
17731   ac_ext=c
17732 ac_cpp='$CPP $CPPFLAGS'
17733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17736
17737
17738
17739 # For showmanyc_helper().
17740 for ac_header in sys/ioctl.h sys/filio.h
17741 do :
17742   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17743 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17744 eval as_val=\$$as_ac_Header
17745    if test "x$as_val" = x""yes; then :
17746   cat >>confdefs.h <<_ACEOF
17747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17748 _ACEOF
17749
17750 fi
17751
17752 done
17753
17754
17755
17756
17757   ac_ext=cpp
17758 ac_cpp='$CXXCPP $CPPFLAGS'
17759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17762
17763   ac_save_CXXFLAGS="$CXXFLAGS"
17764   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17765
17766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17767 $as_echo_n "checking for poll... " >&6; }
17768   if test "${glibcxx_cv_POLL+set}" = set; then :
17769   $as_echo_n "(cached) " >&6
17770 else
17771
17772     if test x$gcc_no_link = xyes; then
17773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775 #include <poll.h>
17776 int
17777 main ()
17778 {
17779 struct pollfd pfd[1];
17780        pfd[0].events = POLLIN;
17781        poll(pfd, 1, 0);
17782   ;
17783   return 0;
17784 }
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787   glibcxx_cv_POLL=yes
17788 else
17789   glibcxx_cv_POLL=no
17790 fi
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 else
17793   if test x$gcc_no_link = xyes; then
17794   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17795 fi
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h.  */
17798 #include <poll.h>
17799 int
17800 main ()
17801 {
17802 struct pollfd pfd[1];
17803        pfd[0].events = POLLIN;
17804        poll(pfd, 1, 0);
17805   ;
17806   return 0;
17807 }
17808 _ACEOF
17809 if ac_fn_cxx_try_link "$LINENO"; then :
17810   glibcxx_cv_POLL=yes
17811 else
17812   glibcxx_cv_POLL=no
17813 fi
17814 rm -f core conftest.err conftest.$ac_objext \
17815     conftest$ac_exeext conftest.$ac_ext
17816 fi
17817
17818 fi
17819
17820   if test $glibcxx_cv_POLL = yes; then
17821
17822 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17823
17824   fi
17825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17826 $as_echo "$glibcxx_cv_POLL" >&6; }
17827
17828   CXXFLAGS="$ac_save_CXXFLAGS"
17829   ac_ext=c
17830 ac_cpp='$CPP $CPPFLAGS'
17831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17834
17835
17836
17837
17838
17839   ac_ext=cpp
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17844
17845   ac_save_CXXFLAGS="$CXXFLAGS"
17846   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17847
17848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17849 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17850   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17851   $as_echo_n "(cached) " >&6
17852 else
17853
17854     if test x$gcc_no_link = xyes; then
17855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h.  */
17857 #include <sys/stat.h>
17858 int
17859 main ()
17860 {
17861 struct stat buffer;
17862        fstat(0, &buffer);
17863        S_ISREG(buffer.st_mode);
17864   ;
17865   return 0;
17866 }
17867 _ACEOF
17868 if ac_fn_cxx_try_compile "$LINENO"; then :
17869   glibcxx_cv_S_ISREG=yes
17870 else
17871   glibcxx_cv_S_ISREG=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 else
17875   if test x$gcc_no_link = xyes; then
17876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 fi
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h.  */
17880 #include <sys/stat.h>
17881 int
17882 main ()
17883 {
17884 struct stat buffer;
17885        fstat(0, &buffer);
17886        S_ISREG(buffer.st_mode);
17887   ;
17888   return 0;
17889 }
17890 _ACEOF
17891 if ac_fn_cxx_try_link "$LINENO"; then :
17892   glibcxx_cv_S_ISREG=yes
17893 else
17894   glibcxx_cv_S_ISREG=no
17895 fi
17896 rm -f core conftest.err conftest.$ac_objext \
17897     conftest$ac_exeext conftest.$ac_ext
17898 fi
17899
17900 fi
17901
17902   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17903   $as_echo_n "(cached) " >&6
17904 else
17905
17906     if test x$gcc_no_link = xyes; then
17907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h.  */
17909 #include <sys/stat.h>
17910 int
17911 main ()
17912 {
17913 struct stat buffer;
17914        fstat(0, &buffer);
17915        S_IFREG & buffer.st_mode;
17916   ;
17917   return 0;
17918 }
17919 _ACEOF
17920 if ac_fn_cxx_try_compile "$LINENO"; then :
17921   glibcxx_cv_S_IFREG=yes
17922 else
17923   glibcxx_cv_S_IFREG=no
17924 fi
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926 else
17927   if test x$gcc_no_link = xyes; then
17928   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17929 fi
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h.  */
17932 #include <sys/stat.h>
17933 int
17934 main ()
17935 {
17936 struct stat buffer;
17937        fstat(0, &buffer);
17938        S_IFREG & buffer.st_mode;
17939   ;
17940   return 0;
17941 }
17942 _ACEOF
17943 if ac_fn_cxx_try_link "$LINENO"; then :
17944   glibcxx_cv_S_IFREG=yes
17945 else
17946   glibcxx_cv_S_IFREG=no
17947 fi
17948 rm -f core conftest.err conftest.$ac_objext \
17949     conftest$ac_exeext conftest.$ac_ext
17950 fi
17951
17952 fi
17953
17954   res=no
17955   if test $glibcxx_cv_S_ISREG = yes; then
17956
17957 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17958
17959     res=S_ISREG
17960   elif test $glibcxx_cv_S_IFREG = yes; then
17961
17962 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17963
17964     res=S_IFREG
17965   fi
17966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17967 $as_echo "$res" >&6; }
17968
17969   CXXFLAGS="$ac_save_CXXFLAGS"
17970   ac_ext=c
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17975
17976
17977
17978 # For xsputn_2().
17979 for ac_header in sys/uio.h
17980 do :
17981   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17982 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17983   cat >>confdefs.h <<_ACEOF
17984 #define HAVE_SYS_UIO_H 1
17985 _ACEOF
17986
17987 fi
17988
17989 done
17990
17991
17992
17993
17994   ac_ext=cpp
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999
18000   ac_save_CXXFLAGS="$CXXFLAGS"
18001   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18002
18003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18004 $as_echo_n "checking for writev... " >&6; }
18005   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18006   $as_echo_n "(cached) " >&6
18007 else
18008
18009     if test x$gcc_no_link = xyes; then
18010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h.  */
18012 #include <sys/uio.h>
18013 int
18014 main ()
18015 {
18016 struct iovec iov[2];
18017        writev(0, iov, 0);
18018   ;
18019   return 0;
18020 }
18021 _ACEOF
18022 if ac_fn_cxx_try_compile "$LINENO"; then :
18023   glibcxx_cv_WRITEV=yes
18024 else
18025   glibcxx_cv_WRITEV=no
18026 fi
18027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 else
18029   if test x$gcc_no_link = xyes; then
18030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18031 fi
18032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18033 /* end confdefs.h.  */
18034 #include <sys/uio.h>
18035 int
18036 main ()
18037 {
18038 struct iovec iov[2];
18039        writev(0, iov, 0);
18040   ;
18041   return 0;
18042 }
18043 _ACEOF
18044 if ac_fn_cxx_try_link "$LINENO"; then :
18045   glibcxx_cv_WRITEV=yes
18046 else
18047   glibcxx_cv_WRITEV=no
18048 fi
18049 rm -f core conftest.err conftest.$ac_objext \
18050     conftest$ac_exeext conftest.$ac_ext
18051 fi
18052
18053 fi
18054
18055   if test $glibcxx_cv_WRITEV = yes; then
18056
18057 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18058
18059   fi
18060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18061 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18062
18063   CXXFLAGS="$ac_save_CXXFLAGS"
18064   ac_ext=c
18065 ac_cpp='$CPP $CPPFLAGS'
18066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18069
18070
18071
18072 # For C99 support to TR1.
18073
18074
18075
18076   ac_ext=cpp
18077 ac_cpp='$CXXCPP $CPPFLAGS'
18078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18081
18082
18083   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18084   # undefined and fake C99 facilities may be spuriously enabled.
18085   ac_save_CXXFLAGS="$CXXFLAGS"
18086   CXXFLAGS="$CXXFLAGS -std=c++98"
18087
18088   # Check for the existence of <complex.h> complex math functions used
18089   # by tr1/complex.
18090   for ac_header in complex.h
18091 do :
18092   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18093 if test "x$ac_cv_header_complex_h" = x""yes; then :
18094   cat >>confdefs.h <<_ACEOF
18095 #define HAVE_COMPLEX_H 1
18096 _ACEOF
18097  ac_has_complex_h=yes
18098 else
18099   ac_has_complex_h=no
18100 fi
18101
18102 done
18103
18104   ac_c99_complex_tr1=no;
18105   if test x"$ac_has_complex_h" = x"yes"; then
18106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18107 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18108     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h.  */
18110 #include <complex.h>
18111 int
18112 main ()
18113 {
18114 typedef __complex__ float float_type; float_type tmpf;
18115                     cacosf(tmpf);
18116                     casinf(tmpf);
18117                     catanf(tmpf);
18118                     cacoshf(tmpf);
18119                     casinhf(tmpf);
18120                     catanhf(tmpf);
18121                     typedef __complex__ double double_type; double_type tmpd;
18122                     cacos(tmpd);
18123                     casin(tmpd);
18124                     catan(tmpd);
18125                     cacosh(tmpd);
18126                     casinh(tmpd);
18127                     catanh(tmpd);
18128                     typedef __complex__ long double ld_type; ld_type tmpld;
18129                     cacosl(tmpld);
18130                     casinl(tmpld);
18131                     catanl(tmpld);
18132                     cacoshl(tmpld);
18133                     casinhl(tmpld);
18134                     catanhl(tmpld);
18135
18136   ;
18137   return 0;
18138 }
18139 _ACEOF
18140 if ac_fn_cxx_try_compile "$LINENO"; then :
18141   ac_c99_complex_tr1=yes
18142 else
18143   ac_c99_complex_tr1=no
18144 fi
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146   fi
18147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18148 $as_echo "$ac_c99_complex_tr1" >&6; }
18149   if test x"$ac_c99_complex_tr1" = x"yes"; then
18150
18151 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18152
18153   fi
18154
18155   # Check for the existence of <ctype.h> functions.
18156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18157 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18158   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18159   $as_echo_n "(cached) " >&6
18160 else
18161
18162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h.  */
18164 #include <ctype.h>
18165 int
18166 main ()
18167 {
18168 int ch;
18169                   int ret;
18170                   ret = isblank(ch);
18171
18172   ;
18173   return 0;
18174 }
18175 _ACEOF
18176 if ac_fn_cxx_try_compile "$LINENO"; then :
18177   glibcxx_cv_c99_ctype_tr1=yes
18178 else
18179   glibcxx_cv_c99_ctype_tr1=no
18180 fi
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182
18183 fi
18184
18185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18186 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18187   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18188
18189 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18190
18191   fi
18192
18193   # Check for the existence of <fenv.h> functions.
18194   for ac_header in fenv.h
18195 do :
18196   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18197 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18198   cat >>confdefs.h <<_ACEOF
18199 #define HAVE_FENV_H 1
18200 _ACEOF
18201  ac_has_fenv_h=yes
18202 else
18203   ac_has_fenv_h=no
18204 fi
18205
18206 done
18207
18208   ac_c99_fenv_tr1=no;
18209   if test x"$ac_has_fenv_h" = x"yes"; then
18210     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18211 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18212     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h.  */
18214 #include <fenv.h>
18215 int
18216 main ()
18217 {
18218 int except, mode;
18219                     fexcept_t* pflag;
18220                     fenv_t* penv;
18221                     int ret;
18222                     ret = feclearexcept(except);
18223                     ret = fegetexceptflag(pflag, except);
18224                     ret = feraiseexcept(except);
18225                     ret = fesetexceptflag(pflag, except);
18226                     ret = fetestexcept(except);
18227                     ret = fegetround();
18228                     ret = fesetround(mode);
18229                     ret = fegetenv(penv);
18230                     ret = feholdexcept(penv);
18231                     ret = fesetenv(penv);
18232                     ret = feupdateenv(penv);
18233
18234   ;
18235   return 0;
18236 }
18237 _ACEOF
18238 if ac_fn_cxx_try_compile "$LINENO"; then :
18239   ac_c99_fenv_tr1=yes
18240 else
18241   ac_c99_fenv_tr1=no
18242 fi
18243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18244   fi
18245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18246 $as_echo "$ac_c99_fenv_tr1" >&6; }
18247   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18248
18249 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18250
18251   fi
18252
18253   # Check for the existence of <stdint.h> types.
18254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18255 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18256   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18257   $as_echo_n "(cached) " >&6
18258 else
18259
18260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h.  */
18262 #define __STDC_LIMIT_MACROS
18263                   #define __STDC_CONSTANT_MACROS
18264                   #include <stdint.h>
18265 int
18266 main ()
18267 {
18268 typedef int8_t          my_int8_t;
18269                   my_int8_t               i8 = INT8_MIN;
18270                   i8 = INT8_MAX;
18271                   typedef int16_t         my_int16_t;
18272                   my_int16_t              i16 = INT16_MIN;
18273                   i16 = INT16_MAX;
18274                   typedef int32_t         my_int32_t;
18275                   my_int32_t              i32 = INT32_MIN;
18276                   i32 = INT32_MAX;
18277                   typedef int64_t         my_int64_t;
18278                   my_int64_t              i64 = INT64_MIN;
18279                   i64 = INT64_MAX;
18280                   typedef int_fast8_t     my_int_fast8_t;
18281                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18282                   if8 = INT_FAST8_MAX;
18283                   typedef int_fast16_t    my_int_fast16_t;
18284                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18285                   if16 = INT_FAST16_MAX;
18286                   typedef int_fast32_t    my_int_fast32_t;
18287                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18288                   if32 = INT_FAST32_MAX;
18289                   typedef int_fast64_t    my_int_fast64_t;
18290                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18291                   if64 = INT_FAST64_MAX;
18292                   typedef int_least8_t    my_int_least8_t;
18293                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18294                   il8 = INT_LEAST8_MAX;
18295                   typedef int_least16_t   my_int_least16_t;
18296                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18297                   il16 = INT_LEAST16_MAX;
18298                   typedef int_least32_t   my_int_least32_t;
18299                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18300                   il32 = INT_LEAST32_MAX;
18301                   typedef int_least64_t   my_int_least64_t;
18302                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18303                   il64 = INT_LEAST64_MAX;
18304                   typedef intmax_t        my_intmax_t;
18305                   my_intmax_t             im = INTMAX_MAX;
18306                   im = INTMAX_MIN;
18307                   typedef intptr_t        my_intptr_t;
18308                   my_intptr_t             ip = INTPTR_MAX;
18309                   ip = INTPTR_MIN;
18310                   typedef uint8_t         my_uint8_t;
18311                   my_uint8_t              ui8 = UINT8_MAX;
18312                   ui8 = UINT8_MAX;
18313                   typedef uint16_t        my_uint16_t;
18314                   my_uint16_t             ui16 = UINT16_MAX;
18315                   ui16 = UINT16_MAX;
18316                   typedef uint32_t        my_uint32_t;
18317                   my_uint32_t             ui32 = UINT32_MAX;
18318                   ui32 = UINT32_MAX;
18319                   typedef uint64_t        my_uint64_t;
18320                   my_uint64_t             ui64 = UINT64_MAX;
18321                   ui64 = UINT64_MAX;
18322                   typedef uint_fast8_t    my_uint_fast8_t;
18323                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18324                   uif8 = UINT_FAST8_MAX;
18325                   typedef uint_fast16_t   my_uint_fast16_t;
18326                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18327                   uif16 = UINT_FAST16_MAX;
18328                   typedef uint_fast32_t   my_uint_fast32_t;
18329                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18330                   uif32 = UINT_FAST32_MAX;
18331                   typedef uint_fast64_t   my_uint_fast64_t;
18332                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18333                   uif64 = UINT_FAST64_MAX;
18334                   typedef uint_least8_t   my_uint_least8_t;
18335                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18336                   uil8 = UINT_LEAST8_MAX;
18337                   typedef uint_least16_t  my_uint_least16_t;
18338                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18339                   uil16 = UINT_LEAST16_MAX;
18340                   typedef uint_least32_t  my_uint_least32_t;
18341                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18342                   uil32 = UINT_LEAST32_MAX;
18343                   typedef uint_least64_t  my_uint_least64_t;
18344                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18345                   uil64 = UINT_LEAST64_MAX;
18346                   typedef uintmax_t       my_uintmax_t;
18347                   my_uintmax_t            uim = UINTMAX_MAX;
18348                   uim = UINTMAX_MAX;
18349                   typedef uintptr_t       my_uintptr_t;
18350                   my_uintptr_t            uip = UINTPTR_MAX;
18351                   uip = UINTPTR_MAX;
18352
18353   ;
18354   return 0;
18355 }
18356 _ACEOF
18357 if ac_fn_cxx_try_compile "$LINENO"; then :
18358   glibcxx_cv_c99_stdint_tr1=yes
18359 else
18360   glibcxx_cv_c99_stdint_tr1=no
18361 fi
18362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18363
18364 fi
18365
18366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18367 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18368   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18369
18370 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18371
18372   fi
18373
18374   # Check for the existence of <math.h> functions.
18375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18376 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18377   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18378   $as_echo_n "(cached) " >&6
18379 else
18380
18381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h.  */
18383 #include <math.h>
18384 int
18385 main ()
18386 {
18387 typedef double_t  my_double_t;
18388                   typedef float_t   my_float_t;
18389                   acosh(0.0);
18390                   acoshf(0.0f);
18391                   acoshl(0.0l);
18392                   asinh(0.0);
18393                   asinhf(0.0f);
18394                   asinhl(0.0l);
18395                   atanh(0.0);
18396                   atanhf(0.0f);
18397                   atanhl(0.0l);
18398                   cbrt(0.0);
18399                   cbrtf(0.0f);
18400                   cbrtl(0.0l);
18401                   copysign(0.0, 0.0);
18402                   copysignf(0.0f, 0.0f);
18403                   copysignl(0.0l, 0.0l);
18404                   erf(0.0);
18405                   erff(0.0f);
18406                   erfl(0.0l);
18407                   erfc(0.0);
18408                   erfcf(0.0f);
18409                   erfcl(0.0l);
18410                   exp2(0.0);
18411                   exp2f(0.0f);
18412                   exp2l(0.0l);
18413                   expm1(0.0);
18414                   expm1f(0.0f);
18415                   expm1l(0.0l);
18416                   fdim(0.0, 0.0);
18417                   fdimf(0.0f, 0.0f);
18418                   fdiml(0.0l, 0.0l);
18419                   fma(0.0, 0.0, 0.0);
18420                   fmaf(0.0f, 0.0f, 0.0f);
18421                   fmal(0.0l, 0.0l, 0.0l);
18422                   fmax(0.0, 0.0);
18423                   fmaxf(0.0f, 0.0f);
18424                   fmaxl(0.0l, 0.0l);
18425                   fmin(0.0, 0.0);
18426                   fminf(0.0f, 0.0f);
18427                   fminl(0.0l, 0.0l);
18428                   hypot(0.0, 0.0);
18429                   hypotf(0.0f, 0.0f);
18430                   hypotl(0.0l, 0.0l);
18431                   ilogb(0.0);
18432                   ilogbf(0.0f);
18433                   ilogbl(0.0l);
18434                   lgamma(0.0);
18435                   lgammaf(0.0f);
18436                   lgammal(0.0l);
18437                   llrint(0.0);
18438                   llrintf(0.0f);
18439                   llrintl(0.0l);
18440                   llround(0.0);
18441                   llroundf(0.0f);
18442                   llroundl(0.0l);
18443                   log1p(0.0);
18444                   log1pf(0.0f);
18445                   log1pl(0.0l);
18446                   log2(0.0);
18447                   log2f(0.0f);
18448                   log2l(0.0l);
18449                   logb(0.0);
18450                   logbf(0.0f);
18451                   logbl(0.0l);
18452                   lrint(0.0);
18453                   lrintf(0.0f);
18454                   lrintl(0.0l);
18455                   lround(0.0);
18456                   lroundf(0.0f);
18457                   lroundl(0.0l);
18458                   nan(0);
18459                   nanf(0);
18460                   nanl(0);
18461                   nearbyint(0.0);
18462                   nearbyintf(0.0f);
18463                   nearbyintl(0.0l);
18464                   nextafter(0.0, 0.0);
18465                   nextafterf(0.0f, 0.0f);
18466                   nextafterl(0.0l, 0.0l);
18467                   nexttoward(0.0, 0.0);
18468                   nexttowardf(0.0f, 0.0f);
18469                   nexttowardl(0.0l, 0.0l);
18470                   remainder(0.0, 0.0);
18471                   remainderf(0.0f, 0.0f);
18472                   remainderl(0.0l, 0.0l);
18473                   remquo(0.0, 0.0, 0);
18474                   remquof(0.0f, 0.0f, 0);
18475                   remquol(0.0l, 0.0l, 0);
18476                   rint(0.0);
18477                   rintf(0.0f);
18478                   rintl(0.0l);
18479                   round(0.0);
18480                   roundf(0.0f);
18481                   roundl(0.0l);
18482                   scalbln(0.0, 0l);
18483                   scalblnf(0.0f, 0l);
18484                   scalblnl(0.0l, 0l);
18485                   scalbn(0.0, 0);
18486                   scalbnf(0.0f, 0);
18487                   scalbnl(0.0l, 0);
18488                   tgamma(0.0);
18489                   tgammaf(0.0f);
18490                   tgammal(0.0l);
18491                   trunc(0.0);
18492                   truncf(0.0f);
18493                   truncl(0.0l);
18494
18495   ;
18496   return 0;
18497 }
18498 _ACEOF
18499 if ac_fn_cxx_try_compile "$LINENO"; then :
18500   glibcxx_cv_c99_math_tr1=yes
18501 else
18502   glibcxx_cv_c99_math_tr1=no
18503 fi
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18505
18506 fi
18507
18508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18509 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18510   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18511
18512 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18513
18514   fi
18515
18516   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18517   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18518   ac_c99_inttypes_tr1=no;
18519   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18521 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h.  */
18524 #include <inttypes.h>
18525 int
18526 main ()
18527 {
18528 intmax_t i, numer, denom, base;
18529                     const char* s;
18530                     char** endptr;
18531                     intmax_t ret = imaxabs(i);
18532                     imaxdiv_t dret = imaxdiv(numer, denom);
18533                     ret = strtoimax(s, endptr, base);
18534                     uintmax_t uret = strtoumax(s, endptr, base);
18535
18536   ;
18537   return 0;
18538 }
18539 _ACEOF
18540 if ac_fn_cxx_try_compile "$LINENO"; then :
18541   ac_c99_inttypes_tr1=yes
18542 else
18543   ac_c99_inttypes_tr1=no
18544 fi
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546   fi
18547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18548 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18549   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18550
18551 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18552
18553   fi
18554
18555   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18556   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18557   ac_c99_inttypes_wchar_t_tr1=no;
18558   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18560 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18561     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h.  */
18563 #include <inttypes.h>
18564 int
18565 main ()
18566 {
18567 intmax_t base;
18568                     const wchar_t* s;
18569                     wchar_t** endptr;
18570                     intmax_t ret = wcstoimax(s, endptr, base);
18571                     uintmax_t uret = wcstoumax(s, endptr, base);
18572
18573   ;
18574   return 0;
18575 }
18576 _ACEOF
18577 if ac_fn_cxx_try_compile "$LINENO"; then :
18578   ac_c99_inttypes_wchar_t_tr1=yes
18579 else
18580   ac_c99_inttypes_wchar_t_tr1=no
18581 fi
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583   fi
18584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18585 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18586   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18587
18588 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18589
18590   fi
18591
18592   # Check for the existence of the <stdbool.h> header.
18593   for ac_header in stdbool.h
18594 do :
18595   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18596 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18597   cat >>confdefs.h <<_ACEOF
18598 #define HAVE_STDBOOL_H 1
18599 _ACEOF
18600
18601 fi
18602
18603 done
18604
18605
18606   CXXFLAGS="$ac_save_CXXFLAGS"
18607   ac_ext=c
18608 ac_cpp='$CPP $CPPFLAGS'
18609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18612
18613
18614
18615 # For common values of EOF, SEEK_CUR, SEEK_END.
18616
18617
18618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18619 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18620   if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18621   $as_echo_n "(cached) " >&6
18622 else
18623
18624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h.  */
18626 #include <stdio.h>
18627 int
18628 main ()
18629 {
18630 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18631                     unusual values...
18632                   #endif
18633
18634   ;
18635   return 0;
18636 }
18637 _ACEOF
18638 if ac_fn_c_try_compile "$LINENO"; then :
18639   glibcxx_cv_stdio_macros=yes
18640 else
18641   glibcxx_cv_stdio_macros=no
18642 fi
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644
18645 fi
18646
18647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18648 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18649   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18650
18651 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18652
18653   fi
18654
18655
18656
18657 # For gettimeofday support.
18658
18659
18660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18661 $as_echo_n "checking for gettimeofday... " >&6; }
18662
18663
18664   ac_ext=cpp
18665 ac_cpp='$CXXCPP $CPPFLAGS'
18666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18669
18670   ac_save_CXXFLAGS="$CXXFLAGS"
18671   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18672
18673   ac_has_gettimeofday=no;
18674   for ac_header in sys/time.h
18675 do :
18676   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18678   cat >>confdefs.h <<_ACEOF
18679 #define HAVE_SYS_TIME_H 1
18680 _ACEOF
18681  ac_has_sys_time_h=yes
18682 else
18683   ac_has_sys_time_h=no
18684 fi
18685
18686 done
18687
18688   if test x"$ac_has_sys_time_h" = x"yes"; then
18689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18690 $as_echo_n "checking for gettimeofday... " >&6; }
18691     if test x$gcc_no_link = xyes; then
18692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h.  */
18694 #include <sys/time.h>
18695 int
18696 main ()
18697 {
18698 timeval tv; gettimeofday(&tv, 0);
18699   ;
18700   return 0;
18701 }
18702 _ACEOF
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704   ac_has_gettimeofday=yes
18705 else
18706   ac_has_gettimeofday=no
18707 fi
18708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 else
18710   if test x$gcc_no_link = xyes; then
18711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18712 fi
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h.  */
18715 #include <sys/time.h>
18716 int
18717 main ()
18718 {
18719 timeval tv; gettimeofday(&tv, 0);
18720   ;
18721   return 0;
18722 }
18723 _ACEOF
18724 if ac_fn_cxx_try_link "$LINENO"; then :
18725   ac_has_gettimeofday=yes
18726 else
18727   ac_has_gettimeofday=no
18728 fi
18729 rm -f core conftest.err conftest.$ac_objext \
18730     conftest$ac_exeext conftest.$ac_ext
18731 fi
18732
18733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18734 $as_echo "$ac_has_gettimeofday" >&6; }
18735   fi
18736
18737   if test x"$ac_has_gettimeofday" = x"yes"; then
18738
18739 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18740
18741   fi
18742
18743   CXXFLAGS="$ac_save_CXXFLAGS"
18744   ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18749
18750
18751
18752 # For clock_gettime, nanosleep and sched_yield support.
18753 # NB: The default is [no], because otherwise it requires linking.
18754
18755
18756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18757 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18758    # Check whether --enable-libstdcxx-time was given.
18759 if test "${enable_libstdcxx_time+set}" = set; then :
18760   enableval=$enable_libstdcxx_time;
18761       case "$enableval" in
18762        yes|no|rt) ;;
18763        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18764                           esac
18765
18766 else
18767   enable_libstdcxx_time=no
18768 fi
18769
18770
18771
18772
18773   ac_ext=cpp
18774 ac_cpp='$CXXCPP $CPPFLAGS'
18775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18778
18779   ac_save_CXXFLAGS="$CXXFLAGS"
18780   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18781   ac_save_LIBS="$LIBS"
18782
18783   ac_has_clock_monotonic=no;
18784   ac_has_clock_realtime=no;
18785
18786   if test x"$enable_libstdcxx_time" != x"no"; then
18787
18788     if test x"$enable_libstdcxx_time" = x"rt"; then
18789       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18790 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18791 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18792   $as_echo_n "(cached) " >&6
18793 else
18794   ac_func_search_save_LIBS=$LIBS
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h.  */
18797
18798 /* Override any GCC internal prototype to avoid an error.
18799    Use char because int might match the return type of a GCC
18800    builtin and then its argument prototype would still apply.  */
18801 #ifdef __cplusplus
18802 extern "C"
18803 #endif
18804 char clock_gettime ();
18805 int
18806 main ()
18807 {
18808 return clock_gettime ();
18809   ;
18810   return 0;
18811 }
18812 _ACEOF
18813 for ac_lib in '' rt posix4; do
18814   if test -z "$ac_lib"; then
18815     ac_res="none required"
18816   else
18817     ac_res=-l$ac_lib
18818     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18819   fi
18820   if test x$gcc_no_link = xyes; then
18821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18822 fi
18823 if ac_fn_cxx_try_link "$LINENO"; then :
18824   ac_cv_search_clock_gettime=$ac_res
18825 fi
18826 rm -f core conftest.err conftest.$ac_objext \
18827     conftest$ac_exeext
18828   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18829   break
18830 fi
18831 done
18832 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18833
18834 else
18835   ac_cv_search_clock_gettime=no
18836 fi
18837 rm conftest.$ac_ext
18838 LIBS=$ac_func_search_save_LIBS
18839 fi
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18841 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18842 ac_res=$ac_cv_search_clock_gettime
18843 if test "$ac_res" != no; then :
18844   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18845
18846 fi
18847
18848       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18849 $as_echo_n "checking for library containing nanosleep... " >&6; }
18850 if test "${ac_cv_search_nanosleep+set}" = set; then :
18851   $as_echo_n "(cached) " >&6
18852 else
18853   ac_func_search_save_LIBS=$LIBS
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h.  */
18856
18857 /* Override any GCC internal prototype to avoid an error.
18858    Use char because int might match the return type of a GCC
18859    builtin and then its argument prototype would still apply.  */
18860 #ifdef __cplusplus
18861 extern "C"
18862 #endif
18863 char nanosleep ();
18864 int
18865 main ()
18866 {
18867 return nanosleep ();
18868   ;
18869   return 0;
18870 }
18871 _ACEOF
18872 for ac_lib in '' rt posix4; do
18873   if test -z "$ac_lib"; then
18874     ac_res="none required"
18875   else
18876     ac_res=-l$ac_lib
18877     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18878   fi
18879   if test x$gcc_no_link = xyes; then
18880   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18881 fi
18882 if ac_fn_cxx_try_link "$LINENO"; then :
18883   ac_cv_search_nanosleep=$ac_res
18884 fi
18885 rm -f core conftest.err conftest.$ac_objext \
18886     conftest$ac_exeext
18887   if test "${ac_cv_search_nanosleep+set}" = set; then :
18888   break
18889 fi
18890 done
18891 if test "${ac_cv_search_nanosleep+set}" = set; then :
18892
18893 else
18894   ac_cv_search_nanosleep=no
18895 fi
18896 rm conftest.$ac_ext
18897 LIBS=$ac_func_search_save_LIBS
18898 fi
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18900 $as_echo "$ac_cv_search_nanosleep" >&6; }
18901 ac_res=$ac_cv_search_nanosleep
18902 if test "$ac_res" != no; then :
18903   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18904
18905 fi
18906
18907     else
18908       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18909 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18910 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18911   $as_echo_n "(cached) " >&6
18912 else
18913   ac_func_search_save_LIBS=$LIBS
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h.  */
18916
18917 /* Override any GCC internal prototype to avoid an error.
18918    Use char because int might match the return type of a GCC
18919    builtin and then its argument prototype would still apply.  */
18920 #ifdef __cplusplus
18921 extern "C"
18922 #endif
18923 char clock_gettime ();
18924 int
18925 main ()
18926 {
18927 return clock_gettime ();
18928   ;
18929   return 0;
18930 }
18931 _ACEOF
18932 for ac_lib in '' posix4; do
18933   if test -z "$ac_lib"; then
18934     ac_res="none required"
18935   else
18936     ac_res=-l$ac_lib
18937     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18938   fi
18939   if test x$gcc_no_link = xyes; then
18940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18941 fi
18942 if ac_fn_cxx_try_link "$LINENO"; then :
18943   ac_cv_search_clock_gettime=$ac_res
18944 fi
18945 rm -f core conftest.err conftest.$ac_objext \
18946     conftest$ac_exeext
18947   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18948   break
18949 fi
18950 done
18951 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18952
18953 else
18954   ac_cv_search_clock_gettime=no
18955 fi
18956 rm conftest.$ac_ext
18957 LIBS=$ac_func_search_save_LIBS
18958 fi
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18960 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18961 ac_res=$ac_cv_search_clock_gettime
18962 if test "$ac_res" != no; then :
18963   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18964
18965 fi
18966
18967       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18968 $as_echo_n "checking for library containing nanosleep... " >&6; }
18969 if test "${ac_cv_search_nanosleep+set}" = set; then :
18970   $as_echo_n "(cached) " >&6
18971 else
18972   ac_func_search_save_LIBS=$LIBS
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h.  */
18975
18976 /* Override any GCC internal prototype to avoid an error.
18977    Use char because int might match the return type of a GCC
18978    builtin and then its argument prototype would still apply.  */
18979 #ifdef __cplusplus
18980 extern "C"
18981 #endif
18982 char nanosleep ();
18983 int
18984 main ()
18985 {
18986 return nanosleep ();
18987   ;
18988   return 0;
18989 }
18990 _ACEOF
18991 for ac_lib in '' posix4; do
18992   if test -z "$ac_lib"; then
18993     ac_res="none required"
18994   else
18995     ac_res=-l$ac_lib
18996     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18997   fi
18998   if test x$gcc_no_link = xyes; then
18999   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19000 fi
19001 if ac_fn_cxx_try_link "$LINENO"; then :
19002   ac_cv_search_nanosleep=$ac_res
19003 fi
19004 rm -f core conftest.err conftest.$ac_objext \
19005     conftest$ac_exeext
19006   if test "${ac_cv_search_nanosleep+set}" = set; then :
19007   break
19008 fi
19009 done
19010 if test "${ac_cv_search_nanosleep+set}" = set; then :
19011
19012 else
19013   ac_cv_search_nanosleep=no
19014 fi
19015 rm conftest.$ac_ext
19016 LIBS=$ac_func_search_save_LIBS
19017 fi
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19019 $as_echo "$ac_cv_search_nanosleep" >&6; }
19020 ac_res=$ac_cv_search_nanosleep
19021 if test "$ac_res" != no; then :
19022   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19023
19024 fi
19025
19026     fi
19027
19028     case "$ac_cv_search_clock_gettime" in
19029       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19030       ;;
19031     esac
19032     case "$ac_cv_search_nanosleep" in
19033       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19034       ;;
19035     esac
19036
19037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19038 $as_echo_n "checking for library containing sched_yield... " >&6; }
19039 if test "${ac_cv_search_sched_yield+set}" = set; then :
19040   $as_echo_n "(cached) " >&6
19041 else
19042   ac_func_search_save_LIBS=$LIBS
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h.  */
19045
19046 /* Override any GCC internal prototype to avoid an error.
19047    Use char because int might match the return type of a GCC
19048    builtin and then its argument prototype would still apply.  */
19049 #ifdef __cplusplus
19050 extern "C"
19051 #endif
19052 char sched_yield ();
19053 int
19054 main ()
19055 {
19056 return sched_yield ();
19057   ;
19058   return 0;
19059 }
19060 _ACEOF
19061 for ac_lib in '' rt posix4; do
19062   if test -z "$ac_lib"; then
19063     ac_res="none required"
19064   else
19065     ac_res=-l$ac_lib
19066     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19067   fi
19068   if test x$gcc_no_link = xyes; then
19069   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19070 fi
19071 if ac_fn_cxx_try_link "$LINENO"; then :
19072   ac_cv_search_sched_yield=$ac_res
19073 fi
19074 rm -f core conftest.err conftest.$ac_objext \
19075     conftest$ac_exeext
19076   if test "${ac_cv_search_sched_yield+set}" = set; then :
19077   break
19078 fi
19079 done
19080 if test "${ac_cv_search_sched_yield+set}" = set; then :
19081
19082 else
19083   ac_cv_search_sched_yield=no
19084 fi
19085 rm conftest.$ac_ext
19086 LIBS=$ac_func_search_save_LIBS
19087 fi
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19089 $as_echo "$ac_cv_search_sched_yield" >&6; }
19090 ac_res=$ac_cv_search_sched_yield
19091 if test "$ac_res" != no; then :
19092   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19093
19094 fi
19095
19096
19097     case "$ac_cv_search_sched_yield" in
19098       -lposix4*)
19099       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19100
19101 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19102
19103       ;;
19104       -lrt*)
19105       if test x"$enable_libstdcxx_time" = x"rt"; then
19106         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19107
19108 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19109
19110       fi
19111       ;;
19112       *)
19113
19114 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19115
19116       ;;
19117     esac
19118
19119     for ac_header in unistd.h
19120 do :
19121   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19122 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19123   cat >>confdefs.h <<_ACEOF
19124 #define HAVE_UNISTD_H 1
19125 _ACEOF
19126  ac_has_unistd_h=yes
19127 else
19128   ac_has_unistd_h=no
19129 fi
19130
19131 done
19132
19133
19134     if test x"$ac_has_unistd_h" = x"yes"; then
19135       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19136 $as_echo_n "checking for monotonic clock... " >&6; }
19137       if test x$gcc_no_link = xyes; then
19138   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19139 fi
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h.  */
19142 #include <unistd.h>
19143          #include <time.h>
19144
19145 int
19146 main ()
19147 {
19148 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19149           timespec tp;
19150          #endif
19151           clock_gettime(CLOCK_MONOTONIC, &tp);
19152
19153   ;
19154   return 0;
19155 }
19156 _ACEOF
19157 if ac_fn_cxx_try_link "$LINENO"; then :
19158   ac_has_clock_monotonic=yes
19159 else
19160   ac_has_clock_monotonic=no
19161 fi
19162 rm -f core conftest.err conftest.$ac_objext \
19163     conftest$ac_exeext conftest.$ac_ext
19164
19165       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19166 $as_echo "$ac_has_clock_monotonic" >&6; }
19167
19168       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19169 $as_echo_n "checking for realtime clock... " >&6; }
19170       if test x$gcc_no_link = xyes; then
19171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19172 fi
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h.  */
19175 #include <unistd.h>
19176          #include <time.h>
19177
19178 int
19179 main ()
19180 {
19181 #if _POSIX_TIMERS > 0
19182           timespec tp;
19183          #endif
19184           clock_gettime(CLOCK_REALTIME, &tp);
19185
19186   ;
19187   return 0;
19188 }
19189 _ACEOF
19190 if ac_fn_cxx_try_link "$LINENO"; then :
19191   ac_has_clock_realtime=yes
19192 else
19193   ac_has_clock_realtime=no
19194 fi
19195 rm -f core conftest.err conftest.$ac_objext \
19196     conftest$ac_exeext conftest.$ac_ext
19197
19198       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19199 $as_echo "$ac_has_clock_realtime" >&6; }
19200
19201       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19202 $as_echo_n "checking for nanosleep... " >&6; }
19203       if test x$gcc_no_link = xyes; then
19204   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19205 fi
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h.  */
19208 #include <unistd.h>
19209          #include <time.h>
19210
19211 int
19212 main ()
19213 {
19214 #if _POSIX_TIMERS > 0
19215           timespec tp;
19216          #endif
19217           nanosleep(&tp, 0);
19218
19219   ;
19220   return 0;
19221 }
19222 _ACEOF
19223 if ac_fn_cxx_try_link "$LINENO"; then :
19224   ac_has_nanosleep=yes
19225 else
19226   ac_has_nanosleep=no
19227 fi
19228 rm -f core conftest.err conftest.$ac_objext \
19229     conftest$ac_exeext conftest.$ac_ext
19230
19231       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19232 $as_echo "$ac_has_nanosleep" >&6; }
19233     fi
19234   fi
19235
19236   if test x"$ac_has_clock_monotonic" = x"yes"; then
19237
19238 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19239
19240   fi
19241
19242   if test x"$ac_has_clock_realtime" = x"yes"; then
19243
19244 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19245
19246   fi
19247
19248   if test x"$ac_has_nanosleep" = x"yes"; then
19249
19250 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19251
19252   fi
19253
19254
19255
19256   CXXFLAGS="$ac_save_CXXFLAGS"
19257   LIBS="$ac_save_LIBS"
19258   ac_ext=c
19259 ac_cpp='$CPP $CPPFLAGS'
19260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19263
19264
19265
19266 # For gthread support
19267
19268
19269   ac_ext=cpp
19270 ac_cpp='$CXXCPP $CPPFLAGS'
19271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19274
19275
19276   ac_save_CXXFLAGS="$CXXFLAGS"
19277   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19278
19279   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19280   case $target_thread_file in
19281     posix)
19282       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19283   esac
19284
19285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19286 $as_echo_n "checking for gthreads library... " >&6; }
19287
19288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h.  */
19290 #include "gthr.h"
19291 int
19292 main ()
19293 {
19294
19295       #ifndef __GTHREADS_CXX0X
19296       #error
19297       #endif
19298
19299       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19300       #if (defined(_PTHREADS) \
19301            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19302       #error
19303       #endif
19304
19305   ;
19306   return 0;
19307 }
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310   ac_has_gthreads=yes
19311 else
19312   ac_has_gthreads=no
19313 fi
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315
19316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19317 $as_echo "$ac_has_gthreads" >&6; }
19318
19319   if test x"$ac_has_gthreads" = x"yes"; then
19320
19321 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19322
19323   fi
19324
19325   CXXFLAGS="$ac_save_CXXFLAGS"
19326   ac_ext=c
19327 ac_cpp='$CPP $CPPFLAGS'
19328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19331
19332
19333
19334
19335   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19336 if test "x$ac_cv_header_locale_h" = x""yes; then :
19337
19338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19339 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19340 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19341   $as_echo_n "(cached) " >&6
19342 else
19343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h.  */
19345 #include <locale.h>
19346 int
19347 main ()
19348 {
19349 return LC_MESSAGES
19350   ;
19351   return 0;
19352 }
19353 _ACEOF
19354 if ac_fn_c_try_compile "$LINENO"; then :
19355   ac_cv_val_LC_MESSAGES=yes
19356 else
19357   ac_cv_val_LC_MESSAGES=no
19358 fi
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 fi
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19362 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19363     if test $ac_cv_val_LC_MESSAGES = yes; then
19364
19365 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19366
19367     fi
19368
19369 fi
19370
19371
19372
19373
19374 # Check for available headers.
19375 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19376 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19377 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19378 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19379 wchar.h wctype.h
19380 do :
19381   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19383 eval as_val=\$$as_ac_Header
19384    if test "x$as_val" = x""yes; then :
19385   cat >>confdefs.h <<_ACEOF
19386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19387 _ACEOF
19388
19389 fi
19390
19391 done
19392
19393
19394 # Only do link tests if native. Else, hardcode.
19395 if $GLIBCXX_IS_NATIVE; then
19396
19397   # We can do more elaborate tests that assume a working linker.
19398   CANADIAN=no
19399
19400
19401
19402 # Check whether --with-gnu-ld was given.
19403 if test "${with_gnu_ld+set}" = set; then :
19404   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19405 else
19406   with_gnu_ld=no
19407 fi
19408
19409 ac_prog=ld
19410 if test "$GCC" = yes; then
19411   # Check if gcc -print-prog-name=ld gives a path.
19412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19413 $as_echo_n "checking for ld used by $CC... " >&6; }
19414   case $host in
19415   *-*-mingw*)
19416     # gcc leaves a trailing carriage return which upsets mingw
19417     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19418   *)
19419     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19420   esac
19421   case $ac_prog in
19422     # Accept absolute paths.
19423     [\\/]* | ?:[\\/]*)
19424       re_direlt='/[^/][^/]*/\.\./'
19425       # Canonicalize the pathname of ld
19426       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19427       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19428         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19429       done
19430       test -z "$LD" && LD="$ac_prog"
19431       ;;
19432   "")
19433     # If it fails, then pretend we aren't using GCC.
19434     ac_prog=ld
19435     ;;
19436   *)
19437     # If it is relative, then search for the first ld in PATH.
19438     with_gnu_ld=unknown
19439     ;;
19440   esac
19441 elif test "$with_gnu_ld" = yes; then
19442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19443 $as_echo_n "checking for GNU ld... " >&6; }
19444 else
19445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19446 $as_echo_n "checking for non-GNU ld... " >&6; }
19447 fi
19448 if test "${lt_cv_path_LD+set}" = set; then :
19449   $as_echo_n "(cached) " >&6
19450 else
19451   if test -z "$LD"; then
19452   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19453   for ac_dir in $PATH; do
19454     IFS="$lt_save_ifs"
19455     test -z "$ac_dir" && ac_dir=.
19456     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19457       lt_cv_path_LD="$ac_dir/$ac_prog"
19458       # Check to see if the program is GNU ld.  I'd rather use --version,
19459       # but apparently some variants of GNU ld only accept -v.
19460       # Break only if it was the GNU/non-GNU ld that we prefer.
19461       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19462       *GNU* | *'with BFD'*)
19463         test "$with_gnu_ld" != no && break
19464         ;;
19465       *)
19466         test "$with_gnu_ld" != yes && break
19467         ;;
19468       esac
19469     fi
19470   done
19471   IFS="$lt_save_ifs"
19472 else
19473   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19474 fi
19475 fi
19476
19477 LD="$lt_cv_path_LD"
19478 if test -n "$LD"; then
19479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19480 $as_echo "$LD" >&6; }
19481 else
19482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19483 $as_echo "no" >&6; }
19484 fi
19485 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19488 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19489   $as_echo_n "(cached) " >&6
19490 else
19491   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19492 case `$LD -v 2>&1 </dev/null` in
19493 *GNU* | *'with BFD'*)
19494   lt_cv_prog_gnu_ld=yes
19495   ;;
19496 *)
19497   lt_cv_prog_gnu_ld=no
19498   ;;
19499 esac
19500 fi
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19502 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19503 with_gnu_ld=$lt_cv_prog_gnu_ld
19504
19505
19506
19507
19508
19509
19510
19511   # If we're not using GNU ld, then there's no point in even trying these
19512   # tests.  Check for that first.  We should have already tested for gld
19513   # by now (in libtool), but require it now just to be safe...
19514   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19515   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19516
19517
19518
19519   # The name set by libtool depends on the version of libtool.  Shame on us
19520   # for depending on an impl detail, but c'est la vie.  Older versions used
19521   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19522   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19523   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19524   # set (hence we're using an older libtool), then set it.
19525   if test x${with_gnu_ld+set} != xset; then
19526     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19527       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19528       with_gnu_ld=no
19529     else
19530       with_gnu_ld=$ac_cv_prog_gnu_ld
19531     fi
19532   fi
19533
19534   # Start by getting the version number.  I think the libtool test already
19535   # does some of this, but throws away the result.
19536   glibcxx_ld_is_gold=no
19537   if test x"$with_gnu_ld" = x"yes"; then
19538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19539 $as_echo_n "checking for ld version... " >&6; }
19540
19541     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19542       glibcxx_ld_is_gold=yes
19543     fi
19544     ldver=`$LD --version 2>/dev/null |
19545            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
19546
19547     glibcxx_gnu_ld_version=`echo $ldver | \
19548            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19550 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19551   fi
19552
19553   # Set --gc-sections.
19554   glibcxx_have_gc_sections=no
19555   if test "$glibcxx_ld_is_gold" = "yes"; then
19556     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19557       glibcxx_have_gc_sections=yes
19558     fi
19559   else
19560     glibcxx_gcsections_min_ld=21602
19561     if test x"$with_gnu_ld" = x"yes" &&
19562         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19563       glibcxx_have_gc_sections=yes
19564     fi
19565   fi
19566   if test "$glibcxx_have_gc_sections" = "yes"; then
19567     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19568     # NB: This flag only works reliably after 2.16.1. Configure tests
19569     # for this are difficult, so hard wire a value that should work.
19570
19571     ac_test_CFLAGS="${CFLAGS+set}"
19572     ac_save_CFLAGS="$CFLAGS"
19573     CFLAGS='-Wl,--gc-sections'
19574
19575     # Check for -Wl,--gc-sections
19576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19577 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19578     if test x$gcc_no_link = xyes; then
19579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 fi
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h.  */
19583  int one(void) { return 1; }
19584      int two(void) { return 2; }
19585
19586 int
19587 main ()
19588 {
19589  two();
19590   ;
19591   return 0;
19592 }
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"; then :
19595   ac_gcsections=yes
19596 else
19597   ac_gcsections=no
19598 fi
19599 rm -f core conftest.err conftest.$ac_objext \
19600     conftest$ac_exeext conftest.$ac_ext
19601     if test "$ac_gcsections" = "yes"; then
19602       rm -f conftest.c
19603       touch conftest.c
19604       if $CC -c conftest.c; then
19605         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19606            grep "Warning: gc-sections option ignored" > /dev/null; then
19607           ac_gcsections=no
19608         fi
19609       fi
19610       rm -f conftest.c conftest.o conftest
19611     fi
19612     if test "$ac_gcsections" = "yes"; then
19613       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19614     fi
19615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19616 $as_echo "$ac_gcsections" >&6; }
19617
19618     if test "$ac_test_CFLAGS" = set; then
19619       CFLAGS="$ac_save_CFLAGS"
19620     else
19621       # this is the suspicious part
19622       CFLAGS=''
19623     fi
19624   fi
19625
19626   # Set -z,relro.
19627   # Note this is only for shared objects.
19628   ac_ld_relro=no
19629   if test x"$with_gnu_ld" = x"yes"; then
19630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19631 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19632     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19633     if test -n "$cxx_z_relo"; then
19634       OPT_LDFLAGS="-Wl,-z,relro"
19635       ac_ld_relro=yes
19636     fi
19637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19638 $as_echo "$ac_ld_relro" >&6; }
19639   fi
19640
19641   # Set linker optimization flags.
19642   if test x"$with_gnu_ld" = x"yes"; then
19643     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19644   fi
19645
19646
19647
19648
19649
19650   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19651   ac_save_CXXFLAGS="$CXXFLAGS"
19652   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19653
19654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19655 $as_echo_n "checking for sin in -lm... " >&6; }
19656 if test "${ac_cv_lib_m_sin+set}" = set; then :
19657   $as_echo_n "(cached) " >&6
19658 else
19659   ac_check_lib_save_LIBS=$LIBS
19660 LIBS="-lm  $LIBS"
19661 if test x$gcc_no_link = xyes; then
19662   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 fi
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h.  */
19666
19667 /* Override any GCC internal prototype to avoid an error.
19668    Use char because int might match the return type of a GCC
19669    builtin and then its argument prototype would still apply.  */
19670 #ifdef __cplusplus
19671 extern "C"
19672 #endif
19673 char sin ();
19674 int
19675 main ()
19676 {
19677 return sin ();
19678   ;
19679   return 0;
19680 }
19681 _ACEOF
19682 if ac_fn_c_try_link "$LINENO"; then :
19683   ac_cv_lib_m_sin=yes
19684 else
19685   ac_cv_lib_m_sin=no
19686 fi
19687 rm -f core conftest.err conftest.$ac_objext \
19688     conftest$ac_exeext conftest.$ac_ext
19689 LIBS=$ac_check_lib_save_LIBS
19690 fi
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19692 $as_echo "$ac_cv_lib_m_sin" >&6; }
19693 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19694   libm="-lm"
19695 fi
19696
19697   ac_save_LIBS="$LIBS"
19698   LIBS="$LIBS $libm"
19699
19700
19701
19702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19703 $as_echo_n "checking for isinf declaration... " >&6; }
19704   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19705     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19706   $as_echo_n "(cached) " >&6
19707 else
19708
19709
19710       ac_ext=cpp
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19715
19716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h.  */
19718 #include <math.h>
19719                       #ifdef HAVE_IEEEFP_H
19720                       #include <ieeefp.h>
19721                       #endif
19722
19723 int
19724 main ()
19725 {
19726  isinf(0);
19727   ;
19728   return 0;
19729 }
19730 _ACEOF
19731 if ac_fn_cxx_try_compile "$LINENO"; then :
19732   glibcxx_cv_func_isinf_use=yes
19733 else
19734   glibcxx_cv_func_isinf_use=no
19735 fi
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737       ac_ext=c
19738 ac_cpp='$CPP $CPPFLAGS'
19739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19742
19743
19744 fi
19745
19746   fi
19747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19748 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19749
19750   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19751     for ac_func in isinf
19752 do :
19753   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19754 if test "x$ac_cv_func_isinf" = x""yes; then :
19755   cat >>confdefs.h <<_ACEOF
19756 #define HAVE_ISINF 1
19757 _ACEOF
19758
19759 fi
19760 done
19761
19762   else
19763
19764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19765 $as_echo_n "checking for _isinf declaration... " >&6; }
19766   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19767     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19768   $as_echo_n "(cached) " >&6
19769 else
19770
19771
19772       ac_ext=cpp
19773 ac_cpp='$CXXCPP $CPPFLAGS'
19774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19777
19778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19779 /* end confdefs.h.  */
19780 #include <math.h>
19781                       #ifdef HAVE_IEEEFP_H
19782                       #include <ieeefp.h>
19783                       #endif
19784
19785 int
19786 main ()
19787 {
19788  _isinf(0);
19789   ;
19790   return 0;
19791 }
19792 _ACEOF
19793 if ac_fn_cxx_try_compile "$LINENO"; then :
19794   glibcxx_cv_func__isinf_use=yes
19795 else
19796   glibcxx_cv_func__isinf_use=no
19797 fi
19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799       ac_ext=c
19800 ac_cpp='$CPP $CPPFLAGS'
19801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19804
19805
19806 fi
19807
19808   fi
19809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19810 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19811
19812     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19813       for ac_func in _isinf
19814 do :
19815   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19816 if test "x$ac_cv_func__isinf" = x""yes; then :
19817   cat >>confdefs.h <<_ACEOF
19818 #define HAVE__ISINF 1
19819 _ACEOF
19820
19821 fi
19822 done
19823
19824     fi
19825   fi
19826
19827
19828
19829
19830
19831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19832 $as_echo_n "checking for isnan declaration... " >&6; }
19833   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19834     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19835   $as_echo_n "(cached) " >&6
19836 else
19837
19838
19839       ac_ext=cpp
19840 ac_cpp='$CXXCPP $CPPFLAGS'
19841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19844
19845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h.  */
19847 #include <math.h>
19848                       #ifdef HAVE_IEEEFP_H
19849                       #include <ieeefp.h>
19850                       #endif
19851
19852 int
19853 main ()
19854 {
19855  isnan(0);
19856   ;
19857   return 0;
19858 }
19859 _ACEOF
19860 if ac_fn_cxx_try_compile "$LINENO"; then :
19861   glibcxx_cv_func_isnan_use=yes
19862 else
19863   glibcxx_cv_func_isnan_use=no
19864 fi
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866       ac_ext=c
19867 ac_cpp='$CPP $CPPFLAGS'
19868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19871
19872
19873 fi
19874
19875   fi
19876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19877 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19878
19879   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19880     for ac_func in isnan
19881 do :
19882   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19883 if test "x$ac_cv_func_isnan" = x""yes; then :
19884   cat >>confdefs.h <<_ACEOF
19885 #define HAVE_ISNAN 1
19886 _ACEOF
19887
19888 fi
19889 done
19890
19891   else
19892
19893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19894 $as_echo_n "checking for _isnan declaration... " >&6; }
19895   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19896     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19897   $as_echo_n "(cached) " >&6
19898 else
19899
19900
19901       ac_ext=cpp
19902 ac_cpp='$CXXCPP $CPPFLAGS'
19903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19906
19907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h.  */
19909 #include <math.h>
19910                       #ifdef HAVE_IEEEFP_H
19911                       #include <ieeefp.h>
19912                       #endif
19913
19914 int
19915 main ()
19916 {
19917  _isnan(0);
19918   ;
19919   return 0;
19920 }
19921 _ACEOF
19922 if ac_fn_cxx_try_compile "$LINENO"; then :
19923   glibcxx_cv_func__isnan_use=yes
19924 else
19925   glibcxx_cv_func__isnan_use=no
19926 fi
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928       ac_ext=c
19929 ac_cpp='$CPP $CPPFLAGS'
19930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19933
19934
19935 fi
19936
19937   fi
19938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19939 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19940
19941     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19942       for ac_func in _isnan
19943 do :
19944   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19945 if test "x$ac_cv_func__isnan" = x""yes; then :
19946   cat >>confdefs.h <<_ACEOF
19947 #define HAVE__ISNAN 1
19948 _ACEOF
19949
19950 fi
19951 done
19952
19953     fi
19954   fi
19955
19956
19957
19958
19959
19960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19961 $as_echo_n "checking for finite declaration... " >&6; }
19962   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19963     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19964   $as_echo_n "(cached) " >&6
19965 else
19966
19967
19968       ac_ext=cpp
19969 ac_cpp='$CXXCPP $CPPFLAGS'
19970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19973
19974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h.  */
19976 #include <math.h>
19977                       #ifdef HAVE_IEEEFP_H
19978                       #include <ieeefp.h>
19979                       #endif
19980
19981 int
19982 main ()
19983 {
19984  finite(0);
19985   ;
19986   return 0;
19987 }
19988 _ACEOF
19989 if ac_fn_cxx_try_compile "$LINENO"; then :
19990   glibcxx_cv_func_finite_use=yes
19991 else
19992   glibcxx_cv_func_finite_use=no
19993 fi
19994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995       ac_ext=c
19996 ac_cpp='$CPP $CPPFLAGS'
19997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20000
20001
20002 fi
20003
20004   fi
20005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20006 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20007
20008   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20009     for ac_func in finite
20010 do :
20011   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20012 if test "x$ac_cv_func_finite" = x""yes; then :
20013   cat >>confdefs.h <<_ACEOF
20014 #define HAVE_FINITE 1
20015 _ACEOF
20016
20017 fi
20018 done
20019
20020   else
20021
20022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20023 $as_echo_n "checking for _finite declaration... " >&6; }
20024   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20025     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20026   $as_echo_n "(cached) " >&6
20027 else
20028
20029
20030       ac_ext=cpp
20031 ac_cpp='$CXXCPP $CPPFLAGS'
20032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20035
20036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h.  */
20038 #include <math.h>
20039                       #ifdef HAVE_IEEEFP_H
20040                       #include <ieeefp.h>
20041                       #endif
20042
20043 int
20044 main ()
20045 {
20046  _finite(0);
20047   ;
20048   return 0;
20049 }
20050 _ACEOF
20051 if ac_fn_cxx_try_compile "$LINENO"; then :
20052   glibcxx_cv_func__finite_use=yes
20053 else
20054   glibcxx_cv_func__finite_use=no
20055 fi
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057       ac_ext=c
20058 ac_cpp='$CPP $CPPFLAGS'
20059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20062
20063
20064 fi
20065
20066   fi
20067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20068 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20069
20070     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20071       for ac_func in _finite
20072 do :
20073   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20074 if test "x$ac_cv_func__finite" = x""yes; then :
20075   cat >>confdefs.h <<_ACEOF
20076 #define HAVE__FINITE 1
20077 _ACEOF
20078
20079 fi
20080 done
20081
20082     fi
20083   fi
20084
20085
20086
20087
20088
20089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20090 $as_echo_n "checking for sincos declaration... " >&6; }
20091   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20092     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20093   $as_echo_n "(cached) " >&6
20094 else
20095
20096
20097       ac_ext=cpp
20098 ac_cpp='$CXXCPP $CPPFLAGS'
20099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20102
20103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h.  */
20105 #include <math.h>
20106 int
20107 main ()
20108 {
20109  sincos(0, 0, 0);
20110   ;
20111   return 0;
20112 }
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115   glibcxx_cv_func_sincos_use=yes
20116 else
20117   glibcxx_cv_func_sincos_use=no
20118 fi
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120       ac_ext=c
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20125
20126
20127 fi
20128
20129   fi
20130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20131 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20132
20133   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20134     for ac_func in sincos
20135 do :
20136   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20137 if test "x$ac_cv_func_sincos" = x""yes; then :
20138   cat >>confdefs.h <<_ACEOF
20139 #define HAVE_SINCOS 1
20140 _ACEOF
20141
20142 fi
20143 done
20144
20145   else
20146
20147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20148 $as_echo_n "checking for _sincos declaration... " >&6; }
20149   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20150     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20151   $as_echo_n "(cached) " >&6
20152 else
20153
20154
20155       ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20160
20161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h.  */
20163 #include <math.h>
20164 int
20165 main ()
20166 {
20167  _sincos(0, 0, 0);
20168   ;
20169   return 0;
20170 }
20171 _ACEOF
20172 if ac_fn_cxx_try_compile "$LINENO"; then :
20173   glibcxx_cv_func__sincos_use=yes
20174 else
20175   glibcxx_cv_func__sincos_use=no
20176 fi
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178       ac_ext=c
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183
20184
20185 fi
20186
20187   fi
20188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20189 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20190
20191     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20192       for ac_func in _sincos
20193 do :
20194   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20195 if test "x$ac_cv_func__sincos" = x""yes; then :
20196   cat >>confdefs.h <<_ACEOF
20197 #define HAVE__SINCOS 1
20198 _ACEOF
20199
20200 fi
20201 done
20202
20203     fi
20204   fi
20205
20206
20207
20208
20209
20210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20211 $as_echo_n "checking for fpclass declaration... " >&6; }
20212   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20213     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20214   $as_echo_n "(cached) " >&6
20215 else
20216
20217
20218       ac_ext=cpp
20219 ac_cpp='$CXXCPP $CPPFLAGS'
20220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20223
20224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h.  */
20226 #include <math.h>
20227                       #ifdef HAVE_IEEEFP_H
20228                       #include <ieeefp.h>
20229                       #endif
20230
20231 int
20232 main ()
20233 {
20234  fpclass(0);
20235   ;
20236   return 0;
20237 }
20238 _ACEOF
20239 if ac_fn_cxx_try_compile "$LINENO"; then :
20240   glibcxx_cv_func_fpclass_use=yes
20241 else
20242   glibcxx_cv_func_fpclass_use=no
20243 fi
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245       ac_ext=c
20246 ac_cpp='$CPP $CPPFLAGS'
20247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20250
20251
20252 fi
20253
20254   fi
20255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20256 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20257
20258   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20259     for ac_func in fpclass
20260 do :
20261   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20262 if test "x$ac_cv_func_fpclass" = x""yes; then :
20263   cat >>confdefs.h <<_ACEOF
20264 #define HAVE_FPCLASS 1
20265 _ACEOF
20266
20267 fi
20268 done
20269
20270   else
20271
20272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20273 $as_echo_n "checking for _fpclass declaration... " >&6; }
20274   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20275     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20276   $as_echo_n "(cached) " >&6
20277 else
20278
20279
20280       ac_ext=cpp
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20285
20286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h.  */
20288 #include <math.h>
20289                       #ifdef HAVE_IEEEFP_H
20290                       #include <ieeefp.h>
20291                       #endif
20292
20293 int
20294 main ()
20295 {
20296  _fpclass(0);
20297   ;
20298   return 0;
20299 }
20300 _ACEOF
20301 if ac_fn_cxx_try_compile "$LINENO"; then :
20302   glibcxx_cv_func__fpclass_use=yes
20303 else
20304   glibcxx_cv_func__fpclass_use=no
20305 fi
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307       ac_ext=c
20308 ac_cpp='$CPP $CPPFLAGS'
20309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20312
20313
20314 fi
20315
20316   fi
20317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20318 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20319
20320     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20321       for ac_func in _fpclass
20322 do :
20323   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20324 if test "x$ac_cv_func__fpclass" = x""yes; then :
20325   cat >>confdefs.h <<_ACEOF
20326 #define HAVE__FPCLASS 1
20327 _ACEOF
20328
20329 fi
20330 done
20331
20332     fi
20333   fi
20334
20335
20336
20337
20338
20339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20340 $as_echo_n "checking for qfpclass declaration... " >&6; }
20341   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20342     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20343   $as_echo_n "(cached) " >&6
20344 else
20345
20346
20347       ac_ext=cpp
20348 ac_cpp='$CXXCPP $CPPFLAGS'
20349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20352
20353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20354 /* end confdefs.h.  */
20355 #include <math.h>
20356                       #ifdef HAVE_IEEEFP_H
20357                       #include <ieeefp.h>
20358                       #endif
20359
20360 int
20361 main ()
20362 {
20363  qfpclass(0);
20364   ;
20365   return 0;
20366 }
20367 _ACEOF
20368 if ac_fn_cxx_try_compile "$LINENO"; then :
20369   glibcxx_cv_func_qfpclass_use=yes
20370 else
20371   glibcxx_cv_func_qfpclass_use=no
20372 fi
20373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20374       ac_ext=c
20375 ac_cpp='$CPP $CPPFLAGS'
20376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20379
20380
20381 fi
20382
20383   fi
20384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20385 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20386
20387   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20388     for ac_func in qfpclass
20389 do :
20390   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20391 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20392   cat >>confdefs.h <<_ACEOF
20393 #define HAVE_QFPCLASS 1
20394 _ACEOF
20395
20396 fi
20397 done
20398
20399   else
20400
20401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20402 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20403   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20404     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20405   $as_echo_n "(cached) " >&6
20406 else
20407
20408
20409       ac_ext=cpp
20410 ac_cpp='$CXXCPP $CPPFLAGS'
20411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20414
20415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h.  */
20417 #include <math.h>
20418                       #ifdef HAVE_IEEEFP_H
20419                       #include <ieeefp.h>
20420                       #endif
20421
20422 int
20423 main ()
20424 {
20425  _qfpclass(0);
20426   ;
20427   return 0;
20428 }
20429 _ACEOF
20430 if ac_fn_cxx_try_compile "$LINENO"; then :
20431   glibcxx_cv_func__qfpclass_use=yes
20432 else
20433   glibcxx_cv_func__qfpclass_use=no
20434 fi
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436       ac_ext=c
20437 ac_cpp='$CPP $CPPFLAGS'
20438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20441
20442
20443 fi
20444
20445   fi
20446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20447 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20448
20449     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20450       for ac_func in _qfpclass
20451 do :
20452   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20453 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20454   cat >>confdefs.h <<_ACEOF
20455 #define HAVE__QFPCLASS 1
20456 _ACEOF
20457
20458 fi
20459 done
20460
20461     fi
20462   fi
20463
20464
20465
20466
20467
20468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20469 $as_echo_n "checking for hypot declaration... " >&6; }
20470   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20471     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20472   $as_echo_n "(cached) " >&6
20473 else
20474
20475
20476       ac_ext=cpp
20477 ac_cpp='$CXXCPP $CPPFLAGS'
20478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20481
20482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20483 /* end confdefs.h.  */
20484 #include <math.h>
20485 int
20486 main ()
20487 {
20488  hypot(0, 0);
20489   ;
20490   return 0;
20491 }
20492 _ACEOF
20493 if ac_fn_cxx_try_compile "$LINENO"; then :
20494   glibcxx_cv_func_hypot_use=yes
20495 else
20496   glibcxx_cv_func_hypot_use=no
20497 fi
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499       ac_ext=c
20500 ac_cpp='$CPP $CPPFLAGS'
20501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20504
20505
20506 fi
20507
20508   fi
20509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20510 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20511
20512   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20513     for ac_func in hypot
20514 do :
20515   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20516 if test "x$ac_cv_func_hypot" = x""yes; then :
20517   cat >>confdefs.h <<_ACEOF
20518 #define HAVE_HYPOT 1
20519 _ACEOF
20520
20521 fi
20522 done
20523
20524   else
20525
20526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20527 $as_echo_n "checking for _hypot declaration... " >&6; }
20528   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20529     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20530   $as_echo_n "(cached) " >&6
20531 else
20532
20533
20534       ac_ext=cpp
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539
20540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h.  */
20542 #include <math.h>
20543 int
20544 main ()
20545 {
20546  _hypot(0, 0);
20547   ;
20548   return 0;
20549 }
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552   glibcxx_cv_func__hypot_use=yes
20553 else
20554   glibcxx_cv_func__hypot_use=no
20555 fi
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557       ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20562
20563
20564 fi
20565
20566   fi
20567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20568 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20569
20570     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20571       for ac_func in _hypot
20572 do :
20573   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20574 if test "x$ac_cv_func__hypot" = x""yes; then :
20575   cat >>confdefs.h <<_ACEOF
20576 #define HAVE__HYPOT 1
20577 _ACEOF
20578
20579 fi
20580 done
20581
20582     fi
20583   fi
20584
20585
20586
20587
20588
20589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20590 $as_echo_n "checking for float trig functions... " >&6; }
20591   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20592   $as_echo_n "(cached) " >&6
20593 else
20594
20595
20596     ac_ext=cpp
20597 ac_cpp='$CXXCPP $CPPFLAGS'
20598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20601
20602     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h.  */
20604 #include <math.h>
20605 int
20606 main ()
20607 {
20608 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20609   ;
20610   return 0;
20611 }
20612 _ACEOF
20613 if ac_fn_cxx_try_compile "$LINENO"; then :
20614   glibcxx_cv_func_float_trig_use=yes
20615 else
20616   glibcxx_cv_func_float_trig_use=no
20617 fi
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619     ac_ext=c
20620 ac_cpp='$CPP $CPPFLAGS'
20621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20624
20625 fi
20626
20627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20628 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20629   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20630     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20631 do :
20632   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20634 eval as_val=\$$as_ac_var
20635    if test "x$as_val" = x""yes; then :
20636   cat >>confdefs.h <<_ACEOF
20637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20638 _ACEOF
20639
20640 fi
20641 done
20642
20643   else
20644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20645 $as_echo_n "checking for _float trig functions... " >&6; }
20646     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20647   $as_echo_n "(cached) " >&6
20648 else
20649
20650
20651       ac_ext=cpp
20652 ac_cpp='$CXXCPP $CPPFLAGS'
20653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20656
20657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h.  */
20659 #include <math.h>
20660 int
20661 main ()
20662 {
20663 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20664   ;
20665   return 0;
20666 }
20667 _ACEOF
20668 if ac_fn_cxx_try_compile "$LINENO"; then :
20669   glibcxx_cv_func__float_trig_use=yes
20670 else
20671   glibcxx_cv_func__float_trig_use=no
20672 fi
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674       ac_ext=c
20675 ac_cpp='$CPP $CPPFLAGS'
20676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20679
20680 fi
20681
20682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20683 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20684     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20685       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20686 do :
20687   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20689 eval as_val=\$$as_ac_var
20690    if test "x$as_val" = x""yes; then :
20691   cat >>confdefs.h <<_ACEOF
20692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20693 _ACEOF
20694
20695 fi
20696 done
20697
20698     fi
20699   fi
20700
20701
20702
20703
20704
20705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20706 $as_echo_n "checking for float round functions... " >&6; }
20707   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20708   $as_echo_n "(cached) " >&6
20709 else
20710
20711
20712     ac_ext=cpp
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20717
20718     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h.  */
20720 #include <math.h>
20721 int
20722 main ()
20723 {
20724 ceilf (0); floorf (0);
20725   ;
20726   return 0;
20727 }
20728 _ACEOF
20729 if ac_fn_cxx_try_compile "$LINENO"; then :
20730   glibcxx_cv_func_float_round_use=yes
20731 else
20732   glibcxx_cv_func_float_round_use=no
20733 fi
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735     ac_ext=c
20736 ac_cpp='$CPP $CPPFLAGS'
20737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740
20741 fi
20742
20743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20744 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20745   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20746     for ac_func in ceilf floorf
20747 do :
20748   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20750 eval as_val=\$$as_ac_var
20751    if test "x$as_val" = x""yes; then :
20752   cat >>confdefs.h <<_ACEOF
20753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20754 _ACEOF
20755
20756 fi
20757 done
20758
20759   else
20760     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20761 $as_echo_n "checking for _float round functions... " >&6; }
20762     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20763   $as_echo_n "(cached) " >&6
20764 else
20765
20766
20767       ac_ext=cpp
20768 ac_cpp='$CXXCPP $CPPFLAGS'
20769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20772
20773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h.  */
20775 #include <math.h>
20776 int
20777 main ()
20778 {
20779 _ceilf (0); _floorf (0);
20780   ;
20781   return 0;
20782 }
20783 _ACEOF
20784 if ac_fn_cxx_try_compile "$LINENO"; then :
20785   glibcxx_cv_func__float_round_use=yes
20786 else
20787   glibcxx_cv_func__float_round_use=no
20788 fi
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20790       ac_ext=c
20791 ac_cpp='$CPP $CPPFLAGS'
20792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20795
20796 fi
20797
20798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20799 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20800     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20801       for ac_func in _ceilf _floorf
20802 do :
20803   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20805 eval as_val=\$$as_ac_var
20806    if test "x$as_val" = x""yes; then :
20807   cat >>confdefs.h <<_ACEOF
20808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20809 _ACEOF
20810
20811 fi
20812 done
20813
20814     fi
20815   fi
20816
20817
20818
20819
20820
20821
20822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20823 $as_echo_n "checking for expf declaration... " >&6; }
20824   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20825     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20826   $as_echo_n "(cached) " >&6
20827 else
20828
20829
20830       ac_ext=cpp
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20835
20836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h.  */
20838 #include <math.h>
20839                       #ifdef HAVE_IEEEFP_H
20840                       #include <ieeefp.h>
20841                       #endif
20842
20843 int
20844 main ()
20845 {
20846  expf(0);
20847   ;
20848   return 0;
20849 }
20850 _ACEOF
20851 if ac_fn_cxx_try_compile "$LINENO"; then :
20852   glibcxx_cv_func_expf_use=yes
20853 else
20854   glibcxx_cv_func_expf_use=no
20855 fi
20856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20857       ac_ext=c
20858 ac_cpp='$CPP $CPPFLAGS'
20859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20862
20863
20864 fi
20865
20866   fi
20867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20868 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20869
20870   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20871     for ac_func in expf
20872 do :
20873   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20874 if test "x$ac_cv_func_expf" = x""yes; then :
20875   cat >>confdefs.h <<_ACEOF
20876 #define HAVE_EXPF 1
20877 _ACEOF
20878
20879 fi
20880 done
20881
20882   else
20883
20884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20885 $as_echo_n "checking for _expf declaration... " >&6; }
20886   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20887     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20888   $as_echo_n "(cached) " >&6
20889 else
20890
20891
20892       ac_ext=cpp
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897
20898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20899 /* end confdefs.h.  */
20900 #include <math.h>
20901                       #ifdef HAVE_IEEEFP_H
20902                       #include <ieeefp.h>
20903                       #endif
20904
20905 int
20906 main ()
20907 {
20908  _expf(0);
20909   ;
20910   return 0;
20911 }
20912 _ACEOF
20913 if ac_fn_cxx_try_compile "$LINENO"; then :
20914   glibcxx_cv_func__expf_use=yes
20915 else
20916   glibcxx_cv_func__expf_use=no
20917 fi
20918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20919       ac_ext=c
20920 ac_cpp='$CPP $CPPFLAGS'
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20924
20925
20926 fi
20927
20928   fi
20929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20930 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20931
20932     if test x$glibcxx_cv_func__expf_use = x"yes"; then
20933       for ac_func in _expf
20934 do :
20935   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20936 if test "x$ac_cv_func__expf" = x""yes; then :
20937   cat >>confdefs.h <<_ACEOF
20938 #define HAVE__EXPF 1
20939 _ACEOF
20940
20941 fi
20942 done
20943
20944     fi
20945   fi
20946
20947
20948
20949
20950
20951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20952 $as_echo_n "checking for isnanf declaration... " >&6; }
20953   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20954     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20955   $as_echo_n "(cached) " >&6
20956 else
20957
20958
20959       ac_ext=cpp
20960 ac_cpp='$CXXCPP $CPPFLAGS'
20961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20964
20965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h.  */
20967 #include <math.h>
20968                       #ifdef HAVE_IEEEFP_H
20969                       #include <ieeefp.h>
20970                       #endif
20971
20972 int
20973 main ()
20974 {
20975  isnanf(0);
20976   ;
20977   return 0;
20978 }
20979 _ACEOF
20980 if ac_fn_cxx_try_compile "$LINENO"; then :
20981   glibcxx_cv_func_isnanf_use=yes
20982 else
20983   glibcxx_cv_func_isnanf_use=no
20984 fi
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986       ac_ext=c
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20991
20992
20993 fi
20994
20995   fi
20996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20997 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20998
20999   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21000     for ac_func in isnanf
21001 do :
21002   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21003 if test "x$ac_cv_func_isnanf" = x""yes; then :
21004   cat >>confdefs.h <<_ACEOF
21005 #define HAVE_ISNANF 1
21006 _ACEOF
21007
21008 fi
21009 done
21010
21011   else
21012
21013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21014 $as_echo_n "checking for _isnanf declaration... " >&6; }
21015   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21016     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21017   $as_echo_n "(cached) " >&6
21018 else
21019
21020
21021       ac_ext=cpp
21022 ac_cpp='$CXXCPP $CPPFLAGS'
21023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21026
21027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h.  */
21029 #include <math.h>
21030                       #ifdef HAVE_IEEEFP_H
21031                       #include <ieeefp.h>
21032                       #endif
21033
21034 int
21035 main ()
21036 {
21037  _isnanf(0);
21038   ;
21039   return 0;
21040 }
21041 _ACEOF
21042 if ac_fn_cxx_try_compile "$LINENO"; then :
21043   glibcxx_cv_func__isnanf_use=yes
21044 else
21045   glibcxx_cv_func__isnanf_use=no
21046 fi
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048       ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21053
21054
21055 fi
21056
21057   fi
21058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21059 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21060
21061     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21062       for ac_func in _isnanf
21063 do :
21064   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21065 if test "x$ac_cv_func__isnanf" = x""yes; then :
21066   cat >>confdefs.h <<_ACEOF
21067 #define HAVE__ISNANF 1
21068 _ACEOF
21069
21070 fi
21071 done
21072
21073     fi
21074   fi
21075
21076
21077
21078
21079
21080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21081 $as_echo_n "checking for isinff declaration... " >&6; }
21082   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21083     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21084   $as_echo_n "(cached) " >&6
21085 else
21086
21087
21088       ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21093
21094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h.  */
21096 #include <math.h>
21097                       #ifdef HAVE_IEEEFP_H
21098                       #include <ieeefp.h>
21099                       #endif
21100
21101 int
21102 main ()
21103 {
21104  isinff(0);
21105   ;
21106   return 0;
21107 }
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110   glibcxx_cv_func_isinff_use=yes
21111 else
21112   glibcxx_cv_func_isinff_use=no
21113 fi
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115       ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120
21121
21122 fi
21123
21124   fi
21125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21126 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21127
21128   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21129     for ac_func in isinff
21130 do :
21131   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21132 if test "x$ac_cv_func_isinff" = x""yes; then :
21133   cat >>confdefs.h <<_ACEOF
21134 #define HAVE_ISINFF 1
21135 _ACEOF
21136
21137 fi
21138 done
21139
21140   else
21141
21142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21143 $as_echo_n "checking for _isinff declaration... " >&6; }
21144   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21145     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21146   $as_echo_n "(cached) " >&6
21147 else
21148
21149
21150       ac_ext=cpp
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21155
21156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h.  */
21158 #include <math.h>
21159                       #ifdef HAVE_IEEEFP_H
21160                       #include <ieeefp.h>
21161                       #endif
21162
21163 int
21164 main ()
21165 {
21166  _isinff(0);
21167   ;
21168   return 0;
21169 }
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172   glibcxx_cv_func__isinff_use=yes
21173 else
21174   glibcxx_cv_func__isinff_use=no
21175 fi
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177       ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182
21183
21184 fi
21185
21186   fi
21187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21188 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21189
21190     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21191       for ac_func in _isinff
21192 do :
21193   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21194 if test "x$ac_cv_func__isinff" = x""yes; then :
21195   cat >>confdefs.h <<_ACEOF
21196 #define HAVE__ISINFF 1
21197 _ACEOF
21198
21199 fi
21200 done
21201
21202     fi
21203   fi
21204
21205
21206
21207
21208
21209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21210 $as_echo_n "checking for atan2f declaration... " >&6; }
21211   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21212     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21213   $as_echo_n "(cached) " >&6
21214 else
21215
21216
21217       ac_ext=cpp
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21222
21223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h.  */
21225 #include <math.h>
21226 int
21227 main ()
21228 {
21229  atan2f(0, 0);
21230   ;
21231   return 0;
21232 }
21233 _ACEOF
21234 if ac_fn_cxx_try_compile "$LINENO"; then :
21235   glibcxx_cv_func_atan2f_use=yes
21236 else
21237   glibcxx_cv_func_atan2f_use=no
21238 fi
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240       ac_ext=c
21241 ac_cpp='$CPP $CPPFLAGS'
21242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21245
21246
21247 fi
21248
21249   fi
21250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21251 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21252
21253   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21254     for ac_func in atan2f
21255 do :
21256   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21257 if test "x$ac_cv_func_atan2f" = x""yes; then :
21258   cat >>confdefs.h <<_ACEOF
21259 #define HAVE_ATAN2F 1
21260 _ACEOF
21261
21262 fi
21263 done
21264
21265   else
21266
21267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21268 $as_echo_n "checking for _atan2f declaration... " >&6; }
21269   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21270     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21271   $as_echo_n "(cached) " >&6
21272 else
21273
21274
21275       ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280
21281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h.  */
21283 #include <math.h>
21284 int
21285 main ()
21286 {
21287  _atan2f(0, 0);
21288   ;
21289   return 0;
21290 }
21291 _ACEOF
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293   glibcxx_cv_func__atan2f_use=yes
21294 else
21295   glibcxx_cv_func__atan2f_use=no
21296 fi
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298       ac_ext=c
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21303
21304
21305 fi
21306
21307   fi
21308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21309 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21310
21311     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21312       for ac_func in _atan2f
21313 do :
21314   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21315 if test "x$ac_cv_func__atan2f" = x""yes; then :
21316   cat >>confdefs.h <<_ACEOF
21317 #define HAVE__ATAN2F 1
21318 _ACEOF
21319
21320 fi
21321 done
21322
21323     fi
21324   fi
21325
21326
21327
21328
21329
21330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21331 $as_echo_n "checking for fabsf declaration... " >&6; }
21332   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21333     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21334   $as_echo_n "(cached) " >&6
21335 else
21336
21337
21338       ac_ext=cpp
21339 ac_cpp='$CXXCPP $CPPFLAGS'
21340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21343
21344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h.  */
21346 #include <math.h>
21347                       #ifdef HAVE_IEEEFP_H
21348                       #include <ieeefp.h>
21349                       #endif
21350
21351 int
21352 main ()
21353 {
21354  fabsf(0);
21355   ;
21356   return 0;
21357 }
21358 _ACEOF
21359 if ac_fn_cxx_try_compile "$LINENO"; then :
21360   glibcxx_cv_func_fabsf_use=yes
21361 else
21362   glibcxx_cv_func_fabsf_use=no
21363 fi
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365       ac_ext=c
21366 ac_cpp='$CPP $CPPFLAGS'
21367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21370
21371
21372 fi
21373
21374   fi
21375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21376 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21377
21378   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21379     for ac_func in fabsf
21380 do :
21381   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21382 if test "x$ac_cv_func_fabsf" = x""yes; then :
21383   cat >>confdefs.h <<_ACEOF
21384 #define HAVE_FABSF 1
21385 _ACEOF
21386
21387 fi
21388 done
21389
21390   else
21391
21392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21393 $as_echo_n "checking for _fabsf declaration... " >&6; }
21394   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21395     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21396   $as_echo_n "(cached) " >&6
21397 else
21398
21399
21400       ac_ext=cpp
21401 ac_cpp='$CXXCPP $CPPFLAGS'
21402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21405
21406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h.  */
21408 #include <math.h>
21409                       #ifdef HAVE_IEEEFP_H
21410                       #include <ieeefp.h>
21411                       #endif
21412
21413 int
21414 main ()
21415 {
21416  _fabsf(0);
21417   ;
21418   return 0;
21419 }
21420 _ACEOF
21421 if ac_fn_cxx_try_compile "$LINENO"; then :
21422   glibcxx_cv_func__fabsf_use=yes
21423 else
21424   glibcxx_cv_func__fabsf_use=no
21425 fi
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427       ac_ext=c
21428 ac_cpp='$CPP $CPPFLAGS'
21429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21432
21433
21434 fi
21435
21436   fi
21437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21438 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21439
21440     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21441       for ac_func in _fabsf
21442 do :
21443   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21444 if test "x$ac_cv_func__fabsf" = x""yes; then :
21445   cat >>confdefs.h <<_ACEOF
21446 #define HAVE__FABSF 1
21447 _ACEOF
21448
21449 fi
21450 done
21451
21452     fi
21453   fi
21454
21455
21456
21457
21458
21459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21460 $as_echo_n "checking for fmodf declaration... " >&6; }
21461   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21462     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21463   $as_echo_n "(cached) " >&6
21464 else
21465
21466
21467       ac_ext=cpp
21468 ac_cpp='$CXXCPP $CPPFLAGS'
21469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21472
21473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h.  */
21475 #include <math.h>
21476 int
21477 main ()
21478 {
21479  fmodf(0, 0);
21480   ;
21481   return 0;
21482 }
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485   glibcxx_cv_func_fmodf_use=yes
21486 else
21487   glibcxx_cv_func_fmodf_use=no
21488 fi
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490       ac_ext=c
21491 ac_cpp='$CPP $CPPFLAGS'
21492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495
21496
21497 fi
21498
21499   fi
21500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21501 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21502
21503   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21504     for ac_func in fmodf
21505 do :
21506   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21507 if test "x$ac_cv_func_fmodf" = x""yes; then :
21508   cat >>confdefs.h <<_ACEOF
21509 #define HAVE_FMODF 1
21510 _ACEOF
21511
21512 fi
21513 done
21514
21515   else
21516
21517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21518 $as_echo_n "checking for _fmodf declaration... " >&6; }
21519   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21520     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21521   $as_echo_n "(cached) " >&6
21522 else
21523
21524
21525       ac_ext=cpp
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21530
21531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h.  */
21533 #include <math.h>
21534 int
21535 main ()
21536 {
21537  _fmodf(0, 0);
21538   ;
21539   return 0;
21540 }
21541 _ACEOF
21542 if ac_fn_cxx_try_compile "$LINENO"; then :
21543   glibcxx_cv_func__fmodf_use=yes
21544 else
21545   glibcxx_cv_func__fmodf_use=no
21546 fi
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548       ac_ext=c
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21553
21554
21555 fi
21556
21557   fi
21558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21559 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21560
21561     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21562       for ac_func in _fmodf
21563 do :
21564   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21565 if test "x$ac_cv_func__fmodf" = x""yes; then :
21566   cat >>confdefs.h <<_ACEOF
21567 #define HAVE__FMODF 1
21568 _ACEOF
21569
21570 fi
21571 done
21572
21573     fi
21574   fi
21575
21576
21577
21578
21579
21580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21581 $as_echo_n "checking for frexpf declaration... " >&6; }
21582   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21583     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21584   $as_echo_n "(cached) " >&6
21585 else
21586
21587
21588       ac_ext=cpp
21589 ac_cpp='$CXXCPP $CPPFLAGS'
21590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21593
21594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h.  */
21596 #include <math.h>
21597 int
21598 main ()
21599 {
21600  frexpf(0, 0);
21601   ;
21602   return 0;
21603 }
21604 _ACEOF
21605 if ac_fn_cxx_try_compile "$LINENO"; then :
21606   glibcxx_cv_func_frexpf_use=yes
21607 else
21608   glibcxx_cv_func_frexpf_use=no
21609 fi
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611       ac_ext=c
21612 ac_cpp='$CPP $CPPFLAGS'
21613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21616
21617
21618 fi
21619
21620   fi
21621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21622 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21623
21624   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21625     for ac_func in frexpf
21626 do :
21627   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21628 if test "x$ac_cv_func_frexpf" = x""yes; then :
21629   cat >>confdefs.h <<_ACEOF
21630 #define HAVE_FREXPF 1
21631 _ACEOF
21632
21633 fi
21634 done
21635
21636   else
21637
21638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21639 $as_echo_n "checking for _frexpf declaration... " >&6; }
21640   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21641     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21642   $as_echo_n "(cached) " >&6
21643 else
21644
21645
21646       ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21651
21652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h.  */
21654 #include <math.h>
21655 int
21656 main ()
21657 {
21658  _frexpf(0, 0);
21659   ;
21660   return 0;
21661 }
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664   glibcxx_cv_func__frexpf_use=yes
21665 else
21666   glibcxx_cv_func__frexpf_use=no
21667 fi
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669       ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21674
21675
21676 fi
21677
21678   fi
21679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21680 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21681
21682     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21683       for ac_func in _frexpf
21684 do :
21685   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21686 if test "x$ac_cv_func__frexpf" = x""yes; then :
21687   cat >>confdefs.h <<_ACEOF
21688 #define HAVE__FREXPF 1
21689 _ACEOF
21690
21691 fi
21692 done
21693
21694     fi
21695   fi
21696
21697
21698
21699
21700
21701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21702 $as_echo_n "checking for hypotf declaration... " >&6; }
21703   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21704     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21705   $as_echo_n "(cached) " >&6
21706 else
21707
21708
21709       ac_ext=cpp
21710 ac_cpp='$CXXCPP $CPPFLAGS'
21711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21714
21715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h.  */
21717 #include <math.h>
21718 int
21719 main ()
21720 {
21721  hypotf(0, 0);
21722   ;
21723   return 0;
21724 }
21725 _ACEOF
21726 if ac_fn_cxx_try_compile "$LINENO"; then :
21727   glibcxx_cv_func_hypotf_use=yes
21728 else
21729   glibcxx_cv_func_hypotf_use=no
21730 fi
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732       ac_ext=c
21733 ac_cpp='$CPP $CPPFLAGS'
21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21737
21738
21739 fi
21740
21741   fi
21742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21743 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21744
21745   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21746     for ac_func in hypotf
21747 do :
21748   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21749 if test "x$ac_cv_func_hypotf" = x""yes; then :
21750   cat >>confdefs.h <<_ACEOF
21751 #define HAVE_HYPOTF 1
21752 _ACEOF
21753
21754 fi
21755 done
21756
21757   else
21758
21759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21760 $as_echo_n "checking for _hypotf declaration... " >&6; }
21761   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21762     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21763   $as_echo_n "(cached) " >&6
21764 else
21765
21766
21767       ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772
21773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h.  */
21775 #include <math.h>
21776 int
21777 main ()
21778 {
21779  _hypotf(0, 0);
21780   ;
21781   return 0;
21782 }
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785   glibcxx_cv_func__hypotf_use=yes
21786 else
21787   glibcxx_cv_func__hypotf_use=no
21788 fi
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790       ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21795
21796
21797 fi
21798
21799   fi
21800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21801 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21802
21803     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21804       for ac_func in _hypotf
21805 do :
21806   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21807 if test "x$ac_cv_func__hypotf" = x""yes; then :
21808   cat >>confdefs.h <<_ACEOF
21809 #define HAVE__HYPOTF 1
21810 _ACEOF
21811
21812 fi
21813 done
21814
21815     fi
21816   fi
21817
21818
21819
21820
21821
21822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21823 $as_echo_n "checking for ldexpf declaration... " >&6; }
21824   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21825     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21826   $as_echo_n "(cached) " >&6
21827 else
21828
21829
21830       ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21835
21836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h.  */
21838 #include <math.h>
21839 int
21840 main ()
21841 {
21842  ldexpf(0, 0);
21843   ;
21844   return 0;
21845 }
21846 _ACEOF
21847 if ac_fn_cxx_try_compile "$LINENO"; then :
21848   glibcxx_cv_func_ldexpf_use=yes
21849 else
21850   glibcxx_cv_func_ldexpf_use=no
21851 fi
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853       ac_ext=c
21854 ac_cpp='$CPP $CPPFLAGS'
21855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21858
21859
21860 fi
21861
21862   fi
21863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21864 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21865
21866   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21867     for ac_func in ldexpf
21868 do :
21869   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21870 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21871   cat >>confdefs.h <<_ACEOF
21872 #define HAVE_LDEXPF 1
21873 _ACEOF
21874
21875 fi
21876 done
21877
21878   else
21879
21880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21881 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21882   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21883     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21884   $as_echo_n "(cached) " >&6
21885 else
21886
21887
21888       ac_ext=cpp
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21893
21894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h.  */
21896 #include <math.h>
21897 int
21898 main ()
21899 {
21900  _ldexpf(0, 0);
21901   ;
21902   return 0;
21903 }
21904 _ACEOF
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906   glibcxx_cv_func__ldexpf_use=yes
21907 else
21908   glibcxx_cv_func__ldexpf_use=no
21909 fi
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911       ac_ext=c
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21916
21917
21918 fi
21919
21920   fi
21921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21922 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21923
21924     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21925       for ac_func in _ldexpf
21926 do :
21927   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21928 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21929   cat >>confdefs.h <<_ACEOF
21930 #define HAVE__LDEXPF 1
21931 _ACEOF
21932
21933 fi
21934 done
21935
21936     fi
21937   fi
21938
21939
21940
21941
21942
21943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21944 $as_echo_n "checking for logf declaration... " >&6; }
21945   if test x${glibcxx_cv_func_logf_use+set} != xset; then
21946     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21947   $as_echo_n "(cached) " >&6
21948 else
21949
21950
21951       ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21956
21957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h.  */
21959 #include <math.h>
21960                       #ifdef HAVE_IEEEFP_H
21961                       #include <ieeefp.h>
21962                       #endif
21963
21964 int
21965 main ()
21966 {
21967  logf(0);
21968   ;
21969   return 0;
21970 }
21971 _ACEOF
21972 if ac_fn_cxx_try_compile "$LINENO"; then :
21973   glibcxx_cv_func_logf_use=yes
21974 else
21975   glibcxx_cv_func_logf_use=no
21976 fi
21977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21978       ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21983
21984
21985 fi
21986
21987   fi
21988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21989 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21990
21991   if test x$glibcxx_cv_func_logf_use = x"yes"; then
21992     for ac_func in logf
21993 do :
21994   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21995 if test "x$ac_cv_func_logf" = x""yes; then :
21996   cat >>confdefs.h <<_ACEOF
21997 #define HAVE_LOGF 1
21998 _ACEOF
21999
22000 fi
22001 done
22002
22003   else
22004
22005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22006 $as_echo_n "checking for _logf declaration... " >&6; }
22007   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22008     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22009   $as_echo_n "(cached) " >&6
22010 else
22011
22012
22013       ac_ext=cpp
22014 ac_cpp='$CXXCPP $CPPFLAGS'
22015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22018
22019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22020 /* end confdefs.h.  */
22021 #include <math.h>
22022                       #ifdef HAVE_IEEEFP_H
22023                       #include <ieeefp.h>
22024                       #endif
22025
22026 int
22027 main ()
22028 {
22029  _logf(0);
22030   ;
22031   return 0;
22032 }
22033 _ACEOF
22034 if ac_fn_cxx_try_compile "$LINENO"; then :
22035   glibcxx_cv_func__logf_use=yes
22036 else
22037   glibcxx_cv_func__logf_use=no
22038 fi
22039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22040       ac_ext=c
22041 ac_cpp='$CPP $CPPFLAGS'
22042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22045
22046
22047 fi
22048
22049   fi
22050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22051 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22052
22053     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22054       for ac_func in _logf
22055 do :
22056   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22057 if test "x$ac_cv_func__logf" = x""yes; then :
22058   cat >>confdefs.h <<_ACEOF
22059 #define HAVE__LOGF 1
22060 _ACEOF
22061
22062 fi
22063 done
22064
22065     fi
22066   fi
22067
22068
22069
22070
22071
22072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22073 $as_echo_n "checking for log10f declaration... " >&6; }
22074   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22075     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22076   $as_echo_n "(cached) " >&6
22077 else
22078
22079
22080       ac_ext=cpp
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22085
22086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h.  */
22088 #include <math.h>
22089                       #ifdef HAVE_IEEEFP_H
22090                       #include <ieeefp.h>
22091                       #endif
22092
22093 int
22094 main ()
22095 {
22096  log10f(0);
22097   ;
22098   return 0;
22099 }
22100 _ACEOF
22101 if ac_fn_cxx_try_compile "$LINENO"; then :
22102   glibcxx_cv_func_log10f_use=yes
22103 else
22104   glibcxx_cv_func_log10f_use=no
22105 fi
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107       ac_ext=c
22108 ac_cpp='$CPP $CPPFLAGS'
22109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22112
22113
22114 fi
22115
22116   fi
22117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22118 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22119
22120   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22121     for ac_func in log10f
22122 do :
22123   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22124 if test "x$ac_cv_func_log10f" = x""yes; then :
22125   cat >>confdefs.h <<_ACEOF
22126 #define HAVE_LOG10F 1
22127 _ACEOF
22128
22129 fi
22130 done
22131
22132   else
22133
22134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22135 $as_echo_n "checking for _log10f declaration... " >&6; }
22136   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22137     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22138   $as_echo_n "(cached) " >&6
22139 else
22140
22141
22142       ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h.  */
22150 #include <math.h>
22151                       #ifdef HAVE_IEEEFP_H
22152                       #include <ieeefp.h>
22153                       #endif
22154
22155 int
22156 main ()
22157 {
22158  _log10f(0);
22159   ;
22160   return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164   glibcxx_cv_func__log10f_use=yes
22165 else
22166   glibcxx_cv_func__log10f_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169       ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178   fi
22179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22180 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22181
22182     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22183       for ac_func in _log10f
22184 do :
22185   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22186 if test "x$ac_cv_func__log10f" = x""yes; then :
22187   cat >>confdefs.h <<_ACEOF
22188 #define HAVE__LOG10F 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194     fi
22195   fi
22196
22197
22198
22199
22200
22201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22202 $as_echo_n "checking for modff declaration... " >&6; }
22203   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22204     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22205   $as_echo_n "(cached) " >&6
22206 else
22207
22208
22209       ac_ext=cpp
22210 ac_cpp='$CXXCPP $CPPFLAGS'
22211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22214
22215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h.  */
22217 #include <math.h>
22218 int
22219 main ()
22220 {
22221  modff(0, 0);
22222   ;
22223   return 0;
22224 }
22225 _ACEOF
22226 if ac_fn_cxx_try_compile "$LINENO"; then :
22227   glibcxx_cv_func_modff_use=yes
22228 else
22229   glibcxx_cv_func_modff_use=no
22230 fi
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232       ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237
22238
22239 fi
22240
22241   fi
22242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22243 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22244
22245   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22246     for ac_func in modff
22247 do :
22248   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22249 if test "x$ac_cv_func_modff" = x""yes; then :
22250   cat >>confdefs.h <<_ACEOF
22251 #define HAVE_MODFF 1
22252 _ACEOF
22253
22254 fi
22255 done
22256
22257   else
22258
22259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22260 $as_echo_n "checking for _modff declaration... " >&6; }
22261   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22262     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22263   $as_echo_n "(cached) " >&6
22264 else
22265
22266
22267       ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272
22273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h.  */
22275 #include <math.h>
22276 int
22277 main ()
22278 {
22279  _modff(0, 0);
22280   ;
22281   return 0;
22282 }
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285   glibcxx_cv_func__modff_use=yes
22286 else
22287   glibcxx_cv_func__modff_use=no
22288 fi
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290       ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297 fi
22298
22299   fi
22300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22301 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22302
22303     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22304       for ac_func in _modff
22305 do :
22306   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22307 if test "x$ac_cv_func__modff" = x""yes; then :
22308   cat >>confdefs.h <<_ACEOF
22309 #define HAVE__MODFF 1
22310 _ACEOF
22311
22312 fi
22313 done
22314
22315     fi
22316   fi
22317
22318
22319
22320
22321
22322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22323 $as_echo_n "checking for modf declaration... " >&6; }
22324   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22325     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22326   $as_echo_n "(cached) " >&6
22327 else
22328
22329
22330       ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22335
22336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h.  */
22338 #include <math.h>
22339 int
22340 main ()
22341 {
22342  modf(0, 0);
22343   ;
22344   return 0;
22345 }
22346 _ACEOF
22347 if ac_fn_cxx_try_compile "$LINENO"; then :
22348   glibcxx_cv_func_modf_use=yes
22349 else
22350   glibcxx_cv_func_modf_use=no
22351 fi
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353       ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358
22359
22360 fi
22361
22362   fi
22363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22364 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22365
22366   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22367     for ac_func in modf
22368 do :
22369   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22370 if test "x$ac_cv_func_modf" = x""yes; then :
22371   cat >>confdefs.h <<_ACEOF
22372 #define HAVE_MODF 1
22373 _ACEOF
22374
22375 fi
22376 done
22377
22378   else
22379
22380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22381 $as_echo_n "checking for _modf declaration... " >&6; }
22382   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22383     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22384   $as_echo_n "(cached) " >&6
22385 else
22386
22387
22388       ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22393
22394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h.  */
22396 #include <math.h>
22397 int
22398 main ()
22399 {
22400  _modf(0, 0);
22401   ;
22402   return 0;
22403 }
22404 _ACEOF
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406   glibcxx_cv_func__modf_use=yes
22407 else
22408   glibcxx_cv_func__modf_use=no
22409 fi
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411       ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416
22417
22418 fi
22419
22420   fi
22421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22422 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22423
22424     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22425       for ac_func in _modf
22426 do :
22427   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22428 if test "x$ac_cv_func__modf" = x""yes; then :
22429   cat >>confdefs.h <<_ACEOF
22430 #define HAVE__MODF 1
22431 _ACEOF
22432
22433 fi
22434 done
22435
22436     fi
22437   fi
22438
22439
22440
22441
22442
22443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22444 $as_echo_n "checking for powf declaration... " >&6; }
22445   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22446     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22447   $as_echo_n "(cached) " >&6
22448 else
22449
22450
22451       ac_ext=cpp
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22456
22457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22458 /* end confdefs.h.  */
22459 #include <math.h>
22460 int
22461 main ()
22462 {
22463  powf(0, 0);
22464   ;
22465   return 0;
22466 }
22467 _ACEOF
22468 if ac_fn_cxx_try_compile "$LINENO"; then :
22469   glibcxx_cv_func_powf_use=yes
22470 else
22471   glibcxx_cv_func_powf_use=no
22472 fi
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22474       ac_ext=c
22475 ac_cpp='$CPP $CPPFLAGS'
22476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22479
22480
22481 fi
22482
22483   fi
22484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22485 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22486
22487   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22488     for ac_func in powf
22489 do :
22490   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22491 if test "x$ac_cv_func_powf" = x""yes; then :
22492   cat >>confdefs.h <<_ACEOF
22493 #define HAVE_POWF 1
22494 _ACEOF
22495
22496 fi
22497 done
22498
22499   else
22500
22501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22502 $as_echo_n "checking for _powf declaration... " >&6; }
22503   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22504     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22505   $as_echo_n "(cached) " >&6
22506 else
22507
22508
22509       ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h.  */
22517 #include <math.h>
22518 int
22519 main ()
22520 {
22521  _powf(0, 0);
22522   ;
22523   return 0;
22524 }
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527   glibcxx_cv_func__powf_use=yes
22528 else
22529   glibcxx_cv_func__powf_use=no
22530 fi
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532       ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537
22538
22539 fi
22540
22541   fi
22542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22543 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22544
22545     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22546       for ac_func in _powf
22547 do :
22548   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22549 if test "x$ac_cv_func__powf" = x""yes; then :
22550   cat >>confdefs.h <<_ACEOF
22551 #define HAVE__POWF 1
22552 _ACEOF
22553
22554 fi
22555 done
22556
22557     fi
22558   fi
22559
22560
22561
22562
22563
22564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22565 $as_echo_n "checking for sqrtf declaration... " >&6; }
22566   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22567     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22568   $as_echo_n "(cached) " >&6
22569 else
22570
22571
22572       ac_ext=cpp
22573 ac_cpp='$CXXCPP $CPPFLAGS'
22574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22577
22578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h.  */
22580 #include <math.h>
22581                       #ifdef HAVE_IEEEFP_H
22582                       #include <ieeefp.h>
22583                       #endif
22584
22585 int
22586 main ()
22587 {
22588  sqrtf(0);
22589   ;
22590   return 0;
22591 }
22592 _ACEOF
22593 if ac_fn_cxx_try_compile "$LINENO"; then :
22594   glibcxx_cv_func_sqrtf_use=yes
22595 else
22596   glibcxx_cv_func_sqrtf_use=no
22597 fi
22598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22599       ac_ext=c
22600 ac_cpp='$CPP $CPPFLAGS'
22601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22604
22605
22606 fi
22607
22608   fi
22609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22610 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22611
22612   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22613     for ac_func in sqrtf
22614 do :
22615   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22616 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22617   cat >>confdefs.h <<_ACEOF
22618 #define HAVE_SQRTF 1
22619 _ACEOF
22620
22621 fi
22622 done
22623
22624   else
22625
22626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22627 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22628   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22629     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22630   $as_echo_n "(cached) " >&6
22631 else
22632
22633
22634       ac_ext=cpp
22635 ac_cpp='$CXXCPP $CPPFLAGS'
22636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22639
22640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22641 /* end confdefs.h.  */
22642 #include <math.h>
22643                       #ifdef HAVE_IEEEFP_H
22644                       #include <ieeefp.h>
22645                       #endif
22646
22647 int
22648 main ()
22649 {
22650  _sqrtf(0);
22651   ;
22652   return 0;
22653 }
22654 _ACEOF
22655 if ac_fn_cxx_try_compile "$LINENO"; then :
22656   glibcxx_cv_func__sqrtf_use=yes
22657 else
22658   glibcxx_cv_func__sqrtf_use=no
22659 fi
22660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22661       ac_ext=c
22662 ac_cpp='$CPP $CPPFLAGS'
22663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22666
22667
22668 fi
22669
22670   fi
22671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22672 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22673
22674     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22675       for ac_func in _sqrtf
22676 do :
22677   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22678 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22679   cat >>confdefs.h <<_ACEOF
22680 #define HAVE__SQRTF 1
22681 _ACEOF
22682
22683 fi
22684 done
22685
22686     fi
22687   fi
22688
22689
22690
22691
22692
22693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22694 $as_echo_n "checking for sincosf declaration... " >&6; }
22695   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22696     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22697   $as_echo_n "(cached) " >&6
22698 else
22699
22700
22701       ac_ext=cpp
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22706
22707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h.  */
22709 #include <math.h>
22710 int
22711 main ()
22712 {
22713  sincosf(0, 0, 0);
22714   ;
22715   return 0;
22716 }
22717 _ACEOF
22718 if ac_fn_cxx_try_compile "$LINENO"; then :
22719   glibcxx_cv_func_sincosf_use=yes
22720 else
22721   glibcxx_cv_func_sincosf_use=no
22722 fi
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724       ac_ext=c
22725 ac_cpp='$CPP $CPPFLAGS'
22726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729
22730
22731 fi
22732
22733   fi
22734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22735 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22736
22737   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22738     for ac_func in sincosf
22739 do :
22740   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22741 if test "x$ac_cv_func_sincosf" = x""yes; then :
22742   cat >>confdefs.h <<_ACEOF
22743 #define HAVE_SINCOSF 1
22744 _ACEOF
22745
22746 fi
22747 done
22748
22749   else
22750
22751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22752 $as_echo_n "checking for _sincosf declaration... " >&6; }
22753   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22754     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22755   $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759       ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h.  */
22767 #include <math.h>
22768 int
22769 main ()
22770 {
22771  _sincosf(0, 0, 0);
22772   ;
22773   return 0;
22774 }
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777   glibcxx_cv_func__sincosf_use=yes
22778 else
22779   glibcxx_cv_func__sincosf_use=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782       ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787
22788
22789 fi
22790
22791   fi
22792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22793 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22794
22795     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22796       for ac_func in _sincosf
22797 do :
22798   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22799 if test "x$ac_cv_func__sincosf" = x""yes; then :
22800   cat >>confdefs.h <<_ACEOF
22801 #define HAVE__SINCOSF 1
22802 _ACEOF
22803
22804 fi
22805 done
22806
22807     fi
22808   fi
22809
22810
22811
22812
22813
22814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22815 $as_echo_n "checking for finitef declaration... " >&6; }
22816   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22817     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22818   $as_echo_n "(cached) " >&6
22819 else
22820
22821
22822       ac_ext=cpp
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827
22828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h.  */
22830 #include <math.h>
22831                       #ifdef HAVE_IEEEFP_H
22832                       #include <ieeefp.h>
22833                       #endif
22834
22835 int
22836 main ()
22837 {
22838  finitef(0);
22839   ;
22840   return 0;
22841 }
22842 _ACEOF
22843 if ac_fn_cxx_try_compile "$LINENO"; then :
22844   glibcxx_cv_func_finitef_use=yes
22845 else
22846   glibcxx_cv_func_finitef_use=no
22847 fi
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849       ac_ext=c
22850 ac_cpp='$CPP $CPPFLAGS'
22851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22854
22855
22856 fi
22857
22858   fi
22859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22860 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22861
22862   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22863     for ac_func in finitef
22864 do :
22865   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22866 if test "x$ac_cv_func_finitef" = x""yes; then :
22867   cat >>confdefs.h <<_ACEOF
22868 #define HAVE_FINITEF 1
22869 _ACEOF
22870
22871 fi
22872 done
22873
22874   else
22875
22876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22877 $as_echo_n "checking for _finitef declaration... " >&6; }
22878   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22879     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22880   $as_echo_n "(cached) " >&6
22881 else
22882
22883
22884       ac_ext=cpp
22885 ac_cpp='$CXXCPP $CPPFLAGS'
22886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22889
22890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h.  */
22892 #include <math.h>
22893                       #ifdef HAVE_IEEEFP_H
22894                       #include <ieeefp.h>
22895                       #endif
22896
22897 int
22898 main ()
22899 {
22900  _finitef(0);
22901   ;
22902   return 0;
22903 }
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906   glibcxx_cv_func__finitef_use=yes
22907 else
22908   glibcxx_cv_func__finitef_use=no
22909 fi
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911       ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916
22917
22918 fi
22919
22920   fi
22921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22922 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22923
22924     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22925       for ac_func in _finitef
22926 do :
22927   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22928 if test "x$ac_cv_func__finitef" = x""yes; then :
22929   cat >>confdefs.h <<_ACEOF
22930 #define HAVE__FINITEF 1
22931 _ACEOF
22932
22933 fi
22934 done
22935
22936     fi
22937   fi
22938
22939
22940
22941
22942
22943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22944 $as_echo_n "checking for long double trig functions... " >&6; }
22945   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22946   $as_echo_n "(cached) " >&6
22947 else
22948
22949
22950     ac_ext=cpp
22951 ac_cpp='$CXXCPP $CPPFLAGS'
22952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955
22956     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h.  */
22958 #include <math.h>
22959 int
22960 main ()
22961 {
22962 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22963   ;
22964   return 0;
22965 }
22966 _ACEOF
22967 if ac_fn_cxx_try_compile "$LINENO"; then :
22968   glibcxx_cv_func_long_double_trig_use=yes
22969 else
22970   glibcxx_cv_func_long_double_trig_use=no
22971 fi
22972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973     ac_ext=c
22974 ac_cpp='$CPP $CPPFLAGS'
22975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22978
22979 fi
22980
22981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22982 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22983   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22984     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22985 do :
22986   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22988 eval as_val=\$$as_ac_var
22989    if test "x$as_val" = x""yes; then :
22990   cat >>confdefs.h <<_ACEOF
22991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22992 _ACEOF
22993
22994 fi
22995 done
22996
22997   else
22998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22999 $as_echo_n "checking for _long double trig functions... " >&6; }
23000     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23001   $as_echo_n "(cached) " >&6
23002 else
23003
23004
23005       ac_ext=cpp
23006 ac_cpp='$CXXCPP $CPPFLAGS'
23007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23010
23011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h.  */
23013 #include <math.h>
23014 int
23015 main ()
23016 {
23017 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23018   ;
23019   return 0;
23020 }
23021 _ACEOF
23022 if ac_fn_cxx_try_compile "$LINENO"; then :
23023   glibcxx_cv_func__long_double_trig_use=yes
23024 else
23025   glibcxx_cv_func__long_double_trig_use=no
23026 fi
23027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23028       ac_ext=c
23029 ac_cpp='$CPP $CPPFLAGS'
23030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23033
23034 fi
23035
23036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23037 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23038     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23039       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23040 do :
23041   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23043 eval as_val=\$$as_ac_var
23044    if test "x$as_val" = x""yes; then :
23045   cat >>confdefs.h <<_ACEOF
23046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23047 _ACEOF
23048
23049 fi
23050 done
23051
23052     fi
23053   fi
23054
23055
23056
23057
23058
23059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23060 $as_echo_n "checking for long double round functions... " >&6; }
23061   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23062   $as_echo_n "(cached) " >&6
23063 else
23064
23065
23066     ac_ext=cpp
23067 ac_cpp='$CXXCPP $CPPFLAGS'
23068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071
23072     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23073 /* end confdefs.h.  */
23074 #include <math.h>
23075 int
23076 main ()
23077 {
23078 ceill (0); floorl (0);
23079   ;
23080   return 0;
23081 }
23082 _ACEOF
23083 if ac_fn_cxx_try_compile "$LINENO"; then :
23084   glibcxx_cv_func_long_double_round_use=yes
23085 else
23086   glibcxx_cv_func_long_double_round_use=no
23087 fi
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089     ac_ext=c
23090 ac_cpp='$CPP $CPPFLAGS'
23091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23094
23095 fi
23096
23097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23098 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23099   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23100     for ac_func in ceill floorl
23101 do :
23102   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23104 eval as_val=\$$as_ac_var
23105    if test "x$as_val" = x""yes; then :
23106   cat >>confdefs.h <<_ACEOF
23107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23108 _ACEOF
23109
23110 fi
23111 done
23112
23113   else
23114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23115 $as_echo_n "checking for _long double round functions... " >&6; }
23116     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23117   $as_echo_n "(cached) " >&6
23118 else
23119
23120
23121       ac_ext=cpp
23122 ac_cpp='$CXXCPP $CPPFLAGS'
23123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23126
23127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h.  */
23129 #include <math.h>
23130 int
23131 main ()
23132 {
23133 _ceill (0); _floorl (0);
23134   ;
23135   return 0;
23136 }
23137 _ACEOF
23138 if ac_fn_cxx_try_compile "$LINENO"; then :
23139   glibcxx_cv_func__long_double_round_use=yes
23140 else
23141   glibcxx_cv_func__long_double_round_use=no
23142 fi
23143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23144       ac_ext=c
23145 ac_cpp='$CPP $CPPFLAGS'
23146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23149
23150 fi
23151
23152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23153 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23154     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23155       for ac_func in _ceill _floorl
23156 do :
23157   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23159 eval as_val=\$$as_ac_var
23160    if test "x$as_val" = x""yes; then :
23161   cat >>confdefs.h <<_ACEOF
23162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23163 _ACEOF
23164
23165 fi
23166 done
23167
23168     fi
23169   fi
23170
23171
23172
23173
23174
23175
23176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23177 $as_echo_n "checking for isnanl declaration... " >&6; }
23178   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23179     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23180   $as_echo_n "(cached) " >&6
23181 else
23182
23183
23184       ac_ext=cpp
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189
23190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h.  */
23192 #include <math.h>
23193                       #ifdef HAVE_IEEEFP_H
23194                       #include <ieeefp.h>
23195                       #endif
23196
23197 int
23198 main ()
23199 {
23200  isnanl(0);
23201   ;
23202   return 0;
23203 }
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206   glibcxx_cv_func_isnanl_use=yes
23207 else
23208   glibcxx_cv_func_isnanl_use=no
23209 fi
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211       ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216
23217
23218 fi
23219
23220   fi
23221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23222 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23223
23224   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23225     for ac_func in isnanl
23226 do :
23227   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23228 if test "x$ac_cv_func_isnanl" = x""yes; then :
23229   cat >>confdefs.h <<_ACEOF
23230 #define HAVE_ISNANL 1
23231 _ACEOF
23232
23233 fi
23234 done
23235
23236   else
23237
23238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23239 $as_echo_n "checking for _isnanl declaration... " >&6; }
23240   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23241     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23242   $as_echo_n "(cached) " >&6
23243 else
23244
23245
23246       ac_ext=cpp
23247 ac_cpp='$CXXCPP $CPPFLAGS'
23248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23251
23252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23253 /* end confdefs.h.  */
23254 #include <math.h>
23255                       #ifdef HAVE_IEEEFP_H
23256                       #include <ieeefp.h>
23257                       #endif
23258
23259 int
23260 main ()
23261 {
23262  _isnanl(0);
23263   ;
23264   return 0;
23265 }
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268   glibcxx_cv_func__isnanl_use=yes
23269 else
23270   glibcxx_cv_func__isnanl_use=no
23271 fi
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273       ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23278
23279
23280 fi
23281
23282   fi
23283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23284 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23285
23286     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23287       for ac_func in _isnanl
23288 do :
23289   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23290 if test "x$ac_cv_func__isnanl" = x""yes; then :
23291   cat >>confdefs.h <<_ACEOF
23292 #define HAVE__ISNANL 1
23293 _ACEOF
23294
23295 fi
23296 done
23297
23298     fi
23299   fi
23300
23301
23302
23303
23304
23305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23306 $as_echo_n "checking for isinfl declaration... " >&6; }
23307   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23308     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23309   $as_echo_n "(cached) " >&6
23310 else
23311
23312
23313       ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318
23319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h.  */
23321 #include <math.h>
23322                       #ifdef HAVE_IEEEFP_H
23323                       #include <ieeefp.h>
23324                       #endif
23325
23326 int
23327 main ()
23328 {
23329  isinfl(0);
23330   ;
23331   return 0;
23332 }
23333 _ACEOF
23334 if ac_fn_cxx_try_compile "$LINENO"; then :
23335   glibcxx_cv_func_isinfl_use=yes
23336 else
23337   glibcxx_cv_func_isinfl_use=no
23338 fi
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340       ac_ext=c
23341 ac_cpp='$CPP $CPPFLAGS'
23342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23345
23346
23347 fi
23348
23349   fi
23350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23351 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23352
23353   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23354     for ac_func in isinfl
23355 do :
23356   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23357 if test "x$ac_cv_func_isinfl" = x""yes; then :
23358   cat >>confdefs.h <<_ACEOF
23359 #define HAVE_ISINFL 1
23360 _ACEOF
23361
23362 fi
23363 done
23364
23365   else
23366
23367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23368 $as_echo_n "checking for _isinfl declaration... " >&6; }
23369   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23370     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23371   $as_echo_n "(cached) " >&6
23372 else
23373
23374
23375       ac_ext=cpp
23376 ac_cpp='$CXXCPP $CPPFLAGS'
23377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23380
23381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23382 /* end confdefs.h.  */
23383 #include <math.h>
23384                       #ifdef HAVE_IEEEFP_H
23385                       #include <ieeefp.h>
23386                       #endif
23387
23388 int
23389 main ()
23390 {
23391  _isinfl(0);
23392   ;
23393   return 0;
23394 }
23395 _ACEOF
23396 if ac_fn_cxx_try_compile "$LINENO"; then :
23397   glibcxx_cv_func__isinfl_use=yes
23398 else
23399   glibcxx_cv_func__isinfl_use=no
23400 fi
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402       ac_ext=c
23403 ac_cpp='$CPP $CPPFLAGS'
23404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23407
23408
23409 fi
23410
23411   fi
23412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23413 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23414
23415     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23416       for ac_func in _isinfl
23417 do :
23418   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23419 if test "x$ac_cv_func__isinfl" = x""yes; then :
23420   cat >>confdefs.h <<_ACEOF
23421 #define HAVE__ISINFL 1
23422 _ACEOF
23423
23424 fi
23425 done
23426
23427     fi
23428   fi
23429
23430
23431
23432
23433
23434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23435 $as_echo_n "checking for atan2l declaration... " >&6; }
23436   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23437     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23438   $as_echo_n "(cached) " >&6
23439 else
23440
23441
23442       ac_ext=cpp
23443 ac_cpp='$CXXCPP $CPPFLAGS'
23444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23447
23448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h.  */
23450 #include <math.h>
23451 int
23452 main ()
23453 {
23454  atan2l(0, 0);
23455   ;
23456   return 0;
23457 }
23458 _ACEOF
23459 if ac_fn_cxx_try_compile "$LINENO"; then :
23460   glibcxx_cv_func_atan2l_use=yes
23461 else
23462   glibcxx_cv_func_atan2l_use=no
23463 fi
23464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465       ac_ext=c
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470
23471
23472 fi
23473
23474   fi
23475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23476 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23477
23478   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23479     for ac_func in atan2l
23480 do :
23481   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23482 if test "x$ac_cv_func_atan2l" = x""yes; then :
23483   cat >>confdefs.h <<_ACEOF
23484 #define HAVE_ATAN2L 1
23485 _ACEOF
23486
23487 fi
23488 done
23489
23490   else
23491
23492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23493 $as_echo_n "checking for _atan2l declaration... " >&6; }
23494   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23495     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23496   $as_echo_n "(cached) " >&6
23497 else
23498
23499
23500       ac_ext=cpp
23501 ac_cpp='$CXXCPP $CPPFLAGS'
23502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23505
23506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h.  */
23508 #include <math.h>
23509 int
23510 main ()
23511 {
23512  _atan2l(0, 0);
23513   ;
23514   return 0;
23515 }
23516 _ACEOF
23517 if ac_fn_cxx_try_compile "$LINENO"; then :
23518   glibcxx_cv_func__atan2l_use=yes
23519 else
23520   glibcxx_cv_func__atan2l_use=no
23521 fi
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523       ac_ext=c
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23528
23529
23530 fi
23531
23532   fi
23533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23534 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23535
23536     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23537       for ac_func in _atan2l
23538 do :
23539   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23540 if test "x$ac_cv_func__atan2l" = x""yes; then :
23541   cat >>confdefs.h <<_ACEOF
23542 #define HAVE__ATAN2L 1
23543 _ACEOF
23544
23545 fi
23546 done
23547
23548     fi
23549   fi
23550
23551
23552
23553
23554
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23556 $as_echo_n "checking for expl declaration... " >&6; }
23557   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23558     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23559   $as_echo_n "(cached) " >&6
23560 else
23561
23562
23563       ac_ext=cpp
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23568
23569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h.  */
23571 #include <math.h>
23572                       #ifdef HAVE_IEEEFP_H
23573                       #include <ieeefp.h>
23574                       #endif
23575
23576 int
23577 main ()
23578 {
23579  expl(0);
23580   ;
23581   return 0;
23582 }
23583 _ACEOF
23584 if ac_fn_cxx_try_compile "$LINENO"; then :
23585   glibcxx_cv_func_expl_use=yes
23586 else
23587   glibcxx_cv_func_expl_use=no
23588 fi
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590       ac_ext=c
23591 ac_cpp='$CPP $CPPFLAGS'
23592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23595
23596
23597 fi
23598
23599   fi
23600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23601 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23602
23603   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23604     for ac_func in expl
23605 do :
23606   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23607 if test "x$ac_cv_func_expl" = x""yes; then :
23608   cat >>confdefs.h <<_ACEOF
23609 #define HAVE_EXPL 1
23610 _ACEOF
23611
23612 fi
23613 done
23614
23615   else
23616
23617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23618 $as_echo_n "checking for _expl declaration... " >&6; }
23619   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23620     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23621   $as_echo_n "(cached) " >&6
23622 else
23623
23624
23625       ac_ext=cpp
23626 ac_cpp='$CXXCPP $CPPFLAGS'
23627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630
23631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h.  */
23633 #include <math.h>
23634                       #ifdef HAVE_IEEEFP_H
23635                       #include <ieeefp.h>
23636                       #endif
23637
23638 int
23639 main ()
23640 {
23641  _expl(0);
23642   ;
23643   return 0;
23644 }
23645 _ACEOF
23646 if ac_fn_cxx_try_compile "$LINENO"; then :
23647   glibcxx_cv_func__expl_use=yes
23648 else
23649   glibcxx_cv_func__expl_use=no
23650 fi
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652       ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23657
23658
23659 fi
23660
23661   fi
23662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23663 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23664
23665     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23666       for ac_func in _expl
23667 do :
23668   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23669 if test "x$ac_cv_func__expl" = x""yes; then :
23670   cat >>confdefs.h <<_ACEOF
23671 #define HAVE__EXPL 1
23672 _ACEOF
23673
23674 fi
23675 done
23676
23677     fi
23678   fi
23679
23680
23681
23682
23683
23684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23685 $as_echo_n "checking for fabsl declaration... " >&6; }
23686   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23687     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23688   $as_echo_n "(cached) " >&6
23689 else
23690
23691
23692       ac_ext=cpp
23693 ac_cpp='$CXXCPP $CPPFLAGS'
23694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23697
23698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h.  */
23700 #include <math.h>
23701                       #ifdef HAVE_IEEEFP_H
23702                       #include <ieeefp.h>
23703                       #endif
23704
23705 int
23706 main ()
23707 {
23708  fabsl(0);
23709   ;
23710   return 0;
23711 }
23712 _ACEOF
23713 if ac_fn_cxx_try_compile "$LINENO"; then :
23714   glibcxx_cv_func_fabsl_use=yes
23715 else
23716   glibcxx_cv_func_fabsl_use=no
23717 fi
23718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719       ac_ext=c
23720 ac_cpp='$CPP $CPPFLAGS'
23721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23724
23725
23726 fi
23727
23728   fi
23729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23730 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23731
23732   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23733     for ac_func in fabsl
23734 do :
23735   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23736 if test "x$ac_cv_func_fabsl" = x""yes; then :
23737   cat >>confdefs.h <<_ACEOF
23738 #define HAVE_FABSL 1
23739 _ACEOF
23740
23741 fi
23742 done
23743
23744   else
23745
23746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23747 $as_echo_n "checking for _fabsl declaration... " >&6; }
23748   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23749     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23750   $as_echo_n "(cached) " >&6
23751 else
23752
23753
23754       ac_ext=cpp
23755 ac_cpp='$CXXCPP $CPPFLAGS'
23756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23759
23760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h.  */
23762 #include <math.h>
23763                       #ifdef HAVE_IEEEFP_H
23764                       #include <ieeefp.h>
23765                       #endif
23766
23767 int
23768 main ()
23769 {
23770  _fabsl(0);
23771   ;
23772   return 0;
23773 }
23774 _ACEOF
23775 if ac_fn_cxx_try_compile "$LINENO"; then :
23776   glibcxx_cv_func__fabsl_use=yes
23777 else
23778   glibcxx_cv_func__fabsl_use=no
23779 fi
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781       ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23786
23787
23788 fi
23789
23790   fi
23791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23792 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23793
23794     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23795       for ac_func in _fabsl
23796 do :
23797   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23798 if test "x$ac_cv_func__fabsl" = x""yes; then :
23799   cat >>confdefs.h <<_ACEOF
23800 #define HAVE__FABSL 1
23801 _ACEOF
23802
23803 fi
23804 done
23805
23806     fi
23807   fi
23808
23809
23810
23811
23812
23813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23814 $as_echo_n "checking for fmodl declaration... " >&6; }
23815   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23816     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23817   $as_echo_n "(cached) " >&6
23818 else
23819
23820
23821       ac_ext=cpp
23822 ac_cpp='$CXXCPP $CPPFLAGS'
23823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23826
23827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23828 /* end confdefs.h.  */
23829 #include <math.h>
23830 int
23831 main ()
23832 {
23833  fmodl(0, 0);
23834   ;
23835   return 0;
23836 }
23837 _ACEOF
23838 if ac_fn_cxx_try_compile "$LINENO"; then :
23839   glibcxx_cv_func_fmodl_use=yes
23840 else
23841   glibcxx_cv_func_fmodl_use=no
23842 fi
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844       ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849
23850
23851 fi
23852
23853   fi
23854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23855 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23856
23857   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23858     for ac_func in fmodl
23859 do :
23860   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23861 if test "x$ac_cv_func_fmodl" = x""yes; then :
23862   cat >>confdefs.h <<_ACEOF
23863 #define HAVE_FMODL 1
23864 _ACEOF
23865
23866 fi
23867 done
23868
23869   else
23870
23871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23872 $as_echo_n "checking for _fmodl declaration... " >&6; }
23873   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23874     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23875   $as_echo_n "(cached) " >&6
23876 else
23877
23878
23879       ac_ext=cpp
23880 ac_cpp='$CXXCPP $CPPFLAGS'
23881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23884
23885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h.  */
23887 #include <math.h>
23888 int
23889 main ()
23890 {
23891  _fmodl(0, 0);
23892   ;
23893   return 0;
23894 }
23895 _ACEOF
23896 if ac_fn_cxx_try_compile "$LINENO"; then :
23897   glibcxx_cv_func__fmodl_use=yes
23898 else
23899   glibcxx_cv_func__fmodl_use=no
23900 fi
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902       ac_ext=c
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907
23908
23909 fi
23910
23911   fi
23912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23913 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23914
23915     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23916       for ac_func in _fmodl
23917 do :
23918   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23919 if test "x$ac_cv_func__fmodl" = x""yes; then :
23920   cat >>confdefs.h <<_ACEOF
23921 #define HAVE__FMODL 1
23922 _ACEOF
23923
23924 fi
23925 done
23926
23927     fi
23928   fi
23929
23930
23931
23932
23933
23934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23935 $as_echo_n "checking for frexpl declaration... " >&6; }
23936   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23937     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23938   $as_echo_n "(cached) " >&6
23939 else
23940
23941
23942       ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23947
23948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h.  */
23950 #include <math.h>
23951 int
23952 main ()
23953 {
23954  frexpl(0, 0);
23955   ;
23956   return 0;
23957 }
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960   glibcxx_cv_func_frexpl_use=yes
23961 else
23962   glibcxx_cv_func_frexpl_use=no
23963 fi
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965       ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23970
23971
23972 fi
23973
23974   fi
23975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23976 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23977
23978   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23979     for ac_func in frexpl
23980 do :
23981   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23982 if test "x$ac_cv_func_frexpl" = x""yes; then :
23983   cat >>confdefs.h <<_ACEOF
23984 #define HAVE_FREXPL 1
23985 _ACEOF
23986
23987 fi
23988 done
23989
23990   else
23991
23992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23993 $as_echo_n "checking for _frexpl declaration... " >&6; }
23994   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23995     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23996   $as_echo_n "(cached) " >&6
23997 else
23998
23999
24000       ac_ext=cpp
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24005
24006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h.  */
24008 #include <math.h>
24009 int
24010 main ()
24011 {
24012  _frexpl(0, 0);
24013   ;
24014   return 0;
24015 }
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018   glibcxx_cv_func__frexpl_use=yes
24019 else
24020   glibcxx_cv_func__frexpl_use=no
24021 fi
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023       ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24028
24029
24030 fi
24031
24032   fi
24033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24034 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24035
24036     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24037       for ac_func in _frexpl
24038 do :
24039   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24040 if test "x$ac_cv_func__frexpl" = x""yes; then :
24041   cat >>confdefs.h <<_ACEOF
24042 #define HAVE__FREXPL 1
24043 _ACEOF
24044
24045 fi
24046 done
24047
24048     fi
24049   fi
24050
24051
24052
24053
24054
24055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24056 $as_echo_n "checking for hypotl declaration... " >&6; }
24057   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24058     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24059   $as_echo_n "(cached) " >&6
24060 else
24061
24062
24063       ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24068
24069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h.  */
24071 #include <math.h>
24072 int
24073 main ()
24074 {
24075  hypotl(0, 0);
24076   ;
24077   return 0;
24078 }
24079 _ACEOF
24080 if ac_fn_cxx_try_compile "$LINENO"; then :
24081   glibcxx_cv_func_hypotl_use=yes
24082 else
24083   glibcxx_cv_func_hypotl_use=no
24084 fi
24085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086       ac_ext=c
24087 ac_cpp='$CPP $CPPFLAGS'
24088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091
24092
24093 fi
24094
24095   fi
24096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24097 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24098
24099   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24100     for ac_func in hypotl
24101 do :
24102   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24103 if test "x$ac_cv_func_hypotl" = x""yes; then :
24104   cat >>confdefs.h <<_ACEOF
24105 #define HAVE_HYPOTL 1
24106 _ACEOF
24107
24108 fi
24109 done
24110
24111   else
24112
24113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24114 $as_echo_n "checking for _hypotl declaration... " >&6; }
24115   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24116     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24117   $as_echo_n "(cached) " >&6
24118 else
24119
24120
24121       ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126
24127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h.  */
24129 #include <math.h>
24130 int
24131 main ()
24132 {
24133  _hypotl(0, 0);
24134   ;
24135   return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139   glibcxx_cv_func__hypotl_use=yes
24140 else
24141   glibcxx_cv_func__hypotl_use=no
24142 fi
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144       ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24149
24150
24151 fi
24152
24153   fi
24154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24155 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24156
24157     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24158       for ac_func in _hypotl
24159 do :
24160   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24161 if test "x$ac_cv_func__hypotl" = x""yes; then :
24162   cat >>confdefs.h <<_ACEOF
24163 #define HAVE__HYPOTL 1
24164 _ACEOF
24165
24166 fi
24167 done
24168
24169     fi
24170   fi
24171
24172
24173
24174
24175
24176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24177 $as_echo_n "checking for ldexpl declaration... " >&6; }
24178   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24179     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24180   $as_echo_n "(cached) " >&6
24181 else
24182
24183
24184       ac_ext=cpp
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189
24190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h.  */
24192 #include <math.h>
24193 int
24194 main ()
24195 {
24196  ldexpl(0, 0);
24197   ;
24198   return 0;
24199 }
24200 _ACEOF
24201 if ac_fn_cxx_try_compile "$LINENO"; then :
24202   glibcxx_cv_func_ldexpl_use=yes
24203 else
24204   glibcxx_cv_func_ldexpl_use=no
24205 fi
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207       ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24212
24213
24214 fi
24215
24216   fi
24217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24218 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24219
24220   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24221     for ac_func in ldexpl
24222 do :
24223   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24224 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24225   cat >>confdefs.h <<_ACEOF
24226 #define HAVE_LDEXPL 1
24227 _ACEOF
24228
24229 fi
24230 done
24231
24232   else
24233
24234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24235 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24236   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24237     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24238   $as_echo_n "(cached) " >&6
24239 else
24240
24241
24242       ac_ext=cpp
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24247
24248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h.  */
24250 #include <math.h>
24251 int
24252 main ()
24253 {
24254  _ldexpl(0, 0);
24255   ;
24256   return 0;
24257 }
24258 _ACEOF
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260   glibcxx_cv_func__ldexpl_use=yes
24261 else
24262   glibcxx_cv_func__ldexpl_use=no
24263 fi
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265       ac_ext=c
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24270
24271
24272 fi
24273
24274   fi
24275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24276 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24277
24278     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24279       for ac_func in _ldexpl
24280 do :
24281   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24282 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24283   cat >>confdefs.h <<_ACEOF
24284 #define HAVE__LDEXPL 1
24285 _ACEOF
24286
24287 fi
24288 done
24289
24290     fi
24291   fi
24292
24293
24294
24295
24296
24297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24298 $as_echo_n "checking for logl declaration... " >&6; }
24299   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24300     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24301   $as_echo_n "(cached) " >&6
24302 else
24303
24304
24305       ac_ext=cpp
24306 ac_cpp='$CXXCPP $CPPFLAGS'
24307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24310
24311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h.  */
24313 #include <math.h>
24314                       #ifdef HAVE_IEEEFP_H
24315                       #include <ieeefp.h>
24316                       #endif
24317
24318 int
24319 main ()
24320 {
24321  logl(0);
24322   ;
24323   return 0;
24324 }
24325 _ACEOF
24326 if ac_fn_cxx_try_compile "$LINENO"; then :
24327   glibcxx_cv_func_logl_use=yes
24328 else
24329   glibcxx_cv_func_logl_use=no
24330 fi
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24332       ac_ext=c
24333 ac_cpp='$CPP $CPPFLAGS'
24334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24337
24338
24339 fi
24340
24341   fi
24342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24343 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24344
24345   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24346     for ac_func in logl
24347 do :
24348   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24349 if test "x$ac_cv_func_logl" = x""yes; then :
24350   cat >>confdefs.h <<_ACEOF
24351 #define HAVE_LOGL 1
24352 _ACEOF
24353
24354 fi
24355 done
24356
24357   else
24358
24359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24360 $as_echo_n "checking for _logl declaration... " >&6; }
24361   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24362     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24363   $as_echo_n "(cached) " >&6
24364 else
24365
24366
24367       ac_ext=cpp
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24372
24373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h.  */
24375 #include <math.h>
24376                       #ifdef HAVE_IEEEFP_H
24377                       #include <ieeefp.h>
24378                       #endif
24379
24380 int
24381 main ()
24382 {
24383  _logl(0);
24384   ;
24385   return 0;
24386 }
24387 _ACEOF
24388 if ac_fn_cxx_try_compile "$LINENO"; then :
24389   glibcxx_cv_func__logl_use=yes
24390 else
24391   glibcxx_cv_func__logl_use=no
24392 fi
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394       ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24399
24400
24401 fi
24402
24403   fi
24404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24405 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24406
24407     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24408       for ac_func in _logl
24409 do :
24410   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24411 if test "x$ac_cv_func__logl" = x""yes; then :
24412   cat >>confdefs.h <<_ACEOF
24413 #define HAVE__LOGL 1
24414 _ACEOF
24415
24416 fi
24417 done
24418
24419     fi
24420   fi
24421
24422
24423
24424
24425
24426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24427 $as_echo_n "checking for log10l declaration... " >&6; }
24428   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24429     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24430   $as_echo_n "(cached) " >&6
24431 else
24432
24433
24434       ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439
24440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h.  */
24442 #include <math.h>
24443                       #ifdef HAVE_IEEEFP_H
24444                       #include <ieeefp.h>
24445                       #endif
24446
24447 int
24448 main ()
24449 {
24450  log10l(0);
24451   ;
24452   return 0;
24453 }
24454 _ACEOF
24455 if ac_fn_cxx_try_compile "$LINENO"; then :
24456   glibcxx_cv_func_log10l_use=yes
24457 else
24458   glibcxx_cv_func_log10l_use=no
24459 fi
24460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461       ac_ext=c
24462 ac_cpp='$CPP $CPPFLAGS'
24463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24466
24467
24468 fi
24469
24470   fi
24471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24472 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24473
24474   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24475     for ac_func in log10l
24476 do :
24477   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24478 if test "x$ac_cv_func_log10l" = x""yes; then :
24479   cat >>confdefs.h <<_ACEOF
24480 #define HAVE_LOG10L 1
24481 _ACEOF
24482
24483 fi
24484 done
24485
24486   else
24487
24488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24489 $as_echo_n "checking for _log10l declaration... " >&6; }
24490   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24491     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24492   $as_echo_n "(cached) " >&6
24493 else
24494
24495
24496       ac_ext=cpp
24497 ac_cpp='$CXXCPP $CPPFLAGS'
24498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501
24502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h.  */
24504 #include <math.h>
24505                       #ifdef HAVE_IEEEFP_H
24506                       #include <ieeefp.h>
24507                       #endif
24508
24509 int
24510 main ()
24511 {
24512  _log10l(0);
24513   ;
24514   return 0;
24515 }
24516 _ACEOF
24517 if ac_fn_cxx_try_compile "$LINENO"; then :
24518   glibcxx_cv_func__log10l_use=yes
24519 else
24520   glibcxx_cv_func__log10l_use=no
24521 fi
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523       ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528
24529
24530 fi
24531
24532   fi
24533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24534 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24535
24536     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24537       for ac_func in _log10l
24538 do :
24539   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24540 if test "x$ac_cv_func__log10l" = x""yes; then :
24541   cat >>confdefs.h <<_ACEOF
24542 #define HAVE__LOG10L 1
24543 _ACEOF
24544
24545 fi
24546 done
24547
24548     fi
24549   fi
24550
24551
24552
24553
24554
24555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24556 $as_echo_n "checking for modfl declaration... " >&6; }
24557   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24558     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24559   $as_echo_n "(cached) " >&6
24560 else
24561
24562
24563       ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568
24569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h.  */
24571 #include <math.h>
24572 int
24573 main ()
24574 {
24575  modfl(0, 0);
24576   ;
24577   return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581   glibcxx_cv_func_modfl_use=yes
24582 else
24583   glibcxx_cv_func_modfl_use=no
24584 fi
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586       ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591
24592
24593 fi
24594
24595   fi
24596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24597 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24598
24599   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24600     for ac_func in modfl
24601 do :
24602   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24603 if test "x$ac_cv_func_modfl" = x""yes; then :
24604   cat >>confdefs.h <<_ACEOF
24605 #define HAVE_MODFL 1
24606 _ACEOF
24607
24608 fi
24609 done
24610
24611   else
24612
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24614 $as_echo_n "checking for _modfl declaration... " >&6; }
24615   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24616     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24617   $as_echo_n "(cached) " >&6
24618 else
24619
24620
24621       ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24626
24627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h.  */
24629 #include <math.h>
24630 int
24631 main ()
24632 {
24633  _modfl(0, 0);
24634   ;
24635   return 0;
24636 }
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639   glibcxx_cv_func__modfl_use=yes
24640 else
24641   glibcxx_cv_func__modfl_use=no
24642 fi
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644       ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24649
24650
24651 fi
24652
24653   fi
24654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24655 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24656
24657     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24658       for ac_func in _modfl
24659 do :
24660   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24661 if test "x$ac_cv_func__modfl" = x""yes; then :
24662   cat >>confdefs.h <<_ACEOF
24663 #define HAVE__MODFL 1
24664 _ACEOF
24665
24666 fi
24667 done
24668
24669     fi
24670   fi
24671
24672
24673
24674
24675
24676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24677 $as_echo_n "checking for powl declaration... " >&6; }
24678   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24679     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24680   $as_echo_n "(cached) " >&6
24681 else
24682
24683
24684       ac_ext=cpp
24685 ac_cpp='$CXXCPP $CPPFLAGS'
24686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24689
24690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h.  */
24692 #include <math.h>
24693 int
24694 main ()
24695 {
24696  powl(0, 0);
24697   ;
24698   return 0;
24699 }
24700 _ACEOF
24701 if ac_fn_cxx_try_compile "$LINENO"; then :
24702   glibcxx_cv_func_powl_use=yes
24703 else
24704   glibcxx_cv_func_powl_use=no
24705 fi
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707       ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24712
24713
24714 fi
24715
24716   fi
24717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24718 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24719
24720   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24721     for ac_func in powl
24722 do :
24723   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24724 if test "x$ac_cv_func_powl" = x""yes; then :
24725   cat >>confdefs.h <<_ACEOF
24726 #define HAVE_POWL 1
24727 _ACEOF
24728
24729 fi
24730 done
24731
24732   else
24733
24734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24735 $as_echo_n "checking for _powl declaration... " >&6; }
24736   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24737     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24738   $as_echo_n "(cached) " >&6
24739 else
24740
24741
24742       ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24747
24748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h.  */
24750 #include <math.h>
24751 int
24752 main ()
24753 {
24754  _powl(0, 0);
24755   ;
24756   return 0;
24757 }
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760   glibcxx_cv_func__powl_use=yes
24761 else
24762   glibcxx_cv_func__powl_use=no
24763 fi
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765       ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24770
24771
24772 fi
24773
24774   fi
24775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24776 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24777
24778     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24779       for ac_func in _powl
24780 do :
24781   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24782 if test "x$ac_cv_func__powl" = x""yes; then :
24783   cat >>confdefs.h <<_ACEOF
24784 #define HAVE__POWL 1
24785 _ACEOF
24786
24787 fi
24788 done
24789
24790     fi
24791   fi
24792
24793
24794
24795
24796
24797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24798 $as_echo_n "checking for sqrtl declaration... " >&6; }
24799   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24800     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24801   $as_echo_n "(cached) " >&6
24802 else
24803
24804
24805       ac_ext=cpp
24806 ac_cpp='$CXXCPP $CPPFLAGS'
24807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24810
24811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24812 /* end confdefs.h.  */
24813 #include <math.h>
24814                       #ifdef HAVE_IEEEFP_H
24815                       #include <ieeefp.h>
24816                       #endif
24817
24818 int
24819 main ()
24820 {
24821  sqrtl(0);
24822   ;
24823   return 0;
24824 }
24825 _ACEOF
24826 if ac_fn_cxx_try_compile "$LINENO"; then :
24827   glibcxx_cv_func_sqrtl_use=yes
24828 else
24829   glibcxx_cv_func_sqrtl_use=no
24830 fi
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832       ac_ext=c
24833 ac_cpp='$CPP $CPPFLAGS'
24834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24837
24838
24839 fi
24840
24841   fi
24842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24843 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24844
24845   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24846     for ac_func in sqrtl
24847 do :
24848   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24849 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24850   cat >>confdefs.h <<_ACEOF
24851 #define HAVE_SQRTL 1
24852 _ACEOF
24853
24854 fi
24855 done
24856
24857   else
24858
24859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24860 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24861   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24862     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24863   $as_echo_n "(cached) " >&6
24864 else
24865
24866
24867       ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24872
24873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h.  */
24875 #include <math.h>
24876                       #ifdef HAVE_IEEEFP_H
24877                       #include <ieeefp.h>
24878                       #endif
24879
24880 int
24881 main ()
24882 {
24883  _sqrtl(0);
24884   ;
24885   return 0;
24886 }
24887 _ACEOF
24888 if ac_fn_cxx_try_compile "$LINENO"; then :
24889   glibcxx_cv_func__sqrtl_use=yes
24890 else
24891   glibcxx_cv_func__sqrtl_use=no
24892 fi
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894       ac_ext=c
24895 ac_cpp='$CPP $CPPFLAGS'
24896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24899
24900
24901 fi
24902
24903   fi
24904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24905 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24906
24907     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24908       for ac_func in _sqrtl
24909 do :
24910   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24911 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24912   cat >>confdefs.h <<_ACEOF
24913 #define HAVE__SQRTL 1
24914 _ACEOF
24915
24916 fi
24917 done
24918
24919     fi
24920   fi
24921
24922
24923
24924
24925
24926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24927 $as_echo_n "checking for sincosl declaration... " >&6; }
24928   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24929     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24930   $as_echo_n "(cached) " >&6
24931 else
24932
24933
24934       ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939
24940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h.  */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946  sincosl(0, 0, 0);
24947   ;
24948   return 0;
24949 }
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952   glibcxx_cv_func_sincosl_use=yes
24953 else
24954   glibcxx_cv_func_sincosl_use=no
24955 fi
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957       ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962
24963
24964 fi
24965
24966   fi
24967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24968 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24969
24970   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24971     for ac_func in sincosl
24972 do :
24973   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24974 if test "x$ac_cv_func_sincosl" = x""yes; then :
24975   cat >>confdefs.h <<_ACEOF
24976 #define HAVE_SINCOSL 1
24977 _ACEOF
24978
24979 fi
24980 done
24981
24982   else
24983
24984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24985 $as_echo_n "checking for _sincosl declaration... " >&6; }
24986   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24987     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24988   $as_echo_n "(cached) " >&6
24989 else
24990
24991
24992       ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997
24998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h.  */
25000 #include <math.h>
25001 int
25002 main ()
25003 {
25004  _sincosl(0, 0, 0);
25005   ;
25006   return 0;
25007 }
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010   glibcxx_cv_func__sincosl_use=yes
25011 else
25012   glibcxx_cv_func__sincosl_use=no
25013 fi
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015       ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25020
25021
25022 fi
25023
25024   fi
25025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25026 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25027
25028     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25029       for ac_func in _sincosl
25030 do :
25031   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25032 if test "x$ac_cv_func__sincosl" = x""yes; then :
25033   cat >>confdefs.h <<_ACEOF
25034 #define HAVE__SINCOSL 1
25035 _ACEOF
25036
25037 fi
25038 done
25039
25040     fi
25041   fi
25042
25043
25044
25045
25046
25047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25048 $as_echo_n "checking for finitel declaration... " >&6; }
25049   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25050     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25051   $as_echo_n "(cached) " >&6
25052 else
25053
25054
25055       ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060
25061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h.  */
25063 #include <math.h>
25064                       #ifdef HAVE_IEEEFP_H
25065                       #include <ieeefp.h>
25066                       #endif
25067
25068 int
25069 main ()
25070 {
25071  finitel(0);
25072   ;
25073   return 0;
25074 }
25075 _ACEOF
25076 if ac_fn_cxx_try_compile "$LINENO"; then :
25077   glibcxx_cv_func_finitel_use=yes
25078 else
25079   glibcxx_cv_func_finitel_use=no
25080 fi
25081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082       ac_ext=c
25083 ac_cpp='$CPP $CPPFLAGS'
25084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25087
25088
25089 fi
25090
25091   fi
25092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25093 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25094
25095   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25096     for ac_func in finitel
25097 do :
25098   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25099 if test "x$ac_cv_func_finitel" = x""yes; then :
25100   cat >>confdefs.h <<_ACEOF
25101 #define HAVE_FINITEL 1
25102 _ACEOF
25103
25104 fi
25105 done
25106
25107   else
25108
25109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25110 $as_echo_n "checking for _finitel declaration... " >&6; }
25111   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25112     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25113   $as_echo_n "(cached) " >&6
25114 else
25115
25116
25117       ac_ext=cpp
25118 ac_cpp='$CXXCPP $CPPFLAGS'
25119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25122
25123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25124 /* end confdefs.h.  */
25125 #include <math.h>
25126                       #ifdef HAVE_IEEEFP_H
25127                       #include <ieeefp.h>
25128                       #endif
25129
25130 int
25131 main ()
25132 {
25133  _finitel(0);
25134   ;
25135   return 0;
25136 }
25137 _ACEOF
25138 if ac_fn_cxx_try_compile "$LINENO"; then :
25139   glibcxx_cv_func__finitel_use=yes
25140 else
25141   glibcxx_cv_func__finitel_use=no
25142 fi
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144       ac_ext=c
25145 ac_cpp='$CPP $CPPFLAGS'
25146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25149
25150
25151 fi
25152
25153   fi
25154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25155 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25156
25157     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25158       for ac_func in _finitel
25159 do :
25160   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25161 if test "x$ac_cv_func__finitel" = x""yes; then :
25162   cat >>confdefs.h <<_ACEOF
25163 #define HAVE__FINITEL 1
25164 _ACEOF
25165
25166 fi
25167 done
25168
25169     fi
25170   fi
25171
25172
25173
25174
25175   LIBS="$ac_save_LIBS"
25176   CXXFLAGS="$ac_save_CXXFLAGS"
25177
25178
25179   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25180   ac_save_CXXFLAGS="$CXXFLAGS"
25181   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25182
25183
25184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25185 $as_echo_n "checking for strtold declaration... " >&6; }
25186   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25187     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25188   $as_echo_n "(cached) " >&6
25189 else
25190
25191
25192       ac_ext=cpp
25193 ac_cpp='$CXXCPP $CPPFLAGS'
25194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25197
25198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25199 /* end confdefs.h.  */
25200 #include <stdlib.h>
25201 int
25202 main ()
25203 {
25204  strtold(0, 0);
25205   ;
25206   return 0;
25207 }
25208 _ACEOF
25209 if ac_fn_cxx_try_compile "$LINENO"; then :
25210   glibcxx_cv_func_strtold_use=yes
25211 else
25212   glibcxx_cv_func_strtold_use=no
25213 fi
25214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215       ac_ext=c
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25220
25221
25222 fi
25223
25224   fi
25225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25226 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25227   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25228     for ac_func in strtold
25229 do :
25230   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25231 if test "x$ac_cv_func_strtold" = x""yes; then :
25232   cat >>confdefs.h <<_ACEOF
25233 #define HAVE_STRTOLD 1
25234 _ACEOF
25235
25236 fi
25237 done
25238
25239   fi
25240
25241
25242
25243
25244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25245 $as_echo_n "checking for strtof declaration... " >&6; }
25246   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25247     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25248   $as_echo_n "(cached) " >&6
25249 else
25250
25251
25252       ac_ext=cpp
25253 ac_cpp='$CXXCPP $CPPFLAGS'
25254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25257
25258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h.  */
25260 #include <stdlib.h>
25261 int
25262 main ()
25263 {
25264  strtof(0, 0);
25265   ;
25266   return 0;
25267 }
25268 _ACEOF
25269 if ac_fn_cxx_try_compile "$LINENO"; then :
25270   glibcxx_cv_func_strtof_use=yes
25271 else
25272   glibcxx_cv_func_strtof_use=no
25273 fi
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275       ac_ext=c
25276 ac_cpp='$CPP $CPPFLAGS'
25277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25280
25281
25282 fi
25283
25284   fi
25285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25286 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25287   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25288     for ac_func in strtof
25289 do :
25290   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25291 if test "x$ac_cv_func_strtof" = x""yes; then :
25292   cat >>confdefs.h <<_ACEOF
25293 #define HAVE_STRTOF 1
25294 _ACEOF
25295
25296 fi
25297 done
25298
25299   fi
25300
25301
25302
25303
25304   CXXFLAGS="$ac_save_CXXFLAGS"
25305
25306
25307   # For /dev/random and /dev/urandom for TR1.
25308
25309
25310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25311 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25312   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25313   $as_echo_n "(cached) " >&6
25314 else
25315
25316     if test -r /dev/random && test -r /dev/urandom; then
25317       glibcxx_cv_random_tr1=yes;
25318     else
25319       glibcxx_cv_random_tr1=no;
25320     fi
25321
25322 fi
25323
25324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25325 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25326
25327   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25328
25329 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25330
25331   fi
25332
25333
25334
25335   # For TLS support.
25336
25337
25338    # Check whether --enable-tls was given.
25339 if test "${enable_tls+set}" = set; then :
25340   enableval=$enable_tls;
25341       case "$enableval" in
25342        yes|no) ;;
25343        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25344       esac
25345
25346 else
25347   enable_tls=yes
25348 fi
25349
25350
25351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25352 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25353 if test "${gcc_cv_have_tls+set}" = set; then :
25354   $as_echo_n "(cached) " >&6
25355 else
25356
25357     if test "$cross_compiling" = yes; then :
25358                 if test x$gcc_no_link = xyes; then
25359   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25360 fi
25361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h.  */
25363 __thread int a; int b; int main() { return a = b; }
25364 _ACEOF
25365 if ac_fn_c_try_link "$LINENO"; then :
25366   chktls_save_LDFLAGS="$LDFLAGS"
25367                           case $host in
25368             *-*-linux*)
25369               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25370               ;;
25371           esac
25372           chktls_save_CFLAGS="$CFLAGS"
25373           CFLAGS="-fPIC $CFLAGS"
25374                   if test x$gcc_no_link = xyes; then
25375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25376 fi
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h.  */
25379 int f() { return 0; }
25380 _ACEOF
25381 if ac_fn_c_try_link "$LINENO"; then :
25382   if test x$gcc_no_link = xyes; then
25383   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25384 fi
25385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h.  */
25387 __thread int a; int b; int f() { return a = b; }
25388 _ACEOF
25389 if ac_fn_c_try_link "$LINENO"; then :
25390   gcc_cv_have_tls=yes
25391 else
25392   gcc_cv_have_tls=no
25393 fi
25394 rm -f core conftest.err conftest.$ac_objext \
25395     conftest$ac_exeext conftest.$ac_ext
25396 else
25397   gcc_cv_have_tls=yes
25398 fi
25399 rm -f core conftest.err conftest.$ac_objext \
25400     conftest$ac_exeext conftest.$ac_ext
25401           CFLAGS="$chktls_save_CFLAGS"
25402           LDFLAGS="$chktls_save_LDFLAGS"
25403 else
25404   gcc_cv_have_tls=no
25405 fi
25406 rm -f core conftest.err conftest.$ac_objext \
25407     conftest$ac_exeext conftest.$ac_ext
25408
25409
25410 else
25411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25412 /* end confdefs.h.  */
25413 __thread int a; int b; int main() { return a = b; }
25414 _ACEOF
25415 if ac_fn_c_try_run "$LINENO"; then :
25416                       chktls_save_LDFLAGS="$LDFLAGS"
25417       LDFLAGS="-static $LDFLAGS"
25418       if test x$gcc_no_link = xyes; then
25419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25420 fi
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h.  */
25423 int main() { return 0; }
25424 _ACEOF
25425 if ac_fn_c_try_link "$LINENO"; then :
25426   if test "$cross_compiling" = yes; then :
25427   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25429 as_fn_error "cannot run test program while cross compiling
25430 See \`config.log' for more details." "$LINENO" 5; }
25431 else
25432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h.  */
25434 __thread int a; int b; int main() { return a = b; }
25435 _ACEOF
25436 if ac_fn_c_try_run "$LINENO"; then :
25437   gcc_cv_have_tls=yes
25438 else
25439   gcc_cv_have_tls=no
25440 fi
25441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25442   conftest.$ac_objext conftest.beam conftest.$ac_ext
25443 fi
25444
25445 else
25446   gcc_cv_have_tls=yes
25447 fi
25448 rm -f core conftest.err conftest.$ac_objext \
25449     conftest$ac_exeext conftest.$ac_ext
25450       LDFLAGS="$chktls_save_LDFLAGS"
25451       if test $gcc_cv_have_tls = yes; then
25452                                                 chktls_save_CFLAGS="$CFLAGS"
25453         thread_CFLAGS=failed
25454         for flag in '' '-pthread' '-lpthread'; do
25455           CFLAGS="$flag $chktls_save_CFLAGS"
25456           if test x$gcc_no_link = xyes; then
25457   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25458 fi
25459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25460 /* end confdefs.h.  */
25461 #include <pthread.h>
25462                 void *g(void *d) { return NULL; }
25463 int
25464 main ()
25465 {
25466 pthread_t t; pthread_create(&t,NULL,g,NULL);
25467   ;
25468   return 0;
25469 }
25470 _ACEOF
25471 if ac_fn_c_try_link "$LINENO"; then :
25472   thread_CFLAGS="$flag"
25473 fi
25474 rm -f core conftest.err conftest.$ac_objext \
25475     conftest$ac_exeext conftest.$ac_ext
25476           if test "X$thread_CFLAGS" != Xfailed; then
25477             break
25478           fi
25479         done
25480         CFLAGS="$chktls_save_CFLAGS"
25481         if test "X$thread_CFLAGS" != Xfailed; then
25482           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25483           if test "$cross_compiling" = yes; then :
25484   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25486 as_fn_error "cannot run test program while cross compiling
25487 See \`config.log' for more details." "$LINENO" 5; }
25488 else
25489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25490 /* end confdefs.h.  */
25491 #include <pthread.h>
25492                 __thread int a;
25493                 static int *a_in_other_thread;
25494                 static void *
25495                 thread_func (void *arg)
25496                 {
25497                   a_in_other_thread = &a;
25498                   return (void *)0;
25499                 }
25500 int
25501 main ()
25502 {
25503 pthread_t thread;
25504                 void *thread_retval;
25505                 int *a_in_main_thread;
25506                 if (pthread_create (&thread, (pthread_attr_t *)0,
25507                                     thread_func, (void *)0))
25508                   return 0;
25509                 a_in_main_thread = &a;
25510                 if (pthread_join (thread, &thread_retval))
25511                   return 0;
25512                 return (a_in_other_thread == a_in_main_thread);
25513   ;
25514   return 0;
25515 }
25516 _ACEOF
25517 if ac_fn_c_try_run "$LINENO"; then :
25518   gcc_cv_have_tls=yes
25519 else
25520   gcc_cv_have_tls=no
25521 fi
25522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25523   conftest.$ac_objext conftest.beam conftest.$ac_ext
25524 fi
25525
25526           CFLAGS="$chktls_save_CFLAGS"
25527         fi
25528       fi
25529 else
25530   gcc_cv_have_tls=no
25531 fi
25532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25533   conftest.$ac_objext conftest.beam conftest.$ac_ext
25534 fi
25535
25536 fi
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25538 $as_echo "$gcc_cv_have_tls" >&6; }
25539   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25540
25541 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25542
25543   fi
25544
25545   # For iconv support.
25546
25547       if test "X$prefix" = "XNONE"; then
25548     acl_final_prefix="$ac_default_prefix"
25549   else
25550     acl_final_prefix="$prefix"
25551   fi
25552   if test "X$exec_prefix" = "XNONE"; then
25553     acl_final_exec_prefix='${prefix}'
25554   else
25555     acl_final_exec_prefix="$exec_prefix"
25556   fi
25557   acl_save_prefix="$prefix"
25558   prefix="$acl_final_prefix"
25559   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25560   prefix="$acl_save_prefix"
25561
25562
25563 # Check whether --with-gnu-ld was given.
25564 if test "${with_gnu_ld+set}" = set; then :
25565   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25566 else
25567   with_gnu_ld=no
25568 fi
25569
25570 # Prepare PATH_SEPARATOR.
25571 # The user is always right.
25572 if test "${PATH_SEPARATOR+set}" != set; then
25573   echo "#! /bin/sh" >conf$$.sh
25574   echo  "exit 0"   >>conf$$.sh
25575   chmod +x conf$$.sh
25576   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25577     PATH_SEPARATOR=';'
25578   else
25579     PATH_SEPARATOR=:
25580   fi
25581   rm -f conf$$.sh
25582 fi
25583 ac_prog=ld
25584 if test "$GCC" = yes; then
25585   # Check if gcc -print-prog-name=ld gives a path.
25586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25587 $as_echo_n "checking for ld used by GCC... " >&6; }
25588   case $host in
25589   *-*-mingw*)
25590     # gcc leaves a trailing carriage return which upsets mingw
25591     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25592   *)
25593     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25594   esac
25595   case $ac_prog in
25596     # Accept absolute paths.
25597     [\\/]* | [A-Za-z]:[\\/]*)
25598       re_direlt='/[^/][^/]*/\.\./'
25599       # Canonicalize the path of ld
25600       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25601       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25602         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25603       done
25604       test -z "$LD" && LD="$ac_prog"
25605       ;;
25606   "")
25607     # If it fails, then pretend we aren't using GCC.
25608     ac_prog=ld
25609     ;;
25610   *)
25611     # If it is relative, then search for the first ld in PATH.
25612     with_gnu_ld=unknown
25613     ;;
25614   esac
25615 elif test "$with_gnu_ld" = yes; then
25616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25617 $as_echo_n "checking for GNU ld... " >&6; }
25618 else
25619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25620 $as_echo_n "checking for non-GNU ld... " >&6; }
25621 fi
25622 if test "${acl_cv_path_LD+set}" = set; then :
25623   $as_echo_n "(cached) " >&6
25624 else
25625   if test -z "$LD"; then
25626   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25627   for ac_dir in $PATH; do
25628     test -z "$ac_dir" && ac_dir=.
25629     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25630       acl_cv_path_LD="$ac_dir/$ac_prog"
25631       # Check to see if the program is GNU ld.  I'd rather use --version,
25632       # but apparently some GNU ld's only accept -v.
25633       # Break only if it was the GNU/non-GNU ld that we prefer.
25634       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25635         test "$with_gnu_ld" != no && break
25636       else
25637         test "$with_gnu_ld" != yes && break
25638       fi
25639     fi
25640   done
25641   IFS="$ac_save_ifs"
25642 else
25643   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25644 fi
25645 fi
25646
25647 LD="$acl_cv_path_LD"
25648 if test -n "$LD"; then
25649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25650 $as_echo "$LD" >&6; }
25651 else
25652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25653 $as_echo "no" >&6; }
25654 fi
25655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25658 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25659   $as_echo_n "(cached) " >&6
25660 else
25661   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25662 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25663   acl_cv_prog_gnu_ld=yes
25664 else
25665   acl_cv_prog_gnu_ld=no
25666 fi
25667 fi
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25669 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25670 with_gnu_ld=$acl_cv_prog_gnu_ld
25671
25672
25673
25674                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25675 $as_echo_n "checking for shared library run path origin... " >&6; }
25676 if test "${acl_cv_rpath+set}" = set; then :
25677   $as_echo_n "(cached) " >&6
25678 else
25679
25680     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25681     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25682     . ./conftest.sh
25683     rm -f ./conftest.sh
25684     acl_cv_rpath=done
25685
25686 fi
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25688 $as_echo "$acl_cv_rpath" >&6; }
25689   wl="$acl_cv_wl"
25690   libext="$acl_cv_libext"
25691   shlibext="$acl_cv_shlibext"
25692   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25693   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25694   hardcode_direct="$acl_cv_hardcode_direct"
25695   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25696     # Check whether --enable-rpath was given.
25697 if test "${enable_rpath+set}" = set; then :
25698   enableval=$enable_rpath; :
25699 else
25700   enable_rpath=yes
25701 fi
25702
25703
25704
25705
25706
25707
25708
25709
25710     use_additional=yes
25711
25712   acl_save_prefix="$prefix"
25713   prefix="$acl_final_prefix"
25714   acl_save_exec_prefix="$exec_prefix"
25715   exec_prefix="$acl_final_exec_prefix"
25716
25717     eval additional_includedir=\"$includedir\"
25718     eval additional_libdir=\"$libdir\"
25719
25720   exec_prefix="$acl_save_exec_prefix"
25721   prefix="$acl_save_prefix"
25722
25723
25724 # Check whether --with-libiconv-prefix was given.
25725 if test "${with_libiconv_prefix+set}" = set; then :
25726   withval=$with_libiconv_prefix;
25727     if test "X$withval" = "Xno"; then
25728       use_additional=no
25729     else
25730       if test "X$withval" = "X"; then
25731
25732   acl_save_prefix="$prefix"
25733   prefix="$acl_final_prefix"
25734   acl_save_exec_prefix="$exec_prefix"
25735   exec_prefix="$acl_final_exec_prefix"
25736
25737           eval additional_includedir=\"$includedir\"
25738           eval additional_libdir=\"$libdir\"
25739
25740   exec_prefix="$acl_save_exec_prefix"
25741   prefix="$acl_save_prefix"
25742
25743       else
25744         additional_includedir="$withval/include"
25745         additional_libdir="$withval/lib"
25746       fi
25747     fi
25748
25749 fi
25750
25751       LIBICONV=
25752   LTLIBICONV=
25753   INCICONV=
25754   rpathdirs=
25755   ltrpathdirs=
25756   names_already_handled=
25757   names_next_round='iconv '
25758   while test -n "$names_next_round"; do
25759     names_this_round="$names_next_round"
25760     names_next_round=
25761     for name in $names_this_round; do
25762       already_handled=
25763       for n in $names_already_handled; do
25764         if test "$n" = "$name"; then
25765           already_handled=yes
25766           break
25767         fi
25768       done
25769       if test -z "$already_handled"; then
25770         names_already_handled="$names_already_handled $name"
25771                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25772         eval value=\"\$HAVE_LIB$uppername\"
25773         if test -n "$value"; then
25774           if test "$value" = yes; then
25775             eval value=\"\$LIB$uppername\"
25776             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25777             eval value=\"\$LTLIB$uppername\"
25778             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25779           else
25780                                     :
25781           fi
25782         else
25783                               found_dir=
25784           found_la=
25785           found_so=
25786           found_a=
25787           if test $use_additional = yes; then
25788             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25789               found_dir="$additional_libdir"
25790               found_so="$additional_libdir/lib$name.$shlibext"
25791               if test -f "$additional_libdir/lib$name.la"; then
25792                 found_la="$additional_libdir/lib$name.la"
25793               fi
25794             else
25795               if test -f "$additional_libdir/lib$name.$libext"; then
25796                 found_dir="$additional_libdir"
25797                 found_a="$additional_libdir/lib$name.$libext"
25798                 if test -f "$additional_libdir/lib$name.la"; then
25799                   found_la="$additional_libdir/lib$name.la"
25800                 fi
25801               fi
25802             fi
25803           fi
25804           if test "X$found_dir" = "X"; then
25805             for x in $LDFLAGS $LTLIBICONV; do
25806
25807   acl_save_prefix="$prefix"
25808   prefix="$acl_final_prefix"
25809   acl_save_exec_prefix="$exec_prefix"
25810   exec_prefix="$acl_final_exec_prefix"
25811   eval x=\"$x\"
25812   exec_prefix="$acl_save_exec_prefix"
25813   prefix="$acl_save_prefix"
25814
25815               case "$x" in
25816                 -L*)
25817                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25818                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25819                     found_dir="$dir"
25820                     found_so="$dir/lib$name.$shlibext"
25821                     if test -f "$dir/lib$name.la"; then
25822                       found_la="$dir/lib$name.la"
25823                     fi
25824                   else
25825                     if test -f "$dir/lib$name.$libext"; then
25826                       found_dir="$dir"
25827                       found_a="$dir/lib$name.$libext"
25828                       if test -f "$dir/lib$name.la"; then
25829                         found_la="$dir/lib$name.la"
25830                       fi
25831                     fi
25832                   fi
25833                   ;;
25834               esac
25835               if test "X$found_dir" != "X"; then
25836                 break
25837               fi
25838             done
25839           fi
25840           if test "X$found_dir" != "X"; then
25841                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25842             if test "X$found_so" != "X"; then
25843                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25844                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25845               else
25846                                                                                 haveit=
25847                 for x in $ltrpathdirs; do
25848                   if test "X$x" = "X$found_dir"; then
25849                     haveit=yes
25850                     break
25851                   fi
25852                 done
25853                 if test -z "$haveit"; then
25854                   ltrpathdirs="$ltrpathdirs $found_dir"
25855                 fi
25856                                 if test "$hardcode_direct" = yes; then
25857                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25858                 else
25859                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25860                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25861                                                             haveit=
25862                     for x in $rpathdirs; do
25863                       if test "X$x" = "X$found_dir"; then
25864                         haveit=yes
25865                         break
25866                       fi
25867                     done
25868                     if test -z "$haveit"; then
25869                       rpathdirs="$rpathdirs $found_dir"
25870                     fi
25871                   else
25872                                                                                 haveit=
25873                     for x in $LDFLAGS $LIBICONV; do
25874
25875   acl_save_prefix="$prefix"
25876   prefix="$acl_final_prefix"
25877   acl_save_exec_prefix="$exec_prefix"
25878   exec_prefix="$acl_final_exec_prefix"
25879   eval x=\"$x\"
25880   exec_prefix="$acl_save_exec_prefix"
25881   prefix="$acl_save_prefix"
25882
25883                       if test "X$x" = "X-L$found_dir"; then
25884                         haveit=yes
25885                         break
25886                       fi
25887                     done
25888                     if test -z "$haveit"; then
25889                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25890                     fi
25891                     if test "$hardcode_minus_L" != no; then
25892                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25893                     else
25894                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25895                     fi
25896                   fi
25897                 fi
25898               fi
25899             else
25900               if test "X$found_a" != "X"; then
25901                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25902               else
25903                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25904               fi
25905             fi
25906                         additional_includedir=
25907             case "$found_dir" in
25908               */lib | */lib/)
25909                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25910                 additional_includedir="$basedir/include"
25911                 ;;
25912             esac
25913             if test "X$additional_includedir" != "X"; then
25914                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25915                 haveit=
25916                 if test "X$additional_includedir" = "X/usr/local/include"; then
25917                   if test -n "$GCC"; then
25918                     case $host_os in
25919                       linux*) haveit=yes;;
25920                     esac
25921                   fi
25922                 fi
25923                 if test -z "$haveit"; then
25924                   for x in $CPPFLAGS $INCICONV; do
25925
25926   acl_save_prefix="$prefix"
25927   prefix="$acl_final_prefix"
25928   acl_save_exec_prefix="$exec_prefix"
25929   exec_prefix="$acl_final_exec_prefix"
25930   eval x=\"$x\"
25931   exec_prefix="$acl_save_exec_prefix"
25932   prefix="$acl_save_prefix"
25933
25934                     if test "X$x" = "X-I$additional_includedir"; then
25935                       haveit=yes
25936                       break
25937                     fi
25938                   done
25939                   if test -z "$haveit"; then
25940                     if test -d "$additional_includedir"; then
25941                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25942                     fi
25943                   fi
25944                 fi
25945               fi
25946             fi
25947                         if test -n "$found_la"; then
25948                                                         save_libdir="$libdir"
25949               case "$found_la" in
25950                 */* | *\\*) . "$found_la" ;;
25951                 *) . "./$found_la" ;;
25952               esac
25953               libdir="$save_libdir"
25954                             for dep in $dependency_libs; do
25955                 case "$dep" in
25956                   -L*)
25957                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25958                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
25959                       haveit=
25960                       if test "X$additional_libdir" = "X/usr/local/lib"; then
25961                         if test -n "$GCC"; then
25962                           case $host_os in
25963                             linux*) haveit=yes;;
25964                           esac
25965                         fi
25966                       fi
25967                       if test -z "$haveit"; then
25968                         haveit=
25969                         for x in $LDFLAGS $LIBICONV; do
25970
25971   acl_save_prefix="$prefix"
25972   prefix="$acl_final_prefix"
25973   acl_save_exec_prefix="$exec_prefix"
25974   exec_prefix="$acl_final_exec_prefix"
25975   eval x=\"$x\"
25976   exec_prefix="$acl_save_exec_prefix"
25977   prefix="$acl_save_prefix"
25978
25979                           if test "X$x" = "X-L$additional_libdir"; then
25980                             haveit=yes
25981                             break
25982                           fi
25983                         done
25984                         if test -z "$haveit"; then
25985                           if test -d "$additional_libdir"; then
25986                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25987                           fi
25988                         fi
25989                         haveit=
25990                         for x in $LDFLAGS $LTLIBICONV; do
25991
25992   acl_save_prefix="$prefix"
25993   prefix="$acl_final_prefix"
25994   acl_save_exec_prefix="$exec_prefix"
25995   exec_prefix="$acl_final_exec_prefix"
25996   eval x=\"$x\"
25997   exec_prefix="$acl_save_exec_prefix"
25998   prefix="$acl_save_prefix"
25999
26000                           if test "X$x" = "X-L$additional_libdir"; then
26001                             haveit=yes
26002                             break
26003                           fi
26004                         done
26005                         if test -z "$haveit"; then
26006                           if test -d "$additional_libdir"; then
26007                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26008                           fi
26009                         fi
26010                       fi
26011                     fi
26012                     ;;
26013                   -R*)
26014                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26015                     if test "$enable_rpath" != no; then
26016                                                                   haveit=
26017                       for x in $rpathdirs; do
26018                         if test "X$x" = "X$dir"; then
26019                           haveit=yes
26020                           break
26021                         fi
26022                       done
26023                       if test -z "$haveit"; then
26024                         rpathdirs="$rpathdirs $dir"
26025                       fi
26026                                                                   haveit=
26027                       for x in $ltrpathdirs; do
26028                         if test "X$x" = "X$dir"; then
26029                           haveit=yes
26030                           break
26031                         fi
26032                       done
26033                       if test -z "$haveit"; then
26034                         ltrpathdirs="$ltrpathdirs $dir"
26035                       fi
26036                     fi
26037                     ;;
26038                   -l*)
26039                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26040                     ;;
26041                   *.la)
26042                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26043                     ;;
26044                   *)
26045                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26046                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26047                     ;;
26048                 esac
26049               done
26050             fi
26051           else
26052                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26053             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26054           fi
26055         fi
26056       fi
26057     done
26058   done
26059   if test "X$rpathdirs" != "X"; then
26060     if test -n "$hardcode_libdir_separator"; then
26061                         alldirs=
26062       for found_dir in $rpathdirs; do
26063         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26064       done
26065             acl_save_libdir="$libdir"
26066       libdir="$alldirs"
26067       eval flag=\"$hardcode_libdir_flag_spec\"
26068       libdir="$acl_save_libdir"
26069       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26070     else
26071             for found_dir in $rpathdirs; do
26072         acl_save_libdir="$libdir"
26073         libdir="$found_dir"
26074         eval flag=\"$hardcode_libdir_flag_spec\"
26075         libdir="$acl_save_libdir"
26076         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26077       done
26078     fi
26079   fi
26080   if test "X$ltrpathdirs" != "X"; then
26081             for found_dir in $ltrpathdirs; do
26082       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26083     done
26084   fi
26085
26086
26087
26088
26089
26090
26091
26092           am_save_CPPFLAGS="$CPPFLAGS"
26093
26094   for element in $INCICONV; do
26095     haveit=
26096     for x in $CPPFLAGS; do
26097
26098   acl_save_prefix="$prefix"
26099   prefix="$acl_final_prefix"
26100   acl_save_exec_prefix="$exec_prefix"
26101   exec_prefix="$acl_final_exec_prefix"
26102   eval x=\"$x\"
26103   exec_prefix="$acl_save_exec_prefix"
26104   prefix="$acl_save_prefix"
26105
26106       if test "X$x" = "X$element"; then
26107         haveit=yes
26108         break
26109       fi
26110     done
26111     if test -z "$haveit"; then
26112       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26113     fi
26114   done
26115
26116
26117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26118 $as_echo_n "checking for iconv... " >&6; }
26119 if test "${am_cv_func_iconv+set}" = set; then :
26120   $as_echo_n "(cached) " >&6
26121 else
26122
26123     am_cv_func_iconv="no, consider installing GNU libiconv"
26124     am_cv_lib_iconv=no
26125     if test x$gcc_no_link = xyes; then
26126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26127 fi
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h.  */
26130 #include <stdlib.h>
26131 #include <iconv.h>
26132 int
26133 main ()
26134 {
26135 iconv_t cd = iconv_open("","");
26136        iconv(cd,NULL,NULL,NULL,NULL);
26137        iconv_close(cd);
26138   ;
26139   return 0;
26140 }
26141 _ACEOF
26142 if ac_fn_c_try_link "$LINENO"; then :
26143   am_cv_func_iconv=yes
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext \
26146     conftest$ac_exeext conftest.$ac_ext
26147     if test "$am_cv_func_iconv" != yes; then
26148       am_save_LIBS="$LIBS"
26149       LIBS="$LIBS $LIBICONV"
26150       if test x$gcc_no_link = xyes; then
26151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26152 fi
26153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26154 /* end confdefs.h.  */
26155 #include <stdlib.h>
26156 #include <iconv.h>
26157 int
26158 main ()
26159 {
26160 iconv_t cd = iconv_open("","");
26161          iconv(cd,NULL,NULL,NULL,NULL);
26162          iconv_close(cd);
26163   ;
26164   return 0;
26165 }
26166 _ACEOF
26167 if ac_fn_c_try_link "$LINENO"; then :
26168   am_cv_lib_iconv=yes
26169         am_cv_func_iconv=yes
26170 fi
26171 rm -f core conftest.err conftest.$ac_objext \
26172     conftest$ac_exeext conftest.$ac_ext
26173       LIBS="$am_save_LIBS"
26174     fi
26175
26176 fi
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26178 $as_echo "$am_cv_func_iconv" >&6; }
26179   if test "$am_cv_func_iconv" = yes; then
26180
26181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26182
26183   fi
26184   if test "$am_cv_lib_iconv" = yes; then
26185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26186 $as_echo_n "checking how to link with libiconv... " >&6; }
26187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26188 $as_echo "$LIBICONV" >&6; }
26189   else
26190             CPPFLAGS="$am_save_CPPFLAGS"
26191     LIBICONV=
26192     LTLIBICONV=
26193   fi
26194
26195
26196
26197   if test "$am_cv_func_iconv" = yes; then
26198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26199 $as_echo_n "checking for iconv declaration... " >&6; }
26200     if test "${am_cv_proto_iconv+set}" = set; then :
26201   $as_echo_n "(cached) " >&6
26202 else
26203
26204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26205 /* end confdefs.h.  */
26206
26207 #include <stdlib.h>
26208 #include <iconv.h>
26209 extern
26210 #ifdef __cplusplus
26211 "C"
26212 #endif
26213 #if defined(__STDC__) || defined(__cplusplus)
26214 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26215 #else
26216 size_t iconv();
26217 #endif
26218
26219 int
26220 main ()
26221 {
26222
26223   ;
26224   return 0;
26225 }
26226 _ACEOF
26227 if ac_fn_c_try_compile "$LINENO"; then :
26228   am_cv_proto_iconv_arg1=""
26229 else
26230   am_cv_proto_iconv_arg1="const"
26231 fi
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233       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);"
26234 fi
26235
26236     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26238          }$am_cv_proto_iconv" >&5
26239 $as_echo "${ac_t:-
26240          }$am_cv_proto_iconv" >&6; }
26241
26242 cat >>confdefs.h <<_ACEOF
26243 #define ICONV_CONST $am_cv_proto_iconv_arg1
26244 _ACEOF
26245
26246   fi
26247
26248
26249 else
26250
26251   # This lets us hard-code the functionality we know we'll have in the cross
26252   # target environment.  "Let" is a sugar-coated word placed on an especially
26253   # dull and tedious hack, actually.
26254   #
26255   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26256   # that involve linking, can't be used:
26257   #    "cannot open sim-crt0.o"
26258   #    "cannot open crt0.o"
26259   # etc.  All this is because there currently exists no unified, consistent
26260   # way for top level CC information to be passed down to target directories:
26261   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26262   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26263   # crosses can be removed.
26264
26265   # If Canadian cross, then don't pick up tools from the build directory.
26266   # Used only in GLIBCXX_EXPORT_INCLUDES.
26267   if test -n "$with_cross_host" &&
26268      test x"$build_alias" != x"$with_cross_host" &&
26269      test x"$build" != x"$target";
26270   then
26271     CANADIAN=yes
26272   else
26273     CANADIAN=no
26274   fi
26275
26276   # Construct crosses by hand, eliminating bits that need ld...
26277   # GLIBCXX_CHECK_MATH_SUPPORT
26278
26279   # First, test for "known" system libraries.  We may be using newlib even
26280   # on a hosted environment.
26281   if test "x${with_newlib}" = "xyes"; then
26282     os_include_dir="os/newlib"
26283     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26284
26285
26286     # GLIBCXX_CHECK_STDLIB_SUPPORT
26287     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26288
26289
26290     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26291
26292     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26293
26294     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26295
26296     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26297
26298     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26299
26300     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26301
26302     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26303
26304     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26305
26306     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26307
26308     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26309
26310     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26311
26312     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26313
26314     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26315
26316     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26317
26318     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26319
26320     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26321
26322     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26323
26324     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26325
26326     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26327
26328     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26329
26330     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26331
26332     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26333
26334
26335     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26336
26337   else
26338
26339 # Base decisions on target environment.
26340 case "${host}" in
26341   arm*-*-symbianelf*)
26342     # This is a freestanding configuration; there is nothing to do here.
26343     ;;
26344
26345   mips*-sde-elf*)
26346     # These definitions are for the SDE C library rather than newlib.
26347     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26348
26349
26350   # All these tests are for C++; save the language and the compiler flags.
26351   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26352   # found in GLIBCXX_CONFIGURE.
26353
26354   ac_ext=cpp
26355 ac_cpp='$CXXCPP $CPPFLAGS'
26356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26359
26360   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26361   ac_save_CXXFLAGS="$CXXFLAGS"
26362
26363   # Check for maintainer-mode bits.
26364   if test x"$USE_MAINTAINER_MODE" = xno; then
26365     WERROR=''
26366   else
26367     WERROR='-Werror'
26368   fi
26369
26370   # Check for -ffunction-sections -fdata-sections
26371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26372 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26373   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h.  */
26376 int foo; void bar() { };
26377 int
26378 main ()
26379 {
26380
26381   ;
26382   return 0;
26383 }
26384 _ACEOF
26385 if ac_fn_cxx_try_compile "$LINENO"; then :
26386   ac_fdsections=yes
26387 else
26388   ac_fdsections=no
26389 fi
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391   if test "$ac_test_CXXFLAGS" = set; then
26392     CXXFLAGS="$ac_save_CXXFLAGS"
26393   else
26394     # this is the suspicious part
26395     CXXFLAGS=''
26396   fi
26397   if test x"$ac_fdsections" = x"yes"; then
26398     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26399   fi
26400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26401 $as_echo "$ac_fdsections" >&6; }
26402
26403   ac_ext=c
26404 ac_cpp='$CPP $CPPFLAGS'
26405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26408
26409
26410
26411
26412
26413   # If we're not using GNU ld, then there's no point in even trying these
26414   # tests.  Check for that first.  We should have already tested for gld
26415   # by now (in libtool), but require it now just to be safe...
26416   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26417   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26418
26419
26420
26421   # The name set by libtool depends on the version of libtool.  Shame on us
26422   # for depending on an impl detail, but c'est la vie.  Older versions used
26423   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26424   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26425   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26426   # set (hence we're using an older libtool), then set it.
26427   if test x${with_gnu_ld+set} != xset; then
26428     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26429       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26430       with_gnu_ld=no
26431     else
26432       with_gnu_ld=$ac_cv_prog_gnu_ld
26433     fi
26434   fi
26435
26436   # Start by getting the version number.  I think the libtool test already
26437   # does some of this, but throws away the result.
26438   glibcxx_ld_is_gold=no
26439   if test x"$with_gnu_ld" = x"yes"; then
26440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26441 $as_echo_n "checking for ld version... " >&6; }
26442
26443     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26444       glibcxx_ld_is_gold=yes
26445     fi
26446     ldver=`$LD --version 2>/dev/null |
26447            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
26448
26449     glibcxx_gnu_ld_version=`echo $ldver | \
26450            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26452 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26453   fi
26454
26455   # Set --gc-sections.
26456   glibcxx_have_gc_sections=no
26457   if test "$glibcxx_ld_is_gold" = "yes"; then
26458     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26459       glibcxx_have_gc_sections=yes
26460     fi
26461   else
26462     glibcxx_gcsections_min_ld=21602
26463     if test x"$with_gnu_ld" = x"yes" &&
26464         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26465       glibcxx_have_gc_sections=yes
26466     fi
26467   fi
26468   if test "$glibcxx_have_gc_sections" = "yes"; then
26469     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26470     # NB: This flag only works reliably after 2.16.1. Configure tests
26471     # for this are difficult, so hard wire a value that should work.
26472
26473     ac_test_CFLAGS="${CFLAGS+set}"
26474     ac_save_CFLAGS="$CFLAGS"
26475     CFLAGS='-Wl,--gc-sections'
26476
26477     # Check for -Wl,--gc-sections
26478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26479 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26480     if test x$gcc_no_link = xyes; then
26481   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26482 fi
26483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26484 /* end confdefs.h.  */
26485  int one(void) { return 1; }
26486      int two(void) { return 2; }
26487
26488 int
26489 main ()
26490 {
26491  two();
26492   ;
26493   return 0;
26494 }
26495 _ACEOF
26496 if ac_fn_c_try_link "$LINENO"; then :
26497   ac_gcsections=yes
26498 else
26499   ac_gcsections=no
26500 fi
26501 rm -f core conftest.err conftest.$ac_objext \
26502     conftest$ac_exeext conftest.$ac_ext
26503     if test "$ac_gcsections" = "yes"; then
26504       rm -f conftest.c
26505       touch conftest.c
26506       if $CC -c conftest.c; then
26507         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26508            grep "Warning: gc-sections option ignored" > /dev/null; then
26509           ac_gcsections=no
26510         fi
26511       fi
26512       rm -f conftest.c conftest.o conftest
26513     fi
26514     if test "$ac_gcsections" = "yes"; then
26515       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26516     fi
26517     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26518 $as_echo "$ac_gcsections" >&6; }
26519
26520     if test "$ac_test_CFLAGS" = set; then
26521       CFLAGS="$ac_save_CFLAGS"
26522     else
26523       # this is the suspicious part
26524       CFLAGS=''
26525     fi
26526   fi
26527
26528   # Set -z,relro.
26529   # Note this is only for shared objects.
26530   ac_ld_relro=no
26531   if test x"$with_gnu_ld" = x"yes"; then
26532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26533 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26534     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26535     if test -n "$cxx_z_relo"; then
26536       OPT_LDFLAGS="-Wl,-z,relro"
26537       ac_ld_relro=yes
26538     fi
26539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26540 $as_echo "$ac_ld_relro" >&6; }
26541   fi
26542
26543   # Set linker optimization flags.
26544   if test x"$with_gnu_ld" = x"yes"; then
26545     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26546   fi
26547
26548
26549
26550
26551
26552   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26553   ac_save_CXXFLAGS="$CXXFLAGS"
26554   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26555
26556     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26557 $as_echo_n "checking for sin in -lm... " >&6; }
26558 if test "${ac_cv_lib_m_sin+set}" = set; then :
26559   $as_echo_n "(cached) " >&6
26560 else
26561   ac_check_lib_save_LIBS=$LIBS
26562 LIBS="-lm  $LIBS"
26563 if test x$gcc_no_link = xyes; then
26564   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26565 fi
26566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26567 /* end confdefs.h.  */
26568
26569 /* Override any GCC internal prototype to avoid an error.
26570    Use char because int might match the return type of a GCC
26571    builtin and then its argument prototype would still apply.  */
26572 #ifdef __cplusplus
26573 extern "C"
26574 #endif
26575 char sin ();
26576 int
26577 main ()
26578 {
26579 return sin ();
26580   ;
26581   return 0;
26582 }
26583 _ACEOF
26584 if ac_fn_c_try_link "$LINENO"; then :
26585   ac_cv_lib_m_sin=yes
26586 else
26587   ac_cv_lib_m_sin=no
26588 fi
26589 rm -f core conftest.err conftest.$ac_objext \
26590     conftest$ac_exeext conftest.$ac_ext
26591 LIBS=$ac_check_lib_save_LIBS
26592 fi
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26594 $as_echo "$ac_cv_lib_m_sin" >&6; }
26595 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26596   libm="-lm"
26597 fi
26598
26599   ac_save_LIBS="$LIBS"
26600   LIBS="$LIBS $libm"
26601
26602
26603
26604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26605 $as_echo_n "checking for isinf declaration... " >&6; }
26606   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26607     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26608   $as_echo_n "(cached) " >&6
26609 else
26610
26611
26612       ac_ext=cpp
26613 ac_cpp='$CXXCPP $CPPFLAGS'
26614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26617
26618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26619 /* end confdefs.h.  */
26620 #include <math.h>
26621                       #ifdef HAVE_IEEEFP_H
26622                       #include <ieeefp.h>
26623                       #endif
26624
26625 int
26626 main ()
26627 {
26628  isinf(0);
26629   ;
26630   return 0;
26631 }
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634   glibcxx_cv_func_isinf_use=yes
26635 else
26636   glibcxx_cv_func_isinf_use=no
26637 fi
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639       ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26644
26645
26646 fi
26647
26648   fi
26649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26650 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26651
26652   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26653     for ac_func in isinf
26654 do :
26655   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26656 if test "x$ac_cv_func_isinf" = x""yes; then :
26657   cat >>confdefs.h <<_ACEOF
26658 #define HAVE_ISINF 1
26659 _ACEOF
26660
26661 fi
26662 done
26663
26664   else
26665
26666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26667 $as_echo_n "checking for _isinf declaration... " >&6; }
26668   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26669     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26670   $as_echo_n "(cached) " >&6
26671 else
26672
26673
26674       ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679
26680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h.  */
26682 #include <math.h>
26683                       #ifdef HAVE_IEEEFP_H
26684                       #include <ieeefp.h>
26685                       #endif
26686
26687 int
26688 main ()
26689 {
26690  _isinf(0);
26691   ;
26692   return 0;
26693 }
26694 _ACEOF
26695 if ac_fn_cxx_try_compile "$LINENO"; then :
26696   glibcxx_cv_func__isinf_use=yes
26697 else
26698   glibcxx_cv_func__isinf_use=no
26699 fi
26700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26701       ac_ext=c
26702 ac_cpp='$CPP $CPPFLAGS'
26703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26706
26707
26708 fi
26709
26710   fi
26711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26712 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26713
26714     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26715       for ac_func in _isinf
26716 do :
26717   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26718 if test "x$ac_cv_func__isinf" = x""yes; then :
26719   cat >>confdefs.h <<_ACEOF
26720 #define HAVE__ISINF 1
26721 _ACEOF
26722
26723 fi
26724 done
26725
26726     fi
26727   fi
26728
26729
26730
26731
26732
26733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26734 $as_echo_n "checking for isnan declaration... " >&6; }
26735   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26736     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26737   $as_echo_n "(cached) " >&6
26738 else
26739
26740
26741       ac_ext=cpp
26742 ac_cpp='$CXXCPP $CPPFLAGS'
26743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26746
26747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26748 /* end confdefs.h.  */
26749 #include <math.h>
26750                       #ifdef HAVE_IEEEFP_H
26751                       #include <ieeefp.h>
26752                       #endif
26753
26754 int
26755 main ()
26756 {
26757  isnan(0);
26758   ;
26759   return 0;
26760 }
26761 _ACEOF
26762 if ac_fn_cxx_try_compile "$LINENO"; then :
26763   glibcxx_cv_func_isnan_use=yes
26764 else
26765   glibcxx_cv_func_isnan_use=no
26766 fi
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26768       ac_ext=c
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26773
26774
26775 fi
26776
26777   fi
26778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26779 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26780
26781   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26782     for ac_func in isnan
26783 do :
26784   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26785 if test "x$ac_cv_func_isnan" = x""yes; then :
26786   cat >>confdefs.h <<_ACEOF
26787 #define HAVE_ISNAN 1
26788 _ACEOF
26789
26790 fi
26791 done
26792
26793   else
26794
26795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26796 $as_echo_n "checking for _isnan declaration... " >&6; }
26797   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26798     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26799   $as_echo_n "(cached) " >&6
26800 else
26801
26802
26803       ac_ext=cpp
26804 ac_cpp='$CXXCPP $CPPFLAGS'
26805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808
26809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h.  */
26811 #include <math.h>
26812                       #ifdef HAVE_IEEEFP_H
26813                       #include <ieeefp.h>
26814                       #endif
26815
26816 int
26817 main ()
26818 {
26819  _isnan(0);
26820   ;
26821   return 0;
26822 }
26823 _ACEOF
26824 if ac_fn_cxx_try_compile "$LINENO"; then :
26825   glibcxx_cv_func__isnan_use=yes
26826 else
26827   glibcxx_cv_func__isnan_use=no
26828 fi
26829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26830       ac_ext=c
26831 ac_cpp='$CPP $CPPFLAGS'
26832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26835
26836
26837 fi
26838
26839   fi
26840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26841 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26842
26843     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26844       for ac_func in _isnan
26845 do :
26846   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26847 if test "x$ac_cv_func__isnan" = x""yes; then :
26848   cat >>confdefs.h <<_ACEOF
26849 #define HAVE__ISNAN 1
26850 _ACEOF
26851
26852 fi
26853 done
26854
26855     fi
26856   fi
26857
26858
26859
26860
26861
26862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26863 $as_echo_n "checking for finite declaration... " >&6; }
26864   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26865     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26866   $as_echo_n "(cached) " >&6
26867 else
26868
26869
26870       ac_ext=cpp
26871 ac_cpp='$CXXCPP $CPPFLAGS'
26872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26875
26876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h.  */
26878 #include <math.h>
26879                       #ifdef HAVE_IEEEFP_H
26880                       #include <ieeefp.h>
26881                       #endif
26882
26883 int
26884 main ()
26885 {
26886  finite(0);
26887   ;
26888   return 0;
26889 }
26890 _ACEOF
26891 if ac_fn_cxx_try_compile "$LINENO"; then :
26892   glibcxx_cv_func_finite_use=yes
26893 else
26894   glibcxx_cv_func_finite_use=no
26895 fi
26896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26897       ac_ext=c
26898 ac_cpp='$CPP $CPPFLAGS'
26899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26902
26903
26904 fi
26905
26906   fi
26907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26908 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26909
26910   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26911     for ac_func in finite
26912 do :
26913   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26914 if test "x$ac_cv_func_finite" = x""yes; then :
26915   cat >>confdefs.h <<_ACEOF
26916 #define HAVE_FINITE 1
26917 _ACEOF
26918
26919 fi
26920 done
26921
26922   else
26923
26924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26925 $as_echo_n "checking for _finite declaration... " >&6; }
26926   if test x${glibcxx_cv_func__finite_use+set} != xset; then
26927     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26928   $as_echo_n "(cached) " >&6
26929 else
26930
26931
26932       ac_ext=cpp
26933 ac_cpp='$CXXCPP $CPPFLAGS'
26934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26937
26938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h.  */
26940 #include <math.h>
26941                       #ifdef HAVE_IEEEFP_H
26942                       #include <ieeefp.h>
26943                       #endif
26944
26945 int
26946 main ()
26947 {
26948  _finite(0);
26949   ;
26950   return 0;
26951 }
26952 _ACEOF
26953 if ac_fn_cxx_try_compile "$LINENO"; then :
26954   glibcxx_cv_func__finite_use=yes
26955 else
26956   glibcxx_cv_func__finite_use=no
26957 fi
26958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26959       ac_ext=c
26960 ac_cpp='$CPP $CPPFLAGS'
26961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26964
26965
26966 fi
26967
26968   fi
26969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26970 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26971
26972     if test x$glibcxx_cv_func__finite_use = x"yes"; then
26973       for ac_func in _finite
26974 do :
26975   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26976 if test "x$ac_cv_func__finite" = x""yes; then :
26977   cat >>confdefs.h <<_ACEOF
26978 #define HAVE__FINITE 1
26979 _ACEOF
26980
26981 fi
26982 done
26983
26984     fi
26985   fi
26986
26987
26988
26989
26990
26991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26992 $as_echo_n "checking for sincos declaration... " >&6; }
26993   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26994     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26995   $as_echo_n "(cached) " >&6
26996 else
26997
26998
26999       ac_ext=cpp
27000 ac_cpp='$CXXCPP $CPPFLAGS'
27001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27004
27005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27006 /* end confdefs.h.  */
27007 #include <math.h>
27008 int
27009 main ()
27010 {
27011  sincos(0, 0, 0);
27012   ;
27013   return 0;
27014 }
27015 _ACEOF
27016 if ac_fn_cxx_try_compile "$LINENO"; then :
27017   glibcxx_cv_func_sincos_use=yes
27018 else
27019   glibcxx_cv_func_sincos_use=no
27020 fi
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022       ac_ext=c
27023 ac_cpp='$CPP $CPPFLAGS'
27024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27027
27028
27029 fi
27030
27031   fi
27032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27033 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27034
27035   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27036     for ac_func in sincos
27037 do :
27038   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27039 if test "x$ac_cv_func_sincos" = x""yes; then :
27040   cat >>confdefs.h <<_ACEOF
27041 #define HAVE_SINCOS 1
27042 _ACEOF
27043
27044 fi
27045 done
27046
27047   else
27048
27049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27050 $as_echo_n "checking for _sincos declaration... " >&6; }
27051   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27052     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27053   $as_echo_n "(cached) " >&6
27054 else
27055
27056
27057       ac_ext=cpp
27058 ac_cpp='$CXXCPP $CPPFLAGS'
27059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27062
27063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27064 /* end confdefs.h.  */
27065 #include <math.h>
27066 int
27067 main ()
27068 {
27069  _sincos(0, 0, 0);
27070   ;
27071   return 0;
27072 }
27073 _ACEOF
27074 if ac_fn_cxx_try_compile "$LINENO"; then :
27075   glibcxx_cv_func__sincos_use=yes
27076 else
27077   glibcxx_cv_func__sincos_use=no
27078 fi
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080       ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085
27086
27087 fi
27088
27089   fi
27090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27091 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27092
27093     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27094       for ac_func in _sincos
27095 do :
27096   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27097 if test "x$ac_cv_func__sincos" = x""yes; then :
27098   cat >>confdefs.h <<_ACEOF
27099 #define HAVE__SINCOS 1
27100 _ACEOF
27101
27102 fi
27103 done
27104
27105     fi
27106   fi
27107
27108
27109
27110
27111
27112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27113 $as_echo_n "checking for fpclass declaration... " >&6; }
27114   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27115     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27116   $as_echo_n "(cached) " >&6
27117 else
27118
27119
27120       ac_ext=cpp
27121 ac_cpp='$CXXCPP $CPPFLAGS'
27122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27125
27126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27127 /* end confdefs.h.  */
27128 #include <math.h>
27129                       #ifdef HAVE_IEEEFP_H
27130                       #include <ieeefp.h>
27131                       #endif
27132
27133 int
27134 main ()
27135 {
27136  fpclass(0);
27137   ;
27138   return 0;
27139 }
27140 _ACEOF
27141 if ac_fn_cxx_try_compile "$LINENO"; then :
27142   glibcxx_cv_func_fpclass_use=yes
27143 else
27144   glibcxx_cv_func_fpclass_use=no
27145 fi
27146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27147       ac_ext=c
27148 ac_cpp='$CPP $CPPFLAGS'
27149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27152
27153
27154 fi
27155
27156   fi
27157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27158 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27159
27160   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27161     for ac_func in fpclass
27162 do :
27163   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27164 if test "x$ac_cv_func_fpclass" = x""yes; then :
27165   cat >>confdefs.h <<_ACEOF
27166 #define HAVE_FPCLASS 1
27167 _ACEOF
27168
27169 fi
27170 done
27171
27172   else
27173
27174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27175 $as_echo_n "checking for _fpclass declaration... " >&6; }
27176   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27177     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27178   $as_echo_n "(cached) " >&6
27179 else
27180
27181
27182       ac_ext=cpp
27183 ac_cpp='$CXXCPP $CPPFLAGS'
27184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27187
27188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27189 /* end confdefs.h.  */
27190 #include <math.h>
27191                       #ifdef HAVE_IEEEFP_H
27192                       #include <ieeefp.h>
27193                       #endif
27194
27195 int
27196 main ()
27197 {
27198  _fpclass(0);
27199   ;
27200   return 0;
27201 }
27202 _ACEOF
27203 if ac_fn_cxx_try_compile "$LINENO"; then :
27204   glibcxx_cv_func__fpclass_use=yes
27205 else
27206   glibcxx_cv_func__fpclass_use=no
27207 fi
27208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27209       ac_ext=c
27210 ac_cpp='$CPP $CPPFLAGS'
27211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27214
27215
27216 fi
27217
27218   fi
27219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27220 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27221
27222     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27223       for ac_func in _fpclass
27224 do :
27225   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27226 if test "x$ac_cv_func__fpclass" = x""yes; then :
27227   cat >>confdefs.h <<_ACEOF
27228 #define HAVE__FPCLASS 1
27229 _ACEOF
27230
27231 fi
27232 done
27233
27234     fi
27235   fi
27236
27237
27238
27239
27240
27241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27242 $as_echo_n "checking for qfpclass declaration... " >&6; }
27243   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27244     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27245   $as_echo_n "(cached) " >&6
27246 else
27247
27248
27249       ac_ext=cpp
27250 ac_cpp='$CXXCPP $CPPFLAGS'
27251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27254
27255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27256 /* end confdefs.h.  */
27257 #include <math.h>
27258                       #ifdef HAVE_IEEEFP_H
27259                       #include <ieeefp.h>
27260                       #endif
27261
27262 int
27263 main ()
27264 {
27265  qfpclass(0);
27266   ;
27267   return 0;
27268 }
27269 _ACEOF
27270 if ac_fn_cxx_try_compile "$LINENO"; then :
27271   glibcxx_cv_func_qfpclass_use=yes
27272 else
27273   glibcxx_cv_func_qfpclass_use=no
27274 fi
27275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27276       ac_ext=c
27277 ac_cpp='$CPP $CPPFLAGS'
27278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27281
27282
27283 fi
27284
27285   fi
27286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27287 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27288
27289   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27290     for ac_func in qfpclass
27291 do :
27292   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27293 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27294   cat >>confdefs.h <<_ACEOF
27295 #define HAVE_QFPCLASS 1
27296 _ACEOF
27297
27298 fi
27299 done
27300
27301   else
27302
27303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27304 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27305   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27306     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27307   $as_echo_n "(cached) " >&6
27308 else
27309
27310
27311       ac_ext=cpp
27312 ac_cpp='$CXXCPP $CPPFLAGS'
27313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27316
27317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27318 /* end confdefs.h.  */
27319 #include <math.h>
27320                       #ifdef HAVE_IEEEFP_H
27321                       #include <ieeefp.h>
27322                       #endif
27323
27324 int
27325 main ()
27326 {
27327  _qfpclass(0);
27328   ;
27329   return 0;
27330 }
27331 _ACEOF
27332 if ac_fn_cxx_try_compile "$LINENO"; then :
27333   glibcxx_cv_func__qfpclass_use=yes
27334 else
27335   glibcxx_cv_func__qfpclass_use=no
27336 fi
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338       ac_ext=c
27339 ac_cpp='$CPP $CPPFLAGS'
27340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27343
27344
27345 fi
27346
27347   fi
27348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27349 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27350
27351     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27352       for ac_func in _qfpclass
27353 do :
27354   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27355 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27356   cat >>confdefs.h <<_ACEOF
27357 #define HAVE__QFPCLASS 1
27358 _ACEOF
27359
27360 fi
27361 done
27362
27363     fi
27364   fi
27365
27366
27367
27368
27369
27370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27371 $as_echo_n "checking for hypot declaration... " >&6; }
27372   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27373     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27374   $as_echo_n "(cached) " >&6
27375 else
27376
27377
27378       ac_ext=cpp
27379 ac_cpp='$CXXCPP $CPPFLAGS'
27380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27383
27384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27385 /* end confdefs.h.  */
27386 #include <math.h>
27387 int
27388 main ()
27389 {
27390  hypot(0, 0);
27391   ;
27392   return 0;
27393 }
27394 _ACEOF
27395 if ac_fn_cxx_try_compile "$LINENO"; then :
27396   glibcxx_cv_func_hypot_use=yes
27397 else
27398   glibcxx_cv_func_hypot_use=no
27399 fi
27400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27401       ac_ext=c
27402 ac_cpp='$CPP $CPPFLAGS'
27403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27406
27407
27408 fi
27409
27410   fi
27411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27412 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27413
27414   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27415     for ac_func in hypot
27416 do :
27417   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27418 if test "x$ac_cv_func_hypot" = x""yes; then :
27419   cat >>confdefs.h <<_ACEOF
27420 #define HAVE_HYPOT 1
27421 _ACEOF
27422
27423 fi
27424 done
27425
27426   else
27427
27428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27429 $as_echo_n "checking for _hypot declaration... " >&6; }
27430   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27431     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27432   $as_echo_n "(cached) " >&6
27433 else
27434
27435
27436       ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441
27442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h.  */
27444 #include <math.h>
27445 int
27446 main ()
27447 {
27448  _hypot(0, 0);
27449   ;
27450   return 0;
27451 }
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454   glibcxx_cv_func__hypot_use=yes
27455 else
27456   glibcxx_cv_func__hypot_use=no
27457 fi
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459       ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27464
27465
27466 fi
27467
27468   fi
27469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27470 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27471
27472     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27473       for ac_func in _hypot
27474 do :
27475   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27476 if test "x$ac_cv_func__hypot" = x""yes; then :
27477   cat >>confdefs.h <<_ACEOF
27478 #define HAVE__HYPOT 1
27479 _ACEOF
27480
27481 fi
27482 done
27483
27484     fi
27485   fi
27486
27487
27488
27489
27490
27491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27492 $as_echo_n "checking for float trig functions... " >&6; }
27493   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27494   $as_echo_n "(cached) " >&6
27495 else
27496
27497
27498     ac_ext=cpp
27499 ac_cpp='$CXXCPP $CPPFLAGS'
27500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503
27504     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27505 /* end confdefs.h.  */
27506 #include <math.h>
27507 int
27508 main ()
27509 {
27510 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27511   ;
27512   return 0;
27513 }
27514 _ACEOF
27515 if ac_fn_cxx_try_compile "$LINENO"; then :
27516   glibcxx_cv_func_float_trig_use=yes
27517 else
27518   glibcxx_cv_func_float_trig_use=no
27519 fi
27520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27521     ac_ext=c
27522 ac_cpp='$CPP $CPPFLAGS'
27523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27526
27527 fi
27528
27529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27530 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27531   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27532     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27533 do :
27534   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27536 eval as_val=\$$as_ac_var
27537    if test "x$as_val" = x""yes; then :
27538   cat >>confdefs.h <<_ACEOF
27539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27540 _ACEOF
27541
27542 fi
27543 done
27544
27545   else
27546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27547 $as_echo_n "checking for _float trig functions... " >&6; }
27548     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27549   $as_echo_n "(cached) " >&6
27550 else
27551
27552
27553       ac_ext=cpp
27554 ac_cpp='$CXXCPP $CPPFLAGS'
27555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27558
27559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27560 /* end confdefs.h.  */
27561 #include <math.h>
27562 int
27563 main ()
27564 {
27565 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27566   ;
27567   return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571   glibcxx_cv_func__float_trig_use=yes
27572 else
27573   glibcxx_cv_func__float_trig_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576       ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582 fi
27583
27584     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27585 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27586     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27587       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27588 do :
27589   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27591 eval as_val=\$$as_ac_var
27592    if test "x$as_val" = x""yes; then :
27593   cat >>confdefs.h <<_ACEOF
27594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27595 _ACEOF
27596
27597 fi
27598 done
27599
27600     fi
27601   fi
27602
27603
27604
27605
27606
27607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27608 $as_echo_n "checking for float round functions... " >&6; }
27609   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27610   $as_echo_n "(cached) " >&6
27611 else
27612
27613
27614     ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27619
27620     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h.  */
27622 #include <math.h>
27623 int
27624 main ()
27625 {
27626 ceilf (0); floorf (0);
27627   ;
27628   return 0;
27629 }
27630 _ACEOF
27631 if ac_fn_cxx_try_compile "$LINENO"; then :
27632   glibcxx_cv_func_float_round_use=yes
27633 else
27634   glibcxx_cv_func_float_round_use=no
27635 fi
27636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27637     ac_ext=c
27638 ac_cpp='$CPP $CPPFLAGS'
27639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27642
27643 fi
27644
27645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27646 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27647   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27648     for ac_func in ceilf floorf
27649 do :
27650   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27652 eval as_val=\$$as_ac_var
27653    if test "x$as_val" = x""yes; then :
27654   cat >>confdefs.h <<_ACEOF
27655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27656 _ACEOF
27657
27658 fi
27659 done
27660
27661   else
27662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27663 $as_echo_n "checking for _float round functions... " >&6; }
27664     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27665   $as_echo_n "(cached) " >&6
27666 else
27667
27668
27669       ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674
27675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27676 /* end confdefs.h.  */
27677 #include <math.h>
27678 int
27679 main ()
27680 {
27681 _ceilf (0); _floorf (0);
27682   ;
27683   return 0;
27684 }
27685 _ACEOF
27686 if ac_fn_cxx_try_compile "$LINENO"; then :
27687   glibcxx_cv_func__float_round_use=yes
27688 else
27689   glibcxx_cv_func__float_round_use=no
27690 fi
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692       ac_ext=c
27693 ac_cpp='$CPP $CPPFLAGS'
27694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697
27698 fi
27699
27700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27701 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27702     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27703       for ac_func in _ceilf _floorf
27704 do :
27705   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27707 eval as_val=\$$as_ac_var
27708    if test "x$as_val" = x""yes; then :
27709   cat >>confdefs.h <<_ACEOF
27710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27711 _ACEOF
27712
27713 fi
27714 done
27715
27716     fi
27717   fi
27718
27719
27720
27721
27722
27723
27724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27725 $as_echo_n "checking for expf declaration... " >&6; }
27726   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27727     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27728   $as_echo_n "(cached) " >&6
27729 else
27730
27731
27732       ac_ext=cpp
27733 ac_cpp='$CXXCPP $CPPFLAGS'
27734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27737
27738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27739 /* end confdefs.h.  */
27740 #include <math.h>
27741                       #ifdef HAVE_IEEEFP_H
27742                       #include <ieeefp.h>
27743                       #endif
27744
27745 int
27746 main ()
27747 {
27748  expf(0);
27749   ;
27750   return 0;
27751 }
27752 _ACEOF
27753 if ac_fn_cxx_try_compile "$LINENO"; then :
27754   glibcxx_cv_func_expf_use=yes
27755 else
27756   glibcxx_cv_func_expf_use=no
27757 fi
27758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27759       ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27764
27765
27766 fi
27767
27768   fi
27769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27770 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27771
27772   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27773     for ac_func in expf
27774 do :
27775   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27776 if test "x$ac_cv_func_expf" = x""yes; then :
27777   cat >>confdefs.h <<_ACEOF
27778 #define HAVE_EXPF 1
27779 _ACEOF
27780
27781 fi
27782 done
27783
27784   else
27785
27786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27787 $as_echo_n "checking for _expf declaration... " >&6; }
27788   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27789     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27790   $as_echo_n "(cached) " >&6
27791 else
27792
27793
27794       ac_ext=cpp
27795 ac_cpp='$CXXCPP $CPPFLAGS'
27796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27799
27800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27801 /* end confdefs.h.  */
27802 #include <math.h>
27803                       #ifdef HAVE_IEEEFP_H
27804                       #include <ieeefp.h>
27805                       #endif
27806
27807 int
27808 main ()
27809 {
27810  _expf(0);
27811   ;
27812   return 0;
27813 }
27814 _ACEOF
27815 if ac_fn_cxx_try_compile "$LINENO"; then :
27816   glibcxx_cv_func__expf_use=yes
27817 else
27818   glibcxx_cv_func__expf_use=no
27819 fi
27820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27821       ac_ext=c
27822 ac_cpp='$CPP $CPPFLAGS'
27823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27826
27827
27828 fi
27829
27830   fi
27831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27832 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27833
27834     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27835       for ac_func in _expf
27836 do :
27837   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27838 if test "x$ac_cv_func__expf" = x""yes; then :
27839   cat >>confdefs.h <<_ACEOF
27840 #define HAVE__EXPF 1
27841 _ACEOF
27842
27843 fi
27844 done
27845
27846     fi
27847   fi
27848
27849
27850
27851
27852
27853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27854 $as_echo_n "checking for isnanf declaration... " >&6; }
27855   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27856     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27857   $as_echo_n "(cached) " >&6
27858 else
27859
27860
27861       ac_ext=cpp
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866
27867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27868 /* end confdefs.h.  */
27869 #include <math.h>
27870                       #ifdef HAVE_IEEEFP_H
27871                       #include <ieeefp.h>
27872                       #endif
27873
27874 int
27875 main ()
27876 {
27877  isnanf(0);
27878   ;
27879   return 0;
27880 }
27881 _ACEOF
27882 if ac_fn_cxx_try_compile "$LINENO"; then :
27883   glibcxx_cv_func_isnanf_use=yes
27884 else
27885   glibcxx_cv_func_isnanf_use=no
27886 fi
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888       ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27893
27894
27895 fi
27896
27897   fi
27898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27899 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27900
27901   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27902     for ac_func in isnanf
27903 do :
27904   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27905 if test "x$ac_cv_func_isnanf" = x""yes; then :
27906   cat >>confdefs.h <<_ACEOF
27907 #define HAVE_ISNANF 1
27908 _ACEOF
27909
27910 fi
27911 done
27912
27913   else
27914
27915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27916 $as_echo_n "checking for _isnanf declaration... " >&6; }
27917   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27918     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27919   $as_echo_n "(cached) " >&6
27920 else
27921
27922
27923       ac_ext=cpp
27924 ac_cpp='$CXXCPP $CPPFLAGS'
27925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928
27929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h.  */
27931 #include <math.h>
27932                       #ifdef HAVE_IEEEFP_H
27933                       #include <ieeefp.h>
27934                       #endif
27935
27936 int
27937 main ()
27938 {
27939  _isnanf(0);
27940   ;
27941   return 0;
27942 }
27943 _ACEOF
27944 if ac_fn_cxx_try_compile "$LINENO"; then :
27945   glibcxx_cv_func__isnanf_use=yes
27946 else
27947   glibcxx_cv_func__isnanf_use=no
27948 fi
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950       ac_ext=c
27951 ac_cpp='$CPP $CPPFLAGS'
27952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955
27956
27957 fi
27958
27959   fi
27960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27961 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27962
27963     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27964       for ac_func in _isnanf
27965 do :
27966   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27967 if test "x$ac_cv_func__isnanf" = x""yes; then :
27968   cat >>confdefs.h <<_ACEOF
27969 #define HAVE__ISNANF 1
27970 _ACEOF
27971
27972 fi
27973 done
27974
27975     fi
27976   fi
27977
27978
27979
27980
27981
27982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27983 $as_echo_n "checking for isinff declaration... " >&6; }
27984   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27985     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27986   $as_echo_n "(cached) " >&6
27987 else
27988
27989
27990       ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27995
27996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h.  */
27998 #include <math.h>
27999                       #ifdef HAVE_IEEEFP_H
28000                       #include <ieeefp.h>
28001                       #endif
28002
28003 int
28004 main ()
28005 {
28006  isinff(0);
28007   ;
28008   return 0;
28009 }
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012   glibcxx_cv_func_isinff_use=yes
28013 else
28014   glibcxx_cv_func_isinff_use=no
28015 fi
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017       ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022
28023
28024 fi
28025
28026   fi
28027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28028 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28029
28030   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28031     for ac_func in isinff
28032 do :
28033   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28034 if test "x$ac_cv_func_isinff" = x""yes; then :
28035   cat >>confdefs.h <<_ACEOF
28036 #define HAVE_ISINFF 1
28037 _ACEOF
28038
28039 fi
28040 done
28041
28042   else
28043
28044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28045 $as_echo_n "checking for _isinff declaration... " >&6; }
28046   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28047     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28048   $as_echo_n "(cached) " >&6
28049 else
28050
28051
28052       ac_ext=cpp
28053 ac_cpp='$CXXCPP $CPPFLAGS'
28054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28057
28058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h.  */
28060 #include <math.h>
28061                       #ifdef HAVE_IEEEFP_H
28062                       #include <ieeefp.h>
28063                       #endif
28064
28065 int
28066 main ()
28067 {
28068  _isinff(0);
28069   ;
28070   return 0;
28071 }
28072 _ACEOF
28073 if ac_fn_cxx_try_compile "$LINENO"; then :
28074   glibcxx_cv_func__isinff_use=yes
28075 else
28076   glibcxx_cv_func__isinff_use=no
28077 fi
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079       ac_ext=c
28080 ac_cpp='$CPP $CPPFLAGS'
28081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28084
28085
28086 fi
28087
28088   fi
28089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28090 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28091
28092     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28093       for ac_func in _isinff
28094 do :
28095   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28096 if test "x$ac_cv_func__isinff" = x""yes; then :
28097   cat >>confdefs.h <<_ACEOF
28098 #define HAVE__ISINFF 1
28099 _ACEOF
28100
28101 fi
28102 done
28103
28104     fi
28105   fi
28106
28107
28108
28109
28110
28111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28112 $as_echo_n "checking for atan2f declaration... " >&6; }
28113   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28114     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28115   $as_echo_n "(cached) " >&6
28116 else
28117
28118
28119       ac_ext=cpp
28120 ac_cpp='$CXXCPP $CPPFLAGS'
28121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28124
28125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h.  */
28127 #include <math.h>
28128 int
28129 main ()
28130 {
28131  atan2f(0, 0);
28132   ;
28133   return 0;
28134 }
28135 _ACEOF
28136 if ac_fn_cxx_try_compile "$LINENO"; then :
28137   glibcxx_cv_func_atan2f_use=yes
28138 else
28139   glibcxx_cv_func_atan2f_use=no
28140 fi
28141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28142       ac_ext=c
28143 ac_cpp='$CPP $CPPFLAGS'
28144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28147
28148
28149 fi
28150
28151   fi
28152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28153 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28154
28155   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28156     for ac_func in atan2f
28157 do :
28158   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28159 if test "x$ac_cv_func_atan2f" = x""yes; then :
28160   cat >>confdefs.h <<_ACEOF
28161 #define HAVE_ATAN2F 1
28162 _ACEOF
28163
28164 fi
28165 done
28166
28167   else
28168
28169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28170 $as_echo_n "checking for _atan2f declaration... " >&6; }
28171   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28172     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28173   $as_echo_n "(cached) " >&6
28174 else
28175
28176
28177       ac_ext=cpp
28178 ac_cpp='$CXXCPP $CPPFLAGS'
28179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28182
28183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h.  */
28185 #include <math.h>
28186 int
28187 main ()
28188 {
28189  _atan2f(0, 0);
28190   ;
28191   return 0;
28192 }
28193 _ACEOF
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195   glibcxx_cv_func__atan2f_use=yes
28196 else
28197   glibcxx_cv_func__atan2f_use=no
28198 fi
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200       ac_ext=c
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205
28206
28207 fi
28208
28209   fi
28210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28211 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28212
28213     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28214       for ac_func in _atan2f
28215 do :
28216   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28217 if test "x$ac_cv_func__atan2f" = x""yes; then :
28218   cat >>confdefs.h <<_ACEOF
28219 #define HAVE__ATAN2F 1
28220 _ACEOF
28221
28222 fi
28223 done
28224
28225     fi
28226   fi
28227
28228
28229
28230
28231
28232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28233 $as_echo_n "checking for fabsf declaration... " >&6; }
28234   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28235     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28236   $as_echo_n "(cached) " >&6
28237 else
28238
28239
28240       ac_ext=cpp
28241 ac_cpp='$CXXCPP $CPPFLAGS'
28242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28245
28246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28247 /* end confdefs.h.  */
28248 #include <math.h>
28249                       #ifdef HAVE_IEEEFP_H
28250                       #include <ieeefp.h>
28251                       #endif
28252
28253 int
28254 main ()
28255 {
28256  fabsf(0);
28257   ;
28258   return 0;
28259 }
28260 _ACEOF
28261 if ac_fn_cxx_try_compile "$LINENO"; then :
28262   glibcxx_cv_func_fabsf_use=yes
28263 else
28264   glibcxx_cv_func_fabsf_use=no
28265 fi
28266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28267       ac_ext=c
28268 ac_cpp='$CPP $CPPFLAGS'
28269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28272
28273
28274 fi
28275
28276   fi
28277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28278 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28279
28280   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28281     for ac_func in fabsf
28282 do :
28283   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28284 if test "x$ac_cv_func_fabsf" = x""yes; then :
28285   cat >>confdefs.h <<_ACEOF
28286 #define HAVE_FABSF 1
28287 _ACEOF
28288
28289 fi
28290 done
28291
28292   else
28293
28294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28295 $as_echo_n "checking for _fabsf declaration... " >&6; }
28296   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28297     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28298   $as_echo_n "(cached) " >&6
28299 else
28300
28301
28302       ac_ext=cpp
28303 ac_cpp='$CXXCPP $CPPFLAGS'
28304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28307
28308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28309 /* end confdefs.h.  */
28310 #include <math.h>
28311                       #ifdef HAVE_IEEEFP_H
28312                       #include <ieeefp.h>
28313                       #endif
28314
28315 int
28316 main ()
28317 {
28318  _fabsf(0);
28319   ;
28320   return 0;
28321 }
28322 _ACEOF
28323 if ac_fn_cxx_try_compile "$LINENO"; then :
28324   glibcxx_cv_func__fabsf_use=yes
28325 else
28326   glibcxx_cv_func__fabsf_use=no
28327 fi
28328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28329       ac_ext=c
28330 ac_cpp='$CPP $CPPFLAGS'
28331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28334
28335
28336 fi
28337
28338   fi
28339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28340 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28341
28342     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28343       for ac_func in _fabsf
28344 do :
28345   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28346 if test "x$ac_cv_func__fabsf" = x""yes; then :
28347   cat >>confdefs.h <<_ACEOF
28348 #define HAVE__FABSF 1
28349 _ACEOF
28350
28351 fi
28352 done
28353
28354     fi
28355   fi
28356
28357
28358
28359
28360
28361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28362 $as_echo_n "checking for fmodf declaration... " >&6; }
28363   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28364     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28365   $as_echo_n "(cached) " >&6
28366 else
28367
28368
28369       ac_ext=cpp
28370 ac_cpp='$CXXCPP $CPPFLAGS'
28371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28374
28375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28376 /* end confdefs.h.  */
28377 #include <math.h>
28378 int
28379 main ()
28380 {
28381  fmodf(0, 0);
28382   ;
28383   return 0;
28384 }
28385 _ACEOF
28386 if ac_fn_cxx_try_compile "$LINENO"; then :
28387   glibcxx_cv_func_fmodf_use=yes
28388 else
28389   glibcxx_cv_func_fmodf_use=no
28390 fi
28391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28392       ac_ext=c
28393 ac_cpp='$CPP $CPPFLAGS'
28394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28397
28398
28399 fi
28400
28401   fi
28402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28403 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28404
28405   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28406     for ac_func in fmodf
28407 do :
28408   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28409 if test "x$ac_cv_func_fmodf" = x""yes; then :
28410   cat >>confdefs.h <<_ACEOF
28411 #define HAVE_FMODF 1
28412 _ACEOF
28413
28414 fi
28415 done
28416
28417   else
28418
28419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28420 $as_echo_n "checking for _fmodf declaration... " >&6; }
28421   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28422     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28423   $as_echo_n "(cached) " >&6
28424 else
28425
28426
28427       ac_ext=cpp
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28432
28433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h.  */
28435 #include <math.h>
28436 int
28437 main ()
28438 {
28439  _fmodf(0, 0);
28440   ;
28441   return 0;
28442 }
28443 _ACEOF
28444 if ac_fn_cxx_try_compile "$LINENO"; then :
28445   glibcxx_cv_func__fmodf_use=yes
28446 else
28447   glibcxx_cv_func__fmodf_use=no
28448 fi
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450       ac_ext=c
28451 ac_cpp='$CPP $CPPFLAGS'
28452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28455
28456
28457 fi
28458
28459   fi
28460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28461 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28462
28463     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28464       for ac_func in _fmodf
28465 do :
28466   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28467 if test "x$ac_cv_func__fmodf" = x""yes; then :
28468   cat >>confdefs.h <<_ACEOF
28469 #define HAVE__FMODF 1
28470 _ACEOF
28471
28472 fi
28473 done
28474
28475     fi
28476   fi
28477
28478
28479
28480
28481
28482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28483 $as_echo_n "checking for frexpf declaration... " >&6; }
28484   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28485     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28486   $as_echo_n "(cached) " >&6
28487 else
28488
28489
28490       ac_ext=cpp
28491 ac_cpp='$CXXCPP $CPPFLAGS'
28492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28495
28496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28497 /* end confdefs.h.  */
28498 #include <math.h>
28499 int
28500 main ()
28501 {
28502  frexpf(0, 0);
28503   ;
28504   return 0;
28505 }
28506 _ACEOF
28507 if ac_fn_cxx_try_compile "$LINENO"; then :
28508   glibcxx_cv_func_frexpf_use=yes
28509 else
28510   glibcxx_cv_func_frexpf_use=no
28511 fi
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513       ac_ext=c
28514 ac_cpp='$CPP $CPPFLAGS'
28515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28518
28519
28520 fi
28521
28522   fi
28523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28524 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28525
28526   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28527     for ac_func in frexpf
28528 do :
28529   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28530 if test "x$ac_cv_func_frexpf" = x""yes; then :
28531   cat >>confdefs.h <<_ACEOF
28532 #define HAVE_FREXPF 1
28533 _ACEOF
28534
28535 fi
28536 done
28537
28538   else
28539
28540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28541 $as_echo_n "checking for _frexpf declaration... " >&6; }
28542   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28543     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28544   $as_echo_n "(cached) " >&6
28545 else
28546
28547
28548       ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28553
28554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h.  */
28556 #include <math.h>
28557 int
28558 main ()
28559 {
28560  _frexpf(0, 0);
28561   ;
28562   return 0;
28563 }
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566   glibcxx_cv_func__frexpf_use=yes
28567 else
28568   glibcxx_cv_func__frexpf_use=no
28569 fi
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571       ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28576
28577
28578 fi
28579
28580   fi
28581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28582 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28583
28584     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28585       for ac_func in _frexpf
28586 do :
28587   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28588 if test "x$ac_cv_func__frexpf" = x""yes; then :
28589   cat >>confdefs.h <<_ACEOF
28590 #define HAVE__FREXPF 1
28591 _ACEOF
28592
28593 fi
28594 done
28595
28596     fi
28597   fi
28598
28599
28600
28601
28602
28603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28604 $as_echo_n "checking for hypotf declaration... " >&6; }
28605   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28606     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28607   $as_echo_n "(cached) " >&6
28608 else
28609
28610
28611       ac_ext=cpp
28612 ac_cpp='$CXXCPP $CPPFLAGS'
28613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28616
28617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28618 /* end confdefs.h.  */
28619 #include <math.h>
28620 int
28621 main ()
28622 {
28623  hypotf(0, 0);
28624   ;
28625   return 0;
28626 }
28627 _ACEOF
28628 if ac_fn_cxx_try_compile "$LINENO"; then :
28629   glibcxx_cv_func_hypotf_use=yes
28630 else
28631   glibcxx_cv_func_hypotf_use=no
28632 fi
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634       ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639
28640
28641 fi
28642
28643   fi
28644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28645 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28646
28647   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28648     for ac_func in hypotf
28649 do :
28650   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28651 if test "x$ac_cv_func_hypotf" = x""yes; then :
28652   cat >>confdefs.h <<_ACEOF
28653 #define HAVE_HYPOTF 1
28654 _ACEOF
28655
28656 fi
28657 done
28658
28659   else
28660
28661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28662 $as_echo_n "checking for _hypotf declaration... " >&6; }
28663   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28664     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28665   $as_echo_n "(cached) " >&6
28666 else
28667
28668
28669       ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28674
28675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h.  */
28677 #include <math.h>
28678 int
28679 main ()
28680 {
28681  _hypotf(0, 0);
28682   ;
28683   return 0;
28684 }
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687   glibcxx_cv_func__hypotf_use=yes
28688 else
28689   glibcxx_cv_func__hypotf_use=no
28690 fi
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692       ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28697
28698
28699 fi
28700
28701   fi
28702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28703 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28704
28705     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28706       for ac_func in _hypotf
28707 do :
28708   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28709 if test "x$ac_cv_func__hypotf" = x""yes; then :
28710   cat >>confdefs.h <<_ACEOF
28711 #define HAVE__HYPOTF 1
28712 _ACEOF
28713
28714 fi
28715 done
28716
28717     fi
28718   fi
28719
28720
28721
28722
28723
28724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28725 $as_echo_n "checking for ldexpf declaration... " >&6; }
28726   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28727     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28728   $as_echo_n "(cached) " >&6
28729 else
28730
28731
28732       ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737
28738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h.  */
28740 #include <math.h>
28741 int
28742 main ()
28743 {
28744  ldexpf(0, 0);
28745   ;
28746   return 0;
28747 }
28748 _ACEOF
28749 if ac_fn_cxx_try_compile "$LINENO"; then :
28750   glibcxx_cv_func_ldexpf_use=yes
28751 else
28752   glibcxx_cv_func_ldexpf_use=no
28753 fi
28754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28755       ac_ext=c
28756 ac_cpp='$CPP $CPPFLAGS'
28757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28760
28761
28762 fi
28763
28764   fi
28765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28766 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28767
28768   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28769     for ac_func in ldexpf
28770 do :
28771   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28772 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28773   cat >>confdefs.h <<_ACEOF
28774 #define HAVE_LDEXPF 1
28775 _ACEOF
28776
28777 fi
28778 done
28779
28780   else
28781
28782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28783 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28784   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28785     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28786   $as_echo_n "(cached) " >&6
28787 else
28788
28789
28790       ac_ext=cpp
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28795
28796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h.  */
28798 #include <math.h>
28799 int
28800 main ()
28801 {
28802  _ldexpf(0, 0);
28803   ;
28804   return 0;
28805 }
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808   glibcxx_cv_func__ldexpf_use=yes
28809 else
28810   glibcxx_cv_func__ldexpf_use=no
28811 fi
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813       ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28818
28819
28820 fi
28821
28822   fi
28823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28824 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28825
28826     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28827       for ac_func in _ldexpf
28828 do :
28829   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28830 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28831   cat >>confdefs.h <<_ACEOF
28832 #define HAVE__LDEXPF 1
28833 _ACEOF
28834
28835 fi
28836 done
28837
28838     fi
28839   fi
28840
28841
28842
28843
28844
28845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28846 $as_echo_n "checking for logf declaration... " >&6; }
28847   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28848     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28849   $as_echo_n "(cached) " >&6
28850 else
28851
28852
28853       ac_ext=cpp
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28858
28859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28860 /* end confdefs.h.  */
28861 #include <math.h>
28862                       #ifdef HAVE_IEEEFP_H
28863                       #include <ieeefp.h>
28864                       #endif
28865
28866 int
28867 main ()
28868 {
28869  logf(0);
28870   ;
28871   return 0;
28872 }
28873 _ACEOF
28874 if ac_fn_cxx_try_compile "$LINENO"; then :
28875   glibcxx_cv_func_logf_use=yes
28876 else
28877   glibcxx_cv_func_logf_use=no
28878 fi
28879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28880       ac_ext=c
28881 ac_cpp='$CPP $CPPFLAGS'
28882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28885
28886
28887 fi
28888
28889   fi
28890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28891 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28892
28893   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28894     for ac_func in logf
28895 do :
28896   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28897 if test "x$ac_cv_func_logf" = x""yes; then :
28898   cat >>confdefs.h <<_ACEOF
28899 #define HAVE_LOGF 1
28900 _ACEOF
28901
28902 fi
28903 done
28904
28905   else
28906
28907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28908 $as_echo_n "checking for _logf declaration... " >&6; }
28909   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28910     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28911   $as_echo_n "(cached) " >&6
28912 else
28913
28914
28915       ac_ext=cpp
28916 ac_cpp='$CXXCPP $CPPFLAGS'
28917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28920
28921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28922 /* end confdefs.h.  */
28923 #include <math.h>
28924                       #ifdef HAVE_IEEEFP_H
28925                       #include <ieeefp.h>
28926                       #endif
28927
28928 int
28929 main ()
28930 {
28931  _logf(0);
28932   ;
28933   return 0;
28934 }
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937   glibcxx_cv_func__logf_use=yes
28938 else
28939   glibcxx_cv_func__logf_use=no
28940 fi
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942       ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28947
28948
28949 fi
28950
28951   fi
28952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28953 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28954
28955     if test x$glibcxx_cv_func__logf_use = x"yes"; then
28956       for ac_func in _logf
28957 do :
28958   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28959 if test "x$ac_cv_func__logf" = x""yes; then :
28960   cat >>confdefs.h <<_ACEOF
28961 #define HAVE__LOGF 1
28962 _ACEOF
28963
28964 fi
28965 done
28966
28967     fi
28968   fi
28969
28970
28971
28972
28973
28974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28975 $as_echo_n "checking for log10f declaration... " >&6; }
28976   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28977     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28978   $as_echo_n "(cached) " >&6
28979 else
28980
28981
28982       ac_ext=cpp
28983 ac_cpp='$CXXCPP $CPPFLAGS'
28984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28987
28988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28989 /* end confdefs.h.  */
28990 #include <math.h>
28991                       #ifdef HAVE_IEEEFP_H
28992                       #include <ieeefp.h>
28993                       #endif
28994
28995 int
28996 main ()
28997 {
28998  log10f(0);
28999   ;
29000   return 0;
29001 }
29002 _ACEOF
29003 if ac_fn_cxx_try_compile "$LINENO"; then :
29004   glibcxx_cv_func_log10f_use=yes
29005 else
29006   glibcxx_cv_func_log10f_use=no
29007 fi
29008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29009       ac_ext=c
29010 ac_cpp='$CPP $CPPFLAGS'
29011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29014
29015
29016 fi
29017
29018   fi
29019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29020 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29021
29022   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29023     for ac_func in log10f
29024 do :
29025   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29026 if test "x$ac_cv_func_log10f" = x""yes; then :
29027   cat >>confdefs.h <<_ACEOF
29028 #define HAVE_LOG10F 1
29029 _ACEOF
29030
29031 fi
29032 done
29033
29034   else
29035
29036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29037 $as_echo_n "checking for _log10f declaration... " >&6; }
29038   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29039     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29040   $as_echo_n "(cached) " >&6
29041 else
29042
29043
29044       ac_ext=cpp
29045 ac_cpp='$CXXCPP $CPPFLAGS'
29046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29049
29050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29051 /* end confdefs.h.  */
29052 #include <math.h>
29053                       #ifdef HAVE_IEEEFP_H
29054                       #include <ieeefp.h>
29055                       #endif
29056
29057 int
29058 main ()
29059 {
29060  _log10f(0);
29061   ;
29062   return 0;
29063 }
29064 _ACEOF
29065 if ac_fn_cxx_try_compile "$LINENO"; then :
29066   glibcxx_cv_func__log10f_use=yes
29067 else
29068   glibcxx_cv_func__log10f_use=no
29069 fi
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071       ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29076
29077
29078 fi
29079
29080   fi
29081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29082 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29083
29084     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29085       for ac_func in _log10f
29086 do :
29087   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29088 if test "x$ac_cv_func__log10f" = x""yes; then :
29089   cat >>confdefs.h <<_ACEOF
29090 #define HAVE__LOG10F 1
29091 _ACEOF
29092
29093 fi
29094 done
29095
29096     fi
29097   fi
29098
29099
29100
29101
29102
29103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29104 $as_echo_n "checking for modff declaration... " >&6; }
29105   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29106     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29107   $as_echo_n "(cached) " >&6
29108 else
29109
29110
29111       ac_ext=cpp
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116
29117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29118 /* end confdefs.h.  */
29119 #include <math.h>
29120 int
29121 main ()
29122 {
29123  modff(0, 0);
29124   ;
29125   return 0;
29126 }
29127 _ACEOF
29128 if ac_fn_cxx_try_compile "$LINENO"; then :
29129   glibcxx_cv_func_modff_use=yes
29130 else
29131   glibcxx_cv_func_modff_use=no
29132 fi
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134       ac_ext=c
29135 ac_cpp='$CPP $CPPFLAGS'
29136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29139
29140
29141 fi
29142
29143   fi
29144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29145 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29146
29147   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29148     for ac_func in modff
29149 do :
29150   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29151 if test "x$ac_cv_func_modff" = x""yes; then :
29152   cat >>confdefs.h <<_ACEOF
29153 #define HAVE_MODFF 1
29154 _ACEOF
29155
29156 fi
29157 done
29158
29159   else
29160
29161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29162 $as_echo_n "checking for _modff declaration... " >&6; }
29163   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29164     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29165   $as_echo_n "(cached) " >&6
29166 else
29167
29168
29169       ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29174
29175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h.  */
29177 #include <math.h>
29178 int
29179 main ()
29180 {
29181  _modff(0, 0);
29182   ;
29183   return 0;
29184 }
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187   glibcxx_cv_func__modff_use=yes
29188 else
29189   glibcxx_cv_func__modff_use=no
29190 fi
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192       ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198
29199 fi
29200
29201   fi
29202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29203 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29204
29205     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29206       for ac_func in _modff
29207 do :
29208   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29209 if test "x$ac_cv_func__modff" = x""yes; then :
29210   cat >>confdefs.h <<_ACEOF
29211 #define HAVE__MODFF 1
29212 _ACEOF
29213
29214 fi
29215 done
29216
29217     fi
29218   fi
29219
29220
29221
29222
29223
29224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29225 $as_echo_n "checking for modf declaration... " >&6; }
29226   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29227     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29228   $as_echo_n "(cached) " >&6
29229 else
29230
29231
29232       ac_ext=cpp
29233 ac_cpp='$CXXCPP $CPPFLAGS'
29234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29237
29238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29239 /* end confdefs.h.  */
29240 #include <math.h>
29241 int
29242 main ()
29243 {
29244  modf(0, 0);
29245   ;
29246   return 0;
29247 }
29248 _ACEOF
29249 if ac_fn_cxx_try_compile "$LINENO"; then :
29250   glibcxx_cv_func_modf_use=yes
29251 else
29252   glibcxx_cv_func_modf_use=no
29253 fi
29254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29255       ac_ext=c
29256 ac_cpp='$CPP $CPPFLAGS'
29257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260
29261
29262 fi
29263
29264   fi
29265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29266 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29267
29268   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29269     for ac_func in modf
29270 do :
29271   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29272 if test "x$ac_cv_func_modf" = x""yes; then :
29273   cat >>confdefs.h <<_ACEOF
29274 #define HAVE_MODF 1
29275 _ACEOF
29276
29277 fi
29278 done
29279
29280   else
29281
29282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29283 $as_echo_n "checking for _modf declaration... " >&6; }
29284   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29285     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29286   $as_echo_n "(cached) " >&6
29287 else
29288
29289
29290       ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295
29296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h.  */
29298 #include <math.h>
29299 int
29300 main ()
29301 {
29302  _modf(0, 0);
29303   ;
29304   return 0;
29305 }
29306 _ACEOF
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308   glibcxx_cv_func__modf_use=yes
29309 else
29310   glibcxx_cv_func__modf_use=no
29311 fi
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313       ac_ext=c
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29318
29319
29320 fi
29321
29322   fi
29323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29324 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29325
29326     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29327       for ac_func in _modf
29328 do :
29329   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29330 if test "x$ac_cv_func__modf" = x""yes; then :
29331   cat >>confdefs.h <<_ACEOF
29332 #define HAVE__MODF 1
29333 _ACEOF
29334
29335 fi
29336 done
29337
29338     fi
29339   fi
29340
29341
29342
29343
29344
29345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29346 $as_echo_n "checking for powf declaration... " >&6; }
29347   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29348     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29349   $as_echo_n "(cached) " >&6
29350 else
29351
29352
29353       ac_ext=cpp
29354 ac_cpp='$CXXCPP $CPPFLAGS'
29355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358
29359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29360 /* end confdefs.h.  */
29361 #include <math.h>
29362 int
29363 main ()
29364 {
29365  powf(0, 0);
29366   ;
29367   return 0;
29368 }
29369 _ACEOF
29370 if ac_fn_cxx_try_compile "$LINENO"; then :
29371   glibcxx_cv_func_powf_use=yes
29372 else
29373   glibcxx_cv_func_powf_use=no
29374 fi
29375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29376       ac_ext=c
29377 ac_cpp='$CPP $CPPFLAGS'
29378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381
29382
29383 fi
29384
29385   fi
29386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29387 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29388
29389   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29390     for ac_func in powf
29391 do :
29392   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29393 if test "x$ac_cv_func_powf" = x""yes; then :
29394   cat >>confdefs.h <<_ACEOF
29395 #define HAVE_POWF 1
29396 _ACEOF
29397
29398 fi
29399 done
29400
29401   else
29402
29403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29404 $as_echo_n "checking for _powf declaration... " >&6; }
29405   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29406     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29407   $as_echo_n "(cached) " >&6
29408 else
29409
29410
29411       ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416
29417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h.  */
29419 #include <math.h>
29420 int
29421 main ()
29422 {
29423  _powf(0, 0);
29424   ;
29425   return 0;
29426 }
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429   glibcxx_cv_func__powf_use=yes
29430 else
29431   glibcxx_cv_func__powf_use=no
29432 fi
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434       ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443   fi
29444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29445 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29446
29447     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29448       for ac_func in _powf
29449 do :
29450   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29451 if test "x$ac_cv_func__powf" = x""yes; then :
29452   cat >>confdefs.h <<_ACEOF
29453 #define HAVE__POWF 1
29454 _ACEOF
29455
29456 fi
29457 done
29458
29459     fi
29460   fi
29461
29462
29463
29464
29465
29466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29467 $as_echo_n "checking for sqrtf declaration... " >&6; }
29468   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29469     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29470   $as_echo_n "(cached) " >&6
29471 else
29472
29473
29474       ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479
29480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h.  */
29482 #include <math.h>
29483                       #ifdef HAVE_IEEEFP_H
29484                       #include <ieeefp.h>
29485                       #endif
29486
29487 int
29488 main ()
29489 {
29490  sqrtf(0);
29491   ;
29492   return 0;
29493 }
29494 _ACEOF
29495 if ac_fn_cxx_try_compile "$LINENO"; then :
29496   glibcxx_cv_func_sqrtf_use=yes
29497 else
29498   glibcxx_cv_func_sqrtf_use=no
29499 fi
29500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501       ac_ext=c
29502 ac_cpp='$CPP $CPPFLAGS'
29503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506
29507
29508 fi
29509
29510   fi
29511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29512 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29513
29514   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29515     for ac_func in sqrtf
29516 do :
29517   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29518 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29519   cat >>confdefs.h <<_ACEOF
29520 #define HAVE_SQRTF 1
29521 _ACEOF
29522
29523 fi
29524 done
29525
29526   else
29527
29528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29529 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29530   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29531     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29532   $as_echo_n "(cached) " >&6
29533 else
29534
29535
29536       ac_ext=cpp
29537 ac_cpp='$CXXCPP $CPPFLAGS'
29538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29541
29542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29543 /* end confdefs.h.  */
29544 #include <math.h>
29545                       #ifdef HAVE_IEEEFP_H
29546                       #include <ieeefp.h>
29547                       #endif
29548
29549 int
29550 main ()
29551 {
29552  _sqrtf(0);
29553   ;
29554   return 0;
29555 }
29556 _ACEOF
29557 if ac_fn_cxx_try_compile "$LINENO"; then :
29558   glibcxx_cv_func__sqrtf_use=yes
29559 else
29560   glibcxx_cv_func__sqrtf_use=no
29561 fi
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563       ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29568
29569
29570 fi
29571
29572   fi
29573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29574 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29575
29576     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29577       for ac_func in _sqrtf
29578 do :
29579   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29580 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29581   cat >>confdefs.h <<_ACEOF
29582 #define HAVE__SQRTF 1
29583 _ACEOF
29584
29585 fi
29586 done
29587
29588     fi
29589   fi
29590
29591
29592
29593
29594
29595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29596 $as_echo_n "checking for sincosf declaration... " >&6; }
29597   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29598     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29599   $as_echo_n "(cached) " >&6
29600 else
29601
29602
29603       ac_ext=cpp
29604 ac_cpp='$CXXCPP $CPPFLAGS'
29605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608
29609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h.  */
29611 #include <math.h>
29612 int
29613 main ()
29614 {
29615  sincosf(0, 0, 0);
29616   ;
29617   return 0;
29618 }
29619 _ACEOF
29620 if ac_fn_cxx_try_compile "$LINENO"; then :
29621   glibcxx_cv_func_sincosf_use=yes
29622 else
29623   glibcxx_cv_func_sincosf_use=no
29624 fi
29625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626       ac_ext=c
29627 ac_cpp='$CPP $CPPFLAGS'
29628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631
29632
29633 fi
29634
29635   fi
29636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29637 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29638
29639   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29640     for ac_func in sincosf
29641 do :
29642   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29643 if test "x$ac_cv_func_sincosf" = x""yes; then :
29644   cat >>confdefs.h <<_ACEOF
29645 #define HAVE_SINCOSF 1
29646 _ACEOF
29647
29648 fi
29649 done
29650
29651   else
29652
29653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29654 $as_echo_n "checking for _sincosf declaration... " >&6; }
29655   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29656     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29657   $as_echo_n "(cached) " >&6
29658 else
29659
29660
29661       ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h.  */
29669 #include <math.h>
29670 int
29671 main ()
29672 {
29673  _sincosf(0, 0, 0);
29674   ;
29675   return 0;
29676 }
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679   glibcxx_cv_func__sincosf_use=yes
29680 else
29681   glibcxx_cv_func__sincosf_use=no
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684       ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689
29690
29691 fi
29692
29693   fi
29694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29695 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29696
29697     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29698       for ac_func in _sincosf
29699 do :
29700   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29701 if test "x$ac_cv_func__sincosf" = x""yes; then :
29702   cat >>confdefs.h <<_ACEOF
29703 #define HAVE__SINCOSF 1
29704 _ACEOF
29705
29706 fi
29707 done
29708
29709     fi
29710   fi
29711
29712
29713
29714
29715
29716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29717 $as_echo_n "checking for finitef declaration... " >&6; }
29718   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29719     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29720   $as_echo_n "(cached) " >&6
29721 else
29722
29723
29724       ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729
29730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h.  */
29732 #include <math.h>
29733                       #ifdef HAVE_IEEEFP_H
29734                       #include <ieeefp.h>
29735                       #endif
29736
29737 int
29738 main ()
29739 {
29740  finitef(0);
29741   ;
29742   return 0;
29743 }
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746   glibcxx_cv_func_finitef_use=yes
29747 else
29748   glibcxx_cv_func_finitef_use=no
29749 fi
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751       ac_ext=c
29752 ac_cpp='$CPP $CPPFLAGS'
29753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29756
29757
29758 fi
29759
29760   fi
29761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29762 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29763
29764   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29765     for ac_func in finitef
29766 do :
29767   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29768 if test "x$ac_cv_func_finitef" = x""yes; then :
29769   cat >>confdefs.h <<_ACEOF
29770 #define HAVE_FINITEF 1
29771 _ACEOF
29772
29773 fi
29774 done
29775
29776   else
29777
29778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29779 $as_echo_n "checking for _finitef declaration... " >&6; }
29780   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29781     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29782   $as_echo_n "(cached) " >&6
29783 else
29784
29785
29786       ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791
29792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h.  */
29794 #include <math.h>
29795                       #ifdef HAVE_IEEEFP_H
29796                       #include <ieeefp.h>
29797                       #endif
29798
29799 int
29800 main ()
29801 {
29802  _finitef(0);
29803   ;
29804   return 0;
29805 }
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808   glibcxx_cv_func__finitef_use=yes
29809 else
29810   glibcxx_cv_func__finitef_use=no
29811 fi
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813       ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818
29819
29820 fi
29821
29822   fi
29823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29824 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29825
29826     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29827       for ac_func in _finitef
29828 do :
29829   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29830 if test "x$ac_cv_func__finitef" = x""yes; then :
29831   cat >>confdefs.h <<_ACEOF
29832 #define HAVE__FINITEF 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838     fi
29839   fi
29840
29841
29842
29843
29844
29845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29846 $as_echo_n "checking for long double trig functions... " >&6; }
29847   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29848   $as_echo_n "(cached) " >&6
29849 else
29850
29851
29852     ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857
29858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h.  */
29860 #include <math.h>
29861 int
29862 main ()
29863 {
29864 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870   glibcxx_cv_func_long_double_trig_use=yes
29871 else
29872   glibcxx_cv_func_long_double_trig_use=no
29873 fi
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875     ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29880
29881 fi
29882
29883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29884 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29885   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29886     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29887 do :
29888   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29890 eval as_val=\$$as_ac_var
29891    if test "x$as_val" = x""yes; then :
29892   cat >>confdefs.h <<_ACEOF
29893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29894 _ACEOF
29895
29896 fi
29897 done
29898
29899   else
29900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29901 $as_echo_n "checking for _long double trig functions... " >&6; }
29902     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29903   $as_echo_n "(cached) " >&6
29904 else
29905
29906
29907       ac_ext=cpp
29908 ac_cpp='$CXXCPP $CPPFLAGS'
29909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912
29913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h.  */
29915 #include <math.h>
29916 int
29917 main ()
29918 {
29919 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29920   ;
29921   return 0;
29922 }
29923 _ACEOF
29924 if ac_fn_cxx_try_compile "$LINENO"; then :
29925   glibcxx_cv_func__long_double_trig_use=yes
29926 else
29927   glibcxx_cv_func__long_double_trig_use=no
29928 fi
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930       ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935
29936 fi
29937
29938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29939 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29940     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29941       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29942 do :
29943   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29945 eval as_val=\$$as_ac_var
29946    if test "x$as_val" = x""yes; then :
29947   cat >>confdefs.h <<_ACEOF
29948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29949 _ACEOF
29950
29951 fi
29952 done
29953
29954     fi
29955   fi
29956
29957
29958
29959
29960
29961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29962 $as_echo_n "checking for long double round functions... " >&6; }
29963   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29964   $as_echo_n "(cached) " >&6
29965 else
29966
29967
29968     ac_ext=cpp
29969 ac_cpp='$CXXCPP $CPPFLAGS'
29970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29973
29974     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29975 /* end confdefs.h.  */
29976 #include <math.h>
29977 int
29978 main ()
29979 {
29980 ceill (0); floorl (0);
29981   ;
29982   return 0;
29983 }
29984 _ACEOF
29985 if ac_fn_cxx_try_compile "$LINENO"; then :
29986   glibcxx_cv_func_long_double_round_use=yes
29987 else
29988   glibcxx_cv_func_long_double_round_use=no
29989 fi
29990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29991     ac_ext=c
29992 ac_cpp='$CPP $CPPFLAGS'
29993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29996
29997 fi
29998
29999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30000 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30001   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30002     for ac_func in ceill floorl
30003 do :
30004   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30006 eval as_val=\$$as_ac_var
30007    if test "x$as_val" = x""yes; then :
30008   cat >>confdefs.h <<_ACEOF
30009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30010 _ACEOF
30011
30012 fi
30013 done
30014
30015   else
30016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30017 $as_echo_n "checking for _long double round functions... " >&6; }
30018     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30019   $as_echo_n "(cached) " >&6
30020 else
30021
30022
30023       ac_ext=cpp
30024 ac_cpp='$CXXCPP $CPPFLAGS'
30025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30028
30029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30030 /* end confdefs.h.  */
30031 #include <math.h>
30032 int
30033 main ()
30034 {
30035 _ceill (0); _floorl (0);
30036   ;
30037   return 0;
30038 }
30039 _ACEOF
30040 if ac_fn_cxx_try_compile "$LINENO"; then :
30041   glibcxx_cv_func__long_double_round_use=yes
30042 else
30043   glibcxx_cv_func__long_double_round_use=no
30044 fi
30045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30046       ac_ext=c
30047 ac_cpp='$CPP $CPPFLAGS'
30048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30051
30052 fi
30053
30054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30055 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30056     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30057       for ac_func in _ceill _floorl
30058 do :
30059   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30061 eval as_val=\$$as_ac_var
30062    if test "x$as_val" = x""yes; then :
30063   cat >>confdefs.h <<_ACEOF
30064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30065 _ACEOF
30066
30067 fi
30068 done
30069
30070     fi
30071   fi
30072
30073
30074
30075
30076
30077
30078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30079 $as_echo_n "checking for isnanl declaration... " >&6; }
30080   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30081     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30082   $as_echo_n "(cached) " >&6
30083 else
30084
30085
30086       ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091
30092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h.  */
30094 #include <math.h>
30095                       #ifdef HAVE_IEEEFP_H
30096                       #include <ieeefp.h>
30097                       #endif
30098
30099 int
30100 main ()
30101 {
30102  isnanl(0);
30103   ;
30104   return 0;
30105 }
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108   glibcxx_cv_func_isnanl_use=yes
30109 else
30110   glibcxx_cv_func_isnanl_use=no
30111 fi
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113       ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30118
30119
30120 fi
30121
30122   fi
30123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30124 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30125
30126   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30127     for ac_func in isnanl
30128 do :
30129   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30130 if test "x$ac_cv_func_isnanl" = x""yes; then :
30131   cat >>confdefs.h <<_ACEOF
30132 #define HAVE_ISNANL 1
30133 _ACEOF
30134
30135 fi
30136 done
30137
30138   else
30139
30140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30141 $as_echo_n "checking for _isnanl declaration... " >&6; }
30142   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30143     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30144   $as_echo_n "(cached) " >&6
30145 else
30146
30147
30148       ac_ext=cpp
30149 ac_cpp='$CXXCPP $CPPFLAGS'
30150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30153
30154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30155 /* end confdefs.h.  */
30156 #include <math.h>
30157                       #ifdef HAVE_IEEEFP_H
30158                       #include <ieeefp.h>
30159                       #endif
30160
30161 int
30162 main ()
30163 {
30164  _isnanl(0);
30165   ;
30166   return 0;
30167 }
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170   glibcxx_cv_func__isnanl_use=yes
30171 else
30172   glibcxx_cv_func__isnanl_use=no
30173 fi
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175       ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180
30181
30182 fi
30183
30184   fi
30185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30186 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30187
30188     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30189       for ac_func in _isnanl
30190 do :
30191   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30192 if test "x$ac_cv_func__isnanl" = x""yes; then :
30193   cat >>confdefs.h <<_ACEOF
30194 #define HAVE__ISNANL 1
30195 _ACEOF
30196
30197 fi
30198 done
30199
30200     fi
30201   fi
30202
30203
30204
30205
30206
30207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30208 $as_echo_n "checking for isinfl declaration... " >&6; }
30209   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30210     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30211   $as_echo_n "(cached) " >&6
30212 else
30213
30214
30215       ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220
30221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h.  */
30223 #include <math.h>
30224                       #ifdef HAVE_IEEEFP_H
30225                       #include <ieeefp.h>
30226                       #endif
30227
30228 int
30229 main ()
30230 {
30231  isinfl(0);
30232   ;
30233   return 0;
30234 }
30235 _ACEOF
30236 if ac_fn_cxx_try_compile "$LINENO"; then :
30237   glibcxx_cv_func_isinfl_use=yes
30238 else
30239   glibcxx_cv_func_isinfl_use=no
30240 fi
30241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30242       ac_ext=c
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30247
30248
30249 fi
30250
30251   fi
30252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30253 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30254
30255   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30256     for ac_func in isinfl
30257 do :
30258   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30259 if test "x$ac_cv_func_isinfl" = x""yes; then :
30260   cat >>confdefs.h <<_ACEOF
30261 #define HAVE_ISINFL 1
30262 _ACEOF
30263
30264 fi
30265 done
30266
30267   else
30268
30269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30270 $as_echo_n "checking for _isinfl declaration... " >&6; }
30271   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30272     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30273   $as_echo_n "(cached) " >&6
30274 else
30275
30276
30277       ac_ext=cpp
30278 ac_cpp='$CXXCPP $CPPFLAGS'
30279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30282
30283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h.  */
30285 #include <math.h>
30286                       #ifdef HAVE_IEEEFP_H
30287                       #include <ieeefp.h>
30288                       #endif
30289
30290 int
30291 main ()
30292 {
30293  _isinfl(0);
30294   ;
30295   return 0;
30296 }
30297 _ACEOF
30298 if ac_fn_cxx_try_compile "$LINENO"; then :
30299   glibcxx_cv_func__isinfl_use=yes
30300 else
30301   glibcxx_cv_func__isinfl_use=no
30302 fi
30303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304       ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30309
30310
30311 fi
30312
30313   fi
30314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30315 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30316
30317     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30318       for ac_func in _isinfl
30319 do :
30320   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30321 if test "x$ac_cv_func__isinfl" = x""yes; then :
30322   cat >>confdefs.h <<_ACEOF
30323 #define HAVE__ISINFL 1
30324 _ACEOF
30325
30326 fi
30327 done
30328
30329     fi
30330   fi
30331
30332
30333
30334
30335
30336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30337 $as_echo_n "checking for atan2l declaration... " >&6; }
30338   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30339     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30340   $as_echo_n "(cached) " >&6
30341 else
30342
30343
30344       ac_ext=cpp
30345 ac_cpp='$CXXCPP $CPPFLAGS'
30346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349
30350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h.  */
30352 #include <math.h>
30353 int
30354 main ()
30355 {
30356  atan2l(0, 0);
30357   ;
30358   return 0;
30359 }
30360 _ACEOF
30361 if ac_fn_cxx_try_compile "$LINENO"; then :
30362   glibcxx_cv_func_atan2l_use=yes
30363 else
30364   glibcxx_cv_func_atan2l_use=no
30365 fi
30366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30367       ac_ext=c
30368 ac_cpp='$CPP $CPPFLAGS'
30369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30372
30373
30374 fi
30375
30376   fi
30377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30378 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30379
30380   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30381     for ac_func in atan2l
30382 do :
30383   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30384 if test "x$ac_cv_func_atan2l" = x""yes; then :
30385   cat >>confdefs.h <<_ACEOF
30386 #define HAVE_ATAN2L 1
30387 _ACEOF
30388
30389 fi
30390 done
30391
30392   else
30393
30394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30395 $as_echo_n "checking for _atan2l declaration... " >&6; }
30396   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30397     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30398   $as_echo_n "(cached) " >&6
30399 else
30400
30401
30402       ac_ext=cpp
30403 ac_cpp='$CXXCPP $CPPFLAGS'
30404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30407
30408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30409 /* end confdefs.h.  */
30410 #include <math.h>
30411 int
30412 main ()
30413 {
30414  _atan2l(0, 0);
30415   ;
30416   return 0;
30417 }
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420   glibcxx_cv_func__atan2l_use=yes
30421 else
30422   glibcxx_cv_func__atan2l_use=no
30423 fi
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425       ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430
30431
30432 fi
30433
30434   fi
30435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30436 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30437
30438     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30439       for ac_func in _atan2l
30440 do :
30441   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30442 if test "x$ac_cv_func__atan2l" = x""yes; then :
30443   cat >>confdefs.h <<_ACEOF
30444 #define HAVE__ATAN2L 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450     fi
30451   fi
30452
30453
30454
30455
30456
30457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30458 $as_echo_n "checking for expl declaration... " >&6; }
30459   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30460     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30461   $as_echo_n "(cached) " >&6
30462 else
30463
30464
30465       ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h.  */
30473 #include <math.h>
30474                       #ifdef HAVE_IEEEFP_H
30475                       #include <ieeefp.h>
30476                       #endif
30477
30478 int
30479 main ()
30480 {
30481  expl(0);
30482   ;
30483   return 0;
30484 }
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487   glibcxx_cv_func_expl_use=yes
30488 else
30489   glibcxx_cv_func_expl_use=no
30490 fi
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492       ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497
30498
30499 fi
30500
30501   fi
30502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30503 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30504
30505   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30506     for ac_func in expl
30507 do :
30508   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30509 if test "x$ac_cv_func_expl" = x""yes; then :
30510   cat >>confdefs.h <<_ACEOF
30511 #define HAVE_EXPL 1
30512 _ACEOF
30513
30514 fi
30515 done
30516
30517   else
30518
30519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30520 $as_echo_n "checking for _expl declaration... " >&6; }
30521   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30522     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30523   $as_echo_n "(cached) " >&6
30524 else
30525
30526
30527       ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30532
30533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h.  */
30535 #include <math.h>
30536                       #ifdef HAVE_IEEEFP_H
30537                       #include <ieeefp.h>
30538                       #endif
30539
30540 int
30541 main ()
30542 {
30543  _expl(0);
30544   ;
30545   return 0;
30546 }
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549   glibcxx_cv_func__expl_use=yes
30550 else
30551   glibcxx_cv_func__expl_use=no
30552 fi
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554       ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559
30560
30561 fi
30562
30563   fi
30564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30565 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30566
30567     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30568       for ac_func in _expl
30569 do :
30570   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30571 if test "x$ac_cv_func__expl" = x""yes; then :
30572   cat >>confdefs.h <<_ACEOF
30573 #define HAVE__EXPL 1
30574 _ACEOF
30575
30576 fi
30577 done
30578
30579     fi
30580   fi
30581
30582
30583
30584
30585
30586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30587 $as_echo_n "checking for fabsl declaration... " >&6; }
30588   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30589     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30590   $as_echo_n "(cached) " >&6
30591 else
30592
30593
30594       ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599
30600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h.  */
30602 #include <math.h>
30603                       #ifdef HAVE_IEEEFP_H
30604                       #include <ieeefp.h>
30605                       #endif
30606
30607 int
30608 main ()
30609 {
30610  fabsl(0);
30611   ;
30612   return 0;
30613 }
30614 _ACEOF
30615 if ac_fn_cxx_try_compile "$LINENO"; then :
30616   glibcxx_cv_func_fabsl_use=yes
30617 else
30618   glibcxx_cv_func_fabsl_use=no
30619 fi
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621       ac_ext=c
30622 ac_cpp='$CPP $CPPFLAGS'
30623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30626
30627
30628 fi
30629
30630   fi
30631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30632 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30633
30634   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30635     for ac_func in fabsl
30636 do :
30637   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30638 if test "x$ac_cv_func_fabsl" = x""yes; then :
30639   cat >>confdefs.h <<_ACEOF
30640 #define HAVE_FABSL 1
30641 _ACEOF
30642
30643 fi
30644 done
30645
30646   else
30647
30648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30649 $as_echo_n "checking for _fabsl declaration... " >&6; }
30650   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30651     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30652   $as_echo_n "(cached) " >&6
30653 else
30654
30655
30656       ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30661
30662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h.  */
30664 #include <math.h>
30665                       #ifdef HAVE_IEEEFP_H
30666                       #include <ieeefp.h>
30667                       #endif
30668
30669 int
30670 main ()
30671 {
30672  _fabsl(0);
30673   ;
30674   return 0;
30675 }
30676 _ACEOF
30677 if ac_fn_cxx_try_compile "$LINENO"; then :
30678   glibcxx_cv_func__fabsl_use=yes
30679 else
30680   glibcxx_cv_func__fabsl_use=no
30681 fi
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683       ac_ext=c
30684 ac_cpp='$CPP $CPPFLAGS'
30685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30688
30689
30690 fi
30691
30692   fi
30693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30694 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30695
30696     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30697       for ac_func in _fabsl
30698 do :
30699   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30700 if test "x$ac_cv_func__fabsl" = x""yes; then :
30701   cat >>confdefs.h <<_ACEOF
30702 #define HAVE__FABSL 1
30703 _ACEOF
30704
30705 fi
30706 done
30707
30708     fi
30709   fi
30710
30711
30712
30713
30714
30715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30716 $as_echo_n "checking for fmodl declaration... " >&6; }
30717   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30718     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30719   $as_echo_n "(cached) " >&6
30720 else
30721
30722
30723       ac_ext=cpp
30724 ac_cpp='$CXXCPP $CPPFLAGS'
30725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728
30729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h.  */
30731 #include <math.h>
30732 int
30733 main ()
30734 {
30735  fmodl(0, 0);
30736   ;
30737   return 0;
30738 }
30739 _ACEOF
30740 if ac_fn_cxx_try_compile "$LINENO"; then :
30741   glibcxx_cv_func_fmodl_use=yes
30742 else
30743   glibcxx_cv_func_fmodl_use=no
30744 fi
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746       ac_ext=c
30747 ac_cpp='$CPP $CPPFLAGS'
30748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751
30752
30753 fi
30754
30755   fi
30756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30757 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30758
30759   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30760     for ac_func in fmodl
30761 do :
30762   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30763 if test "x$ac_cv_func_fmodl" = x""yes; then :
30764   cat >>confdefs.h <<_ACEOF
30765 #define HAVE_FMODL 1
30766 _ACEOF
30767
30768 fi
30769 done
30770
30771   else
30772
30773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30774 $as_echo_n "checking for _fmodl declaration... " >&6; }
30775   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30776     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30777   $as_echo_n "(cached) " >&6
30778 else
30779
30780
30781       ac_ext=cpp
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786
30787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h.  */
30789 #include <math.h>
30790 int
30791 main ()
30792 {
30793  _fmodl(0, 0);
30794   ;
30795   return 0;
30796 }
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799   glibcxx_cv_func__fmodl_use=yes
30800 else
30801   glibcxx_cv_func__fmodl_use=no
30802 fi
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804       ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30809
30810
30811 fi
30812
30813   fi
30814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30815 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30816
30817     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30818       for ac_func in _fmodl
30819 do :
30820   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30821 if test "x$ac_cv_func__fmodl" = x""yes; then :
30822   cat >>confdefs.h <<_ACEOF
30823 #define HAVE__FMODL 1
30824 _ACEOF
30825
30826 fi
30827 done
30828
30829     fi
30830   fi
30831
30832
30833
30834
30835
30836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30837 $as_echo_n "checking for frexpl declaration... " >&6; }
30838   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30839     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30840   $as_echo_n "(cached) " >&6
30841 else
30842
30843
30844       ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849
30850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h.  */
30852 #include <math.h>
30853 int
30854 main ()
30855 {
30856  frexpl(0, 0);
30857   ;
30858   return 0;
30859 }
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862   glibcxx_cv_func_frexpl_use=yes
30863 else
30864   glibcxx_cv_func_frexpl_use=no
30865 fi
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867       ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872
30873
30874 fi
30875
30876   fi
30877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30878 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30879
30880   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30881     for ac_func in frexpl
30882 do :
30883   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30884 if test "x$ac_cv_func_frexpl" = x""yes; then :
30885   cat >>confdefs.h <<_ACEOF
30886 #define HAVE_FREXPL 1
30887 _ACEOF
30888
30889 fi
30890 done
30891
30892   else
30893
30894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30895 $as_echo_n "checking for _frexpl declaration... " >&6; }
30896   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30897     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30898   $as_echo_n "(cached) " >&6
30899 else
30900
30901
30902       ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907
30908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h.  */
30910 #include <math.h>
30911 int
30912 main ()
30913 {
30914  _frexpl(0, 0);
30915   ;
30916   return 0;
30917 }
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920   glibcxx_cv_func__frexpl_use=yes
30921 else
30922   glibcxx_cv_func__frexpl_use=no
30923 fi
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925       ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30930
30931
30932 fi
30933
30934   fi
30935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30936 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30937
30938     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30939       for ac_func in _frexpl
30940 do :
30941   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30942 if test "x$ac_cv_func__frexpl" = x""yes; then :
30943   cat >>confdefs.h <<_ACEOF
30944 #define HAVE__FREXPL 1
30945 _ACEOF
30946
30947 fi
30948 done
30949
30950     fi
30951   fi
30952
30953
30954
30955
30956
30957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30958 $as_echo_n "checking for hypotl declaration... " >&6; }
30959   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30960     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30961   $as_echo_n "(cached) " >&6
30962 else
30963
30964
30965       ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970
30971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h.  */
30973 #include <math.h>
30974 int
30975 main ()
30976 {
30977  hypotl(0, 0);
30978   ;
30979   return 0;
30980 }
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983   glibcxx_cv_func_hypotl_use=yes
30984 else
30985   glibcxx_cv_func_hypotl_use=no
30986 fi
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988       ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993
30994
30995 fi
30996
30997   fi
30998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30999 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31000
31001   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31002     for ac_func in hypotl
31003 do :
31004   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31005 if test "x$ac_cv_func_hypotl" = x""yes; then :
31006   cat >>confdefs.h <<_ACEOF
31007 #define HAVE_HYPOTL 1
31008 _ACEOF
31009
31010 fi
31011 done
31012
31013   else
31014
31015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31016 $as_echo_n "checking for _hypotl declaration... " >&6; }
31017   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31018     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31019   $as_echo_n "(cached) " >&6
31020 else
31021
31022
31023       ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028
31029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h.  */
31031 #include <math.h>
31032 int
31033 main ()
31034 {
31035  _hypotl(0, 0);
31036   ;
31037   return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041   glibcxx_cv_func__hypotl_use=yes
31042 else
31043   glibcxx_cv_func__hypotl_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046       ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055   fi
31056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31057 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31058
31059     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31060       for ac_func in _hypotl
31061 do :
31062   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31063 if test "x$ac_cv_func__hypotl" = x""yes; then :
31064   cat >>confdefs.h <<_ACEOF
31065 #define HAVE__HYPOTL 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071     fi
31072   fi
31073
31074
31075
31076
31077
31078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31079 $as_echo_n "checking for ldexpl declaration... " >&6; }
31080   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31081     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31082   $as_echo_n "(cached) " >&6
31083 else
31084
31085
31086       ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091
31092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h.  */
31094 #include <math.h>
31095 int
31096 main ()
31097 {
31098  ldexpl(0, 0);
31099   ;
31100   return 0;
31101 }
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104   glibcxx_cv_func_ldexpl_use=yes
31105 else
31106   glibcxx_cv_func_ldexpl_use=no
31107 fi
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109       ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31114
31115
31116 fi
31117
31118   fi
31119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31120 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31121
31122   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31123     for ac_func in ldexpl
31124 do :
31125   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31126 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31127   cat >>confdefs.h <<_ACEOF
31128 #define HAVE_LDEXPL 1
31129 _ACEOF
31130
31131 fi
31132 done
31133
31134   else
31135
31136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31137 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31138   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31139     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31140   $as_echo_n "(cached) " >&6
31141 else
31142
31143
31144       ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149
31150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h.  */
31152 #include <math.h>
31153 int
31154 main ()
31155 {
31156  _ldexpl(0, 0);
31157   ;
31158   return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162   glibcxx_cv_func__ldexpl_use=yes
31163 else
31164   glibcxx_cv_func__ldexpl_use=no
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167       ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175
31176   fi
31177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31178 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31179
31180     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31181       for ac_func in _ldexpl
31182 do :
31183   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31184 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31185   cat >>confdefs.h <<_ACEOF
31186 #define HAVE__LDEXPL 1
31187 _ACEOF
31188
31189 fi
31190 done
31191
31192     fi
31193   fi
31194
31195
31196
31197
31198
31199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31200 $as_echo_n "checking for logl declaration... " >&6; }
31201   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31202     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31203   $as_echo_n "(cached) " >&6
31204 else
31205
31206
31207       ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212
31213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h.  */
31215 #include <math.h>
31216                       #ifdef HAVE_IEEEFP_H
31217                       #include <ieeefp.h>
31218                       #endif
31219
31220 int
31221 main ()
31222 {
31223  logl(0);
31224   ;
31225   return 0;
31226 }
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229   glibcxx_cv_func_logl_use=yes
31230 else
31231   glibcxx_cv_func_logl_use=no
31232 fi
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234       ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31239
31240
31241 fi
31242
31243   fi
31244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31245 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31246
31247   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31248     for ac_func in logl
31249 do :
31250   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31251 if test "x$ac_cv_func_logl" = x""yes; then :
31252   cat >>confdefs.h <<_ACEOF
31253 #define HAVE_LOGL 1
31254 _ACEOF
31255
31256 fi
31257 done
31258
31259   else
31260
31261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31262 $as_echo_n "checking for _logl declaration... " >&6; }
31263   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31264     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31265   $as_echo_n "(cached) " >&6
31266 else
31267
31268
31269       ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274
31275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h.  */
31277 #include <math.h>
31278                       #ifdef HAVE_IEEEFP_H
31279                       #include <ieeefp.h>
31280                       #endif
31281
31282 int
31283 main ()
31284 {
31285  _logl(0);
31286   ;
31287   return 0;
31288 }
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291   glibcxx_cv_func__logl_use=yes
31292 else
31293   glibcxx_cv_func__logl_use=no
31294 fi
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296       ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301
31302
31303 fi
31304
31305   fi
31306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31307 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31308
31309     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31310       for ac_func in _logl
31311 do :
31312   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31313 if test "x$ac_cv_func__logl" = x""yes; then :
31314   cat >>confdefs.h <<_ACEOF
31315 #define HAVE__LOGL 1
31316 _ACEOF
31317
31318 fi
31319 done
31320
31321     fi
31322   fi
31323
31324
31325
31326
31327
31328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31329 $as_echo_n "checking for log10l declaration... " >&6; }
31330   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31331     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31332   $as_echo_n "(cached) " >&6
31333 else
31334
31335
31336       ac_ext=cpp
31337 ac_cpp='$CXXCPP $CPPFLAGS'
31338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341
31342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343 /* end confdefs.h.  */
31344 #include <math.h>
31345                       #ifdef HAVE_IEEEFP_H
31346                       #include <ieeefp.h>
31347                       #endif
31348
31349 int
31350 main ()
31351 {
31352  log10l(0);
31353   ;
31354   return 0;
31355 }
31356 _ACEOF
31357 if ac_fn_cxx_try_compile "$LINENO"; then :
31358   glibcxx_cv_func_log10l_use=yes
31359 else
31360   glibcxx_cv_func_log10l_use=no
31361 fi
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363       ac_ext=c
31364 ac_cpp='$CPP $CPPFLAGS'
31365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368
31369
31370 fi
31371
31372   fi
31373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31374 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31375
31376   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31377     for ac_func in log10l
31378 do :
31379   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31380 if test "x$ac_cv_func_log10l" = x""yes; then :
31381   cat >>confdefs.h <<_ACEOF
31382 #define HAVE_LOG10L 1
31383 _ACEOF
31384
31385 fi
31386 done
31387
31388   else
31389
31390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31391 $as_echo_n "checking for _log10l declaration... " >&6; }
31392   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31393     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31394   $as_echo_n "(cached) " >&6
31395 else
31396
31397
31398       ac_ext=cpp
31399 ac_cpp='$CXXCPP $CPPFLAGS'
31400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31403
31404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405 /* end confdefs.h.  */
31406 #include <math.h>
31407                       #ifdef HAVE_IEEEFP_H
31408                       #include <ieeefp.h>
31409                       #endif
31410
31411 int
31412 main ()
31413 {
31414  _log10l(0);
31415   ;
31416   return 0;
31417 }
31418 _ACEOF
31419 if ac_fn_cxx_try_compile "$LINENO"; then :
31420   glibcxx_cv_func__log10l_use=yes
31421 else
31422   glibcxx_cv_func__log10l_use=no
31423 fi
31424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31425       ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430
31431
31432 fi
31433
31434   fi
31435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31436 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31437
31438     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31439       for ac_func in _log10l
31440 do :
31441   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31442 if test "x$ac_cv_func__log10l" = x""yes; then :
31443   cat >>confdefs.h <<_ACEOF
31444 #define HAVE__LOG10L 1
31445 _ACEOF
31446
31447 fi
31448 done
31449
31450     fi
31451   fi
31452
31453
31454
31455
31456
31457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31458 $as_echo_n "checking for modfl declaration... " >&6; }
31459   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31460     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31461   $as_echo_n "(cached) " >&6
31462 else
31463
31464
31465       ac_ext=cpp
31466 ac_cpp='$CXXCPP $CPPFLAGS'
31467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31470
31471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31472 /* end confdefs.h.  */
31473 #include <math.h>
31474 int
31475 main ()
31476 {
31477  modfl(0, 0);
31478   ;
31479   return 0;
31480 }
31481 _ACEOF
31482 if ac_fn_cxx_try_compile "$LINENO"; then :
31483   glibcxx_cv_func_modfl_use=yes
31484 else
31485   glibcxx_cv_func_modfl_use=no
31486 fi
31487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31488       ac_ext=c
31489 ac_cpp='$CPP $CPPFLAGS'
31490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31493
31494
31495 fi
31496
31497   fi
31498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31499 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31500
31501   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31502     for ac_func in modfl
31503 do :
31504   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31505 if test "x$ac_cv_func_modfl" = x""yes; then :
31506   cat >>confdefs.h <<_ACEOF
31507 #define HAVE_MODFL 1
31508 _ACEOF
31509
31510 fi
31511 done
31512
31513   else
31514
31515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31516 $as_echo_n "checking for _modfl declaration... " >&6; }
31517   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31518     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31519   $as_echo_n "(cached) " >&6
31520 else
31521
31522
31523       ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31528
31529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h.  */
31531 #include <math.h>
31532 int
31533 main ()
31534 {
31535  _modfl(0, 0);
31536   ;
31537   return 0;
31538 }
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541   glibcxx_cv_func__modfl_use=yes
31542 else
31543   glibcxx_cv_func__modfl_use=no
31544 fi
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546       ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551
31552
31553 fi
31554
31555   fi
31556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31557 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31558
31559     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31560       for ac_func in _modfl
31561 do :
31562   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31563 if test "x$ac_cv_func__modfl" = x""yes; then :
31564   cat >>confdefs.h <<_ACEOF
31565 #define HAVE__MODFL 1
31566 _ACEOF
31567
31568 fi
31569 done
31570
31571     fi
31572   fi
31573
31574
31575
31576
31577
31578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31579 $as_echo_n "checking for powl declaration... " >&6; }
31580   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31581     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31582   $as_echo_n "(cached) " >&6
31583 else
31584
31585
31586       ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591
31592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h.  */
31594 #include <math.h>
31595 int
31596 main ()
31597 {
31598  powl(0, 0);
31599   ;
31600   return 0;
31601 }
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604   glibcxx_cv_func_powl_use=yes
31605 else
31606   glibcxx_cv_func_powl_use=no
31607 fi
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609       ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614
31615
31616 fi
31617
31618   fi
31619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31620 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31621
31622   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31623     for ac_func in powl
31624 do :
31625   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31626 if test "x$ac_cv_func_powl" = x""yes; then :
31627   cat >>confdefs.h <<_ACEOF
31628 #define HAVE_POWL 1
31629 _ACEOF
31630
31631 fi
31632 done
31633
31634   else
31635
31636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31637 $as_echo_n "checking for _powl declaration... " >&6; }
31638   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31639     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31640   $as_echo_n "(cached) " >&6
31641 else
31642
31643
31644       ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649
31650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h.  */
31652 #include <math.h>
31653 int
31654 main ()
31655 {
31656  _powl(0, 0);
31657   ;
31658   return 0;
31659 }
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662   glibcxx_cv_func__powl_use=yes
31663 else
31664   glibcxx_cv_func__powl_use=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667       ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672
31673
31674 fi
31675
31676   fi
31677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31678 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31679
31680     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31681       for ac_func in _powl
31682 do :
31683   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31684 if test "x$ac_cv_func__powl" = x""yes; then :
31685   cat >>confdefs.h <<_ACEOF
31686 #define HAVE__POWL 1
31687 _ACEOF
31688
31689 fi
31690 done
31691
31692     fi
31693   fi
31694
31695
31696
31697
31698
31699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31700 $as_echo_n "checking for sqrtl declaration... " >&6; }
31701   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31702     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31703   $as_echo_n "(cached) " >&6
31704 else
31705
31706
31707       ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31712
31713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h.  */
31715 #include <math.h>
31716                       #ifdef HAVE_IEEEFP_H
31717                       #include <ieeefp.h>
31718                       #endif
31719
31720 int
31721 main ()
31722 {
31723  sqrtl(0);
31724   ;
31725   return 0;
31726 }
31727 _ACEOF
31728 if ac_fn_cxx_try_compile "$LINENO"; then :
31729   glibcxx_cv_func_sqrtl_use=yes
31730 else
31731   glibcxx_cv_func_sqrtl_use=no
31732 fi
31733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31734       ac_ext=c
31735 ac_cpp='$CPP $CPPFLAGS'
31736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31739
31740
31741 fi
31742
31743   fi
31744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31745 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31746
31747   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31748     for ac_func in sqrtl
31749 do :
31750   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31751 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31752   cat >>confdefs.h <<_ACEOF
31753 #define HAVE_SQRTL 1
31754 _ACEOF
31755
31756 fi
31757 done
31758
31759   else
31760
31761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31762 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31763   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31764     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31765   $as_echo_n "(cached) " >&6
31766 else
31767
31768
31769       ac_ext=cpp
31770 ac_cpp='$CXXCPP $CPPFLAGS'
31771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31774
31775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31776 /* end confdefs.h.  */
31777 #include <math.h>
31778                       #ifdef HAVE_IEEEFP_H
31779                       #include <ieeefp.h>
31780                       #endif
31781
31782 int
31783 main ()
31784 {
31785  _sqrtl(0);
31786   ;
31787   return 0;
31788 }
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791   glibcxx_cv_func__sqrtl_use=yes
31792 else
31793   glibcxx_cv_func__sqrtl_use=no
31794 fi
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796       ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801
31802
31803 fi
31804
31805   fi
31806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31807 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31808
31809     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31810       for ac_func in _sqrtl
31811 do :
31812   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31813 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31814   cat >>confdefs.h <<_ACEOF
31815 #define HAVE__SQRTL 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821     fi
31822   fi
31823
31824
31825
31826
31827
31828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31829 $as_echo_n "checking for sincosl declaration... " >&6; }
31830   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31831     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31832   $as_echo_n "(cached) " >&6
31833 else
31834
31835
31836       ac_ext=cpp
31837 ac_cpp='$CXXCPP $CPPFLAGS'
31838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841
31842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31843 /* end confdefs.h.  */
31844 #include <math.h>
31845 int
31846 main ()
31847 {
31848  sincosl(0, 0, 0);
31849   ;
31850   return 0;
31851 }
31852 _ACEOF
31853 if ac_fn_cxx_try_compile "$LINENO"; then :
31854   glibcxx_cv_func_sincosl_use=yes
31855 else
31856   glibcxx_cv_func_sincosl_use=no
31857 fi
31858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859       ac_ext=c
31860 ac_cpp='$CPP $CPPFLAGS'
31861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864
31865
31866 fi
31867
31868   fi
31869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31870 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31871
31872   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31873     for ac_func in sincosl
31874 do :
31875   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31876 if test "x$ac_cv_func_sincosl" = x""yes; then :
31877   cat >>confdefs.h <<_ACEOF
31878 #define HAVE_SINCOSL 1
31879 _ACEOF
31880
31881 fi
31882 done
31883
31884   else
31885
31886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31887 $as_echo_n "checking for _sincosl declaration... " >&6; }
31888   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31889     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31890   $as_echo_n "(cached) " >&6
31891 else
31892
31893
31894       ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899
31900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h.  */
31902 #include <math.h>
31903 int
31904 main ()
31905 {
31906  _sincosl(0, 0, 0);
31907   ;
31908   return 0;
31909 }
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912   glibcxx_cv_func__sincosl_use=yes
31913 else
31914   glibcxx_cv_func__sincosl_use=no
31915 fi
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917       ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922
31923
31924 fi
31925
31926   fi
31927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31928 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31929
31930     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31931       for ac_func in _sincosl
31932 do :
31933   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31934 if test "x$ac_cv_func__sincosl" = x""yes; then :
31935   cat >>confdefs.h <<_ACEOF
31936 #define HAVE__SINCOSL 1
31937 _ACEOF
31938
31939 fi
31940 done
31941
31942     fi
31943   fi
31944
31945
31946
31947
31948
31949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31950 $as_echo_n "checking for finitel declaration... " >&6; }
31951   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31952     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31953   $as_echo_n "(cached) " >&6
31954 else
31955
31956
31957       ac_ext=cpp
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962
31963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964 /* end confdefs.h.  */
31965 #include <math.h>
31966                       #ifdef HAVE_IEEEFP_H
31967                       #include <ieeefp.h>
31968                       #endif
31969
31970 int
31971 main ()
31972 {
31973  finitel(0);
31974   ;
31975   return 0;
31976 }
31977 _ACEOF
31978 if ac_fn_cxx_try_compile "$LINENO"; then :
31979   glibcxx_cv_func_finitel_use=yes
31980 else
31981   glibcxx_cv_func_finitel_use=no
31982 fi
31983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31984       ac_ext=c
31985 ac_cpp='$CPP $CPPFLAGS'
31986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31989
31990
31991 fi
31992
31993   fi
31994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31995 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31996
31997   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31998     for ac_func in finitel
31999 do :
32000   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32001 if test "x$ac_cv_func_finitel" = x""yes; then :
32002   cat >>confdefs.h <<_ACEOF
32003 #define HAVE_FINITEL 1
32004 _ACEOF
32005
32006 fi
32007 done
32008
32009   else
32010
32011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32012 $as_echo_n "checking for _finitel declaration... " >&6; }
32013   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32014     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32015   $as_echo_n "(cached) " >&6
32016 else
32017
32018
32019       ac_ext=cpp
32020 ac_cpp='$CXXCPP $CPPFLAGS'
32021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32024
32025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h.  */
32027 #include <math.h>
32028                       #ifdef HAVE_IEEEFP_H
32029                       #include <ieeefp.h>
32030                       #endif
32031
32032 int
32033 main ()
32034 {
32035  _finitel(0);
32036   ;
32037   return 0;
32038 }
32039 _ACEOF
32040 if ac_fn_cxx_try_compile "$LINENO"; then :
32041   glibcxx_cv_func__finitel_use=yes
32042 else
32043   glibcxx_cv_func__finitel_use=no
32044 fi
32045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32046       ac_ext=c
32047 ac_cpp='$CPP $CPPFLAGS'
32048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32051
32052
32053 fi
32054
32055   fi
32056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32057 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32058
32059     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32060       for ac_func in _finitel
32061 do :
32062   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32063 if test "x$ac_cv_func__finitel" = x""yes; then :
32064   cat >>confdefs.h <<_ACEOF
32065 #define HAVE__FINITEL 1
32066 _ACEOF
32067
32068 fi
32069 done
32070
32071     fi
32072   fi
32073
32074
32075
32076
32077   LIBS="$ac_save_LIBS"
32078   CXXFLAGS="$ac_save_CXXFLAGS"
32079
32080
32081   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32082   ac_save_CXXFLAGS="$CXXFLAGS"
32083   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32084
32085
32086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32087 $as_echo_n "checking for strtold declaration... " >&6; }
32088   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32089     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32090   $as_echo_n "(cached) " >&6
32091 else
32092
32093
32094       ac_ext=cpp
32095 ac_cpp='$CXXCPP $CPPFLAGS'
32096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32099
32100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32101 /* end confdefs.h.  */
32102 #include <stdlib.h>
32103 int
32104 main ()
32105 {
32106  strtold(0, 0);
32107   ;
32108   return 0;
32109 }
32110 _ACEOF
32111 if ac_fn_cxx_try_compile "$LINENO"; then :
32112   glibcxx_cv_func_strtold_use=yes
32113 else
32114   glibcxx_cv_func_strtold_use=no
32115 fi
32116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32117       ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32122
32123
32124 fi
32125
32126   fi
32127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32128 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32129   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32130     for ac_func in strtold
32131 do :
32132   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32133 if test "x$ac_cv_func_strtold" = x""yes; then :
32134   cat >>confdefs.h <<_ACEOF
32135 #define HAVE_STRTOLD 1
32136 _ACEOF
32137
32138 fi
32139 done
32140
32141   fi
32142
32143
32144
32145
32146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32147 $as_echo_n "checking for strtof declaration... " >&6; }
32148   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32149     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32150   $as_echo_n "(cached) " >&6
32151 else
32152
32153
32154       ac_ext=cpp
32155 ac_cpp='$CXXCPP $CPPFLAGS'
32156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32159
32160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32161 /* end confdefs.h.  */
32162 #include <stdlib.h>
32163 int
32164 main ()
32165 {
32166  strtof(0, 0);
32167   ;
32168   return 0;
32169 }
32170 _ACEOF
32171 if ac_fn_cxx_try_compile "$LINENO"; then :
32172   glibcxx_cv_func_strtof_use=yes
32173 else
32174   glibcxx_cv_func_strtof_use=no
32175 fi
32176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32177       ac_ext=c
32178 ac_cpp='$CPP $CPPFLAGS'
32179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182
32183
32184 fi
32185
32186   fi
32187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32188 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32189   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32190     for ac_func in strtof
32191 do :
32192   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32193 if test "x$ac_cv_func_strtof" = x""yes; then :
32194   cat >>confdefs.h <<_ACEOF
32195 #define HAVE_STRTOF 1
32196 _ACEOF
32197
32198 fi
32199 done
32200
32201   fi
32202
32203
32204
32205
32206   CXXFLAGS="$ac_save_CXXFLAGS"
32207
32208
32209     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32210
32211     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32212
32213     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32214
32215     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32216
32217
32218     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32219
32220     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32221
32222     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32223
32224     ;;
32225
32226   *-aix*)
32227
32228   # If we're not using GNU ld, then there's no point in even trying these
32229   # tests.  Check for that first.  We should have already tested for gld
32230   # by now (in libtool), but require it now just to be safe...
32231   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32232   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32233
32234
32235
32236   # The name set by libtool depends on the version of libtool.  Shame on us
32237   # for depending on an impl detail, but c'est la vie.  Older versions used
32238   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32239   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32240   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32241   # set (hence we're using an older libtool), then set it.
32242   if test x${with_gnu_ld+set} != xset; then
32243     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32244       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32245       with_gnu_ld=no
32246     else
32247       with_gnu_ld=$ac_cv_prog_gnu_ld
32248     fi
32249   fi
32250
32251   # Start by getting the version number.  I think the libtool test already
32252   # does some of this, but throws away the result.
32253   glibcxx_ld_is_gold=no
32254   if test x"$with_gnu_ld" = x"yes"; then
32255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32256 $as_echo_n "checking for ld version... " >&6; }
32257
32258     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32259       glibcxx_ld_is_gold=yes
32260     fi
32261     ldver=`$LD --version 2>/dev/null |
32262            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
32263
32264     glibcxx_gnu_ld_version=`echo $ldver | \
32265            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32266     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32267 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32268   fi
32269
32270   # Set --gc-sections.
32271   glibcxx_have_gc_sections=no
32272   if test "$glibcxx_ld_is_gold" = "yes"; then
32273     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32274       glibcxx_have_gc_sections=yes
32275     fi
32276   else
32277     glibcxx_gcsections_min_ld=21602
32278     if test x"$with_gnu_ld" = x"yes" &&
32279         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32280       glibcxx_have_gc_sections=yes
32281     fi
32282   fi
32283   if test "$glibcxx_have_gc_sections" = "yes"; then
32284     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32285     # NB: This flag only works reliably after 2.16.1. Configure tests
32286     # for this are difficult, so hard wire a value that should work.
32287
32288     ac_test_CFLAGS="${CFLAGS+set}"
32289     ac_save_CFLAGS="$CFLAGS"
32290     CFLAGS='-Wl,--gc-sections'
32291
32292     # Check for -Wl,--gc-sections
32293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32294 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32295     if test x$gcc_no_link = xyes; then
32296   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32297 fi
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h.  */
32300  int one(void) { return 1; }
32301      int two(void) { return 2; }
32302
32303 int
32304 main ()
32305 {
32306  two();
32307   ;
32308   return 0;
32309 }
32310 _ACEOF
32311 if ac_fn_c_try_link "$LINENO"; then :
32312   ac_gcsections=yes
32313 else
32314   ac_gcsections=no
32315 fi
32316 rm -f core conftest.err conftest.$ac_objext \
32317     conftest$ac_exeext conftest.$ac_ext
32318     if test "$ac_gcsections" = "yes"; then
32319       rm -f conftest.c
32320       touch conftest.c
32321       if $CC -c conftest.c; then
32322         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32323            grep "Warning: gc-sections option ignored" > /dev/null; then
32324           ac_gcsections=no
32325         fi
32326       fi
32327       rm -f conftest.c conftest.o conftest
32328     fi
32329     if test "$ac_gcsections" = "yes"; then
32330       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32331     fi
32332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32333 $as_echo "$ac_gcsections" >&6; }
32334
32335     if test "$ac_test_CFLAGS" = set; then
32336       CFLAGS="$ac_save_CFLAGS"
32337     else
32338       # this is the suspicious part
32339       CFLAGS=''
32340     fi
32341   fi
32342
32343   # Set -z,relro.
32344   # Note this is only for shared objects.
32345   ac_ld_relro=no
32346   if test x"$with_gnu_ld" = x"yes"; then
32347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32348 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32349     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32350     if test -n "$cxx_z_relo"; then
32351       OPT_LDFLAGS="-Wl,-z,relro"
32352       ac_ld_relro=yes
32353     fi
32354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32355 $as_echo "$ac_ld_relro" >&6; }
32356   fi
32357
32358   # Set linker optimization flags.
32359   if test x"$with_gnu_ld" = x"yes"; then
32360     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32361   fi
32362
32363
32364
32365
32366
32367   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32368   ac_save_CXXFLAGS="$CXXFLAGS"
32369   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32370
32371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32372 $as_echo_n "checking for sin in -lm... " >&6; }
32373 if test "${ac_cv_lib_m_sin+set}" = set; then :
32374   $as_echo_n "(cached) " >&6
32375 else
32376   ac_check_lib_save_LIBS=$LIBS
32377 LIBS="-lm  $LIBS"
32378 if test x$gcc_no_link = xyes; then
32379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32380 fi
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h.  */
32383
32384 /* Override any GCC internal prototype to avoid an error.
32385    Use char because int might match the return type of a GCC
32386    builtin and then its argument prototype would still apply.  */
32387 #ifdef __cplusplus
32388 extern "C"
32389 #endif
32390 char sin ();
32391 int
32392 main ()
32393 {
32394 return sin ();
32395   ;
32396   return 0;
32397 }
32398 _ACEOF
32399 if ac_fn_c_try_link "$LINENO"; then :
32400   ac_cv_lib_m_sin=yes
32401 else
32402   ac_cv_lib_m_sin=no
32403 fi
32404 rm -f core conftest.err conftest.$ac_objext \
32405     conftest$ac_exeext conftest.$ac_ext
32406 LIBS=$ac_check_lib_save_LIBS
32407 fi
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32409 $as_echo "$ac_cv_lib_m_sin" >&6; }
32410 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32411   libm="-lm"
32412 fi
32413
32414   ac_save_LIBS="$LIBS"
32415   LIBS="$LIBS $libm"
32416
32417
32418
32419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32420 $as_echo_n "checking for isinf declaration... " >&6; }
32421   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32422     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32423   $as_echo_n "(cached) " >&6
32424 else
32425
32426
32427       ac_ext=cpp
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432
32433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32434 /* end confdefs.h.  */
32435 #include <math.h>
32436                       #ifdef HAVE_IEEEFP_H
32437                       #include <ieeefp.h>
32438                       #endif
32439
32440 int
32441 main ()
32442 {
32443  isinf(0);
32444   ;
32445   return 0;
32446 }
32447 _ACEOF
32448 if ac_fn_cxx_try_compile "$LINENO"; then :
32449   glibcxx_cv_func_isinf_use=yes
32450 else
32451   glibcxx_cv_func_isinf_use=no
32452 fi
32453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32454       ac_ext=c
32455 ac_cpp='$CPP $CPPFLAGS'
32456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32459
32460
32461 fi
32462
32463   fi
32464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32465 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32466
32467   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32468     for ac_func in isinf
32469 do :
32470   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32471 if test "x$ac_cv_func_isinf" = x""yes; then :
32472   cat >>confdefs.h <<_ACEOF
32473 #define HAVE_ISINF 1
32474 _ACEOF
32475
32476 fi
32477 done
32478
32479   else
32480
32481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32482 $as_echo_n "checking for _isinf declaration... " >&6; }
32483   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32484     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32485   $as_echo_n "(cached) " >&6
32486 else
32487
32488
32489       ac_ext=cpp
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32494
32495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32496 /* end confdefs.h.  */
32497 #include <math.h>
32498                       #ifdef HAVE_IEEEFP_H
32499                       #include <ieeefp.h>
32500                       #endif
32501
32502 int
32503 main ()
32504 {
32505  _isinf(0);
32506   ;
32507   return 0;
32508 }
32509 _ACEOF
32510 if ac_fn_cxx_try_compile "$LINENO"; then :
32511   glibcxx_cv_func__isinf_use=yes
32512 else
32513   glibcxx_cv_func__isinf_use=no
32514 fi
32515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32516       ac_ext=c
32517 ac_cpp='$CPP $CPPFLAGS'
32518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32521
32522
32523 fi
32524
32525   fi
32526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32527 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32528
32529     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32530       for ac_func in _isinf
32531 do :
32532   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32533 if test "x$ac_cv_func__isinf" = x""yes; then :
32534   cat >>confdefs.h <<_ACEOF
32535 #define HAVE__ISINF 1
32536 _ACEOF
32537
32538 fi
32539 done
32540
32541     fi
32542   fi
32543
32544
32545
32546
32547
32548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32549 $as_echo_n "checking for isnan declaration... " >&6; }
32550   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32551     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32552   $as_echo_n "(cached) " >&6
32553 else
32554
32555
32556       ac_ext=cpp
32557 ac_cpp='$CXXCPP $CPPFLAGS'
32558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32561
32562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32563 /* end confdefs.h.  */
32564 #include <math.h>
32565                       #ifdef HAVE_IEEEFP_H
32566                       #include <ieeefp.h>
32567                       #endif
32568
32569 int
32570 main ()
32571 {
32572  isnan(0);
32573   ;
32574   return 0;
32575 }
32576 _ACEOF
32577 if ac_fn_cxx_try_compile "$LINENO"; then :
32578   glibcxx_cv_func_isnan_use=yes
32579 else
32580   glibcxx_cv_func_isnan_use=no
32581 fi
32582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32583       ac_ext=c
32584 ac_cpp='$CPP $CPPFLAGS'
32585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32588
32589
32590 fi
32591
32592   fi
32593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32594 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32595
32596   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32597     for ac_func in isnan
32598 do :
32599   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32600 if test "x$ac_cv_func_isnan" = x""yes; then :
32601   cat >>confdefs.h <<_ACEOF
32602 #define HAVE_ISNAN 1
32603 _ACEOF
32604
32605 fi
32606 done
32607
32608   else
32609
32610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32611 $as_echo_n "checking for _isnan declaration... " >&6; }
32612   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32613     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32614   $as_echo_n "(cached) " >&6
32615 else
32616
32617
32618       ac_ext=cpp
32619 ac_cpp='$CXXCPP $CPPFLAGS'
32620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32623
32624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32625 /* end confdefs.h.  */
32626 #include <math.h>
32627                       #ifdef HAVE_IEEEFP_H
32628                       #include <ieeefp.h>
32629                       #endif
32630
32631 int
32632 main ()
32633 {
32634  _isnan(0);
32635   ;
32636   return 0;
32637 }
32638 _ACEOF
32639 if ac_fn_cxx_try_compile "$LINENO"; then :
32640   glibcxx_cv_func__isnan_use=yes
32641 else
32642   glibcxx_cv_func__isnan_use=no
32643 fi
32644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32645       ac_ext=c
32646 ac_cpp='$CPP $CPPFLAGS'
32647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32650
32651
32652 fi
32653
32654   fi
32655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32656 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32657
32658     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32659       for ac_func in _isnan
32660 do :
32661   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32662 if test "x$ac_cv_func__isnan" = x""yes; then :
32663   cat >>confdefs.h <<_ACEOF
32664 #define HAVE__ISNAN 1
32665 _ACEOF
32666
32667 fi
32668 done
32669
32670     fi
32671   fi
32672
32673
32674
32675
32676
32677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32678 $as_echo_n "checking for finite declaration... " >&6; }
32679   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32680     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32681   $as_echo_n "(cached) " >&6
32682 else
32683
32684
32685       ac_ext=cpp
32686 ac_cpp='$CXXCPP $CPPFLAGS'
32687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32690
32691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h.  */
32693 #include <math.h>
32694                       #ifdef HAVE_IEEEFP_H
32695                       #include <ieeefp.h>
32696                       #endif
32697
32698 int
32699 main ()
32700 {
32701  finite(0);
32702   ;
32703   return 0;
32704 }
32705 _ACEOF
32706 if ac_fn_cxx_try_compile "$LINENO"; then :
32707   glibcxx_cv_func_finite_use=yes
32708 else
32709   glibcxx_cv_func_finite_use=no
32710 fi
32711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32712       ac_ext=c
32713 ac_cpp='$CPP $CPPFLAGS'
32714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32717
32718
32719 fi
32720
32721   fi
32722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32723 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32724
32725   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32726     for ac_func in finite
32727 do :
32728   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32729 if test "x$ac_cv_func_finite" = x""yes; then :
32730   cat >>confdefs.h <<_ACEOF
32731 #define HAVE_FINITE 1
32732 _ACEOF
32733
32734 fi
32735 done
32736
32737   else
32738
32739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32740 $as_echo_n "checking for _finite declaration... " >&6; }
32741   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32742     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32743   $as_echo_n "(cached) " >&6
32744 else
32745
32746
32747       ac_ext=cpp
32748 ac_cpp='$CXXCPP $CPPFLAGS'
32749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32752
32753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754 /* end confdefs.h.  */
32755 #include <math.h>
32756                       #ifdef HAVE_IEEEFP_H
32757                       #include <ieeefp.h>
32758                       #endif
32759
32760 int
32761 main ()
32762 {
32763  _finite(0);
32764   ;
32765   return 0;
32766 }
32767 _ACEOF
32768 if ac_fn_cxx_try_compile "$LINENO"; then :
32769   glibcxx_cv_func__finite_use=yes
32770 else
32771   glibcxx_cv_func__finite_use=no
32772 fi
32773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32774       ac_ext=c
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32779
32780
32781 fi
32782
32783   fi
32784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32785 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32786
32787     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32788       for ac_func in _finite
32789 do :
32790   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32791 if test "x$ac_cv_func__finite" = x""yes; then :
32792   cat >>confdefs.h <<_ACEOF
32793 #define HAVE__FINITE 1
32794 _ACEOF
32795
32796 fi
32797 done
32798
32799     fi
32800   fi
32801
32802
32803
32804
32805
32806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32807 $as_echo_n "checking for sincos declaration... " >&6; }
32808   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32809     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32810   $as_echo_n "(cached) " >&6
32811 else
32812
32813
32814       ac_ext=cpp
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819
32820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h.  */
32822 #include <math.h>
32823 int
32824 main ()
32825 {
32826  sincos(0, 0, 0);
32827   ;
32828   return 0;
32829 }
32830 _ACEOF
32831 if ac_fn_cxx_try_compile "$LINENO"; then :
32832   glibcxx_cv_func_sincos_use=yes
32833 else
32834   glibcxx_cv_func_sincos_use=no
32835 fi
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837       ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842
32843
32844 fi
32845
32846   fi
32847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32848 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32849
32850   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32851     for ac_func in sincos
32852 do :
32853   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32854 if test "x$ac_cv_func_sincos" = x""yes; then :
32855   cat >>confdefs.h <<_ACEOF
32856 #define HAVE_SINCOS 1
32857 _ACEOF
32858
32859 fi
32860 done
32861
32862   else
32863
32864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32865 $as_echo_n "checking for _sincos declaration... " >&6; }
32866   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32867     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32868   $as_echo_n "(cached) " >&6
32869 else
32870
32871
32872       ac_ext=cpp
32873 ac_cpp='$CXXCPP $CPPFLAGS'
32874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32877
32878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879 /* end confdefs.h.  */
32880 #include <math.h>
32881 int
32882 main ()
32883 {
32884  _sincos(0, 0, 0);
32885   ;
32886   return 0;
32887 }
32888 _ACEOF
32889 if ac_fn_cxx_try_compile "$LINENO"; then :
32890   glibcxx_cv_func__sincos_use=yes
32891 else
32892   glibcxx_cv_func__sincos_use=no
32893 fi
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32895       ac_ext=c
32896 ac_cpp='$CPP $CPPFLAGS'
32897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32900
32901
32902 fi
32903
32904   fi
32905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32906 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32907
32908     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32909       for ac_func in _sincos
32910 do :
32911   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32912 if test "x$ac_cv_func__sincos" = x""yes; then :
32913   cat >>confdefs.h <<_ACEOF
32914 #define HAVE__SINCOS 1
32915 _ACEOF
32916
32917 fi
32918 done
32919
32920     fi
32921   fi
32922
32923
32924
32925
32926
32927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32928 $as_echo_n "checking for fpclass declaration... " >&6; }
32929   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32930     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32931   $as_echo_n "(cached) " >&6
32932 else
32933
32934
32935       ac_ext=cpp
32936 ac_cpp='$CXXCPP $CPPFLAGS'
32937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32940
32941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32942 /* end confdefs.h.  */
32943 #include <math.h>
32944                       #ifdef HAVE_IEEEFP_H
32945                       #include <ieeefp.h>
32946                       #endif
32947
32948 int
32949 main ()
32950 {
32951  fpclass(0);
32952   ;
32953   return 0;
32954 }
32955 _ACEOF
32956 if ac_fn_cxx_try_compile "$LINENO"; then :
32957   glibcxx_cv_func_fpclass_use=yes
32958 else
32959   glibcxx_cv_func_fpclass_use=no
32960 fi
32961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32962       ac_ext=c
32963 ac_cpp='$CPP $CPPFLAGS'
32964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32967
32968
32969 fi
32970
32971   fi
32972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32973 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32974
32975   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32976     for ac_func in fpclass
32977 do :
32978   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32979 if test "x$ac_cv_func_fpclass" = x""yes; then :
32980   cat >>confdefs.h <<_ACEOF
32981 #define HAVE_FPCLASS 1
32982 _ACEOF
32983
32984 fi
32985 done
32986
32987   else
32988
32989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32990 $as_echo_n "checking for _fpclass declaration... " >&6; }
32991   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32992     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32993   $as_echo_n "(cached) " >&6
32994 else
32995
32996
32997       ac_ext=cpp
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33002
33003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004 /* end confdefs.h.  */
33005 #include <math.h>
33006                       #ifdef HAVE_IEEEFP_H
33007                       #include <ieeefp.h>
33008                       #endif
33009
33010 int
33011 main ()
33012 {
33013  _fpclass(0);
33014   ;
33015   return 0;
33016 }
33017 _ACEOF
33018 if ac_fn_cxx_try_compile "$LINENO"; then :
33019   glibcxx_cv_func__fpclass_use=yes
33020 else
33021   glibcxx_cv_func__fpclass_use=no
33022 fi
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024       ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33029
33030
33031 fi
33032
33033   fi
33034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33035 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33036
33037     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33038       for ac_func in _fpclass
33039 do :
33040   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33041 if test "x$ac_cv_func__fpclass" = x""yes; then :
33042   cat >>confdefs.h <<_ACEOF
33043 #define HAVE__FPCLASS 1
33044 _ACEOF
33045
33046 fi
33047 done
33048
33049     fi
33050   fi
33051
33052
33053
33054
33055
33056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33057 $as_echo_n "checking for qfpclass declaration... " >&6; }
33058   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33059     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33060   $as_echo_n "(cached) " >&6
33061 else
33062
33063
33064       ac_ext=cpp
33065 ac_cpp='$CXXCPP $CPPFLAGS'
33066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33069
33070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33071 /* end confdefs.h.  */
33072 #include <math.h>
33073                       #ifdef HAVE_IEEEFP_H
33074                       #include <ieeefp.h>
33075                       #endif
33076
33077 int
33078 main ()
33079 {
33080  qfpclass(0);
33081   ;
33082   return 0;
33083 }
33084 _ACEOF
33085 if ac_fn_cxx_try_compile "$LINENO"; then :
33086   glibcxx_cv_func_qfpclass_use=yes
33087 else
33088   glibcxx_cv_func_qfpclass_use=no
33089 fi
33090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33091       ac_ext=c
33092 ac_cpp='$CPP $CPPFLAGS'
33093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33096
33097
33098 fi
33099
33100   fi
33101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33102 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33103
33104   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33105     for ac_func in qfpclass
33106 do :
33107   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33108 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33109   cat >>confdefs.h <<_ACEOF
33110 #define HAVE_QFPCLASS 1
33111 _ACEOF
33112
33113 fi
33114 done
33115
33116   else
33117
33118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33119 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33120   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33121     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33122   $as_echo_n "(cached) " >&6
33123 else
33124
33125
33126       ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33131
33132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h.  */
33134 #include <math.h>
33135                       #ifdef HAVE_IEEEFP_H
33136                       #include <ieeefp.h>
33137                       #endif
33138
33139 int
33140 main ()
33141 {
33142  _qfpclass(0);
33143   ;
33144   return 0;
33145 }
33146 _ACEOF
33147 if ac_fn_cxx_try_compile "$LINENO"; then :
33148   glibcxx_cv_func__qfpclass_use=yes
33149 else
33150   glibcxx_cv_func__qfpclass_use=no
33151 fi
33152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33153       ac_ext=c
33154 ac_cpp='$CPP $CPPFLAGS'
33155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33158
33159
33160 fi
33161
33162   fi
33163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33164 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33165
33166     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33167       for ac_func in _qfpclass
33168 do :
33169   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33170 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33171   cat >>confdefs.h <<_ACEOF
33172 #define HAVE__QFPCLASS 1
33173 _ACEOF
33174
33175 fi
33176 done
33177
33178     fi
33179   fi
33180
33181
33182
33183
33184
33185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33186 $as_echo_n "checking for hypot declaration... " >&6; }
33187   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33188     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33189   $as_echo_n "(cached) " >&6
33190 else
33191
33192
33193       ac_ext=cpp
33194 ac_cpp='$CXXCPP $CPPFLAGS'
33195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33198
33199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33200 /* end confdefs.h.  */
33201 #include <math.h>
33202 int
33203 main ()
33204 {
33205  hypot(0, 0);
33206   ;
33207   return 0;
33208 }
33209 _ACEOF
33210 if ac_fn_cxx_try_compile "$LINENO"; then :
33211   glibcxx_cv_func_hypot_use=yes
33212 else
33213   glibcxx_cv_func_hypot_use=no
33214 fi
33215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33216       ac_ext=c
33217 ac_cpp='$CPP $CPPFLAGS'
33218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221
33222
33223 fi
33224
33225   fi
33226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33227 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33228
33229   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33230     for ac_func in hypot
33231 do :
33232   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33233 if test "x$ac_cv_func_hypot" = x""yes; then :
33234   cat >>confdefs.h <<_ACEOF
33235 #define HAVE_HYPOT 1
33236 _ACEOF
33237
33238 fi
33239 done
33240
33241   else
33242
33243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33244 $as_echo_n "checking for _hypot declaration... " >&6; }
33245   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33246     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33247   $as_echo_n "(cached) " >&6
33248 else
33249
33250
33251       ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33256
33257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h.  */
33259 #include <math.h>
33260 int
33261 main ()
33262 {
33263  _hypot(0, 0);
33264   ;
33265   return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269   glibcxx_cv_func__hypot_use=yes
33270 else
33271   glibcxx_cv_func__hypot_use=no
33272 fi
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274       ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33279
33280
33281 fi
33282
33283   fi
33284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33285 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33286
33287     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33288       for ac_func in _hypot
33289 do :
33290   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33291 if test "x$ac_cv_func__hypot" = x""yes; then :
33292   cat >>confdefs.h <<_ACEOF
33293 #define HAVE__HYPOT 1
33294 _ACEOF
33295
33296 fi
33297 done
33298
33299     fi
33300   fi
33301
33302
33303
33304
33305
33306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33307 $as_echo_n "checking for float trig functions... " >&6; }
33308   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33309   $as_echo_n "(cached) " >&6
33310 else
33311
33312
33313     ac_ext=cpp
33314 ac_cpp='$CXXCPP $CPPFLAGS'
33315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318
33319     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h.  */
33321 #include <math.h>
33322 int
33323 main ()
33324 {
33325 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33326   ;
33327   return 0;
33328 }
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331   glibcxx_cv_func_float_trig_use=yes
33332 else
33333   glibcxx_cv_func_float_trig_use=no
33334 fi
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336     ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33341
33342 fi
33343
33344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33345 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33346   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33347     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33348 do :
33349   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33351 eval as_val=\$$as_ac_var
33352    if test "x$as_val" = x""yes; then :
33353   cat >>confdefs.h <<_ACEOF
33354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33355 _ACEOF
33356
33357 fi
33358 done
33359
33360   else
33361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33362 $as_echo_n "checking for _float trig functions... " >&6; }
33363     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33364   $as_echo_n "(cached) " >&6
33365 else
33366
33367
33368       ac_ext=cpp
33369 ac_cpp='$CXXCPP $CPPFLAGS'
33370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33373
33374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33375 /* end confdefs.h.  */
33376 #include <math.h>
33377 int
33378 main ()
33379 {
33380 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33381   ;
33382   return 0;
33383 }
33384 _ACEOF
33385 if ac_fn_cxx_try_compile "$LINENO"; then :
33386   glibcxx_cv_func__float_trig_use=yes
33387 else
33388   glibcxx_cv_func__float_trig_use=no
33389 fi
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391       ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33396
33397 fi
33398
33399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33400 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33401     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33402       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33403 do :
33404   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33406 eval as_val=\$$as_ac_var
33407    if test "x$as_val" = x""yes; then :
33408   cat >>confdefs.h <<_ACEOF
33409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33410 _ACEOF
33411
33412 fi
33413 done
33414
33415     fi
33416   fi
33417
33418
33419
33420
33421
33422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33423 $as_echo_n "checking for float round functions... " >&6; }
33424   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33425   $as_echo_n "(cached) " >&6
33426 else
33427
33428
33429     ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33434
33435     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h.  */
33437 #include <math.h>
33438 int
33439 main ()
33440 {
33441 ceilf (0); floorf (0);
33442   ;
33443   return 0;
33444 }
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447   glibcxx_cv_func_float_round_use=yes
33448 else
33449   glibcxx_cv_func_float_round_use=no
33450 fi
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452     ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457
33458 fi
33459
33460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33461 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33462   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33463     for ac_func in ceilf floorf
33464 do :
33465   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33467 eval as_val=\$$as_ac_var
33468    if test "x$as_val" = x""yes; then :
33469   cat >>confdefs.h <<_ACEOF
33470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33471 _ACEOF
33472
33473 fi
33474 done
33475
33476   else
33477     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33478 $as_echo_n "checking for _float round functions... " >&6; }
33479     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33480   $as_echo_n "(cached) " >&6
33481 else
33482
33483
33484       ac_ext=cpp
33485 ac_cpp='$CXXCPP $CPPFLAGS'
33486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33489
33490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33491 /* end confdefs.h.  */
33492 #include <math.h>
33493 int
33494 main ()
33495 {
33496 _ceilf (0); _floorf (0);
33497   ;
33498   return 0;
33499 }
33500 _ACEOF
33501 if ac_fn_cxx_try_compile "$LINENO"; then :
33502   glibcxx_cv_func__float_round_use=yes
33503 else
33504   glibcxx_cv_func__float_round_use=no
33505 fi
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507       ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512
33513 fi
33514
33515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33516 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33517     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33518       for ac_func in _ceilf _floorf
33519 do :
33520   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33522 eval as_val=\$$as_ac_var
33523    if test "x$as_val" = x""yes; then :
33524   cat >>confdefs.h <<_ACEOF
33525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33526 _ACEOF
33527
33528 fi
33529 done
33530
33531     fi
33532   fi
33533
33534
33535
33536
33537
33538
33539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33540 $as_echo_n "checking for expf declaration... " >&6; }
33541   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33542     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33543   $as_echo_n "(cached) " >&6
33544 else
33545
33546
33547       ac_ext=cpp
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33552
33553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33554 /* end confdefs.h.  */
33555 #include <math.h>
33556                       #ifdef HAVE_IEEEFP_H
33557                       #include <ieeefp.h>
33558                       #endif
33559
33560 int
33561 main ()
33562 {
33563  expf(0);
33564   ;
33565   return 0;
33566 }
33567 _ACEOF
33568 if ac_fn_cxx_try_compile "$LINENO"; then :
33569   glibcxx_cv_func_expf_use=yes
33570 else
33571   glibcxx_cv_func_expf_use=no
33572 fi
33573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33574       ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33579
33580
33581 fi
33582
33583   fi
33584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33585 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33586
33587   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33588     for ac_func in expf
33589 do :
33590   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33591 if test "x$ac_cv_func_expf" = x""yes; then :
33592   cat >>confdefs.h <<_ACEOF
33593 #define HAVE_EXPF 1
33594 _ACEOF
33595
33596 fi
33597 done
33598
33599   else
33600
33601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33602 $as_echo_n "checking for _expf declaration... " >&6; }
33603   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33604     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33605   $as_echo_n "(cached) " >&6
33606 else
33607
33608
33609       ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33614
33615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33616 /* end confdefs.h.  */
33617 #include <math.h>
33618                       #ifdef HAVE_IEEEFP_H
33619                       #include <ieeefp.h>
33620                       #endif
33621
33622 int
33623 main ()
33624 {
33625  _expf(0);
33626   ;
33627   return 0;
33628 }
33629 _ACEOF
33630 if ac_fn_cxx_try_compile "$LINENO"; then :
33631   glibcxx_cv_func__expf_use=yes
33632 else
33633   glibcxx_cv_func__expf_use=no
33634 fi
33635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33636       ac_ext=c
33637 ac_cpp='$CPP $CPPFLAGS'
33638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33641
33642
33643 fi
33644
33645   fi
33646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33647 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33648
33649     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33650       for ac_func in _expf
33651 do :
33652   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33653 if test "x$ac_cv_func__expf" = x""yes; then :
33654   cat >>confdefs.h <<_ACEOF
33655 #define HAVE__EXPF 1
33656 _ACEOF
33657
33658 fi
33659 done
33660
33661     fi
33662   fi
33663
33664
33665
33666
33667
33668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33669 $as_echo_n "checking for isnanf declaration... " >&6; }
33670   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33671     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33672   $as_echo_n "(cached) " >&6
33673 else
33674
33675
33676       ac_ext=cpp
33677 ac_cpp='$CXXCPP $CPPFLAGS'
33678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33681
33682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33683 /* end confdefs.h.  */
33684 #include <math.h>
33685                       #ifdef HAVE_IEEEFP_H
33686                       #include <ieeefp.h>
33687                       #endif
33688
33689 int
33690 main ()
33691 {
33692  isnanf(0);
33693   ;
33694   return 0;
33695 }
33696 _ACEOF
33697 if ac_fn_cxx_try_compile "$LINENO"; then :
33698   glibcxx_cv_func_isnanf_use=yes
33699 else
33700   glibcxx_cv_func_isnanf_use=no
33701 fi
33702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703       ac_ext=c
33704 ac_cpp='$CPP $CPPFLAGS'
33705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33708
33709
33710 fi
33711
33712   fi
33713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33714 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33715
33716   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33717     for ac_func in isnanf
33718 do :
33719   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33720 if test "x$ac_cv_func_isnanf" = x""yes; then :
33721   cat >>confdefs.h <<_ACEOF
33722 #define HAVE_ISNANF 1
33723 _ACEOF
33724
33725 fi
33726 done
33727
33728   else
33729
33730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33731 $as_echo_n "checking for _isnanf declaration... " >&6; }
33732   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33733     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33734   $as_echo_n "(cached) " >&6
33735 else
33736
33737
33738       ac_ext=cpp
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743
33744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33745 /* end confdefs.h.  */
33746 #include <math.h>
33747                       #ifdef HAVE_IEEEFP_H
33748                       #include <ieeefp.h>
33749                       #endif
33750
33751 int
33752 main ()
33753 {
33754  _isnanf(0);
33755   ;
33756   return 0;
33757 }
33758 _ACEOF
33759 if ac_fn_cxx_try_compile "$LINENO"; then :
33760   glibcxx_cv_func__isnanf_use=yes
33761 else
33762   glibcxx_cv_func__isnanf_use=no
33763 fi
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765       ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33770
33771
33772 fi
33773
33774   fi
33775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33776 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33777
33778     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33779       for ac_func in _isnanf
33780 do :
33781   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33782 if test "x$ac_cv_func__isnanf" = x""yes; then :
33783   cat >>confdefs.h <<_ACEOF
33784 #define HAVE__ISNANF 1
33785 _ACEOF
33786
33787 fi
33788 done
33789
33790     fi
33791   fi
33792
33793
33794
33795
33796
33797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33798 $as_echo_n "checking for isinff declaration... " >&6; }
33799   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33800     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33801   $as_echo_n "(cached) " >&6
33802 else
33803
33804
33805       ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33810
33811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h.  */
33813 #include <math.h>
33814                       #ifdef HAVE_IEEEFP_H
33815                       #include <ieeefp.h>
33816                       #endif
33817
33818 int
33819 main ()
33820 {
33821  isinff(0);
33822   ;
33823   return 0;
33824 }
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827   glibcxx_cv_func_isinff_use=yes
33828 else
33829   glibcxx_cv_func_isinff_use=no
33830 fi
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832       ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33837
33838
33839 fi
33840
33841   fi
33842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33843 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33844
33845   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33846     for ac_func in isinff
33847 do :
33848   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33849 if test "x$ac_cv_func_isinff" = x""yes; then :
33850   cat >>confdefs.h <<_ACEOF
33851 #define HAVE_ISINFF 1
33852 _ACEOF
33853
33854 fi
33855 done
33856
33857   else
33858
33859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33860 $as_echo_n "checking for _isinff declaration... " >&6; }
33861   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33862     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33863   $as_echo_n "(cached) " >&6
33864 else
33865
33866
33867       ac_ext=cpp
33868 ac_cpp='$CXXCPP $CPPFLAGS'
33869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33872
33873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33874 /* end confdefs.h.  */
33875 #include <math.h>
33876                       #ifdef HAVE_IEEEFP_H
33877                       #include <ieeefp.h>
33878                       #endif
33879
33880 int
33881 main ()
33882 {
33883  _isinff(0);
33884   ;
33885   return 0;
33886 }
33887 _ACEOF
33888 if ac_fn_cxx_try_compile "$LINENO"; then :
33889   glibcxx_cv_func__isinff_use=yes
33890 else
33891   glibcxx_cv_func__isinff_use=no
33892 fi
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894       ac_ext=c
33895 ac_cpp='$CPP $CPPFLAGS'
33896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33899
33900
33901 fi
33902
33903   fi
33904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33905 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33906
33907     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33908       for ac_func in _isinff
33909 do :
33910   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33911 if test "x$ac_cv_func__isinff" = x""yes; then :
33912   cat >>confdefs.h <<_ACEOF
33913 #define HAVE__ISINFF 1
33914 _ACEOF
33915
33916 fi
33917 done
33918
33919     fi
33920   fi
33921
33922
33923
33924
33925
33926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33927 $as_echo_n "checking for atan2f declaration... " >&6; }
33928   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33929     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33930   $as_echo_n "(cached) " >&6
33931 else
33932
33933
33934       ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33939
33940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h.  */
33942 #include <math.h>
33943 int
33944 main ()
33945 {
33946  atan2f(0, 0);
33947   ;
33948   return 0;
33949 }
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952   glibcxx_cv_func_atan2f_use=yes
33953 else
33954   glibcxx_cv_func_atan2f_use=no
33955 fi
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957       ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33962
33963
33964 fi
33965
33966   fi
33967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33968 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33969
33970   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33971     for ac_func in atan2f
33972 do :
33973   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33974 if test "x$ac_cv_func_atan2f" = x""yes; then :
33975   cat >>confdefs.h <<_ACEOF
33976 #define HAVE_ATAN2F 1
33977 _ACEOF
33978
33979 fi
33980 done
33981
33982   else
33983
33984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33985 $as_echo_n "checking for _atan2f declaration... " >&6; }
33986   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33987     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33988   $as_echo_n "(cached) " >&6
33989 else
33990
33991
33992       ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997
33998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h.  */
34000 #include <math.h>
34001 int
34002 main ()
34003 {
34004  _atan2f(0, 0);
34005   ;
34006   return 0;
34007 }
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010   glibcxx_cv_func__atan2f_use=yes
34011 else
34012   glibcxx_cv_func__atan2f_use=no
34013 fi
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015       ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34020
34021
34022 fi
34023
34024   fi
34025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34026 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34027
34028     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34029       for ac_func in _atan2f
34030 do :
34031   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34032 if test "x$ac_cv_func__atan2f" = x""yes; then :
34033   cat >>confdefs.h <<_ACEOF
34034 #define HAVE__ATAN2F 1
34035 _ACEOF
34036
34037 fi
34038 done
34039
34040     fi
34041   fi
34042
34043
34044
34045
34046
34047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34048 $as_echo_n "checking for fabsf declaration... " >&6; }
34049   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34050     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34051   $as_echo_n "(cached) " >&6
34052 else
34053
34054
34055       ac_ext=cpp
34056 ac_cpp='$CXXCPP $CPPFLAGS'
34057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34060
34061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34062 /* end confdefs.h.  */
34063 #include <math.h>
34064                       #ifdef HAVE_IEEEFP_H
34065                       #include <ieeefp.h>
34066                       #endif
34067
34068 int
34069 main ()
34070 {
34071  fabsf(0);
34072   ;
34073   return 0;
34074 }
34075 _ACEOF
34076 if ac_fn_cxx_try_compile "$LINENO"; then :
34077   glibcxx_cv_func_fabsf_use=yes
34078 else
34079   glibcxx_cv_func_fabsf_use=no
34080 fi
34081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34082       ac_ext=c
34083 ac_cpp='$CPP $CPPFLAGS'
34084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34087
34088
34089 fi
34090
34091   fi
34092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34093 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34094
34095   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34096     for ac_func in fabsf
34097 do :
34098   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34099 if test "x$ac_cv_func_fabsf" = x""yes; then :
34100   cat >>confdefs.h <<_ACEOF
34101 #define HAVE_FABSF 1
34102 _ACEOF
34103
34104 fi
34105 done
34106
34107   else
34108
34109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34110 $as_echo_n "checking for _fabsf declaration... " >&6; }
34111   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34112     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34113   $as_echo_n "(cached) " >&6
34114 else
34115
34116
34117       ac_ext=cpp
34118 ac_cpp='$CXXCPP $CPPFLAGS'
34119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34122
34123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34124 /* end confdefs.h.  */
34125 #include <math.h>
34126                       #ifdef HAVE_IEEEFP_H
34127                       #include <ieeefp.h>
34128                       #endif
34129
34130 int
34131 main ()
34132 {
34133  _fabsf(0);
34134   ;
34135   return 0;
34136 }
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139   glibcxx_cv_func__fabsf_use=yes
34140 else
34141   glibcxx_cv_func__fabsf_use=no
34142 fi
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144       ac_ext=c
34145 ac_cpp='$CPP $CPPFLAGS'
34146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34149
34150
34151 fi
34152
34153   fi
34154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34155 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34156
34157     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34158       for ac_func in _fabsf
34159 do :
34160   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34161 if test "x$ac_cv_func__fabsf" = x""yes; then :
34162   cat >>confdefs.h <<_ACEOF
34163 #define HAVE__FABSF 1
34164 _ACEOF
34165
34166 fi
34167 done
34168
34169     fi
34170   fi
34171
34172
34173
34174
34175
34176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34177 $as_echo_n "checking for fmodf declaration... " >&6; }
34178   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34179     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34180   $as_echo_n "(cached) " >&6
34181 else
34182
34183
34184       ac_ext=cpp
34185 ac_cpp='$CXXCPP $CPPFLAGS'
34186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34189
34190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34191 /* end confdefs.h.  */
34192 #include <math.h>
34193 int
34194 main ()
34195 {
34196  fmodf(0, 0);
34197   ;
34198   return 0;
34199 }
34200 _ACEOF
34201 if ac_fn_cxx_try_compile "$LINENO"; then :
34202   glibcxx_cv_func_fmodf_use=yes
34203 else
34204   glibcxx_cv_func_fmodf_use=no
34205 fi
34206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34207       ac_ext=c
34208 ac_cpp='$CPP $CPPFLAGS'
34209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34212
34213
34214 fi
34215
34216   fi
34217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34218 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34219
34220   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34221     for ac_func in fmodf
34222 do :
34223   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34224 if test "x$ac_cv_func_fmodf" = x""yes; then :
34225   cat >>confdefs.h <<_ACEOF
34226 #define HAVE_FMODF 1
34227 _ACEOF
34228
34229 fi
34230 done
34231
34232   else
34233
34234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34235 $as_echo_n "checking for _fmodf declaration... " >&6; }
34236   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34237     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34238   $as_echo_n "(cached) " >&6
34239 else
34240
34241
34242       ac_ext=cpp
34243 ac_cpp='$CXXCPP $CPPFLAGS'
34244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34247
34248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249 /* end confdefs.h.  */
34250 #include <math.h>
34251 int
34252 main ()
34253 {
34254  _fmodf(0, 0);
34255   ;
34256   return 0;
34257 }
34258 _ACEOF
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260   glibcxx_cv_func__fmodf_use=yes
34261 else
34262   glibcxx_cv_func__fmodf_use=no
34263 fi
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265       ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34270
34271
34272 fi
34273
34274   fi
34275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34276 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34277
34278     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34279       for ac_func in _fmodf
34280 do :
34281   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34282 if test "x$ac_cv_func__fmodf" = x""yes; then :
34283   cat >>confdefs.h <<_ACEOF
34284 #define HAVE__FMODF 1
34285 _ACEOF
34286
34287 fi
34288 done
34289
34290     fi
34291   fi
34292
34293
34294
34295
34296
34297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34298 $as_echo_n "checking for frexpf declaration... " >&6; }
34299   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34300     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34301   $as_echo_n "(cached) " >&6
34302 else
34303
34304
34305       ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34310
34311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h.  */
34313 #include <math.h>
34314 int
34315 main ()
34316 {
34317  frexpf(0, 0);
34318   ;
34319   return 0;
34320 }
34321 _ACEOF
34322 if ac_fn_cxx_try_compile "$LINENO"; then :
34323   glibcxx_cv_func_frexpf_use=yes
34324 else
34325   glibcxx_cv_func_frexpf_use=no
34326 fi
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328       ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34333
34334
34335 fi
34336
34337   fi
34338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34339 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34340
34341   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34342     for ac_func in frexpf
34343 do :
34344   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34345 if test "x$ac_cv_func_frexpf" = x""yes; then :
34346   cat >>confdefs.h <<_ACEOF
34347 #define HAVE_FREXPF 1
34348 _ACEOF
34349
34350 fi
34351 done
34352
34353   else
34354
34355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34356 $as_echo_n "checking for _frexpf declaration... " >&6; }
34357   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34358     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34359   $as_echo_n "(cached) " >&6
34360 else
34361
34362
34363       ac_ext=cpp
34364 ac_cpp='$CXXCPP $CPPFLAGS'
34365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34368
34369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34370 /* end confdefs.h.  */
34371 #include <math.h>
34372 int
34373 main ()
34374 {
34375  _frexpf(0, 0);
34376   ;
34377   return 0;
34378 }
34379 _ACEOF
34380 if ac_fn_cxx_try_compile "$LINENO"; then :
34381   glibcxx_cv_func__frexpf_use=yes
34382 else
34383   glibcxx_cv_func__frexpf_use=no
34384 fi
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386       ac_ext=c
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34391
34392
34393 fi
34394
34395   fi
34396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34397 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34398
34399     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34400       for ac_func in _frexpf
34401 do :
34402   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34403 if test "x$ac_cv_func__frexpf" = x""yes; then :
34404   cat >>confdefs.h <<_ACEOF
34405 #define HAVE__FREXPF 1
34406 _ACEOF
34407
34408 fi
34409 done
34410
34411     fi
34412   fi
34413
34414
34415
34416
34417
34418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34419 $as_echo_n "checking for hypotf declaration... " >&6; }
34420   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34421     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34422   $as_echo_n "(cached) " >&6
34423 else
34424
34425
34426       ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34431
34432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h.  */
34434 #include <math.h>
34435 int
34436 main ()
34437 {
34438  hypotf(0, 0);
34439   ;
34440   return 0;
34441 }
34442 _ACEOF
34443 if ac_fn_cxx_try_compile "$LINENO"; then :
34444   glibcxx_cv_func_hypotf_use=yes
34445 else
34446   glibcxx_cv_func_hypotf_use=no
34447 fi
34448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34449       ac_ext=c
34450 ac_cpp='$CPP $CPPFLAGS'
34451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34454
34455
34456 fi
34457
34458   fi
34459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34460 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34461
34462   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34463     for ac_func in hypotf
34464 do :
34465   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34466 if test "x$ac_cv_func_hypotf" = x""yes; then :
34467   cat >>confdefs.h <<_ACEOF
34468 #define HAVE_HYPOTF 1
34469 _ACEOF
34470
34471 fi
34472 done
34473
34474   else
34475
34476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34477 $as_echo_n "checking for _hypotf declaration... " >&6; }
34478   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34479     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34480   $as_echo_n "(cached) " >&6
34481 else
34482
34483
34484       ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489
34490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h.  */
34492 #include <math.h>
34493 int
34494 main ()
34495 {
34496  _hypotf(0, 0);
34497   ;
34498   return 0;
34499 }
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502   glibcxx_cv_func__hypotf_use=yes
34503 else
34504   glibcxx_cv_func__hypotf_use=no
34505 fi
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507       ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512
34513
34514 fi
34515
34516   fi
34517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34518 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34519
34520     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34521       for ac_func in _hypotf
34522 do :
34523   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34524 if test "x$ac_cv_func__hypotf" = x""yes; then :
34525   cat >>confdefs.h <<_ACEOF
34526 #define HAVE__HYPOTF 1
34527 _ACEOF
34528
34529 fi
34530 done
34531
34532     fi
34533   fi
34534
34535
34536
34537
34538
34539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34540 $as_echo_n "checking for ldexpf declaration... " >&6; }
34541   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34542     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34543   $as_echo_n "(cached) " >&6
34544 else
34545
34546
34547       ac_ext=cpp
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34552
34553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34554 /* end confdefs.h.  */
34555 #include <math.h>
34556 int
34557 main ()
34558 {
34559  ldexpf(0, 0);
34560   ;
34561   return 0;
34562 }
34563 _ACEOF
34564 if ac_fn_cxx_try_compile "$LINENO"; then :
34565   glibcxx_cv_func_ldexpf_use=yes
34566 else
34567   glibcxx_cv_func_ldexpf_use=no
34568 fi
34569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34570       ac_ext=c
34571 ac_cpp='$CPP $CPPFLAGS'
34572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34575
34576
34577 fi
34578
34579   fi
34580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34581 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34582
34583   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34584     for ac_func in ldexpf
34585 do :
34586   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34587 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34588   cat >>confdefs.h <<_ACEOF
34589 #define HAVE_LDEXPF 1
34590 _ACEOF
34591
34592 fi
34593 done
34594
34595   else
34596
34597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34598 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34599   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34600     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34601   $as_echo_n "(cached) " >&6
34602 else
34603
34604
34605       ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34610
34611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h.  */
34613 #include <math.h>
34614 int
34615 main ()
34616 {
34617  _ldexpf(0, 0);
34618   ;
34619   return 0;
34620 }
34621 _ACEOF
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623   glibcxx_cv_func__ldexpf_use=yes
34624 else
34625   glibcxx_cv_func__ldexpf_use=no
34626 fi
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628       ac_ext=c
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34633
34634
34635 fi
34636
34637   fi
34638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34639 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34640
34641     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34642       for ac_func in _ldexpf
34643 do :
34644   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34645 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34646   cat >>confdefs.h <<_ACEOF
34647 #define HAVE__LDEXPF 1
34648 _ACEOF
34649
34650 fi
34651 done
34652
34653     fi
34654   fi
34655
34656
34657
34658
34659
34660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34661 $as_echo_n "checking for logf declaration... " >&6; }
34662   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34663     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34664   $as_echo_n "(cached) " >&6
34665 else
34666
34667
34668       ac_ext=cpp
34669 ac_cpp='$CXXCPP $CPPFLAGS'
34670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34673
34674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h.  */
34676 #include <math.h>
34677                       #ifdef HAVE_IEEEFP_H
34678                       #include <ieeefp.h>
34679                       #endif
34680
34681 int
34682 main ()
34683 {
34684  logf(0);
34685   ;
34686   return 0;
34687 }
34688 _ACEOF
34689 if ac_fn_cxx_try_compile "$LINENO"; then :
34690   glibcxx_cv_func_logf_use=yes
34691 else
34692   glibcxx_cv_func_logf_use=no
34693 fi
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695       ac_ext=c
34696 ac_cpp='$CPP $CPPFLAGS'
34697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34700
34701
34702 fi
34703
34704   fi
34705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34706 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34707
34708   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34709     for ac_func in logf
34710 do :
34711   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34712 if test "x$ac_cv_func_logf" = x""yes; then :
34713   cat >>confdefs.h <<_ACEOF
34714 #define HAVE_LOGF 1
34715 _ACEOF
34716
34717 fi
34718 done
34719
34720   else
34721
34722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34723 $as_echo_n "checking for _logf declaration... " >&6; }
34724   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34725     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34726   $as_echo_n "(cached) " >&6
34727 else
34728
34729
34730       ac_ext=cpp
34731 ac_cpp='$CXXCPP $CPPFLAGS'
34732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34735
34736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34737 /* end confdefs.h.  */
34738 #include <math.h>
34739                       #ifdef HAVE_IEEEFP_H
34740                       #include <ieeefp.h>
34741                       #endif
34742
34743 int
34744 main ()
34745 {
34746  _logf(0);
34747   ;
34748   return 0;
34749 }
34750 _ACEOF
34751 if ac_fn_cxx_try_compile "$LINENO"; then :
34752   glibcxx_cv_func__logf_use=yes
34753 else
34754   glibcxx_cv_func__logf_use=no
34755 fi
34756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34757       ac_ext=c
34758 ac_cpp='$CPP $CPPFLAGS'
34759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34762
34763
34764 fi
34765
34766   fi
34767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34768 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34769
34770     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34771       for ac_func in _logf
34772 do :
34773   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34774 if test "x$ac_cv_func__logf" = x""yes; then :
34775   cat >>confdefs.h <<_ACEOF
34776 #define HAVE__LOGF 1
34777 _ACEOF
34778
34779 fi
34780 done
34781
34782     fi
34783   fi
34784
34785
34786
34787
34788
34789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34790 $as_echo_n "checking for log10f declaration... " >&6; }
34791   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34792     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34793   $as_echo_n "(cached) " >&6
34794 else
34795
34796
34797       ac_ext=cpp
34798 ac_cpp='$CXXCPP $CPPFLAGS'
34799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34802
34803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34804 /* end confdefs.h.  */
34805 #include <math.h>
34806                       #ifdef HAVE_IEEEFP_H
34807                       #include <ieeefp.h>
34808                       #endif
34809
34810 int
34811 main ()
34812 {
34813  log10f(0);
34814   ;
34815   return 0;
34816 }
34817 _ACEOF
34818 if ac_fn_cxx_try_compile "$LINENO"; then :
34819   glibcxx_cv_func_log10f_use=yes
34820 else
34821   glibcxx_cv_func_log10f_use=no
34822 fi
34823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34824       ac_ext=c
34825 ac_cpp='$CPP $CPPFLAGS'
34826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34829
34830
34831 fi
34832
34833   fi
34834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34835 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34836
34837   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34838     for ac_func in log10f
34839 do :
34840   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34841 if test "x$ac_cv_func_log10f" = x""yes; then :
34842   cat >>confdefs.h <<_ACEOF
34843 #define HAVE_LOG10F 1
34844 _ACEOF
34845
34846 fi
34847 done
34848
34849   else
34850
34851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34852 $as_echo_n "checking for _log10f declaration... " >&6; }
34853   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34854     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34855   $as_echo_n "(cached) " >&6
34856 else
34857
34858
34859       ac_ext=cpp
34860 ac_cpp='$CXXCPP $CPPFLAGS'
34861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34864
34865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34866 /* end confdefs.h.  */
34867 #include <math.h>
34868                       #ifdef HAVE_IEEEFP_H
34869                       #include <ieeefp.h>
34870                       #endif
34871
34872 int
34873 main ()
34874 {
34875  _log10f(0);
34876   ;
34877   return 0;
34878 }
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881   glibcxx_cv_func__log10f_use=yes
34882 else
34883   glibcxx_cv_func__log10f_use=no
34884 fi
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886       ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34891
34892
34893 fi
34894
34895   fi
34896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34897 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34898
34899     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34900       for ac_func in _log10f
34901 do :
34902   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34903 if test "x$ac_cv_func__log10f" = x""yes; then :
34904   cat >>confdefs.h <<_ACEOF
34905 #define HAVE__LOG10F 1
34906 _ACEOF
34907
34908 fi
34909 done
34910
34911     fi
34912   fi
34913
34914
34915
34916
34917
34918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34919 $as_echo_n "checking for modff declaration... " >&6; }
34920   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34921     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34922   $as_echo_n "(cached) " >&6
34923 else
34924
34925
34926       ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931
34932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h.  */
34934 #include <math.h>
34935 int
34936 main ()
34937 {
34938  modff(0, 0);
34939   ;
34940   return 0;
34941 }
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944   glibcxx_cv_func_modff_use=yes
34945 else
34946   glibcxx_cv_func_modff_use=no
34947 fi
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949       ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34954
34955
34956 fi
34957
34958   fi
34959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34960 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34961
34962   if test x$glibcxx_cv_func_modff_use = x"yes"; then
34963     for ac_func in modff
34964 do :
34965   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34966 if test "x$ac_cv_func_modff" = x""yes; then :
34967   cat >>confdefs.h <<_ACEOF
34968 #define HAVE_MODFF 1
34969 _ACEOF
34970
34971 fi
34972 done
34973
34974   else
34975
34976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34977 $as_echo_n "checking for _modff declaration... " >&6; }
34978   if test x${glibcxx_cv_func__modff_use+set} != xset; then
34979     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34980   $as_echo_n "(cached) " >&6
34981 else
34982
34983
34984       ac_ext=cpp
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34989
34990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h.  */
34992 #include <math.h>
34993 int
34994 main ()
34995 {
34996  _modff(0, 0);
34997   ;
34998   return 0;
34999 }
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002   glibcxx_cv_func__modff_use=yes
35003 else
35004   glibcxx_cv_func__modff_use=no
35005 fi
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007       ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012
35013
35014 fi
35015
35016   fi
35017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35018 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35019
35020     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35021       for ac_func in _modff
35022 do :
35023   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35024 if test "x$ac_cv_func__modff" = x""yes; then :
35025   cat >>confdefs.h <<_ACEOF
35026 #define HAVE__MODFF 1
35027 _ACEOF
35028
35029 fi
35030 done
35031
35032     fi
35033   fi
35034
35035
35036
35037
35038
35039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35040 $as_echo_n "checking for modf declaration... " >&6; }
35041   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35042     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35043   $as_echo_n "(cached) " >&6
35044 else
35045
35046
35047       ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35052
35053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h.  */
35055 #include <math.h>
35056 int
35057 main ()
35058 {
35059  modf(0, 0);
35060   ;
35061   return 0;
35062 }
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065   glibcxx_cv_func_modf_use=yes
35066 else
35067   glibcxx_cv_func_modf_use=no
35068 fi
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070       ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075
35076
35077 fi
35078
35079   fi
35080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35081 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35082
35083   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35084     for ac_func in modf
35085 do :
35086   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35087 if test "x$ac_cv_func_modf" = x""yes; then :
35088   cat >>confdefs.h <<_ACEOF
35089 #define HAVE_MODF 1
35090 _ACEOF
35091
35092 fi
35093 done
35094
35095   else
35096
35097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35098 $as_echo_n "checking for _modf declaration... " >&6; }
35099   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35100     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35101   $as_echo_n "(cached) " >&6
35102 else
35103
35104
35105       ac_ext=cpp
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110
35111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h.  */
35113 #include <math.h>
35114 int
35115 main ()
35116 {
35117  _modf(0, 0);
35118   ;
35119   return 0;
35120 }
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123   glibcxx_cv_func__modf_use=yes
35124 else
35125   glibcxx_cv_func__modf_use=no
35126 fi
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128       ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35133
35134
35135 fi
35136
35137   fi
35138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35139 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35140
35141     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35142       for ac_func in _modf
35143 do :
35144   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35145 if test "x$ac_cv_func__modf" = x""yes; then :
35146   cat >>confdefs.h <<_ACEOF
35147 #define HAVE__MODF 1
35148 _ACEOF
35149
35150 fi
35151 done
35152
35153     fi
35154   fi
35155
35156
35157
35158
35159
35160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35161 $as_echo_n "checking for powf declaration... " >&6; }
35162   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35163     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35164   $as_echo_n "(cached) " >&6
35165 else
35166
35167
35168       ac_ext=cpp
35169 ac_cpp='$CXXCPP $CPPFLAGS'
35170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35173
35174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35175 /* end confdefs.h.  */
35176 #include <math.h>
35177 int
35178 main ()
35179 {
35180  powf(0, 0);
35181   ;
35182   return 0;
35183 }
35184 _ACEOF
35185 if ac_fn_cxx_try_compile "$LINENO"; then :
35186   glibcxx_cv_func_powf_use=yes
35187 else
35188   glibcxx_cv_func_powf_use=no
35189 fi
35190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35191       ac_ext=c
35192 ac_cpp='$CPP $CPPFLAGS'
35193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35196
35197
35198 fi
35199
35200   fi
35201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35202 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35203
35204   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35205     for ac_func in powf
35206 do :
35207   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35208 if test "x$ac_cv_func_powf" = x""yes; then :
35209   cat >>confdefs.h <<_ACEOF
35210 #define HAVE_POWF 1
35211 _ACEOF
35212
35213 fi
35214 done
35215
35216   else
35217
35218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35219 $as_echo_n "checking for _powf declaration... " >&6; }
35220   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35221     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35222   $as_echo_n "(cached) " >&6
35223 else
35224
35225
35226       ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35231
35232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h.  */
35234 #include <math.h>
35235 int
35236 main ()
35237 {
35238  _powf(0, 0);
35239   ;
35240   return 0;
35241 }
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244   glibcxx_cv_func__powf_use=yes
35245 else
35246   glibcxx_cv_func__powf_use=no
35247 fi
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249       ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254
35255
35256 fi
35257
35258   fi
35259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35260 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35261
35262     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35263       for ac_func in _powf
35264 do :
35265   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35266 if test "x$ac_cv_func__powf" = x""yes; then :
35267   cat >>confdefs.h <<_ACEOF
35268 #define HAVE__POWF 1
35269 _ACEOF
35270
35271 fi
35272 done
35273
35274     fi
35275   fi
35276
35277
35278
35279
35280
35281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35282 $as_echo_n "checking for sqrtf declaration... " >&6; }
35283   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35284     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35285   $as_echo_n "(cached) " >&6
35286 else
35287
35288
35289       ac_ext=cpp
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35294
35295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h.  */
35297 #include <math.h>
35298                       #ifdef HAVE_IEEEFP_H
35299                       #include <ieeefp.h>
35300                       #endif
35301
35302 int
35303 main ()
35304 {
35305  sqrtf(0);
35306   ;
35307   return 0;
35308 }
35309 _ACEOF
35310 if ac_fn_cxx_try_compile "$LINENO"; then :
35311   glibcxx_cv_func_sqrtf_use=yes
35312 else
35313   glibcxx_cv_func_sqrtf_use=no
35314 fi
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316       ac_ext=c
35317 ac_cpp='$CPP $CPPFLAGS'
35318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35321
35322
35323 fi
35324
35325   fi
35326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35327 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35328
35329   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35330     for ac_func in sqrtf
35331 do :
35332   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35333 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35334   cat >>confdefs.h <<_ACEOF
35335 #define HAVE_SQRTF 1
35336 _ACEOF
35337
35338 fi
35339 done
35340
35341   else
35342
35343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35344 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35345   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35346     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35347   $as_echo_n "(cached) " >&6
35348 else
35349
35350
35351       ac_ext=cpp
35352 ac_cpp='$CXXCPP $CPPFLAGS'
35353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35356
35357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h.  */
35359 #include <math.h>
35360                       #ifdef HAVE_IEEEFP_H
35361                       #include <ieeefp.h>
35362                       #endif
35363
35364 int
35365 main ()
35366 {
35367  _sqrtf(0);
35368   ;
35369   return 0;
35370 }
35371 _ACEOF
35372 if ac_fn_cxx_try_compile "$LINENO"; then :
35373   glibcxx_cv_func__sqrtf_use=yes
35374 else
35375   glibcxx_cv_func__sqrtf_use=no
35376 fi
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378       ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35383
35384
35385 fi
35386
35387   fi
35388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35389 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35390
35391     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35392       for ac_func in _sqrtf
35393 do :
35394   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35395 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35396   cat >>confdefs.h <<_ACEOF
35397 #define HAVE__SQRTF 1
35398 _ACEOF
35399
35400 fi
35401 done
35402
35403     fi
35404   fi
35405
35406
35407
35408
35409
35410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35411 $as_echo_n "checking for sincosf declaration... " >&6; }
35412   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35413     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35414   $as_echo_n "(cached) " >&6
35415 else
35416
35417
35418       ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423
35424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h.  */
35426 #include <math.h>
35427 int
35428 main ()
35429 {
35430  sincosf(0, 0, 0);
35431   ;
35432   return 0;
35433 }
35434 _ACEOF
35435 if ac_fn_cxx_try_compile "$LINENO"; then :
35436   glibcxx_cv_func_sincosf_use=yes
35437 else
35438   glibcxx_cv_func_sincosf_use=no
35439 fi
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441       ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446
35447
35448 fi
35449
35450   fi
35451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35452 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35453
35454   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35455     for ac_func in sincosf
35456 do :
35457   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35458 if test "x$ac_cv_func_sincosf" = x""yes; then :
35459   cat >>confdefs.h <<_ACEOF
35460 #define HAVE_SINCOSF 1
35461 _ACEOF
35462
35463 fi
35464 done
35465
35466   else
35467
35468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35469 $as_echo_n "checking for _sincosf declaration... " >&6; }
35470   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35471     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35472   $as_echo_n "(cached) " >&6
35473 else
35474
35475
35476       ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h.  */
35484 #include <math.h>
35485 int
35486 main ()
35487 {
35488  _sincosf(0, 0, 0);
35489   ;
35490   return 0;
35491 }
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494   glibcxx_cv_func__sincosf_use=yes
35495 else
35496   glibcxx_cv_func__sincosf_use=no
35497 fi
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499       ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504
35505
35506 fi
35507
35508   fi
35509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35510 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35511
35512     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35513       for ac_func in _sincosf
35514 do :
35515   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35516 if test "x$ac_cv_func__sincosf" = x""yes; then :
35517   cat >>confdefs.h <<_ACEOF
35518 #define HAVE__SINCOSF 1
35519 _ACEOF
35520
35521 fi
35522 done
35523
35524     fi
35525   fi
35526
35527
35528
35529
35530
35531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35532 $as_echo_n "checking for finitef declaration... " >&6; }
35533   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35534     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35535   $as_echo_n "(cached) " >&6
35536 else
35537
35538
35539       ac_ext=cpp
35540 ac_cpp='$CXXCPP $CPPFLAGS'
35541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35544
35545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35546 /* end confdefs.h.  */
35547 #include <math.h>
35548                       #ifdef HAVE_IEEEFP_H
35549                       #include <ieeefp.h>
35550                       #endif
35551
35552 int
35553 main ()
35554 {
35555  finitef(0);
35556   ;
35557   return 0;
35558 }
35559 _ACEOF
35560 if ac_fn_cxx_try_compile "$LINENO"; then :
35561   glibcxx_cv_func_finitef_use=yes
35562 else
35563   glibcxx_cv_func_finitef_use=no
35564 fi
35565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35566       ac_ext=c
35567 ac_cpp='$CPP $CPPFLAGS'
35568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571
35572
35573 fi
35574
35575   fi
35576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35577 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35578
35579   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35580     for ac_func in finitef
35581 do :
35582   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35583 if test "x$ac_cv_func_finitef" = x""yes; then :
35584   cat >>confdefs.h <<_ACEOF
35585 #define HAVE_FINITEF 1
35586 _ACEOF
35587
35588 fi
35589 done
35590
35591   else
35592
35593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35594 $as_echo_n "checking for _finitef declaration... " >&6; }
35595   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35596     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35597   $as_echo_n "(cached) " >&6
35598 else
35599
35600
35601       ac_ext=cpp
35602 ac_cpp='$CXXCPP $CPPFLAGS'
35603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35606
35607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35608 /* end confdefs.h.  */
35609 #include <math.h>
35610                       #ifdef HAVE_IEEEFP_H
35611                       #include <ieeefp.h>
35612                       #endif
35613
35614 int
35615 main ()
35616 {
35617  _finitef(0);
35618   ;
35619   return 0;
35620 }
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623   glibcxx_cv_func__finitef_use=yes
35624 else
35625   glibcxx_cv_func__finitef_use=no
35626 fi
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628       ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634
35635 fi
35636
35637   fi
35638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35639 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35640
35641     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35642       for ac_func in _finitef
35643 do :
35644   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35645 if test "x$ac_cv_func__finitef" = x""yes; then :
35646   cat >>confdefs.h <<_ACEOF
35647 #define HAVE__FINITEF 1
35648 _ACEOF
35649
35650 fi
35651 done
35652
35653     fi
35654   fi
35655
35656
35657
35658
35659
35660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35661 $as_echo_n "checking for long double trig functions... " >&6; }
35662   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35663   $as_echo_n "(cached) " >&6
35664 else
35665
35666
35667     ac_ext=cpp
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35672
35673     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35674 /* end confdefs.h.  */
35675 #include <math.h>
35676 int
35677 main ()
35678 {
35679 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35680   ;
35681   return 0;
35682 }
35683 _ACEOF
35684 if ac_fn_cxx_try_compile "$LINENO"; then :
35685   glibcxx_cv_func_long_double_trig_use=yes
35686 else
35687   glibcxx_cv_func_long_double_trig_use=no
35688 fi
35689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35690     ac_ext=c
35691 ac_cpp='$CPP $CPPFLAGS'
35692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35695
35696 fi
35697
35698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35699 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35700   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35701     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35702 do :
35703   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35705 eval as_val=\$$as_ac_var
35706    if test "x$as_val" = x""yes; then :
35707   cat >>confdefs.h <<_ACEOF
35708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35709 _ACEOF
35710
35711 fi
35712 done
35713
35714   else
35715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35716 $as_echo_n "checking for _long double trig functions... " >&6; }
35717     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35718   $as_echo_n "(cached) " >&6
35719 else
35720
35721
35722       ac_ext=cpp
35723 ac_cpp='$CXXCPP $CPPFLAGS'
35724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35727
35728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35729 /* end confdefs.h.  */
35730 #include <math.h>
35731 int
35732 main ()
35733 {
35734 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35735   ;
35736   return 0;
35737 }
35738 _ACEOF
35739 if ac_fn_cxx_try_compile "$LINENO"; then :
35740   glibcxx_cv_func__long_double_trig_use=yes
35741 else
35742   glibcxx_cv_func__long_double_trig_use=no
35743 fi
35744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35745       ac_ext=c
35746 ac_cpp='$CPP $CPPFLAGS'
35747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35750
35751 fi
35752
35753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35754 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35755     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35756       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35757 do :
35758   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35760 eval as_val=\$$as_ac_var
35761    if test "x$as_val" = x""yes; then :
35762   cat >>confdefs.h <<_ACEOF
35763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35764 _ACEOF
35765
35766 fi
35767 done
35768
35769     fi
35770   fi
35771
35772
35773
35774
35775
35776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35777 $as_echo_n "checking for long double round functions... " >&6; }
35778   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35779   $as_echo_n "(cached) " >&6
35780 else
35781
35782
35783     ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35788
35789     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h.  */
35791 #include <math.h>
35792 int
35793 main ()
35794 {
35795 ceill (0); floorl (0);
35796   ;
35797   return 0;
35798 }
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801   glibcxx_cv_func_long_double_round_use=yes
35802 else
35803   glibcxx_cv_func_long_double_round_use=no
35804 fi
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806     ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811
35812 fi
35813
35814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35815 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35816   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35817     for ac_func in ceill floorl
35818 do :
35819   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35821 eval as_val=\$$as_ac_var
35822    if test "x$as_val" = x""yes; then :
35823   cat >>confdefs.h <<_ACEOF
35824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35825 _ACEOF
35826
35827 fi
35828 done
35829
35830   else
35831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35832 $as_echo_n "checking for _long double round functions... " >&6; }
35833     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35834   $as_echo_n "(cached) " >&6
35835 else
35836
35837
35838       ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35843
35844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h.  */
35846 #include <math.h>
35847 int
35848 main ()
35849 {
35850 _ceill (0); _floorl (0);
35851   ;
35852   return 0;
35853 }
35854 _ACEOF
35855 if ac_fn_cxx_try_compile "$LINENO"; then :
35856   glibcxx_cv_func__long_double_round_use=yes
35857 else
35858   glibcxx_cv_func__long_double_round_use=no
35859 fi
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861       ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866
35867 fi
35868
35869     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35870 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35871     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35872       for ac_func in _ceill _floorl
35873 do :
35874   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35876 eval as_val=\$$as_ac_var
35877    if test "x$as_val" = x""yes; then :
35878   cat >>confdefs.h <<_ACEOF
35879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35880 _ACEOF
35881
35882 fi
35883 done
35884
35885     fi
35886   fi
35887
35888
35889
35890
35891
35892
35893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35894 $as_echo_n "checking for isnanl declaration... " >&6; }
35895   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35896     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35897   $as_echo_n "(cached) " >&6
35898 else
35899
35900
35901       ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906
35907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h.  */
35909 #include <math.h>
35910                       #ifdef HAVE_IEEEFP_H
35911                       #include <ieeefp.h>
35912                       #endif
35913
35914 int
35915 main ()
35916 {
35917  isnanl(0);
35918   ;
35919   return 0;
35920 }
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923   glibcxx_cv_func_isnanl_use=yes
35924 else
35925   glibcxx_cv_func_isnanl_use=no
35926 fi
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928       ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937   fi
35938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35939 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35940
35941   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35942     for ac_func in isnanl
35943 do :
35944   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35945 if test "x$ac_cv_func_isnanl" = x""yes; then :
35946   cat >>confdefs.h <<_ACEOF
35947 #define HAVE_ISNANL 1
35948 _ACEOF
35949
35950 fi
35951 done
35952
35953   else
35954
35955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35956 $as_echo_n "checking for _isnanl declaration... " >&6; }
35957   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35958     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35959   $as_echo_n "(cached) " >&6
35960 else
35961
35962
35963       ac_ext=cpp
35964 ac_cpp='$CXXCPP $CPPFLAGS'
35965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35968
35969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35970 /* end confdefs.h.  */
35971 #include <math.h>
35972                       #ifdef HAVE_IEEEFP_H
35973                       #include <ieeefp.h>
35974                       #endif
35975
35976 int
35977 main ()
35978 {
35979  _isnanl(0);
35980   ;
35981   return 0;
35982 }
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985   glibcxx_cv_func__isnanl_use=yes
35986 else
35987   glibcxx_cv_func__isnanl_use=no
35988 fi
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990       ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995
35996
35997 fi
35998
35999   fi
36000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36001 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36002
36003     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36004       for ac_func in _isnanl
36005 do :
36006   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36007 if test "x$ac_cv_func__isnanl" = x""yes; then :
36008   cat >>confdefs.h <<_ACEOF
36009 #define HAVE__ISNANL 1
36010 _ACEOF
36011
36012 fi
36013 done
36014
36015     fi
36016   fi
36017
36018
36019
36020
36021
36022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36023 $as_echo_n "checking for isinfl declaration... " >&6; }
36024   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36025     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36026   $as_echo_n "(cached) " >&6
36027 else
36028
36029
36030       ac_ext=cpp
36031 ac_cpp='$CXXCPP $CPPFLAGS'
36032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36035
36036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36037 /* end confdefs.h.  */
36038 #include <math.h>
36039                       #ifdef HAVE_IEEEFP_H
36040                       #include <ieeefp.h>
36041                       #endif
36042
36043 int
36044 main ()
36045 {
36046  isinfl(0);
36047   ;
36048   return 0;
36049 }
36050 _ACEOF
36051 if ac_fn_cxx_try_compile "$LINENO"; then :
36052   glibcxx_cv_func_isinfl_use=yes
36053 else
36054   glibcxx_cv_func_isinfl_use=no
36055 fi
36056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36057       ac_ext=c
36058 ac_cpp='$CPP $CPPFLAGS'
36059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062
36063
36064 fi
36065
36066   fi
36067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36068 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36069
36070   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36071     for ac_func in isinfl
36072 do :
36073   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36074 if test "x$ac_cv_func_isinfl" = x""yes; then :
36075   cat >>confdefs.h <<_ACEOF
36076 #define HAVE_ISINFL 1
36077 _ACEOF
36078
36079 fi
36080 done
36081
36082   else
36083
36084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36085 $as_echo_n "checking for _isinfl declaration... " >&6; }
36086   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36087     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36088   $as_echo_n "(cached) " >&6
36089 else
36090
36091
36092       ac_ext=cpp
36093 ac_cpp='$CXXCPP $CPPFLAGS'
36094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36097
36098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36099 /* end confdefs.h.  */
36100 #include <math.h>
36101                       #ifdef HAVE_IEEEFP_H
36102                       #include <ieeefp.h>
36103                       #endif
36104
36105 int
36106 main ()
36107 {
36108  _isinfl(0);
36109   ;
36110   return 0;
36111 }
36112 _ACEOF
36113 if ac_fn_cxx_try_compile "$LINENO"; then :
36114   glibcxx_cv_func__isinfl_use=yes
36115 else
36116   glibcxx_cv_func__isinfl_use=no
36117 fi
36118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119       ac_ext=c
36120 ac_cpp='$CPP $CPPFLAGS'
36121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124
36125
36126 fi
36127
36128   fi
36129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36130 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36131
36132     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36133       for ac_func in _isinfl
36134 do :
36135   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36136 if test "x$ac_cv_func__isinfl" = x""yes; then :
36137   cat >>confdefs.h <<_ACEOF
36138 #define HAVE__ISINFL 1
36139 _ACEOF
36140
36141 fi
36142 done
36143
36144     fi
36145   fi
36146
36147
36148
36149
36150
36151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36152 $as_echo_n "checking for atan2l declaration... " >&6; }
36153   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36154     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36155   $as_echo_n "(cached) " >&6
36156 else
36157
36158
36159       ac_ext=cpp
36160 ac_cpp='$CXXCPP $CPPFLAGS'
36161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36164
36165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36166 /* end confdefs.h.  */
36167 #include <math.h>
36168 int
36169 main ()
36170 {
36171  atan2l(0, 0);
36172   ;
36173   return 0;
36174 }
36175 _ACEOF
36176 if ac_fn_cxx_try_compile "$LINENO"; then :
36177   glibcxx_cv_func_atan2l_use=yes
36178 else
36179   glibcxx_cv_func_atan2l_use=no
36180 fi
36181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182       ac_ext=c
36183 ac_cpp='$CPP $CPPFLAGS'
36184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36187
36188
36189 fi
36190
36191   fi
36192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36193 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36194
36195   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36196     for ac_func in atan2l
36197 do :
36198   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36199 if test "x$ac_cv_func_atan2l" = x""yes; then :
36200   cat >>confdefs.h <<_ACEOF
36201 #define HAVE_ATAN2L 1
36202 _ACEOF
36203
36204 fi
36205 done
36206
36207   else
36208
36209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36210 $as_echo_n "checking for _atan2l declaration... " >&6; }
36211   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36212     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36213   $as_echo_n "(cached) " >&6
36214 else
36215
36216
36217       ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36222
36223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h.  */
36225 #include <math.h>
36226 int
36227 main ()
36228 {
36229  _atan2l(0, 0);
36230   ;
36231   return 0;
36232 }
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235   glibcxx_cv_func__atan2l_use=yes
36236 else
36237   glibcxx_cv_func__atan2l_use=no
36238 fi
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240       ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246
36247 fi
36248
36249   fi
36250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36251 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36252
36253     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36254       for ac_func in _atan2l
36255 do :
36256   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36257 if test "x$ac_cv_func__atan2l" = x""yes; then :
36258   cat >>confdefs.h <<_ACEOF
36259 #define HAVE__ATAN2L 1
36260 _ACEOF
36261
36262 fi
36263 done
36264
36265     fi
36266   fi
36267
36268
36269
36270
36271
36272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36273 $as_echo_n "checking for expl declaration... " >&6; }
36274   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36275     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36276   $as_echo_n "(cached) " >&6
36277 else
36278
36279
36280       ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36285
36286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h.  */
36288 #include <math.h>
36289                       #ifdef HAVE_IEEEFP_H
36290                       #include <ieeefp.h>
36291                       #endif
36292
36293 int
36294 main ()
36295 {
36296  expl(0);
36297   ;
36298   return 0;
36299 }
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302   glibcxx_cv_func_expl_use=yes
36303 else
36304   glibcxx_cv_func_expl_use=no
36305 fi
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307       ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312
36313
36314 fi
36315
36316   fi
36317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36318 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36319
36320   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36321     for ac_func in expl
36322 do :
36323   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36324 if test "x$ac_cv_func_expl" = x""yes; then :
36325   cat >>confdefs.h <<_ACEOF
36326 #define HAVE_EXPL 1
36327 _ACEOF
36328
36329 fi
36330 done
36331
36332   else
36333
36334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36335 $as_echo_n "checking for _expl declaration... " >&6; }
36336   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36337     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36338   $as_echo_n "(cached) " >&6
36339 else
36340
36341
36342       ac_ext=cpp
36343 ac_cpp='$CXXCPP $CPPFLAGS'
36344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36347
36348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36349 /* end confdefs.h.  */
36350 #include <math.h>
36351                       #ifdef HAVE_IEEEFP_H
36352                       #include <ieeefp.h>
36353                       #endif
36354
36355 int
36356 main ()
36357 {
36358  _expl(0);
36359   ;
36360   return 0;
36361 }
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364   glibcxx_cv_func__expl_use=yes
36365 else
36366   glibcxx_cv_func__expl_use=no
36367 fi
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369       ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375
36376 fi
36377
36378   fi
36379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36380 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36381
36382     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36383       for ac_func in _expl
36384 do :
36385   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36386 if test "x$ac_cv_func__expl" = x""yes; then :
36387   cat >>confdefs.h <<_ACEOF
36388 #define HAVE__EXPL 1
36389 _ACEOF
36390
36391 fi
36392 done
36393
36394     fi
36395   fi
36396
36397
36398
36399
36400
36401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36402 $as_echo_n "checking for fabsl declaration... " >&6; }
36403   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36404     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36405   $as_echo_n "(cached) " >&6
36406 else
36407
36408
36409       ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36414
36415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h.  */
36417 #include <math.h>
36418                       #ifdef HAVE_IEEEFP_H
36419                       #include <ieeefp.h>
36420                       #endif
36421
36422 int
36423 main ()
36424 {
36425  fabsl(0);
36426   ;
36427   return 0;
36428 }
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431   glibcxx_cv_func_fabsl_use=yes
36432 else
36433   glibcxx_cv_func_fabsl_use=no
36434 fi
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436       ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441
36442
36443 fi
36444
36445   fi
36446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36447 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36448
36449   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36450     for ac_func in fabsl
36451 do :
36452   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36453 if test "x$ac_cv_func_fabsl" = x""yes; then :
36454   cat >>confdefs.h <<_ACEOF
36455 #define HAVE_FABSL 1
36456 _ACEOF
36457
36458 fi
36459 done
36460
36461   else
36462
36463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36464 $as_echo_n "checking for _fabsl declaration... " >&6; }
36465   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36466     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36467   $as_echo_n "(cached) " >&6
36468 else
36469
36470
36471       ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36476
36477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h.  */
36479 #include <math.h>
36480                       #ifdef HAVE_IEEEFP_H
36481                       #include <ieeefp.h>
36482                       #endif
36483
36484 int
36485 main ()
36486 {
36487  _fabsl(0);
36488   ;
36489   return 0;
36490 }
36491 _ACEOF
36492 if ac_fn_cxx_try_compile "$LINENO"; then :
36493   glibcxx_cv_func__fabsl_use=yes
36494 else
36495   glibcxx_cv_func__fabsl_use=no
36496 fi
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498       ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503
36504
36505 fi
36506
36507   fi
36508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36509 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36510
36511     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36512       for ac_func in _fabsl
36513 do :
36514   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36515 if test "x$ac_cv_func__fabsl" = x""yes; then :
36516   cat >>confdefs.h <<_ACEOF
36517 #define HAVE__FABSL 1
36518 _ACEOF
36519
36520 fi
36521 done
36522
36523     fi
36524   fi
36525
36526
36527
36528
36529
36530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36531 $as_echo_n "checking for fmodl declaration... " >&6; }
36532   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36533     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36534   $as_echo_n "(cached) " >&6
36535 else
36536
36537
36538       ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36543
36544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h.  */
36546 #include <math.h>
36547 int
36548 main ()
36549 {
36550  fmodl(0, 0);
36551   ;
36552   return 0;
36553 }
36554 _ACEOF
36555 if ac_fn_cxx_try_compile "$LINENO"; then :
36556   glibcxx_cv_func_fmodl_use=yes
36557 else
36558   glibcxx_cv_func_fmodl_use=no
36559 fi
36560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36561       ac_ext=c
36562 ac_cpp='$CPP $CPPFLAGS'
36563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36566
36567
36568 fi
36569
36570   fi
36571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36572 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36573
36574   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36575     for ac_func in fmodl
36576 do :
36577   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36578 if test "x$ac_cv_func_fmodl" = x""yes; then :
36579   cat >>confdefs.h <<_ACEOF
36580 #define HAVE_FMODL 1
36581 _ACEOF
36582
36583 fi
36584 done
36585
36586   else
36587
36588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36589 $as_echo_n "checking for _fmodl declaration... " >&6; }
36590   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36591     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36592   $as_echo_n "(cached) " >&6
36593 else
36594
36595
36596       ac_ext=cpp
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36601
36602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h.  */
36604 #include <math.h>
36605 int
36606 main ()
36607 {
36608  _fmodl(0, 0);
36609   ;
36610   return 0;
36611 }
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614   glibcxx_cv_func__fmodl_use=yes
36615 else
36616   glibcxx_cv_func__fmodl_use=no
36617 fi
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619       ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624
36625
36626 fi
36627
36628   fi
36629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36630 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36631
36632     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36633       for ac_func in _fmodl
36634 do :
36635   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36636 if test "x$ac_cv_func__fmodl" = x""yes; then :
36637   cat >>confdefs.h <<_ACEOF
36638 #define HAVE__FMODL 1
36639 _ACEOF
36640
36641 fi
36642 done
36643
36644     fi
36645   fi
36646
36647
36648
36649
36650
36651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36652 $as_echo_n "checking for frexpl declaration... " >&6; }
36653   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36654     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36655   $as_echo_n "(cached) " >&6
36656 else
36657
36658
36659       ac_ext=cpp
36660 ac_cpp='$CXXCPP $CPPFLAGS'
36661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36664
36665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36666 /* end confdefs.h.  */
36667 #include <math.h>
36668 int
36669 main ()
36670 {
36671  frexpl(0, 0);
36672   ;
36673   return 0;
36674 }
36675 _ACEOF
36676 if ac_fn_cxx_try_compile "$LINENO"; then :
36677   glibcxx_cv_func_frexpl_use=yes
36678 else
36679   glibcxx_cv_func_frexpl_use=no
36680 fi
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682       ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687
36688
36689 fi
36690
36691   fi
36692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36693 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36694
36695   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36696     for ac_func in frexpl
36697 do :
36698   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36699 if test "x$ac_cv_func_frexpl" = x""yes; then :
36700   cat >>confdefs.h <<_ACEOF
36701 #define HAVE_FREXPL 1
36702 _ACEOF
36703
36704 fi
36705 done
36706
36707   else
36708
36709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36710 $as_echo_n "checking for _frexpl declaration... " >&6; }
36711   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36712     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36713   $as_echo_n "(cached) " >&6
36714 else
36715
36716
36717       ac_ext=cpp
36718 ac_cpp='$CXXCPP $CPPFLAGS'
36719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722
36723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36724 /* end confdefs.h.  */
36725 #include <math.h>
36726 int
36727 main ()
36728 {
36729  _frexpl(0, 0);
36730   ;
36731   return 0;
36732 }
36733 _ACEOF
36734 if ac_fn_cxx_try_compile "$LINENO"; then :
36735   glibcxx_cv_func__frexpl_use=yes
36736 else
36737   glibcxx_cv_func__frexpl_use=no
36738 fi
36739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36740       ac_ext=c
36741 ac_cpp='$CPP $CPPFLAGS'
36742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745
36746
36747 fi
36748
36749   fi
36750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36751 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36752
36753     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36754       for ac_func in _frexpl
36755 do :
36756   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36757 if test "x$ac_cv_func__frexpl" = x""yes; then :
36758   cat >>confdefs.h <<_ACEOF
36759 #define HAVE__FREXPL 1
36760 _ACEOF
36761
36762 fi
36763 done
36764
36765     fi
36766   fi
36767
36768
36769
36770
36771
36772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36773 $as_echo_n "checking for hypotl declaration... " >&6; }
36774   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36775     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36776   $as_echo_n "(cached) " >&6
36777 else
36778
36779
36780       ac_ext=cpp
36781 ac_cpp='$CXXCPP $CPPFLAGS'
36782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36785
36786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787 /* end confdefs.h.  */
36788 #include <math.h>
36789 int
36790 main ()
36791 {
36792  hypotl(0, 0);
36793   ;
36794   return 0;
36795 }
36796 _ACEOF
36797 if ac_fn_cxx_try_compile "$LINENO"; then :
36798   glibcxx_cv_func_hypotl_use=yes
36799 else
36800   glibcxx_cv_func_hypotl_use=no
36801 fi
36802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36803       ac_ext=c
36804 ac_cpp='$CPP $CPPFLAGS'
36805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808
36809
36810 fi
36811
36812   fi
36813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36814 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36815
36816   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36817     for ac_func in hypotl
36818 do :
36819   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36820 if test "x$ac_cv_func_hypotl" = x""yes; then :
36821   cat >>confdefs.h <<_ACEOF
36822 #define HAVE_HYPOTL 1
36823 _ACEOF
36824
36825 fi
36826 done
36827
36828   else
36829
36830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36831 $as_echo_n "checking for _hypotl declaration... " >&6; }
36832   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36833     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36834   $as_echo_n "(cached) " >&6
36835 else
36836
36837
36838       ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843
36844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h.  */
36846 #include <math.h>
36847 int
36848 main ()
36849 {
36850  _hypotl(0, 0);
36851   ;
36852   return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856   glibcxx_cv_func__hypotl_use=yes
36857 else
36858   glibcxx_cv_func__hypotl_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861       ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870   fi
36871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36872 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36873
36874     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36875       for ac_func in _hypotl
36876 do :
36877   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36878 if test "x$ac_cv_func__hypotl" = x""yes; then :
36879   cat >>confdefs.h <<_ACEOF
36880 #define HAVE__HYPOTL 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886     fi
36887   fi
36888
36889
36890
36891
36892
36893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36894 $as_echo_n "checking for ldexpl declaration... " >&6; }
36895   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36896     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36897   $as_echo_n "(cached) " >&6
36898 else
36899
36900
36901       ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906
36907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908 /* end confdefs.h.  */
36909 #include <math.h>
36910 int
36911 main ()
36912 {
36913  ldexpl(0, 0);
36914   ;
36915   return 0;
36916 }
36917 _ACEOF
36918 if ac_fn_cxx_try_compile "$LINENO"; then :
36919   glibcxx_cv_func_ldexpl_use=yes
36920 else
36921   glibcxx_cv_func_ldexpl_use=no
36922 fi
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924       ac_ext=c
36925 ac_cpp='$CPP $CPPFLAGS'
36926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36929
36930
36931 fi
36932
36933   fi
36934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36935 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36936
36937   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36938     for ac_func in ldexpl
36939 do :
36940   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36941 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36942   cat >>confdefs.h <<_ACEOF
36943 #define HAVE_LDEXPL 1
36944 _ACEOF
36945
36946 fi
36947 done
36948
36949   else
36950
36951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36952 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36953   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36954     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36955   $as_echo_n "(cached) " >&6
36956 else
36957
36958
36959       ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964
36965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h.  */
36967 #include <math.h>
36968 int
36969 main ()
36970 {
36971  _ldexpl(0, 0);
36972   ;
36973   return 0;
36974 }
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977   glibcxx_cv_func__ldexpl_use=yes
36978 else
36979   glibcxx_cv_func__ldexpl_use=no
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982       ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987
36988
36989 fi
36990
36991   fi
36992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36993 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36994
36995     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36996       for ac_func in _ldexpl
36997 do :
36998   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36999 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37000   cat >>confdefs.h <<_ACEOF
37001 #define HAVE__LDEXPL 1
37002 _ACEOF
37003
37004 fi
37005 done
37006
37007     fi
37008   fi
37009
37010
37011
37012
37013
37014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37015 $as_echo_n "checking for logl declaration... " >&6; }
37016   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37017     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37018   $as_echo_n "(cached) " >&6
37019 else
37020
37021
37022       ac_ext=cpp
37023 ac_cpp='$CXXCPP $CPPFLAGS'
37024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37027
37028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37029 /* end confdefs.h.  */
37030 #include <math.h>
37031                       #ifdef HAVE_IEEEFP_H
37032                       #include <ieeefp.h>
37033                       #endif
37034
37035 int
37036 main ()
37037 {
37038  logl(0);
37039   ;
37040   return 0;
37041 }
37042 _ACEOF
37043 if ac_fn_cxx_try_compile "$LINENO"; then :
37044   glibcxx_cv_func_logl_use=yes
37045 else
37046   glibcxx_cv_func_logl_use=no
37047 fi
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37049       ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37054
37055
37056 fi
37057
37058   fi
37059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37060 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37061
37062   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37063     for ac_func in logl
37064 do :
37065   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37066 if test "x$ac_cv_func_logl" = x""yes; then :
37067   cat >>confdefs.h <<_ACEOF
37068 #define HAVE_LOGL 1
37069 _ACEOF
37070
37071 fi
37072 done
37073
37074   else
37075
37076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37077 $as_echo_n "checking for _logl declaration... " >&6; }
37078   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37079     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37080   $as_echo_n "(cached) " >&6
37081 else
37082
37083
37084       ac_ext=cpp
37085 ac_cpp='$CXXCPP $CPPFLAGS'
37086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089
37090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091 /* end confdefs.h.  */
37092 #include <math.h>
37093                       #ifdef HAVE_IEEEFP_H
37094                       #include <ieeefp.h>
37095                       #endif
37096
37097 int
37098 main ()
37099 {
37100  _logl(0);
37101   ;
37102   return 0;
37103 }
37104 _ACEOF
37105 if ac_fn_cxx_try_compile "$LINENO"; then :
37106   glibcxx_cv_func__logl_use=yes
37107 else
37108   glibcxx_cv_func__logl_use=no
37109 fi
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111       ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 fi
37119
37120   fi
37121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37122 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37123
37124     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37125       for ac_func in _logl
37126 do :
37127   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37128 if test "x$ac_cv_func__logl" = x""yes; then :
37129   cat >>confdefs.h <<_ACEOF
37130 #define HAVE__LOGL 1
37131 _ACEOF
37132
37133 fi
37134 done
37135
37136     fi
37137   fi
37138
37139
37140
37141
37142
37143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37144 $as_echo_n "checking for log10l declaration... " >&6; }
37145   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37146     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37147   $as_echo_n "(cached) " >&6
37148 else
37149
37150
37151       ac_ext=cpp
37152 ac_cpp='$CXXCPP $CPPFLAGS'
37153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156
37157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158 /* end confdefs.h.  */
37159 #include <math.h>
37160                       #ifdef HAVE_IEEEFP_H
37161                       #include <ieeefp.h>
37162                       #endif
37163
37164 int
37165 main ()
37166 {
37167  log10l(0);
37168   ;
37169   return 0;
37170 }
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173   glibcxx_cv_func_log10l_use=yes
37174 else
37175   glibcxx_cv_func_log10l_use=no
37176 fi
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178       ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183
37184
37185 fi
37186
37187   fi
37188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37189 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37190
37191   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37192     for ac_func in log10l
37193 do :
37194   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37195 if test "x$ac_cv_func_log10l" = x""yes; then :
37196   cat >>confdefs.h <<_ACEOF
37197 #define HAVE_LOG10L 1
37198 _ACEOF
37199
37200 fi
37201 done
37202
37203   else
37204
37205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37206 $as_echo_n "checking for _log10l declaration... " >&6; }
37207   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37208     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37209   $as_echo_n "(cached) " >&6
37210 else
37211
37212
37213       ac_ext=cpp
37214 ac_cpp='$CXXCPP $CPPFLAGS'
37215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218
37219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37220 /* end confdefs.h.  */
37221 #include <math.h>
37222                       #ifdef HAVE_IEEEFP_H
37223                       #include <ieeefp.h>
37224                       #endif
37225
37226 int
37227 main ()
37228 {
37229  _log10l(0);
37230   ;
37231   return 0;
37232 }
37233 _ACEOF
37234 if ac_fn_cxx_try_compile "$LINENO"; then :
37235   glibcxx_cv_func__log10l_use=yes
37236 else
37237   glibcxx_cv_func__log10l_use=no
37238 fi
37239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240       ac_ext=c
37241 ac_cpp='$CPP $CPPFLAGS'
37242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245
37246
37247 fi
37248
37249   fi
37250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37251 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37252
37253     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37254       for ac_func in _log10l
37255 do :
37256   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37257 if test "x$ac_cv_func__log10l" = x""yes; then :
37258   cat >>confdefs.h <<_ACEOF
37259 #define HAVE__LOG10L 1
37260 _ACEOF
37261
37262 fi
37263 done
37264
37265     fi
37266   fi
37267
37268
37269
37270
37271
37272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37273 $as_echo_n "checking for modfl declaration... " >&6; }
37274   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37275     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37276   $as_echo_n "(cached) " >&6
37277 else
37278
37279
37280       ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285
37286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h.  */
37288 #include <math.h>
37289 int
37290 main ()
37291 {
37292  modfl(0, 0);
37293   ;
37294   return 0;
37295 }
37296 _ACEOF
37297 if ac_fn_cxx_try_compile "$LINENO"; then :
37298   glibcxx_cv_func_modfl_use=yes
37299 else
37300   glibcxx_cv_func_modfl_use=no
37301 fi
37302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37303       ac_ext=c
37304 ac_cpp='$CPP $CPPFLAGS'
37305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308
37309
37310 fi
37311
37312   fi
37313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37314 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37315
37316   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37317     for ac_func in modfl
37318 do :
37319   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37320 if test "x$ac_cv_func_modfl" = x""yes; then :
37321   cat >>confdefs.h <<_ACEOF
37322 #define HAVE_MODFL 1
37323 _ACEOF
37324
37325 fi
37326 done
37327
37328   else
37329
37330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37331 $as_echo_n "checking for _modfl declaration... " >&6; }
37332   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37333     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37334   $as_echo_n "(cached) " >&6
37335 else
37336
37337
37338       ac_ext=cpp
37339 ac_cpp='$CXXCPP $CPPFLAGS'
37340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37343
37344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h.  */
37346 #include <math.h>
37347 int
37348 main ()
37349 {
37350  _modfl(0, 0);
37351   ;
37352   return 0;
37353 }
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356   glibcxx_cv_func__modfl_use=yes
37357 else
37358   glibcxx_cv_func__modfl_use=no
37359 fi
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361       ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366
37367
37368 fi
37369
37370   fi
37371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37372 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37373
37374     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37375       for ac_func in _modfl
37376 do :
37377   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37378 if test "x$ac_cv_func__modfl" = x""yes; then :
37379   cat >>confdefs.h <<_ACEOF
37380 #define HAVE__MODFL 1
37381 _ACEOF
37382
37383 fi
37384 done
37385
37386     fi
37387   fi
37388
37389
37390
37391
37392
37393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37394 $as_echo_n "checking for powl declaration... " >&6; }
37395   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37396     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37397   $as_echo_n "(cached) " >&6
37398 else
37399
37400
37401       ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37406
37407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h.  */
37409 #include <math.h>
37410 int
37411 main ()
37412 {
37413  powl(0, 0);
37414   ;
37415   return 0;
37416 }
37417 _ACEOF
37418 if ac_fn_cxx_try_compile "$LINENO"; then :
37419   glibcxx_cv_func_powl_use=yes
37420 else
37421   glibcxx_cv_func_powl_use=no
37422 fi
37423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37424       ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429
37430
37431 fi
37432
37433   fi
37434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37435 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37436
37437   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37438     for ac_func in powl
37439 do :
37440   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37441 if test "x$ac_cv_func_powl" = x""yes; then :
37442   cat >>confdefs.h <<_ACEOF
37443 #define HAVE_POWL 1
37444 _ACEOF
37445
37446 fi
37447 done
37448
37449   else
37450
37451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37452 $as_echo_n "checking for _powl declaration... " >&6; }
37453   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37454     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37455   $as_echo_n "(cached) " >&6
37456 else
37457
37458
37459       ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37464
37465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h.  */
37467 #include <math.h>
37468 int
37469 main ()
37470 {
37471  _powl(0, 0);
37472   ;
37473   return 0;
37474 }
37475 _ACEOF
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477   glibcxx_cv_func__powl_use=yes
37478 else
37479   glibcxx_cv_func__powl_use=no
37480 fi
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37482       ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487
37488
37489 fi
37490
37491   fi
37492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37493 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37494
37495     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37496       for ac_func in _powl
37497 do :
37498   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37499 if test "x$ac_cv_func__powl" = x""yes; then :
37500   cat >>confdefs.h <<_ACEOF
37501 #define HAVE__POWL 1
37502 _ACEOF
37503
37504 fi
37505 done
37506
37507     fi
37508   fi
37509
37510
37511
37512
37513
37514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37515 $as_echo_n "checking for sqrtl declaration... " >&6; }
37516   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37517     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37518   $as_echo_n "(cached) " >&6
37519 else
37520
37521
37522       ac_ext=cpp
37523 ac_cpp='$CXXCPP $CPPFLAGS'
37524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37527
37528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37529 /* end confdefs.h.  */
37530 #include <math.h>
37531                       #ifdef HAVE_IEEEFP_H
37532                       #include <ieeefp.h>
37533                       #endif
37534
37535 int
37536 main ()
37537 {
37538  sqrtl(0);
37539   ;
37540   return 0;
37541 }
37542 _ACEOF
37543 if ac_fn_cxx_try_compile "$LINENO"; then :
37544   glibcxx_cv_func_sqrtl_use=yes
37545 else
37546   glibcxx_cv_func_sqrtl_use=no
37547 fi
37548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37549       ac_ext=c
37550 ac_cpp='$CPP $CPPFLAGS'
37551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554
37555
37556 fi
37557
37558   fi
37559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37560 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37561
37562   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37563     for ac_func in sqrtl
37564 do :
37565   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37566 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37567   cat >>confdefs.h <<_ACEOF
37568 #define HAVE_SQRTL 1
37569 _ACEOF
37570
37571 fi
37572 done
37573
37574   else
37575
37576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37577 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37578   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37579     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37580   $as_echo_n "(cached) " >&6
37581 else
37582
37583
37584       ac_ext=cpp
37585 ac_cpp='$CXXCPP $CPPFLAGS'
37586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37589
37590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37591 /* end confdefs.h.  */
37592 #include <math.h>
37593                       #ifdef HAVE_IEEEFP_H
37594                       #include <ieeefp.h>
37595                       #endif
37596
37597 int
37598 main ()
37599 {
37600  _sqrtl(0);
37601   ;
37602   return 0;
37603 }
37604 _ACEOF
37605 if ac_fn_cxx_try_compile "$LINENO"; then :
37606   glibcxx_cv_func__sqrtl_use=yes
37607 else
37608   glibcxx_cv_func__sqrtl_use=no
37609 fi
37610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37611       ac_ext=c
37612 ac_cpp='$CPP $CPPFLAGS'
37613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37616
37617
37618 fi
37619
37620   fi
37621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37622 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37623
37624     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37625       for ac_func in _sqrtl
37626 do :
37627   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37628 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37629   cat >>confdefs.h <<_ACEOF
37630 #define HAVE__SQRTL 1
37631 _ACEOF
37632
37633 fi
37634 done
37635
37636     fi
37637   fi
37638
37639
37640
37641
37642
37643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37644 $as_echo_n "checking for sincosl declaration... " >&6; }
37645   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37646     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37647   $as_echo_n "(cached) " >&6
37648 else
37649
37650
37651       ac_ext=cpp
37652 ac_cpp='$CXXCPP $CPPFLAGS'
37653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656
37657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37658 /* end confdefs.h.  */
37659 #include <math.h>
37660 int
37661 main ()
37662 {
37663  sincosl(0, 0, 0);
37664   ;
37665   return 0;
37666 }
37667 _ACEOF
37668 if ac_fn_cxx_try_compile "$LINENO"; then :
37669   glibcxx_cv_func_sincosl_use=yes
37670 else
37671   glibcxx_cv_func_sincosl_use=no
37672 fi
37673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37674       ac_ext=c
37675 ac_cpp='$CPP $CPPFLAGS'
37676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679
37680
37681 fi
37682
37683   fi
37684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37685 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37686
37687   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37688     for ac_func in sincosl
37689 do :
37690   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37691 if test "x$ac_cv_func_sincosl" = x""yes; then :
37692   cat >>confdefs.h <<_ACEOF
37693 #define HAVE_SINCOSL 1
37694 _ACEOF
37695
37696 fi
37697 done
37698
37699   else
37700
37701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37702 $as_echo_n "checking for _sincosl declaration... " >&6; }
37703   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37704     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37705   $as_echo_n "(cached) " >&6
37706 else
37707
37708
37709       ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714
37715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h.  */
37717 #include <math.h>
37718 int
37719 main ()
37720 {
37721  _sincosl(0, 0, 0);
37722   ;
37723   return 0;
37724 }
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727   glibcxx_cv_func__sincosl_use=yes
37728 else
37729   glibcxx_cv_func__sincosl_use=no
37730 fi
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732       ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737
37738
37739 fi
37740
37741   fi
37742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37743 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37744
37745     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37746       for ac_func in _sincosl
37747 do :
37748   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37749 if test "x$ac_cv_func__sincosl" = x""yes; then :
37750   cat >>confdefs.h <<_ACEOF
37751 #define HAVE__SINCOSL 1
37752 _ACEOF
37753
37754 fi
37755 done
37756
37757     fi
37758   fi
37759
37760
37761
37762
37763
37764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37765 $as_echo_n "checking for finitel declaration... " >&6; }
37766   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37767     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37768   $as_echo_n "(cached) " >&6
37769 else
37770
37771
37772       ac_ext=cpp
37773 ac_cpp='$CXXCPP $CPPFLAGS'
37774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777
37778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779 /* end confdefs.h.  */
37780 #include <math.h>
37781                       #ifdef HAVE_IEEEFP_H
37782                       #include <ieeefp.h>
37783                       #endif
37784
37785 int
37786 main ()
37787 {
37788  finitel(0);
37789   ;
37790   return 0;
37791 }
37792 _ACEOF
37793 if ac_fn_cxx_try_compile "$LINENO"; then :
37794   glibcxx_cv_func_finitel_use=yes
37795 else
37796   glibcxx_cv_func_finitel_use=no
37797 fi
37798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37799       ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804
37805
37806 fi
37807
37808   fi
37809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37810 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37811
37812   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37813     for ac_func in finitel
37814 do :
37815   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37816 if test "x$ac_cv_func_finitel" = x""yes; then :
37817   cat >>confdefs.h <<_ACEOF
37818 #define HAVE_FINITEL 1
37819 _ACEOF
37820
37821 fi
37822 done
37823
37824   else
37825
37826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37827 $as_echo_n "checking for _finitel declaration... " >&6; }
37828   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37829     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37830   $as_echo_n "(cached) " >&6
37831 else
37832
37833
37834       ac_ext=cpp
37835 ac_cpp='$CXXCPP $CPPFLAGS'
37836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37839
37840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37841 /* end confdefs.h.  */
37842 #include <math.h>
37843                       #ifdef HAVE_IEEEFP_H
37844                       #include <ieeefp.h>
37845                       #endif
37846
37847 int
37848 main ()
37849 {
37850  _finitel(0);
37851   ;
37852   return 0;
37853 }
37854 _ACEOF
37855 if ac_fn_cxx_try_compile "$LINENO"; then :
37856   glibcxx_cv_func__finitel_use=yes
37857 else
37858   glibcxx_cv_func__finitel_use=no
37859 fi
37860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37861       ac_ext=c
37862 ac_cpp='$CPP $CPPFLAGS'
37863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37866
37867
37868 fi
37869
37870   fi
37871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37872 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37873
37874     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37875       for ac_func in _finitel
37876 do :
37877   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37878 if test "x$ac_cv_func__finitel" = x""yes; then :
37879   cat >>confdefs.h <<_ACEOF
37880 #define HAVE__FINITEL 1
37881 _ACEOF
37882
37883 fi
37884 done
37885
37886     fi
37887   fi
37888
37889
37890
37891
37892   LIBS="$ac_save_LIBS"
37893   CXXFLAGS="$ac_save_CXXFLAGS"
37894
37895
37896   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37897   ac_save_CXXFLAGS="$CXXFLAGS"
37898   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37899
37900
37901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37902 $as_echo_n "checking for strtold declaration... " >&6; }
37903   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37904     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37905   $as_echo_n "(cached) " >&6
37906 else
37907
37908
37909       ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37914
37915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h.  */
37917 #include <stdlib.h>
37918 int
37919 main ()
37920 {
37921  strtold(0, 0);
37922   ;
37923   return 0;
37924 }
37925 _ACEOF
37926 if ac_fn_cxx_try_compile "$LINENO"; then :
37927   glibcxx_cv_func_strtold_use=yes
37928 else
37929   glibcxx_cv_func_strtold_use=no
37930 fi
37931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932       ac_ext=c
37933 ac_cpp='$CPP $CPPFLAGS'
37934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37937
37938
37939 fi
37940
37941   fi
37942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37943 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37944   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37945     for ac_func in strtold
37946 do :
37947   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37948 if test "x$ac_cv_func_strtold" = x""yes; then :
37949   cat >>confdefs.h <<_ACEOF
37950 #define HAVE_STRTOLD 1
37951 _ACEOF
37952
37953 fi
37954 done
37955
37956   fi
37957
37958
37959
37960
37961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37962 $as_echo_n "checking for strtof declaration... " >&6; }
37963   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37964     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37965   $as_echo_n "(cached) " >&6
37966 else
37967
37968
37969       ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974
37975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h.  */
37977 #include <stdlib.h>
37978 int
37979 main ()
37980 {
37981  strtof(0, 0);
37982   ;
37983   return 0;
37984 }
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987   glibcxx_cv_func_strtof_use=yes
37988 else
37989   glibcxx_cv_func_strtof_use=no
37990 fi
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992       ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997
37998
37999 fi
38000
38001   fi
38002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38003 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38004   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38005     for ac_func in strtof
38006 do :
38007   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38008 if test "x$ac_cv_func_strtof" = x""yes; then :
38009   cat >>confdefs.h <<_ACEOF
38010 #define HAVE_STRTOF 1
38011 _ACEOF
38012
38013 fi
38014 done
38015
38016   fi
38017
38018
38019
38020
38021   CXXFLAGS="$ac_save_CXXFLAGS"
38022
38023     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38024
38025     # We don't yet support AIX's TLS ABI.
38026     #GCC_CHECK_TLS
38027
38028
38029
38030
38031
38032           am_save_CPPFLAGS="$CPPFLAGS"
38033
38034   for element in $INCICONV; do
38035     haveit=
38036     for x in $CPPFLAGS; do
38037
38038   acl_save_prefix="$prefix"
38039   prefix="$acl_final_prefix"
38040   acl_save_exec_prefix="$exec_prefix"
38041   exec_prefix="$acl_final_exec_prefix"
38042   eval x=\"$x\"
38043   exec_prefix="$acl_save_exec_prefix"
38044   prefix="$acl_save_prefix"
38045
38046       if test "X$x" = "X$element"; then
38047         haveit=yes
38048         break
38049       fi
38050     done
38051     if test -z "$haveit"; then
38052       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38053     fi
38054   done
38055
38056
38057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38058 $as_echo_n "checking for iconv... " >&6; }
38059 if test "${am_cv_func_iconv+set}" = set; then :
38060   $as_echo_n "(cached) " >&6
38061 else
38062
38063     am_cv_func_iconv="no, consider installing GNU libiconv"
38064     am_cv_lib_iconv=no
38065     if test x$gcc_no_link = xyes; then
38066   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38067 fi
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h.  */
38070 #include <stdlib.h>
38071 #include <iconv.h>
38072 int
38073 main ()
38074 {
38075 iconv_t cd = iconv_open("","");
38076        iconv(cd,NULL,NULL,NULL,NULL);
38077        iconv_close(cd);
38078   ;
38079   return 0;
38080 }
38081 _ACEOF
38082 if ac_fn_c_try_link "$LINENO"; then :
38083   am_cv_func_iconv=yes
38084 fi
38085 rm -f core conftest.err conftest.$ac_objext \
38086     conftest$ac_exeext conftest.$ac_ext
38087     if test "$am_cv_func_iconv" != yes; then
38088       am_save_LIBS="$LIBS"
38089       LIBS="$LIBS $LIBICONV"
38090       if test x$gcc_no_link = xyes; then
38091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38092 fi
38093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38094 /* end confdefs.h.  */
38095 #include <stdlib.h>
38096 #include <iconv.h>
38097 int
38098 main ()
38099 {
38100 iconv_t cd = iconv_open("","");
38101          iconv(cd,NULL,NULL,NULL,NULL);
38102          iconv_close(cd);
38103   ;
38104   return 0;
38105 }
38106 _ACEOF
38107 if ac_fn_c_try_link "$LINENO"; then :
38108   am_cv_lib_iconv=yes
38109         am_cv_func_iconv=yes
38110 fi
38111 rm -f core conftest.err conftest.$ac_objext \
38112     conftest$ac_exeext conftest.$ac_ext
38113       LIBS="$am_save_LIBS"
38114     fi
38115
38116 fi
38117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38118 $as_echo "$am_cv_func_iconv" >&6; }
38119   if test "$am_cv_func_iconv" = yes; then
38120
38121 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38122
38123   fi
38124   if test "$am_cv_lib_iconv" = yes; then
38125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38126 $as_echo_n "checking how to link with libiconv... " >&6; }
38127     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38128 $as_echo "$LIBICONV" >&6; }
38129   else
38130             CPPFLAGS="$am_save_CPPFLAGS"
38131     LIBICONV=
38132     LTLIBICONV=
38133   fi
38134
38135
38136
38137   if test "$am_cv_func_iconv" = yes; then
38138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38139 $as_echo_n "checking for iconv declaration... " >&6; }
38140     if test "${am_cv_proto_iconv+set}" = set; then :
38141   $as_echo_n "(cached) " >&6
38142 else
38143
38144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h.  */
38146
38147 #include <stdlib.h>
38148 #include <iconv.h>
38149 extern
38150 #ifdef __cplusplus
38151 "C"
38152 #endif
38153 #if defined(__STDC__) || defined(__cplusplus)
38154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38155 #else
38156 size_t iconv();
38157 #endif
38158
38159 int
38160 main ()
38161 {
38162
38163   ;
38164   return 0;
38165 }
38166 _ACEOF
38167 if ac_fn_c_try_compile "$LINENO"; then :
38168   am_cv_proto_iconv_arg1=""
38169 else
38170   am_cv_proto_iconv_arg1="const"
38171 fi
38172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38173       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);"
38174 fi
38175
38176     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38178          }$am_cv_proto_iconv" >&5
38179 $as_echo "${ac_t:-
38180          }$am_cv_proto_iconv" >&6; }
38181
38182 cat >>confdefs.h <<_ACEOF
38183 #define ICONV_CONST $am_cv_proto_iconv_arg1
38184 _ACEOF
38185
38186   fi
38187
38188     ;;
38189
38190   *-darwin*)
38191     # Darwin versions vary, but the linker should work in a cross environment,
38192     # so we just check for all the features here.
38193     # Check for available headers.
38194
38195     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38196
38197   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38198   ac_save_CXXFLAGS="$CXXFLAGS"
38199   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38200
38201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38202 $as_echo_n "checking for sin in -lm... " >&6; }
38203 if test "${ac_cv_lib_m_sin+set}" = set; then :
38204   $as_echo_n "(cached) " >&6
38205 else
38206   ac_check_lib_save_LIBS=$LIBS
38207 LIBS="-lm  $LIBS"
38208 if test x$gcc_no_link = xyes; then
38209   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38210 fi
38211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38212 /* end confdefs.h.  */
38213
38214 /* Override any GCC internal prototype to avoid an error.
38215    Use char because int might match the return type of a GCC
38216    builtin and then its argument prototype would still apply.  */
38217 #ifdef __cplusplus
38218 extern "C"
38219 #endif
38220 char sin ();
38221 int
38222 main ()
38223 {
38224 return sin ();
38225   ;
38226   return 0;
38227 }
38228 _ACEOF
38229 if ac_fn_c_try_link "$LINENO"; then :
38230   ac_cv_lib_m_sin=yes
38231 else
38232   ac_cv_lib_m_sin=no
38233 fi
38234 rm -f core conftest.err conftest.$ac_objext \
38235     conftest$ac_exeext conftest.$ac_ext
38236 LIBS=$ac_check_lib_save_LIBS
38237 fi
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38239 $as_echo "$ac_cv_lib_m_sin" >&6; }
38240 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38241   libm="-lm"
38242 fi
38243
38244   ac_save_LIBS="$LIBS"
38245   LIBS="$LIBS $libm"
38246
38247
38248
38249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38250 $as_echo_n "checking for isinf declaration... " >&6; }
38251   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38252     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38253   $as_echo_n "(cached) " >&6
38254 else
38255
38256
38257       ac_ext=cpp
38258 ac_cpp='$CXXCPP $CPPFLAGS'
38259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38262
38263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38264 /* end confdefs.h.  */
38265 #include <math.h>
38266                       #ifdef HAVE_IEEEFP_H
38267                       #include <ieeefp.h>
38268                       #endif
38269
38270 int
38271 main ()
38272 {
38273  isinf(0);
38274   ;
38275   return 0;
38276 }
38277 _ACEOF
38278 if ac_fn_cxx_try_compile "$LINENO"; then :
38279   glibcxx_cv_func_isinf_use=yes
38280 else
38281   glibcxx_cv_func_isinf_use=no
38282 fi
38283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38284       ac_ext=c
38285 ac_cpp='$CPP $CPPFLAGS'
38286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38289
38290
38291 fi
38292
38293   fi
38294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38295 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38296
38297   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38298     for ac_func in isinf
38299 do :
38300   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38301 if test "x$ac_cv_func_isinf" = x""yes; then :
38302   cat >>confdefs.h <<_ACEOF
38303 #define HAVE_ISINF 1
38304 _ACEOF
38305
38306 fi
38307 done
38308
38309   else
38310
38311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38312 $as_echo_n "checking for _isinf declaration... " >&6; }
38313   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38314     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38315   $as_echo_n "(cached) " >&6
38316 else
38317
38318
38319       ac_ext=cpp
38320 ac_cpp='$CXXCPP $CPPFLAGS'
38321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38324
38325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38326 /* end confdefs.h.  */
38327 #include <math.h>
38328                       #ifdef HAVE_IEEEFP_H
38329                       #include <ieeefp.h>
38330                       #endif
38331
38332 int
38333 main ()
38334 {
38335  _isinf(0);
38336   ;
38337   return 0;
38338 }
38339 _ACEOF
38340 if ac_fn_cxx_try_compile "$LINENO"; then :
38341   glibcxx_cv_func__isinf_use=yes
38342 else
38343   glibcxx_cv_func__isinf_use=no
38344 fi
38345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38346       ac_ext=c
38347 ac_cpp='$CPP $CPPFLAGS'
38348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38351
38352
38353 fi
38354
38355   fi
38356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38357 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38358
38359     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38360       for ac_func in _isinf
38361 do :
38362   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38363 if test "x$ac_cv_func__isinf" = x""yes; then :
38364   cat >>confdefs.h <<_ACEOF
38365 #define HAVE__ISINF 1
38366 _ACEOF
38367
38368 fi
38369 done
38370
38371     fi
38372   fi
38373
38374
38375
38376
38377
38378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38379 $as_echo_n "checking for isnan declaration... " >&6; }
38380   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38381     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38382   $as_echo_n "(cached) " >&6
38383 else
38384
38385
38386       ac_ext=cpp
38387 ac_cpp='$CXXCPP $CPPFLAGS'
38388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38391
38392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38393 /* end confdefs.h.  */
38394 #include <math.h>
38395                       #ifdef HAVE_IEEEFP_H
38396                       #include <ieeefp.h>
38397                       #endif
38398
38399 int
38400 main ()
38401 {
38402  isnan(0);
38403   ;
38404   return 0;
38405 }
38406 _ACEOF
38407 if ac_fn_cxx_try_compile "$LINENO"; then :
38408   glibcxx_cv_func_isnan_use=yes
38409 else
38410   glibcxx_cv_func_isnan_use=no
38411 fi
38412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38413       ac_ext=c
38414 ac_cpp='$CPP $CPPFLAGS'
38415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38418
38419
38420 fi
38421
38422   fi
38423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38424 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38425
38426   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38427     for ac_func in isnan
38428 do :
38429   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38430 if test "x$ac_cv_func_isnan" = x""yes; then :
38431   cat >>confdefs.h <<_ACEOF
38432 #define HAVE_ISNAN 1
38433 _ACEOF
38434
38435 fi
38436 done
38437
38438   else
38439
38440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38441 $as_echo_n "checking for _isnan declaration... " >&6; }
38442   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38443     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38444   $as_echo_n "(cached) " >&6
38445 else
38446
38447
38448       ac_ext=cpp
38449 ac_cpp='$CXXCPP $CPPFLAGS'
38450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38453
38454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38455 /* end confdefs.h.  */
38456 #include <math.h>
38457                       #ifdef HAVE_IEEEFP_H
38458                       #include <ieeefp.h>
38459                       #endif
38460
38461 int
38462 main ()
38463 {
38464  _isnan(0);
38465   ;
38466   return 0;
38467 }
38468 _ACEOF
38469 if ac_fn_cxx_try_compile "$LINENO"; then :
38470   glibcxx_cv_func__isnan_use=yes
38471 else
38472   glibcxx_cv_func__isnan_use=no
38473 fi
38474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38475       ac_ext=c
38476 ac_cpp='$CPP $CPPFLAGS'
38477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38480
38481
38482 fi
38483
38484   fi
38485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38486 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38487
38488     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38489       for ac_func in _isnan
38490 do :
38491   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38492 if test "x$ac_cv_func__isnan" = x""yes; then :
38493   cat >>confdefs.h <<_ACEOF
38494 #define HAVE__ISNAN 1
38495 _ACEOF
38496
38497 fi
38498 done
38499
38500     fi
38501   fi
38502
38503
38504
38505
38506
38507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38508 $as_echo_n "checking for finite declaration... " >&6; }
38509   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38510     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38511   $as_echo_n "(cached) " >&6
38512 else
38513
38514
38515       ac_ext=cpp
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38520
38521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38522 /* end confdefs.h.  */
38523 #include <math.h>
38524                       #ifdef HAVE_IEEEFP_H
38525                       #include <ieeefp.h>
38526                       #endif
38527
38528 int
38529 main ()
38530 {
38531  finite(0);
38532   ;
38533   return 0;
38534 }
38535 _ACEOF
38536 if ac_fn_cxx_try_compile "$LINENO"; then :
38537   glibcxx_cv_func_finite_use=yes
38538 else
38539   glibcxx_cv_func_finite_use=no
38540 fi
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542       ac_ext=c
38543 ac_cpp='$CPP $CPPFLAGS'
38544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38547
38548
38549 fi
38550
38551   fi
38552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38553 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38554
38555   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38556     for ac_func in finite
38557 do :
38558   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38559 if test "x$ac_cv_func_finite" = x""yes; then :
38560   cat >>confdefs.h <<_ACEOF
38561 #define HAVE_FINITE 1
38562 _ACEOF
38563
38564 fi
38565 done
38566
38567   else
38568
38569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38570 $as_echo_n "checking for _finite declaration... " >&6; }
38571   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38572     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38573   $as_echo_n "(cached) " >&6
38574 else
38575
38576
38577       ac_ext=cpp
38578 ac_cpp='$CXXCPP $CPPFLAGS'
38579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38582
38583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38584 /* end confdefs.h.  */
38585 #include <math.h>
38586                       #ifdef HAVE_IEEEFP_H
38587                       #include <ieeefp.h>
38588                       #endif
38589
38590 int
38591 main ()
38592 {
38593  _finite(0);
38594   ;
38595   return 0;
38596 }
38597 _ACEOF
38598 if ac_fn_cxx_try_compile "$LINENO"; then :
38599   glibcxx_cv_func__finite_use=yes
38600 else
38601   glibcxx_cv_func__finite_use=no
38602 fi
38603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604       ac_ext=c
38605 ac_cpp='$CPP $CPPFLAGS'
38606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38609
38610
38611 fi
38612
38613   fi
38614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38615 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38616
38617     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38618       for ac_func in _finite
38619 do :
38620   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38621 if test "x$ac_cv_func__finite" = x""yes; then :
38622   cat >>confdefs.h <<_ACEOF
38623 #define HAVE__FINITE 1
38624 _ACEOF
38625
38626 fi
38627 done
38628
38629     fi
38630   fi
38631
38632
38633
38634
38635
38636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38637 $as_echo_n "checking for sincos declaration... " >&6; }
38638   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38639     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38640   $as_echo_n "(cached) " >&6
38641 else
38642
38643
38644       ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38649
38650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h.  */
38652 #include <math.h>
38653 int
38654 main ()
38655 {
38656  sincos(0, 0, 0);
38657   ;
38658   return 0;
38659 }
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662   glibcxx_cv_func_sincos_use=yes
38663 else
38664   glibcxx_cv_func_sincos_use=no
38665 fi
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667       ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38672
38673
38674 fi
38675
38676   fi
38677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38678 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38679
38680   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38681     for ac_func in sincos
38682 do :
38683   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38684 if test "x$ac_cv_func_sincos" = x""yes; then :
38685   cat >>confdefs.h <<_ACEOF
38686 #define HAVE_SINCOS 1
38687 _ACEOF
38688
38689 fi
38690 done
38691
38692   else
38693
38694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38695 $as_echo_n "checking for _sincos declaration... " >&6; }
38696   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38697     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38698   $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702       ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h.  */
38710 #include <math.h>
38711 int
38712 main ()
38713 {
38714  _sincos(0, 0, 0);
38715   ;
38716   return 0;
38717 }
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720   glibcxx_cv_func__sincos_use=yes
38721 else
38722   glibcxx_cv_func__sincos_use=no
38723 fi
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725       ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38730
38731
38732 fi
38733
38734   fi
38735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38736 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38737
38738     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38739       for ac_func in _sincos
38740 do :
38741   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38742 if test "x$ac_cv_func__sincos" = x""yes; then :
38743   cat >>confdefs.h <<_ACEOF
38744 #define HAVE__SINCOS 1
38745 _ACEOF
38746
38747 fi
38748 done
38749
38750     fi
38751   fi
38752
38753
38754
38755
38756
38757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38758 $as_echo_n "checking for fpclass declaration... " >&6; }
38759   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38760     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38761   $as_echo_n "(cached) " >&6
38762 else
38763
38764
38765       ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770
38771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h.  */
38773 #include <math.h>
38774                       #ifdef HAVE_IEEEFP_H
38775                       #include <ieeefp.h>
38776                       #endif
38777
38778 int
38779 main ()
38780 {
38781  fpclass(0);
38782   ;
38783   return 0;
38784 }
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787   glibcxx_cv_func_fpclass_use=yes
38788 else
38789   glibcxx_cv_func_fpclass_use=no
38790 fi
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792       ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38797
38798
38799 fi
38800
38801   fi
38802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38803 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38804
38805   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38806     for ac_func in fpclass
38807 do :
38808   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38809 if test "x$ac_cv_func_fpclass" = x""yes; then :
38810   cat >>confdefs.h <<_ACEOF
38811 #define HAVE_FPCLASS 1
38812 _ACEOF
38813
38814 fi
38815 done
38816
38817   else
38818
38819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38820 $as_echo_n "checking for _fpclass declaration... " >&6; }
38821   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38822     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38823   $as_echo_n "(cached) " >&6
38824 else
38825
38826
38827       ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832
38833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h.  */
38835 #include <math.h>
38836                       #ifdef HAVE_IEEEFP_H
38837                       #include <ieeefp.h>
38838                       #endif
38839
38840 int
38841 main ()
38842 {
38843  _fpclass(0);
38844   ;
38845   return 0;
38846 }
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849   glibcxx_cv_func__fpclass_use=yes
38850 else
38851   glibcxx_cv_func__fpclass_use=no
38852 fi
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854       ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38859
38860
38861 fi
38862
38863   fi
38864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38865 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38866
38867     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38868       for ac_func in _fpclass
38869 do :
38870   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38871 if test "x$ac_cv_func__fpclass" = x""yes; then :
38872   cat >>confdefs.h <<_ACEOF
38873 #define HAVE__FPCLASS 1
38874 _ACEOF
38875
38876 fi
38877 done
38878
38879     fi
38880   fi
38881
38882
38883
38884
38885
38886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38887 $as_echo_n "checking for qfpclass declaration... " >&6; }
38888   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38889     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38890   $as_echo_n "(cached) " >&6
38891 else
38892
38893
38894       ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899
38900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h.  */
38902 #include <math.h>
38903                       #ifdef HAVE_IEEEFP_H
38904                       #include <ieeefp.h>
38905                       #endif
38906
38907 int
38908 main ()
38909 {
38910  qfpclass(0);
38911   ;
38912   return 0;
38913 }
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916   glibcxx_cv_func_qfpclass_use=yes
38917 else
38918   glibcxx_cv_func_qfpclass_use=no
38919 fi
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921       ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926
38927
38928 fi
38929
38930   fi
38931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38932 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38933
38934   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38935     for ac_func in qfpclass
38936 do :
38937   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38938 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38939   cat >>confdefs.h <<_ACEOF
38940 #define HAVE_QFPCLASS 1
38941 _ACEOF
38942
38943 fi
38944 done
38945
38946   else
38947
38948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38949 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38950   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38951     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38952   $as_echo_n "(cached) " >&6
38953 else
38954
38955
38956       ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961
38962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h.  */
38964 #include <math.h>
38965                       #ifdef HAVE_IEEEFP_H
38966                       #include <ieeefp.h>
38967                       #endif
38968
38969 int
38970 main ()
38971 {
38972  _qfpclass(0);
38973   ;
38974   return 0;
38975 }
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978   glibcxx_cv_func__qfpclass_use=yes
38979 else
38980   glibcxx_cv_func__qfpclass_use=no
38981 fi
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983       ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988
38989
38990 fi
38991
38992   fi
38993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38994 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38995
38996     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38997       for ac_func in _qfpclass
38998 do :
38999   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39000 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39001   cat >>confdefs.h <<_ACEOF
39002 #define HAVE__QFPCLASS 1
39003 _ACEOF
39004
39005 fi
39006 done
39007
39008     fi
39009   fi
39010
39011
39012
39013
39014
39015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39016 $as_echo_n "checking for hypot declaration... " >&6; }
39017   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39018     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39019   $as_echo_n "(cached) " >&6
39020 else
39021
39022
39023       ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028
39029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h.  */
39031 #include <math.h>
39032 int
39033 main ()
39034 {
39035  hypot(0, 0);
39036   ;
39037   return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041   glibcxx_cv_func_hypot_use=yes
39042 else
39043   glibcxx_cv_func_hypot_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046       ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055   fi
39056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39057 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39058
39059   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39060     for ac_func in hypot
39061 do :
39062   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39063 if test "x$ac_cv_func_hypot" = x""yes; then :
39064   cat >>confdefs.h <<_ACEOF
39065 #define HAVE_HYPOT 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071   else
39072
39073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39074 $as_echo_n "checking for _hypot declaration... " >&6; }
39075   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39076     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39077   $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081       ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h.  */
39089 #include <math.h>
39090 int
39091 main ()
39092 {
39093  _hypot(0, 0);
39094   ;
39095   return 0;
39096 }
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099   glibcxx_cv_func__hypot_use=yes
39100 else
39101   glibcxx_cv_func__hypot_use=no
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104       ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39109
39110
39111 fi
39112
39113   fi
39114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39115 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39116
39117     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39118       for ac_func in _hypot
39119 do :
39120   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39121 if test "x$ac_cv_func__hypot" = x""yes; then :
39122   cat >>confdefs.h <<_ACEOF
39123 #define HAVE__HYPOT 1
39124 _ACEOF
39125
39126 fi
39127 done
39128
39129     fi
39130   fi
39131
39132
39133
39134
39135
39136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39137 $as_echo_n "checking for float trig functions... " >&6; }
39138   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39139   $as_echo_n "(cached) " >&6
39140 else
39141
39142
39143     ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148
39149     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h.  */
39151 #include <math.h>
39152 int
39153 main ()
39154 {
39155 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39156   ;
39157   return 0;
39158 }
39159 _ACEOF
39160 if ac_fn_cxx_try_compile "$LINENO"; then :
39161   glibcxx_cv_func_float_trig_use=yes
39162 else
39163   glibcxx_cv_func_float_trig_use=no
39164 fi
39165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39166     ac_ext=c
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171
39172 fi
39173
39174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39175 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39176   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39177     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39178 do :
39179   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39181 eval as_val=\$$as_ac_var
39182    if test "x$as_val" = x""yes; then :
39183   cat >>confdefs.h <<_ACEOF
39184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39185 _ACEOF
39186
39187 fi
39188 done
39189
39190   else
39191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39192 $as_echo_n "checking for _float trig functions... " >&6; }
39193     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39194   $as_echo_n "(cached) " >&6
39195 else
39196
39197
39198       ac_ext=cpp
39199 ac_cpp='$CXXCPP $CPPFLAGS'
39200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39203
39204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39205 /* end confdefs.h.  */
39206 #include <math.h>
39207 int
39208 main ()
39209 {
39210 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39211   ;
39212   return 0;
39213 }
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216   glibcxx_cv_func__float_trig_use=yes
39217 else
39218   glibcxx_cv_func__float_trig_use=no
39219 fi
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221       ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39226
39227 fi
39228
39229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39230 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39231     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39232       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39233 do :
39234   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39236 eval as_val=\$$as_ac_var
39237    if test "x$as_val" = x""yes; then :
39238   cat >>confdefs.h <<_ACEOF
39239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39240 _ACEOF
39241
39242 fi
39243 done
39244
39245     fi
39246   fi
39247
39248
39249
39250
39251
39252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39253 $as_echo_n "checking for float round functions... " >&6; }
39254   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39255   $as_echo_n "(cached) " >&6
39256 else
39257
39258
39259     ac_ext=cpp
39260 ac_cpp='$CXXCPP $CPPFLAGS'
39261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39264
39265     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39266 /* end confdefs.h.  */
39267 #include <math.h>
39268 int
39269 main ()
39270 {
39271 ceilf (0); floorf (0);
39272   ;
39273   return 0;
39274 }
39275 _ACEOF
39276 if ac_fn_cxx_try_compile "$LINENO"; then :
39277   glibcxx_cv_func_float_round_use=yes
39278 else
39279   glibcxx_cv_func_float_round_use=no
39280 fi
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282     ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287
39288 fi
39289
39290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39291 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39292   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39293     for ac_func in ceilf floorf
39294 do :
39295   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39297 eval as_val=\$$as_ac_var
39298    if test "x$as_val" = x""yes; then :
39299   cat >>confdefs.h <<_ACEOF
39300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39301 _ACEOF
39302
39303 fi
39304 done
39305
39306   else
39307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39308 $as_echo_n "checking for _float round functions... " >&6; }
39309     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39310   $as_echo_n "(cached) " >&6
39311 else
39312
39313
39314       ac_ext=cpp
39315 ac_cpp='$CXXCPP $CPPFLAGS'
39316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39319
39320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39321 /* end confdefs.h.  */
39322 #include <math.h>
39323 int
39324 main ()
39325 {
39326 _ceilf (0); _floorf (0);
39327   ;
39328   return 0;
39329 }
39330 _ACEOF
39331 if ac_fn_cxx_try_compile "$LINENO"; then :
39332   glibcxx_cv_func__float_round_use=yes
39333 else
39334   glibcxx_cv_func__float_round_use=no
39335 fi
39336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39337       ac_ext=c
39338 ac_cpp='$CPP $CPPFLAGS'
39339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39342
39343 fi
39344
39345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39346 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39347     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39348       for ac_func in _ceilf _floorf
39349 do :
39350   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39352 eval as_val=\$$as_ac_var
39353    if test "x$as_val" = x""yes; then :
39354   cat >>confdefs.h <<_ACEOF
39355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39356 _ACEOF
39357
39358 fi
39359 done
39360
39361     fi
39362   fi
39363
39364
39365
39366
39367
39368
39369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39370 $as_echo_n "checking for expf declaration... " >&6; }
39371   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39372     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39373   $as_echo_n "(cached) " >&6
39374 else
39375
39376
39377       ac_ext=cpp
39378 ac_cpp='$CXXCPP $CPPFLAGS'
39379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39382
39383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39384 /* end confdefs.h.  */
39385 #include <math.h>
39386                       #ifdef HAVE_IEEEFP_H
39387                       #include <ieeefp.h>
39388                       #endif
39389
39390 int
39391 main ()
39392 {
39393  expf(0);
39394   ;
39395   return 0;
39396 }
39397 _ACEOF
39398 if ac_fn_cxx_try_compile "$LINENO"; then :
39399   glibcxx_cv_func_expf_use=yes
39400 else
39401   glibcxx_cv_func_expf_use=no
39402 fi
39403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39404       ac_ext=c
39405 ac_cpp='$CPP $CPPFLAGS'
39406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39409
39410
39411 fi
39412
39413   fi
39414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39415 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39416
39417   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39418     for ac_func in expf
39419 do :
39420   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39421 if test "x$ac_cv_func_expf" = x""yes; then :
39422   cat >>confdefs.h <<_ACEOF
39423 #define HAVE_EXPF 1
39424 _ACEOF
39425
39426 fi
39427 done
39428
39429   else
39430
39431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39432 $as_echo_n "checking for _expf declaration... " >&6; }
39433   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39434     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39435   $as_echo_n "(cached) " >&6
39436 else
39437
39438
39439       ac_ext=cpp
39440 ac_cpp='$CXXCPP $CPPFLAGS'
39441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39444
39445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39446 /* end confdefs.h.  */
39447 #include <math.h>
39448                       #ifdef HAVE_IEEEFP_H
39449                       #include <ieeefp.h>
39450                       #endif
39451
39452 int
39453 main ()
39454 {
39455  _expf(0);
39456   ;
39457   return 0;
39458 }
39459 _ACEOF
39460 if ac_fn_cxx_try_compile "$LINENO"; then :
39461   glibcxx_cv_func__expf_use=yes
39462 else
39463   glibcxx_cv_func__expf_use=no
39464 fi
39465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39466       ac_ext=c
39467 ac_cpp='$CPP $CPPFLAGS'
39468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39471
39472
39473 fi
39474
39475   fi
39476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39477 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39478
39479     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39480       for ac_func in _expf
39481 do :
39482   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39483 if test "x$ac_cv_func__expf" = x""yes; then :
39484   cat >>confdefs.h <<_ACEOF
39485 #define HAVE__EXPF 1
39486 _ACEOF
39487
39488 fi
39489 done
39490
39491     fi
39492   fi
39493
39494
39495
39496
39497
39498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39499 $as_echo_n "checking for isnanf declaration... " >&6; }
39500   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39501     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39502   $as_echo_n "(cached) " >&6
39503 else
39504
39505
39506       ac_ext=cpp
39507 ac_cpp='$CXXCPP $CPPFLAGS'
39508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39511
39512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39513 /* end confdefs.h.  */
39514 #include <math.h>
39515                       #ifdef HAVE_IEEEFP_H
39516                       #include <ieeefp.h>
39517                       #endif
39518
39519 int
39520 main ()
39521 {
39522  isnanf(0);
39523   ;
39524   return 0;
39525 }
39526 _ACEOF
39527 if ac_fn_cxx_try_compile "$LINENO"; then :
39528   glibcxx_cv_func_isnanf_use=yes
39529 else
39530   glibcxx_cv_func_isnanf_use=no
39531 fi
39532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39533       ac_ext=c
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39538
39539
39540 fi
39541
39542   fi
39543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39544 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39545
39546   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39547     for ac_func in isnanf
39548 do :
39549   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39550 if test "x$ac_cv_func_isnanf" = x""yes; then :
39551   cat >>confdefs.h <<_ACEOF
39552 #define HAVE_ISNANF 1
39553 _ACEOF
39554
39555 fi
39556 done
39557
39558   else
39559
39560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39561 $as_echo_n "checking for _isnanf declaration... " >&6; }
39562   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39563     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39564   $as_echo_n "(cached) " >&6
39565 else
39566
39567
39568       ac_ext=cpp
39569 ac_cpp='$CXXCPP $CPPFLAGS'
39570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39573
39574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39575 /* end confdefs.h.  */
39576 #include <math.h>
39577                       #ifdef HAVE_IEEEFP_H
39578                       #include <ieeefp.h>
39579                       #endif
39580
39581 int
39582 main ()
39583 {
39584  _isnanf(0);
39585   ;
39586   return 0;
39587 }
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590   glibcxx_cv_func__isnanf_use=yes
39591 else
39592   glibcxx_cv_func__isnanf_use=no
39593 fi
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595       ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39600
39601
39602 fi
39603
39604   fi
39605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39606 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39607
39608     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39609       for ac_func in _isnanf
39610 do :
39611   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39612 if test "x$ac_cv_func__isnanf" = x""yes; then :
39613   cat >>confdefs.h <<_ACEOF
39614 #define HAVE__ISNANF 1
39615 _ACEOF
39616
39617 fi
39618 done
39619
39620     fi
39621   fi
39622
39623
39624
39625
39626
39627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39628 $as_echo_n "checking for isinff declaration... " >&6; }
39629   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39630     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39631   $as_echo_n "(cached) " >&6
39632 else
39633
39634
39635       ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39640
39641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h.  */
39643 #include <math.h>
39644                       #ifdef HAVE_IEEEFP_H
39645                       #include <ieeefp.h>
39646                       #endif
39647
39648 int
39649 main ()
39650 {
39651  isinff(0);
39652   ;
39653   return 0;
39654 }
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657   glibcxx_cv_func_isinff_use=yes
39658 else
39659   glibcxx_cv_func_isinff_use=no
39660 fi
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662       ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39667
39668
39669 fi
39670
39671   fi
39672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39673 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39674
39675   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39676     for ac_func in isinff
39677 do :
39678   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39679 if test "x$ac_cv_func_isinff" = x""yes; then :
39680   cat >>confdefs.h <<_ACEOF
39681 #define HAVE_ISINFF 1
39682 _ACEOF
39683
39684 fi
39685 done
39686
39687   else
39688
39689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39690 $as_echo_n "checking for _isinff declaration... " >&6; }
39691   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39692     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39693   $as_echo_n "(cached) " >&6
39694 else
39695
39696
39697       ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39702
39703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h.  */
39705 #include <math.h>
39706                       #ifdef HAVE_IEEEFP_H
39707                       #include <ieeefp.h>
39708                       #endif
39709
39710 int
39711 main ()
39712 {
39713  _isinff(0);
39714   ;
39715   return 0;
39716 }
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719   glibcxx_cv_func__isinff_use=yes
39720 else
39721   glibcxx_cv_func__isinff_use=no
39722 fi
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724       ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39729
39730
39731 fi
39732
39733   fi
39734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39735 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39736
39737     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39738       for ac_func in _isinff
39739 do :
39740   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39741 if test "x$ac_cv_func__isinff" = x""yes; then :
39742   cat >>confdefs.h <<_ACEOF
39743 #define HAVE__ISINFF 1
39744 _ACEOF
39745
39746 fi
39747 done
39748
39749     fi
39750   fi
39751
39752
39753
39754
39755
39756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39757 $as_echo_n "checking for atan2f declaration... " >&6; }
39758   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39759     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39760   $as_echo_n "(cached) " >&6
39761 else
39762
39763
39764       ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39769
39770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h.  */
39772 #include <math.h>
39773 int
39774 main ()
39775 {
39776  atan2f(0, 0);
39777   ;
39778   return 0;
39779 }
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782   glibcxx_cv_func_atan2f_use=yes
39783 else
39784   glibcxx_cv_func_atan2f_use=no
39785 fi
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787       ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792
39793
39794 fi
39795
39796   fi
39797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39798 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39799
39800   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39801     for ac_func in atan2f
39802 do :
39803   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39804 if test "x$ac_cv_func_atan2f" = x""yes; then :
39805   cat >>confdefs.h <<_ACEOF
39806 #define HAVE_ATAN2F 1
39807 _ACEOF
39808
39809 fi
39810 done
39811
39812   else
39813
39814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39815 $as_echo_n "checking for _atan2f declaration... " >&6; }
39816   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39817     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39818   $as_echo_n "(cached) " >&6
39819 else
39820
39821
39822       ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827
39828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h.  */
39830 #include <math.h>
39831 int
39832 main ()
39833 {
39834  _atan2f(0, 0);
39835   ;
39836   return 0;
39837 }
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840   glibcxx_cv_func__atan2f_use=yes
39841 else
39842   glibcxx_cv_func__atan2f_use=no
39843 fi
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845       ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850
39851
39852 fi
39853
39854   fi
39855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39856 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39857
39858     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39859       for ac_func in _atan2f
39860 do :
39861   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39862 if test "x$ac_cv_func__atan2f" = x""yes; then :
39863   cat >>confdefs.h <<_ACEOF
39864 #define HAVE__ATAN2F 1
39865 _ACEOF
39866
39867 fi
39868 done
39869
39870     fi
39871   fi
39872
39873
39874
39875
39876
39877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39878 $as_echo_n "checking for fabsf declaration... " >&6; }
39879   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39880     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39881   $as_echo_n "(cached) " >&6
39882 else
39883
39884
39885       ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39890
39891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h.  */
39893 #include <math.h>
39894                       #ifdef HAVE_IEEEFP_H
39895                       #include <ieeefp.h>
39896                       #endif
39897
39898 int
39899 main ()
39900 {
39901  fabsf(0);
39902   ;
39903   return 0;
39904 }
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907   glibcxx_cv_func_fabsf_use=yes
39908 else
39909   glibcxx_cv_func_fabsf_use=no
39910 fi
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912       ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39917
39918
39919 fi
39920
39921   fi
39922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39923 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39924
39925   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39926     for ac_func in fabsf
39927 do :
39928   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39929 if test "x$ac_cv_func_fabsf" = x""yes; then :
39930   cat >>confdefs.h <<_ACEOF
39931 #define HAVE_FABSF 1
39932 _ACEOF
39933
39934 fi
39935 done
39936
39937   else
39938
39939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39940 $as_echo_n "checking for _fabsf declaration... " >&6; }
39941   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39942     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39943   $as_echo_n "(cached) " >&6
39944 else
39945
39946
39947       ac_ext=cpp
39948 ac_cpp='$CXXCPP $CPPFLAGS'
39949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39952
39953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39954 /* end confdefs.h.  */
39955 #include <math.h>
39956                       #ifdef HAVE_IEEEFP_H
39957                       #include <ieeefp.h>
39958                       #endif
39959
39960 int
39961 main ()
39962 {
39963  _fabsf(0);
39964   ;
39965   return 0;
39966 }
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969   glibcxx_cv_func__fabsf_use=yes
39970 else
39971   glibcxx_cv_func__fabsf_use=no
39972 fi
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974       ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39979
39980
39981 fi
39982
39983   fi
39984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39985 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39986
39987     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39988       for ac_func in _fabsf
39989 do :
39990   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39991 if test "x$ac_cv_func__fabsf" = x""yes; then :
39992   cat >>confdefs.h <<_ACEOF
39993 #define HAVE__FABSF 1
39994 _ACEOF
39995
39996 fi
39997 done
39998
39999     fi
40000   fi
40001
40002
40003
40004
40005
40006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40007 $as_echo_n "checking for fmodf declaration... " >&6; }
40008   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40009     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40010   $as_echo_n "(cached) " >&6
40011 else
40012
40013
40014       ac_ext=cpp
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40019
40020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40021 /* end confdefs.h.  */
40022 #include <math.h>
40023 int
40024 main ()
40025 {
40026  fmodf(0, 0);
40027   ;
40028   return 0;
40029 }
40030 _ACEOF
40031 if ac_fn_cxx_try_compile "$LINENO"; then :
40032   glibcxx_cv_func_fmodf_use=yes
40033 else
40034   glibcxx_cv_func_fmodf_use=no
40035 fi
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037       ac_ext=c
40038 ac_cpp='$CPP $CPPFLAGS'
40039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40042
40043
40044 fi
40045
40046   fi
40047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40048 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40049
40050   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40051     for ac_func in fmodf
40052 do :
40053   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40054 if test "x$ac_cv_func_fmodf" = x""yes; then :
40055   cat >>confdefs.h <<_ACEOF
40056 #define HAVE_FMODF 1
40057 _ACEOF
40058
40059 fi
40060 done
40061
40062   else
40063
40064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40065 $as_echo_n "checking for _fmodf declaration... " >&6; }
40066   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40067     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40068   $as_echo_n "(cached) " >&6
40069 else
40070
40071
40072       ac_ext=cpp
40073 ac_cpp='$CXXCPP $CPPFLAGS'
40074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40077
40078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40079 /* end confdefs.h.  */
40080 #include <math.h>
40081 int
40082 main ()
40083 {
40084  _fmodf(0, 0);
40085   ;
40086   return 0;
40087 }
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090   glibcxx_cv_func__fmodf_use=yes
40091 else
40092   glibcxx_cv_func__fmodf_use=no
40093 fi
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095       ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40100
40101
40102 fi
40103
40104   fi
40105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40106 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40107
40108     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40109       for ac_func in _fmodf
40110 do :
40111   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40112 if test "x$ac_cv_func__fmodf" = x""yes; then :
40113   cat >>confdefs.h <<_ACEOF
40114 #define HAVE__FMODF 1
40115 _ACEOF
40116
40117 fi
40118 done
40119
40120     fi
40121   fi
40122
40123
40124
40125
40126
40127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40128 $as_echo_n "checking for frexpf declaration... " >&6; }
40129   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40130     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40131   $as_echo_n "(cached) " >&6
40132 else
40133
40134
40135       ac_ext=cpp
40136 ac_cpp='$CXXCPP $CPPFLAGS'
40137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40140
40141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40142 /* end confdefs.h.  */
40143 #include <math.h>
40144 int
40145 main ()
40146 {
40147  frexpf(0, 0);
40148   ;
40149   return 0;
40150 }
40151 _ACEOF
40152 if ac_fn_cxx_try_compile "$LINENO"; then :
40153   glibcxx_cv_func_frexpf_use=yes
40154 else
40155   glibcxx_cv_func_frexpf_use=no
40156 fi
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158       ac_ext=c
40159 ac_cpp='$CPP $CPPFLAGS'
40160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40163
40164
40165 fi
40166
40167   fi
40168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40169 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40170
40171   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40172     for ac_func in frexpf
40173 do :
40174   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40175 if test "x$ac_cv_func_frexpf" = x""yes; then :
40176   cat >>confdefs.h <<_ACEOF
40177 #define HAVE_FREXPF 1
40178 _ACEOF
40179
40180 fi
40181 done
40182
40183   else
40184
40185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40186 $as_echo_n "checking for _frexpf declaration... " >&6; }
40187   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40188     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40189   $as_echo_n "(cached) " >&6
40190 else
40191
40192
40193       ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40198
40199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h.  */
40201 #include <math.h>
40202 int
40203 main ()
40204 {
40205  _frexpf(0, 0);
40206   ;
40207   return 0;
40208 }
40209 _ACEOF
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211   glibcxx_cv_func__frexpf_use=yes
40212 else
40213   glibcxx_cv_func__frexpf_use=no
40214 fi
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40216       ac_ext=c
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40221
40222
40223 fi
40224
40225   fi
40226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40227 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40228
40229     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40230       for ac_func in _frexpf
40231 do :
40232   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40233 if test "x$ac_cv_func__frexpf" = x""yes; then :
40234   cat >>confdefs.h <<_ACEOF
40235 #define HAVE__FREXPF 1
40236 _ACEOF
40237
40238 fi
40239 done
40240
40241     fi
40242   fi
40243
40244
40245
40246
40247
40248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40249 $as_echo_n "checking for hypotf declaration... " >&6; }
40250   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40251     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40252   $as_echo_n "(cached) " >&6
40253 else
40254
40255
40256       ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40261
40262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h.  */
40264 #include <math.h>
40265 int
40266 main ()
40267 {
40268  hypotf(0, 0);
40269   ;
40270   return 0;
40271 }
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274   glibcxx_cv_func_hypotf_use=yes
40275 else
40276   glibcxx_cv_func_hypotf_use=no
40277 fi
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279       ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284
40285
40286 fi
40287
40288   fi
40289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40290 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40291
40292   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40293     for ac_func in hypotf
40294 do :
40295   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40296 if test "x$ac_cv_func_hypotf" = x""yes; then :
40297   cat >>confdefs.h <<_ACEOF
40298 #define HAVE_HYPOTF 1
40299 _ACEOF
40300
40301 fi
40302 done
40303
40304   else
40305
40306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40307 $as_echo_n "checking for _hypotf declaration... " >&6; }
40308   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40309     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40310   $as_echo_n "(cached) " >&6
40311 else
40312
40313
40314       ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h.  */
40322 #include <math.h>
40323 int
40324 main ()
40325 {
40326  _hypotf(0, 0);
40327   ;
40328   return 0;
40329 }
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332   glibcxx_cv_func__hypotf_use=yes
40333 else
40334   glibcxx_cv_func__hypotf_use=no
40335 fi
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337       ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40342
40343
40344 fi
40345
40346   fi
40347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40348 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40349
40350     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40351       for ac_func in _hypotf
40352 do :
40353   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40354 if test "x$ac_cv_func__hypotf" = x""yes; then :
40355   cat >>confdefs.h <<_ACEOF
40356 #define HAVE__HYPOTF 1
40357 _ACEOF
40358
40359 fi
40360 done
40361
40362     fi
40363   fi
40364
40365
40366
40367
40368
40369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40370 $as_echo_n "checking for ldexpf declaration... " >&6; }
40371   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40372     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40373   $as_echo_n "(cached) " >&6
40374 else
40375
40376
40377       ac_ext=cpp
40378 ac_cpp='$CXXCPP $CPPFLAGS'
40379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40382
40383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40384 /* end confdefs.h.  */
40385 #include <math.h>
40386 int
40387 main ()
40388 {
40389  ldexpf(0, 0);
40390   ;
40391   return 0;
40392 }
40393 _ACEOF
40394 if ac_fn_cxx_try_compile "$LINENO"; then :
40395   glibcxx_cv_func_ldexpf_use=yes
40396 else
40397   glibcxx_cv_func_ldexpf_use=no
40398 fi
40399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40400       ac_ext=c
40401 ac_cpp='$CPP $CPPFLAGS'
40402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40405
40406
40407 fi
40408
40409   fi
40410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40411 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40412
40413   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40414     for ac_func in ldexpf
40415 do :
40416   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40417 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40418   cat >>confdefs.h <<_ACEOF
40419 #define HAVE_LDEXPF 1
40420 _ACEOF
40421
40422 fi
40423 done
40424
40425   else
40426
40427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40428 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40429   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40430     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40431   $as_echo_n "(cached) " >&6
40432 else
40433
40434
40435       ac_ext=cpp
40436 ac_cpp='$CXXCPP $CPPFLAGS'
40437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40440
40441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442 /* end confdefs.h.  */
40443 #include <math.h>
40444 int
40445 main ()
40446 {
40447  _ldexpf(0, 0);
40448   ;
40449   return 0;
40450 }
40451 _ACEOF
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453   glibcxx_cv_func__ldexpf_use=yes
40454 else
40455   glibcxx_cv_func__ldexpf_use=no
40456 fi
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458       ac_ext=c
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463
40464
40465 fi
40466
40467   fi
40468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40469 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40470
40471     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40472       for ac_func in _ldexpf
40473 do :
40474   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40475 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40476   cat >>confdefs.h <<_ACEOF
40477 #define HAVE__LDEXPF 1
40478 _ACEOF
40479
40480 fi
40481 done
40482
40483     fi
40484   fi
40485
40486
40487
40488
40489
40490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40491 $as_echo_n "checking for logf declaration... " >&6; }
40492   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40493     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40494   $as_echo_n "(cached) " >&6
40495 else
40496
40497
40498       ac_ext=cpp
40499 ac_cpp='$CXXCPP $CPPFLAGS'
40500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40503
40504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40505 /* end confdefs.h.  */
40506 #include <math.h>
40507                       #ifdef HAVE_IEEEFP_H
40508                       #include <ieeefp.h>
40509                       #endif
40510
40511 int
40512 main ()
40513 {
40514  logf(0);
40515   ;
40516   return 0;
40517 }
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520   glibcxx_cv_func_logf_use=yes
40521 else
40522   glibcxx_cv_func_logf_use=no
40523 fi
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525       ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530
40531
40532 fi
40533
40534   fi
40535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40536 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40537
40538   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40539     for ac_func in logf
40540 do :
40541   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40542 if test "x$ac_cv_func_logf" = x""yes; then :
40543   cat >>confdefs.h <<_ACEOF
40544 #define HAVE_LOGF 1
40545 _ACEOF
40546
40547 fi
40548 done
40549
40550   else
40551
40552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40553 $as_echo_n "checking for _logf declaration... " >&6; }
40554   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40555     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40556   $as_echo_n "(cached) " >&6
40557 else
40558
40559
40560       ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565
40566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h.  */
40568 #include <math.h>
40569                       #ifdef HAVE_IEEEFP_H
40570                       #include <ieeefp.h>
40571                       #endif
40572
40573 int
40574 main ()
40575 {
40576  _logf(0);
40577   ;
40578   return 0;
40579 }
40580 _ACEOF
40581 if ac_fn_cxx_try_compile "$LINENO"; then :
40582   glibcxx_cv_func__logf_use=yes
40583 else
40584   glibcxx_cv_func__logf_use=no
40585 fi
40586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40587       ac_ext=c
40588 ac_cpp='$CPP $CPPFLAGS'
40589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40592
40593
40594 fi
40595
40596   fi
40597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40598 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40599
40600     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40601       for ac_func in _logf
40602 do :
40603   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40604 if test "x$ac_cv_func__logf" = x""yes; then :
40605   cat >>confdefs.h <<_ACEOF
40606 #define HAVE__LOGF 1
40607 _ACEOF
40608
40609 fi
40610 done
40611
40612     fi
40613   fi
40614
40615
40616
40617
40618
40619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40620 $as_echo_n "checking for log10f declaration... " >&6; }
40621   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40622     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40623   $as_echo_n "(cached) " >&6
40624 else
40625
40626
40627       ac_ext=cpp
40628 ac_cpp='$CXXCPP $CPPFLAGS'
40629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40632
40633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40634 /* end confdefs.h.  */
40635 #include <math.h>
40636                       #ifdef HAVE_IEEEFP_H
40637                       #include <ieeefp.h>
40638                       #endif
40639
40640 int
40641 main ()
40642 {
40643  log10f(0);
40644   ;
40645   return 0;
40646 }
40647 _ACEOF
40648 if ac_fn_cxx_try_compile "$LINENO"; then :
40649   glibcxx_cv_func_log10f_use=yes
40650 else
40651   glibcxx_cv_func_log10f_use=no
40652 fi
40653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40654       ac_ext=c
40655 ac_cpp='$CPP $CPPFLAGS'
40656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40659
40660
40661 fi
40662
40663   fi
40664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40665 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40666
40667   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40668     for ac_func in log10f
40669 do :
40670   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40671 if test "x$ac_cv_func_log10f" = x""yes; then :
40672   cat >>confdefs.h <<_ACEOF
40673 #define HAVE_LOG10F 1
40674 _ACEOF
40675
40676 fi
40677 done
40678
40679   else
40680
40681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40682 $as_echo_n "checking for _log10f declaration... " >&6; }
40683   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40684     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40685   $as_echo_n "(cached) " >&6
40686 else
40687
40688
40689       ac_ext=cpp
40690 ac_cpp='$CXXCPP $CPPFLAGS'
40691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40694
40695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40696 /* end confdefs.h.  */
40697 #include <math.h>
40698                       #ifdef HAVE_IEEEFP_H
40699                       #include <ieeefp.h>
40700                       #endif
40701
40702 int
40703 main ()
40704 {
40705  _log10f(0);
40706   ;
40707   return 0;
40708 }
40709 _ACEOF
40710 if ac_fn_cxx_try_compile "$LINENO"; then :
40711   glibcxx_cv_func__log10f_use=yes
40712 else
40713   glibcxx_cv_func__log10f_use=no
40714 fi
40715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40716       ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721
40722
40723 fi
40724
40725   fi
40726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40727 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40728
40729     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40730       for ac_func in _log10f
40731 do :
40732   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40733 if test "x$ac_cv_func__log10f" = x""yes; then :
40734   cat >>confdefs.h <<_ACEOF
40735 #define HAVE__LOG10F 1
40736 _ACEOF
40737
40738 fi
40739 done
40740
40741     fi
40742   fi
40743
40744
40745
40746
40747
40748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40749 $as_echo_n "checking for modff declaration... " >&6; }
40750   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40751     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40752   $as_echo_n "(cached) " >&6
40753 else
40754
40755
40756       ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761
40762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h.  */
40764 #include <math.h>
40765 int
40766 main ()
40767 {
40768  modff(0, 0);
40769   ;
40770   return 0;
40771 }
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774   glibcxx_cv_func_modff_use=yes
40775 else
40776   glibcxx_cv_func_modff_use=no
40777 fi
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779       ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784
40785
40786 fi
40787
40788   fi
40789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40790 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40791
40792   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40793     for ac_func in modff
40794 do :
40795   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40796 if test "x$ac_cv_func_modff" = x""yes; then :
40797   cat >>confdefs.h <<_ACEOF
40798 #define HAVE_MODFF 1
40799 _ACEOF
40800
40801 fi
40802 done
40803
40804   else
40805
40806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40807 $as_echo_n "checking for _modff declaration... " >&6; }
40808   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40809     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40810   $as_echo_n "(cached) " >&6
40811 else
40812
40813
40814       ac_ext=cpp
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40819
40820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h.  */
40822 #include <math.h>
40823 int
40824 main ()
40825 {
40826  _modff(0, 0);
40827   ;
40828   return 0;
40829 }
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832   glibcxx_cv_func__modff_use=yes
40833 else
40834   glibcxx_cv_func__modff_use=no
40835 fi
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837       ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842
40843
40844 fi
40845
40846   fi
40847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40848 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40849
40850     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40851       for ac_func in _modff
40852 do :
40853   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40854 if test "x$ac_cv_func__modff" = x""yes; then :
40855   cat >>confdefs.h <<_ACEOF
40856 #define HAVE__MODFF 1
40857 _ACEOF
40858
40859 fi
40860 done
40861
40862     fi
40863   fi
40864
40865
40866
40867
40868
40869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40870 $as_echo_n "checking for modf declaration... " >&6; }
40871   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40872     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40873   $as_echo_n "(cached) " >&6
40874 else
40875
40876
40877       ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40882
40883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h.  */
40885 #include <math.h>
40886 int
40887 main ()
40888 {
40889  modf(0, 0);
40890   ;
40891   return 0;
40892 }
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895   glibcxx_cv_func_modf_use=yes
40896 else
40897   glibcxx_cv_func_modf_use=no
40898 fi
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900       ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905
40906
40907 fi
40908
40909   fi
40910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40911 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40912
40913   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40914     for ac_func in modf
40915 do :
40916   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40917 if test "x$ac_cv_func_modf" = x""yes; then :
40918   cat >>confdefs.h <<_ACEOF
40919 #define HAVE_MODF 1
40920 _ACEOF
40921
40922 fi
40923 done
40924
40925   else
40926
40927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40928 $as_echo_n "checking for _modf declaration... " >&6; }
40929   if test x${glibcxx_cv_func__modf_use+set} != xset; then
40930     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40931   $as_echo_n "(cached) " >&6
40932 else
40933
40934
40935       ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940
40941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h.  */
40943 #include <math.h>
40944 int
40945 main ()
40946 {
40947  _modf(0, 0);
40948   ;
40949   return 0;
40950 }
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953   glibcxx_cv_func__modf_use=yes
40954 else
40955   glibcxx_cv_func__modf_use=no
40956 fi
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958       ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963
40964
40965 fi
40966
40967   fi
40968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40969 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40970
40971     if test x$glibcxx_cv_func__modf_use = x"yes"; then
40972       for ac_func in _modf
40973 do :
40974   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40975 if test "x$ac_cv_func__modf" = x""yes; then :
40976   cat >>confdefs.h <<_ACEOF
40977 #define HAVE__MODF 1
40978 _ACEOF
40979
40980 fi
40981 done
40982
40983     fi
40984   fi
40985
40986
40987
40988
40989
40990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40991 $as_echo_n "checking for powf declaration... " >&6; }
40992   if test x${glibcxx_cv_func_powf_use+set} != xset; then
40993     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40994   $as_echo_n "(cached) " >&6
40995 else
40996
40997
40998       ac_ext=cpp
40999 ac_cpp='$CXXCPP $CPPFLAGS'
41000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41003
41004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41005 /* end confdefs.h.  */
41006 #include <math.h>
41007 int
41008 main ()
41009 {
41010  powf(0, 0);
41011   ;
41012   return 0;
41013 }
41014 _ACEOF
41015 if ac_fn_cxx_try_compile "$LINENO"; then :
41016   glibcxx_cv_func_powf_use=yes
41017 else
41018   glibcxx_cv_func_powf_use=no
41019 fi
41020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41021       ac_ext=c
41022 ac_cpp='$CPP $CPPFLAGS'
41023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41026
41027
41028 fi
41029
41030   fi
41031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41032 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41033
41034   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41035     for ac_func in powf
41036 do :
41037   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41038 if test "x$ac_cv_func_powf" = x""yes; then :
41039   cat >>confdefs.h <<_ACEOF
41040 #define HAVE_POWF 1
41041 _ACEOF
41042
41043 fi
41044 done
41045
41046   else
41047
41048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41049 $as_echo_n "checking for _powf declaration... " >&6; }
41050   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41051     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41052   $as_echo_n "(cached) " >&6
41053 else
41054
41055
41056       ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061
41062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h.  */
41064 #include <math.h>
41065 int
41066 main ()
41067 {
41068  _powf(0, 0);
41069   ;
41070   return 0;
41071 }
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074   glibcxx_cv_func__powf_use=yes
41075 else
41076   glibcxx_cv_func__powf_use=no
41077 fi
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079       ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084
41085
41086 fi
41087
41088   fi
41089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41090 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41091
41092     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41093       for ac_func in _powf
41094 do :
41095   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41096 if test "x$ac_cv_func__powf" = x""yes; then :
41097   cat >>confdefs.h <<_ACEOF
41098 #define HAVE__POWF 1
41099 _ACEOF
41100
41101 fi
41102 done
41103
41104     fi
41105   fi
41106
41107
41108
41109
41110
41111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41112 $as_echo_n "checking for sqrtf declaration... " >&6; }
41113   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41114     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41115   $as_echo_n "(cached) " >&6
41116 else
41117
41118
41119       ac_ext=cpp
41120 ac_cpp='$CXXCPP $CPPFLAGS'
41121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41124
41125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41126 /* end confdefs.h.  */
41127 #include <math.h>
41128                       #ifdef HAVE_IEEEFP_H
41129                       #include <ieeefp.h>
41130                       #endif
41131
41132 int
41133 main ()
41134 {
41135  sqrtf(0);
41136   ;
41137   return 0;
41138 }
41139 _ACEOF
41140 if ac_fn_cxx_try_compile "$LINENO"; then :
41141   glibcxx_cv_func_sqrtf_use=yes
41142 else
41143   glibcxx_cv_func_sqrtf_use=no
41144 fi
41145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41146       ac_ext=c
41147 ac_cpp='$CPP $CPPFLAGS'
41148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41151
41152
41153 fi
41154
41155   fi
41156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41157 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41158
41159   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41160     for ac_func in sqrtf
41161 do :
41162   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41163 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41164   cat >>confdefs.h <<_ACEOF
41165 #define HAVE_SQRTF 1
41166 _ACEOF
41167
41168 fi
41169 done
41170
41171   else
41172
41173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41174 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41175   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41176     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41177   $as_echo_n "(cached) " >&6
41178 else
41179
41180
41181       ac_ext=cpp
41182 ac_cpp='$CXXCPP $CPPFLAGS'
41183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41186
41187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41188 /* end confdefs.h.  */
41189 #include <math.h>
41190                       #ifdef HAVE_IEEEFP_H
41191                       #include <ieeefp.h>
41192                       #endif
41193
41194 int
41195 main ()
41196 {
41197  _sqrtf(0);
41198   ;
41199   return 0;
41200 }
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203   glibcxx_cv_func__sqrtf_use=yes
41204 else
41205   glibcxx_cv_func__sqrtf_use=no
41206 fi
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208       ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213
41214
41215 fi
41216
41217   fi
41218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41219 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41220
41221     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41222       for ac_func in _sqrtf
41223 do :
41224   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41225 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41226   cat >>confdefs.h <<_ACEOF
41227 #define HAVE__SQRTF 1
41228 _ACEOF
41229
41230 fi
41231 done
41232
41233     fi
41234   fi
41235
41236
41237
41238
41239
41240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41241 $as_echo_n "checking for sincosf declaration... " >&6; }
41242   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41243     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41244   $as_echo_n "(cached) " >&6
41245 else
41246
41247
41248       ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253
41254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h.  */
41256 #include <math.h>
41257 int
41258 main ()
41259 {
41260  sincosf(0, 0, 0);
41261   ;
41262   return 0;
41263 }
41264 _ACEOF
41265 if ac_fn_cxx_try_compile "$LINENO"; then :
41266   glibcxx_cv_func_sincosf_use=yes
41267 else
41268   glibcxx_cv_func_sincosf_use=no
41269 fi
41270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41271       ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277
41278 fi
41279
41280   fi
41281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41282 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41283
41284   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41285     for ac_func in sincosf
41286 do :
41287   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41288 if test "x$ac_cv_func_sincosf" = x""yes; then :
41289   cat >>confdefs.h <<_ACEOF
41290 #define HAVE_SINCOSF 1
41291 _ACEOF
41292
41293 fi
41294 done
41295
41296   else
41297
41298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41299 $as_echo_n "checking for _sincosf declaration... " >&6; }
41300   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41301     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41302   $as_echo_n "(cached) " >&6
41303 else
41304
41305
41306       ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311
41312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h.  */
41314 #include <math.h>
41315 int
41316 main ()
41317 {
41318  _sincosf(0, 0, 0);
41319   ;
41320   return 0;
41321 }
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324   glibcxx_cv_func__sincosf_use=yes
41325 else
41326   glibcxx_cv_func__sincosf_use=no
41327 fi
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329       ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334
41335
41336 fi
41337
41338   fi
41339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41340 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41341
41342     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41343       for ac_func in _sincosf
41344 do :
41345   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41346 if test "x$ac_cv_func__sincosf" = x""yes; then :
41347   cat >>confdefs.h <<_ACEOF
41348 #define HAVE__SINCOSF 1
41349 _ACEOF
41350
41351 fi
41352 done
41353
41354     fi
41355   fi
41356
41357
41358
41359
41360
41361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41362 $as_echo_n "checking for finitef declaration... " >&6; }
41363   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41364     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41365   $as_echo_n "(cached) " >&6
41366 else
41367
41368
41369       ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374
41375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h.  */
41377 #include <math.h>
41378                       #ifdef HAVE_IEEEFP_H
41379                       #include <ieeefp.h>
41380                       #endif
41381
41382 int
41383 main ()
41384 {
41385  finitef(0);
41386   ;
41387   return 0;
41388 }
41389 _ACEOF
41390 if ac_fn_cxx_try_compile "$LINENO"; then :
41391   glibcxx_cv_func_finitef_use=yes
41392 else
41393   glibcxx_cv_func_finitef_use=no
41394 fi
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41396       ac_ext=c
41397 ac_cpp='$CPP $CPPFLAGS'
41398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41401
41402
41403 fi
41404
41405   fi
41406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41407 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41408
41409   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41410     for ac_func in finitef
41411 do :
41412   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41413 if test "x$ac_cv_func_finitef" = x""yes; then :
41414   cat >>confdefs.h <<_ACEOF
41415 #define HAVE_FINITEF 1
41416 _ACEOF
41417
41418 fi
41419 done
41420
41421   else
41422
41423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41424 $as_echo_n "checking for _finitef declaration... " >&6; }
41425   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41426     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41427   $as_echo_n "(cached) " >&6
41428 else
41429
41430
41431       ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41436
41437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h.  */
41439 #include <math.h>
41440                       #ifdef HAVE_IEEEFP_H
41441                       #include <ieeefp.h>
41442                       #endif
41443
41444 int
41445 main ()
41446 {
41447  _finitef(0);
41448   ;
41449   return 0;
41450 }
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453   glibcxx_cv_func__finitef_use=yes
41454 else
41455   glibcxx_cv_func__finitef_use=no
41456 fi
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458       ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463
41464
41465 fi
41466
41467   fi
41468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41469 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41470
41471     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41472       for ac_func in _finitef
41473 do :
41474   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41475 if test "x$ac_cv_func__finitef" = x""yes; then :
41476   cat >>confdefs.h <<_ACEOF
41477 #define HAVE__FINITEF 1
41478 _ACEOF
41479
41480 fi
41481 done
41482
41483     fi
41484   fi
41485
41486
41487
41488
41489
41490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41491 $as_echo_n "checking for long double trig functions... " >&6; }
41492   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41493   $as_echo_n "(cached) " >&6
41494 else
41495
41496
41497     ac_ext=cpp
41498 ac_cpp='$CXXCPP $CPPFLAGS'
41499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41502
41503     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504 /* end confdefs.h.  */
41505 #include <math.h>
41506 int
41507 main ()
41508 {
41509 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41510   ;
41511   return 0;
41512 }
41513 _ACEOF
41514 if ac_fn_cxx_try_compile "$LINENO"; then :
41515   glibcxx_cv_func_long_double_trig_use=yes
41516 else
41517   glibcxx_cv_func_long_double_trig_use=no
41518 fi
41519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41520     ac_ext=c
41521 ac_cpp='$CPP $CPPFLAGS'
41522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41525
41526 fi
41527
41528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41529 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41530   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41531     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41532 do :
41533   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41535 eval as_val=\$$as_ac_var
41536    if test "x$as_val" = x""yes; then :
41537   cat >>confdefs.h <<_ACEOF
41538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41539 _ACEOF
41540
41541 fi
41542 done
41543
41544   else
41545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41546 $as_echo_n "checking for _long double trig functions... " >&6; }
41547     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41548   $as_echo_n "(cached) " >&6
41549 else
41550
41551
41552       ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41557
41558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h.  */
41560 #include <math.h>
41561 int
41562 main ()
41563 {
41564 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41565   ;
41566   return 0;
41567 }
41568 _ACEOF
41569 if ac_fn_cxx_try_compile "$LINENO"; then :
41570   glibcxx_cv_func__long_double_trig_use=yes
41571 else
41572   glibcxx_cv_func__long_double_trig_use=no
41573 fi
41574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41575       ac_ext=c
41576 ac_cpp='$CPP $CPPFLAGS'
41577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41580
41581 fi
41582
41583     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41584 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41585     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41586       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41587 do :
41588   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41590 eval as_val=\$$as_ac_var
41591    if test "x$as_val" = x""yes; then :
41592   cat >>confdefs.h <<_ACEOF
41593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41594 _ACEOF
41595
41596 fi
41597 done
41598
41599     fi
41600   fi
41601
41602
41603
41604
41605
41606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41607 $as_echo_n "checking for long double round functions... " >&6; }
41608   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41609   $as_echo_n "(cached) " >&6
41610 else
41611
41612
41613     ac_ext=cpp
41614 ac_cpp='$CXXCPP $CPPFLAGS'
41615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41618
41619     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41620 /* end confdefs.h.  */
41621 #include <math.h>
41622 int
41623 main ()
41624 {
41625 ceill (0); floorl (0);
41626   ;
41627   return 0;
41628 }
41629 _ACEOF
41630 if ac_fn_cxx_try_compile "$LINENO"; then :
41631   glibcxx_cv_func_long_double_round_use=yes
41632 else
41633   glibcxx_cv_func_long_double_round_use=no
41634 fi
41635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41636     ac_ext=c
41637 ac_cpp='$CPP $CPPFLAGS'
41638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41641
41642 fi
41643
41644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41645 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41646   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41647     for ac_func in ceill floorl
41648 do :
41649   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41651 eval as_val=\$$as_ac_var
41652    if test "x$as_val" = x""yes; then :
41653   cat >>confdefs.h <<_ACEOF
41654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41655 _ACEOF
41656
41657 fi
41658 done
41659
41660   else
41661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41662 $as_echo_n "checking for _long double round functions... " >&6; }
41663     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41664   $as_echo_n "(cached) " >&6
41665 else
41666
41667
41668       ac_ext=cpp
41669 ac_cpp='$CXXCPP $CPPFLAGS'
41670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41673
41674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h.  */
41676 #include <math.h>
41677 int
41678 main ()
41679 {
41680 _ceill (0); _floorl (0);
41681   ;
41682   return 0;
41683 }
41684 _ACEOF
41685 if ac_fn_cxx_try_compile "$LINENO"; then :
41686   glibcxx_cv_func__long_double_round_use=yes
41687 else
41688   glibcxx_cv_func__long_double_round_use=no
41689 fi
41690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41691       ac_ext=c
41692 ac_cpp='$CPP $CPPFLAGS'
41693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41696
41697 fi
41698
41699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41700 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41701     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41702       for ac_func in _ceill _floorl
41703 do :
41704   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41706 eval as_val=\$$as_ac_var
41707    if test "x$as_val" = x""yes; then :
41708   cat >>confdefs.h <<_ACEOF
41709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41710 _ACEOF
41711
41712 fi
41713 done
41714
41715     fi
41716   fi
41717
41718
41719
41720
41721
41722
41723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41724 $as_echo_n "checking for isnanl declaration... " >&6; }
41725   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41726     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41727   $as_echo_n "(cached) " >&6
41728 else
41729
41730
41731       ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736
41737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h.  */
41739 #include <math.h>
41740                       #ifdef HAVE_IEEEFP_H
41741                       #include <ieeefp.h>
41742                       #endif
41743
41744 int
41745 main ()
41746 {
41747  isnanl(0);
41748   ;
41749   return 0;
41750 }
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753   glibcxx_cv_func_isnanl_use=yes
41754 else
41755   glibcxx_cv_func_isnanl_use=no
41756 fi
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758       ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763
41764
41765 fi
41766
41767   fi
41768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41769 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41770
41771   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41772     for ac_func in isnanl
41773 do :
41774   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41775 if test "x$ac_cv_func_isnanl" = x""yes; then :
41776   cat >>confdefs.h <<_ACEOF
41777 #define HAVE_ISNANL 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783   else
41784
41785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41786 $as_echo_n "checking for _isnanl declaration... " >&6; }
41787   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41788     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41789   $as_echo_n "(cached) " >&6
41790 else
41791
41792
41793       ac_ext=cpp
41794 ac_cpp='$CXXCPP $CPPFLAGS'
41795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41798
41799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41800 /* end confdefs.h.  */
41801 #include <math.h>
41802                       #ifdef HAVE_IEEEFP_H
41803                       #include <ieeefp.h>
41804                       #endif
41805
41806 int
41807 main ()
41808 {
41809  _isnanl(0);
41810   ;
41811   return 0;
41812 }
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815   glibcxx_cv_func__isnanl_use=yes
41816 else
41817   glibcxx_cv_func__isnanl_use=no
41818 fi
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820       ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825
41826
41827 fi
41828
41829   fi
41830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41831 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41832
41833     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41834       for ac_func in _isnanl
41835 do :
41836   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41837 if test "x$ac_cv_func__isnanl" = x""yes; then :
41838   cat >>confdefs.h <<_ACEOF
41839 #define HAVE__ISNANL 1
41840 _ACEOF
41841
41842 fi
41843 done
41844
41845     fi
41846   fi
41847
41848
41849
41850
41851
41852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41853 $as_echo_n "checking for isinfl declaration... " >&6; }
41854   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41855     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41856   $as_echo_n "(cached) " >&6
41857 else
41858
41859
41860       ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41865
41866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h.  */
41868 #include <math.h>
41869                       #ifdef HAVE_IEEEFP_H
41870                       #include <ieeefp.h>
41871                       #endif
41872
41873 int
41874 main ()
41875 {
41876  isinfl(0);
41877   ;
41878   return 0;
41879 }
41880 _ACEOF
41881 if ac_fn_cxx_try_compile "$LINENO"; then :
41882   glibcxx_cv_func_isinfl_use=yes
41883 else
41884   glibcxx_cv_func_isinfl_use=no
41885 fi
41886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41887       ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41892
41893
41894 fi
41895
41896   fi
41897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41898 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41899
41900   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41901     for ac_func in isinfl
41902 do :
41903   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41904 if test "x$ac_cv_func_isinfl" = x""yes; then :
41905   cat >>confdefs.h <<_ACEOF
41906 #define HAVE_ISINFL 1
41907 _ACEOF
41908
41909 fi
41910 done
41911
41912   else
41913
41914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41915 $as_echo_n "checking for _isinfl declaration... " >&6; }
41916   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41917     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41918   $as_echo_n "(cached) " >&6
41919 else
41920
41921
41922       ac_ext=cpp
41923 ac_cpp='$CXXCPP $CPPFLAGS'
41924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41927
41928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41929 /* end confdefs.h.  */
41930 #include <math.h>
41931                       #ifdef HAVE_IEEEFP_H
41932                       #include <ieeefp.h>
41933                       #endif
41934
41935 int
41936 main ()
41937 {
41938  _isinfl(0);
41939   ;
41940   return 0;
41941 }
41942 _ACEOF
41943 if ac_fn_cxx_try_compile "$LINENO"; then :
41944   glibcxx_cv_func__isinfl_use=yes
41945 else
41946   glibcxx_cv_func__isinfl_use=no
41947 fi
41948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41949       ac_ext=c
41950 ac_cpp='$CPP $CPPFLAGS'
41951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41954
41955
41956 fi
41957
41958   fi
41959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41960 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41961
41962     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41963       for ac_func in _isinfl
41964 do :
41965   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41966 if test "x$ac_cv_func__isinfl" = x""yes; then :
41967   cat >>confdefs.h <<_ACEOF
41968 #define HAVE__ISINFL 1
41969 _ACEOF
41970
41971 fi
41972 done
41973
41974     fi
41975   fi
41976
41977
41978
41979
41980
41981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41982 $as_echo_n "checking for atan2l declaration... " >&6; }
41983   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41984     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41985   $as_echo_n "(cached) " >&6
41986 else
41987
41988
41989       ac_ext=cpp
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41994
41995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41996 /* end confdefs.h.  */
41997 #include <math.h>
41998 int
41999 main ()
42000 {
42001  atan2l(0, 0);
42002   ;
42003   return 0;
42004 }
42005 _ACEOF
42006 if ac_fn_cxx_try_compile "$LINENO"; then :
42007   glibcxx_cv_func_atan2l_use=yes
42008 else
42009   glibcxx_cv_func_atan2l_use=no
42010 fi
42011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42012       ac_ext=c
42013 ac_cpp='$CPP $CPPFLAGS'
42014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017
42018
42019 fi
42020
42021   fi
42022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42023 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42024
42025   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42026     for ac_func in atan2l
42027 do :
42028   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42029 if test "x$ac_cv_func_atan2l" = x""yes; then :
42030   cat >>confdefs.h <<_ACEOF
42031 #define HAVE_ATAN2L 1
42032 _ACEOF
42033
42034 fi
42035 done
42036
42037   else
42038
42039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42040 $as_echo_n "checking for _atan2l declaration... " >&6; }
42041   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42042     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42043   $as_echo_n "(cached) " >&6
42044 else
42045
42046
42047       ac_ext=cpp
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42052
42053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h.  */
42055 #include <math.h>
42056 int
42057 main ()
42058 {
42059  _atan2l(0, 0);
42060   ;
42061   return 0;
42062 }
42063 _ACEOF
42064 if ac_fn_cxx_try_compile "$LINENO"; then :
42065   glibcxx_cv_func__atan2l_use=yes
42066 else
42067   glibcxx_cv_func__atan2l_use=no
42068 fi
42069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42070       ac_ext=c
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42075
42076
42077 fi
42078
42079   fi
42080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42081 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42082
42083     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42084       for ac_func in _atan2l
42085 do :
42086   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42087 if test "x$ac_cv_func__atan2l" = x""yes; then :
42088   cat >>confdefs.h <<_ACEOF
42089 #define HAVE__ATAN2L 1
42090 _ACEOF
42091
42092 fi
42093 done
42094
42095     fi
42096   fi
42097
42098
42099
42100
42101
42102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42103 $as_echo_n "checking for expl declaration... " >&6; }
42104   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42105     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42106   $as_echo_n "(cached) " >&6
42107 else
42108
42109
42110       ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115
42116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h.  */
42118 #include <math.h>
42119                       #ifdef HAVE_IEEEFP_H
42120                       #include <ieeefp.h>
42121                       #endif
42122
42123 int
42124 main ()
42125 {
42126  expl(0);
42127   ;
42128   return 0;
42129 }
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132   glibcxx_cv_func_expl_use=yes
42133 else
42134   glibcxx_cv_func_expl_use=no
42135 fi
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137       ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42142
42143
42144 fi
42145
42146   fi
42147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42148 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42149
42150   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42151     for ac_func in expl
42152 do :
42153   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42154 if test "x$ac_cv_func_expl" = x""yes; then :
42155   cat >>confdefs.h <<_ACEOF
42156 #define HAVE_EXPL 1
42157 _ACEOF
42158
42159 fi
42160 done
42161
42162   else
42163
42164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42165 $as_echo_n "checking for _expl declaration... " >&6; }
42166   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42167     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42168   $as_echo_n "(cached) " >&6
42169 else
42170
42171
42172       ac_ext=cpp
42173 ac_cpp='$CXXCPP $CPPFLAGS'
42174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42177
42178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42179 /* end confdefs.h.  */
42180 #include <math.h>
42181                       #ifdef HAVE_IEEEFP_H
42182                       #include <ieeefp.h>
42183                       #endif
42184
42185 int
42186 main ()
42187 {
42188  _expl(0);
42189   ;
42190   return 0;
42191 }
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194   glibcxx_cv_func__expl_use=yes
42195 else
42196   glibcxx_cv_func__expl_use=no
42197 fi
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199       ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42204
42205
42206 fi
42207
42208   fi
42209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42210 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42211
42212     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42213       for ac_func in _expl
42214 do :
42215   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42216 if test "x$ac_cv_func__expl" = x""yes; then :
42217   cat >>confdefs.h <<_ACEOF
42218 #define HAVE__EXPL 1
42219 _ACEOF
42220
42221 fi
42222 done
42223
42224     fi
42225   fi
42226
42227
42228
42229
42230
42231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42232 $as_echo_n "checking for fabsl declaration... " >&6; }
42233   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42234     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42235   $as_echo_n "(cached) " >&6
42236 else
42237
42238
42239       ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42244
42245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h.  */
42247 #include <math.h>
42248                       #ifdef HAVE_IEEEFP_H
42249                       #include <ieeefp.h>
42250                       #endif
42251
42252 int
42253 main ()
42254 {
42255  fabsl(0);
42256   ;
42257   return 0;
42258 }
42259 _ACEOF
42260 if ac_fn_cxx_try_compile "$LINENO"; then :
42261   glibcxx_cv_func_fabsl_use=yes
42262 else
42263   glibcxx_cv_func_fabsl_use=no
42264 fi
42265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42266       ac_ext=c
42267 ac_cpp='$CPP $CPPFLAGS'
42268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42271
42272
42273 fi
42274
42275   fi
42276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42277 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42278
42279   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42280     for ac_func in fabsl
42281 do :
42282   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42283 if test "x$ac_cv_func_fabsl" = x""yes; then :
42284   cat >>confdefs.h <<_ACEOF
42285 #define HAVE_FABSL 1
42286 _ACEOF
42287
42288 fi
42289 done
42290
42291   else
42292
42293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42294 $as_echo_n "checking for _fabsl declaration... " >&6; }
42295   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42296     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42297   $as_echo_n "(cached) " >&6
42298 else
42299
42300
42301       ac_ext=cpp
42302 ac_cpp='$CXXCPP $CPPFLAGS'
42303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42306
42307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42308 /* end confdefs.h.  */
42309 #include <math.h>
42310                       #ifdef HAVE_IEEEFP_H
42311                       #include <ieeefp.h>
42312                       #endif
42313
42314 int
42315 main ()
42316 {
42317  _fabsl(0);
42318   ;
42319   return 0;
42320 }
42321 _ACEOF
42322 if ac_fn_cxx_try_compile "$LINENO"; then :
42323   glibcxx_cv_func__fabsl_use=yes
42324 else
42325   glibcxx_cv_func__fabsl_use=no
42326 fi
42327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328       ac_ext=c
42329 ac_cpp='$CPP $CPPFLAGS'
42330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42333
42334
42335 fi
42336
42337   fi
42338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42339 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42340
42341     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42342       for ac_func in _fabsl
42343 do :
42344   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42345 if test "x$ac_cv_func__fabsl" = x""yes; then :
42346   cat >>confdefs.h <<_ACEOF
42347 #define HAVE__FABSL 1
42348 _ACEOF
42349
42350 fi
42351 done
42352
42353     fi
42354   fi
42355
42356
42357
42358
42359
42360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42361 $as_echo_n "checking for fmodl declaration... " >&6; }
42362   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42363     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42364   $as_echo_n "(cached) " >&6
42365 else
42366
42367
42368       ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42373
42374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h.  */
42376 #include <math.h>
42377 int
42378 main ()
42379 {
42380  fmodl(0, 0);
42381   ;
42382   return 0;
42383 }
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386   glibcxx_cv_func_fmodl_use=yes
42387 else
42388   glibcxx_cv_func_fmodl_use=no
42389 fi
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391       ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396
42397
42398 fi
42399
42400   fi
42401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42402 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42403
42404   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42405     for ac_func in fmodl
42406 do :
42407   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42408 if test "x$ac_cv_func_fmodl" = x""yes; then :
42409   cat >>confdefs.h <<_ACEOF
42410 #define HAVE_FMODL 1
42411 _ACEOF
42412
42413 fi
42414 done
42415
42416   else
42417
42418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42419 $as_echo_n "checking for _fmodl declaration... " >&6; }
42420   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42421     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42422   $as_echo_n "(cached) " >&6
42423 else
42424
42425
42426       ac_ext=cpp
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42431
42432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 /* end confdefs.h.  */
42434 #include <math.h>
42435 int
42436 main ()
42437 {
42438  _fmodl(0, 0);
42439   ;
42440   return 0;
42441 }
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444   glibcxx_cv_func__fmodl_use=yes
42445 else
42446   glibcxx_cv_func__fmodl_use=no
42447 fi
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449       ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42454
42455
42456 fi
42457
42458   fi
42459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42460 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42461
42462     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42463       for ac_func in _fmodl
42464 do :
42465   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42466 if test "x$ac_cv_func__fmodl" = x""yes; then :
42467   cat >>confdefs.h <<_ACEOF
42468 #define HAVE__FMODL 1
42469 _ACEOF
42470
42471 fi
42472 done
42473
42474     fi
42475   fi
42476
42477
42478
42479
42480
42481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42482 $as_echo_n "checking for frexpl declaration... " >&6; }
42483   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42484     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42485   $as_echo_n "(cached) " >&6
42486 else
42487
42488
42489       ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42494
42495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h.  */
42497 #include <math.h>
42498 int
42499 main ()
42500 {
42501  frexpl(0, 0);
42502   ;
42503   return 0;
42504 }
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507   glibcxx_cv_func_frexpl_use=yes
42508 else
42509   glibcxx_cv_func_frexpl_use=no
42510 fi
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512       ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42517
42518
42519 fi
42520
42521   fi
42522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42523 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42524
42525   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42526     for ac_func in frexpl
42527 do :
42528   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42529 if test "x$ac_cv_func_frexpl" = x""yes; then :
42530   cat >>confdefs.h <<_ACEOF
42531 #define HAVE_FREXPL 1
42532 _ACEOF
42533
42534 fi
42535 done
42536
42537   else
42538
42539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42540 $as_echo_n "checking for _frexpl declaration... " >&6; }
42541   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42542     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42543   $as_echo_n "(cached) " >&6
42544 else
42545
42546
42547       ac_ext=cpp
42548 ac_cpp='$CXXCPP $CPPFLAGS'
42549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42552
42553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42554 /* end confdefs.h.  */
42555 #include <math.h>
42556 int
42557 main ()
42558 {
42559  _frexpl(0, 0);
42560   ;
42561   return 0;
42562 }
42563 _ACEOF
42564 if ac_fn_cxx_try_compile "$LINENO"; then :
42565   glibcxx_cv_func__frexpl_use=yes
42566 else
42567   glibcxx_cv_func__frexpl_use=no
42568 fi
42569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42570       ac_ext=c
42571 ac_cpp='$CPP $CPPFLAGS'
42572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42575
42576
42577 fi
42578
42579   fi
42580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42581 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42582
42583     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42584       for ac_func in _frexpl
42585 do :
42586   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42587 if test "x$ac_cv_func__frexpl" = x""yes; then :
42588   cat >>confdefs.h <<_ACEOF
42589 #define HAVE__FREXPL 1
42590 _ACEOF
42591
42592 fi
42593 done
42594
42595     fi
42596   fi
42597
42598
42599
42600
42601
42602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42603 $as_echo_n "checking for hypotl declaration... " >&6; }
42604   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42605     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42606   $as_echo_n "(cached) " >&6
42607 else
42608
42609
42610       ac_ext=cpp
42611 ac_cpp='$CXXCPP $CPPFLAGS'
42612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42615
42616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42617 /* end confdefs.h.  */
42618 #include <math.h>
42619 int
42620 main ()
42621 {
42622  hypotl(0, 0);
42623   ;
42624   return 0;
42625 }
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628   glibcxx_cv_func_hypotl_use=yes
42629 else
42630   glibcxx_cv_func_hypotl_use=no
42631 fi
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633       ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42638
42639
42640 fi
42641
42642   fi
42643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42644 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42645
42646   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42647     for ac_func in hypotl
42648 do :
42649   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42650 if test "x$ac_cv_func_hypotl" = x""yes; then :
42651   cat >>confdefs.h <<_ACEOF
42652 #define HAVE_HYPOTL 1
42653 _ACEOF
42654
42655 fi
42656 done
42657
42658   else
42659
42660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42661 $as_echo_n "checking for _hypotl declaration... " >&6; }
42662   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42663     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42664   $as_echo_n "(cached) " >&6
42665 else
42666
42667
42668       ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42673
42674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h.  */
42676 #include <math.h>
42677 int
42678 main ()
42679 {
42680  _hypotl(0, 0);
42681   ;
42682   return 0;
42683 }
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686   glibcxx_cv_func__hypotl_use=yes
42687 else
42688   glibcxx_cv_func__hypotl_use=no
42689 fi
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691       ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696
42697
42698 fi
42699
42700   fi
42701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42702 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42703
42704     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42705       for ac_func in _hypotl
42706 do :
42707   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42708 if test "x$ac_cv_func__hypotl" = x""yes; then :
42709   cat >>confdefs.h <<_ACEOF
42710 #define HAVE__HYPOTL 1
42711 _ACEOF
42712
42713 fi
42714 done
42715
42716     fi
42717   fi
42718
42719
42720
42721
42722
42723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42724 $as_echo_n "checking for ldexpl declaration... " >&6; }
42725   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42726     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42727   $as_echo_n "(cached) " >&6
42728 else
42729
42730
42731       ac_ext=cpp
42732 ac_cpp='$CXXCPP $CPPFLAGS'
42733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42736
42737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42738 /* end confdefs.h.  */
42739 #include <math.h>
42740 int
42741 main ()
42742 {
42743  ldexpl(0, 0);
42744   ;
42745   return 0;
42746 }
42747 _ACEOF
42748 if ac_fn_cxx_try_compile "$LINENO"; then :
42749   glibcxx_cv_func_ldexpl_use=yes
42750 else
42751   glibcxx_cv_func_ldexpl_use=no
42752 fi
42753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42754       ac_ext=c
42755 ac_cpp='$CPP $CPPFLAGS'
42756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42759
42760
42761 fi
42762
42763   fi
42764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42765 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42766
42767   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42768     for ac_func in ldexpl
42769 do :
42770   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42771 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42772   cat >>confdefs.h <<_ACEOF
42773 #define HAVE_LDEXPL 1
42774 _ACEOF
42775
42776 fi
42777 done
42778
42779   else
42780
42781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42782 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42783   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42784     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42785   $as_echo_n "(cached) " >&6
42786 else
42787
42788
42789       ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794
42795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h.  */
42797 #include <math.h>
42798 int
42799 main ()
42800 {
42801  _ldexpl(0, 0);
42802   ;
42803   return 0;
42804 }
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807   glibcxx_cv_func__ldexpl_use=yes
42808 else
42809   glibcxx_cv_func__ldexpl_use=no
42810 fi
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812       ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817
42818
42819 fi
42820
42821   fi
42822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42823 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42824
42825     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42826       for ac_func in _ldexpl
42827 do :
42828   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42829 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42830   cat >>confdefs.h <<_ACEOF
42831 #define HAVE__LDEXPL 1
42832 _ACEOF
42833
42834 fi
42835 done
42836
42837     fi
42838   fi
42839
42840
42841
42842
42843
42844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42845 $as_echo_n "checking for logl declaration... " >&6; }
42846   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42847     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42848   $as_echo_n "(cached) " >&6
42849 else
42850
42851
42852       ac_ext=cpp
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857
42858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42859 /* end confdefs.h.  */
42860 #include <math.h>
42861                       #ifdef HAVE_IEEEFP_H
42862                       #include <ieeefp.h>
42863                       #endif
42864
42865 int
42866 main ()
42867 {
42868  logl(0);
42869   ;
42870   return 0;
42871 }
42872 _ACEOF
42873 if ac_fn_cxx_try_compile "$LINENO"; then :
42874   glibcxx_cv_func_logl_use=yes
42875 else
42876   glibcxx_cv_func_logl_use=no
42877 fi
42878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42879       ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42884
42885
42886 fi
42887
42888   fi
42889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42890 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42891
42892   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42893     for ac_func in logl
42894 do :
42895   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42896 if test "x$ac_cv_func_logl" = x""yes; then :
42897   cat >>confdefs.h <<_ACEOF
42898 #define HAVE_LOGL 1
42899 _ACEOF
42900
42901 fi
42902 done
42903
42904   else
42905
42906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42907 $as_echo_n "checking for _logl declaration... " >&6; }
42908   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42909     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42910   $as_echo_n "(cached) " >&6
42911 else
42912
42913
42914       ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42919
42920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h.  */
42922 #include <math.h>
42923                       #ifdef HAVE_IEEEFP_H
42924                       #include <ieeefp.h>
42925                       #endif
42926
42927 int
42928 main ()
42929 {
42930  _logl(0);
42931   ;
42932   return 0;
42933 }
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936   glibcxx_cv_func__logl_use=yes
42937 else
42938   glibcxx_cv_func__logl_use=no
42939 fi
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941       ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42946
42947
42948 fi
42949
42950   fi
42951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42952 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42953
42954     if test x$glibcxx_cv_func__logl_use = x"yes"; then
42955       for ac_func in _logl
42956 do :
42957   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42958 if test "x$ac_cv_func__logl" = x""yes; then :
42959   cat >>confdefs.h <<_ACEOF
42960 #define HAVE__LOGL 1
42961 _ACEOF
42962
42963 fi
42964 done
42965
42966     fi
42967   fi
42968
42969
42970
42971
42972
42973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42974 $as_echo_n "checking for log10l declaration... " >&6; }
42975   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42976     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42977   $as_echo_n "(cached) " >&6
42978 else
42979
42980
42981       ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42986
42987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h.  */
42989 #include <math.h>
42990                       #ifdef HAVE_IEEEFP_H
42991                       #include <ieeefp.h>
42992                       #endif
42993
42994 int
42995 main ()
42996 {
42997  log10l(0);
42998   ;
42999   return 0;
43000 }
43001 _ACEOF
43002 if ac_fn_cxx_try_compile "$LINENO"; then :
43003   glibcxx_cv_func_log10l_use=yes
43004 else
43005   glibcxx_cv_func_log10l_use=no
43006 fi
43007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43008       ac_ext=c
43009 ac_cpp='$CPP $CPPFLAGS'
43010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43013
43014
43015 fi
43016
43017   fi
43018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43019 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43020
43021   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43022     for ac_func in log10l
43023 do :
43024   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43025 if test "x$ac_cv_func_log10l" = x""yes; then :
43026   cat >>confdefs.h <<_ACEOF
43027 #define HAVE_LOG10L 1
43028 _ACEOF
43029
43030 fi
43031 done
43032
43033   else
43034
43035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43036 $as_echo_n "checking for _log10l declaration... " >&6; }
43037   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43038     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43039   $as_echo_n "(cached) " >&6
43040 else
43041
43042
43043       ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43048
43049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43050 /* end confdefs.h.  */
43051 #include <math.h>
43052                       #ifdef HAVE_IEEEFP_H
43053                       #include <ieeefp.h>
43054                       #endif
43055
43056 int
43057 main ()
43058 {
43059  _log10l(0);
43060   ;
43061   return 0;
43062 }
43063 _ACEOF
43064 if ac_fn_cxx_try_compile "$LINENO"; then :
43065   glibcxx_cv_func__log10l_use=yes
43066 else
43067   glibcxx_cv_func__log10l_use=no
43068 fi
43069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43070       ac_ext=c
43071 ac_cpp='$CPP $CPPFLAGS'
43072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075
43076
43077 fi
43078
43079   fi
43080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43081 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43082
43083     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43084       for ac_func in _log10l
43085 do :
43086   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43087 if test "x$ac_cv_func__log10l" = x""yes; then :
43088   cat >>confdefs.h <<_ACEOF
43089 #define HAVE__LOG10L 1
43090 _ACEOF
43091
43092 fi
43093 done
43094
43095     fi
43096   fi
43097
43098
43099
43100
43101
43102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43103 $as_echo_n "checking for modfl declaration... " >&6; }
43104   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43105     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43106   $as_echo_n "(cached) " >&6
43107 else
43108
43109
43110       ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43115
43116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h.  */
43118 #include <math.h>
43119 int
43120 main ()
43121 {
43122  modfl(0, 0);
43123   ;
43124   return 0;
43125 }
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128   glibcxx_cv_func_modfl_use=yes
43129 else
43130   glibcxx_cv_func_modfl_use=no
43131 fi
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133       ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138
43139
43140 fi
43141
43142   fi
43143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43144 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43145
43146   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43147     for ac_func in modfl
43148 do :
43149   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43150 if test "x$ac_cv_func_modfl" = x""yes; then :
43151   cat >>confdefs.h <<_ACEOF
43152 #define HAVE_MODFL 1
43153 _ACEOF
43154
43155 fi
43156 done
43157
43158   else
43159
43160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43161 $as_echo_n "checking for _modfl declaration... " >&6; }
43162   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43163     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43164   $as_echo_n "(cached) " >&6
43165 else
43166
43167
43168       ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h.  */
43176 #include <math.h>
43177 int
43178 main ()
43179 {
43180  _modfl(0, 0);
43181   ;
43182   return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186   glibcxx_cv_func__modfl_use=yes
43187 else
43188   glibcxx_cv_func__modfl_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191       ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200   fi
43201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43202 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43203
43204     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43205       for ac_func in _modfl
43206 do :
43207   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43208 if test "x$ac_cv_func__modfl" = x""yes; then :
43209   cat >>confdefs.h <<_ACEOF
43210 #define HAVE__MODFL 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216     fi
43217   fi
43218
43219
43220
43221
43222
43223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43224 $as_echo_n "checking for powl declaration... " >&6; }
43225   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43226     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43227   $as_echo_n "(cached) " >&6
43228 else
43229
43230
43231       ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43236
43237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h.  */
43239 #include <math.h>
43240 int
43241 main ()
43242 {
43243  powl(0, 0);
43244   ;
43245   return 0;
43246 }
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249   glibcxx_cv_func_powl_use=yes
43250 else
43251   glibcxx_cv_func_powl_use=no
43252 fi
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254       ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259
43260
43261 fi
43262
43263   fi
43264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43265 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43266
43267   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43268     for ac_func in powl
43269 do :
43270   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43271 if test "x$ac_cv_func_powl" = x""yes; then :
43272   cat >>confdefs.h <<_ACEOF
43273 #define HAVE_POWL 1
43274 _ACEOF
43275
43276 fi
43277 done
43278
43279   else
43280
43281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43282 $as_echo_n "checking for _powl declaration... " >&6; }
43283   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43284     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43285   $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289       ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h.  */
43297 #include <math.h>
43298 int
43299 main ()
43300 {
43301  _powl(0, 0);
43302   ;
43303   return 0;
43304 }
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307   glibcxx_cv_func__powl_use=yes
43308 else
43309   glibcxx_cv_func__powl_use=no
43310 fi
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312       ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317
43318
43319 fi
43320
43321   fi
43322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43323 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43324
43325     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43326       for ac_func in _powl
43327 do :
43328   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43329 if test "x$ac_cv_func__powl" = x""yes; then :
43330   cat >>confdefs.h <<_ACEOF
43331 #define HAVE__POWL 1
43332 _ACEOF
43333
43334 fi
43335 done
43336
43337     fi
43338   fi
43339
43340
43341
43342
43343
43344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43345 $as_echo_n "checking for sqrtl declaration... " >&6; }
43346   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43347     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43348   $as_echo_n "(cached) " >&6
43349 else
43350
43351
43352       ac_ext=cpp
43353 ac_cpp='$CXXCPP $CPPFLAGS'
43354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43357
43358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43359 /* end confdefs.h.  */
43360 #include <math.h>
43361                       #ifdef HAVE_IEEEFP_H
43362                       #include <ieeefp.h>
43363                       #endif
43364
43365 int
43366 main ()
43367 {
43368  sqrtl(0);
43369   ;
43370   return 0;
43371 }
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374   glibcxx_cv_func_sqrtl_use=yes
43375 else
43376   glibcxx_cv_func_sqrtl_use=no
43377 fi
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379       ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384
43385
43386 fi
43387
43388   fi
43389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43390 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43391
43392   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43393     for ac_func in sqrtl
43394 do :
43395   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43396 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43397   cat >>confdefs.h <<_ACEOF
43398 #define HAVE_SQRTL 1
43399 _ACEOF
43400
43401 fi
43402 done
43403
43404   else
43405
43406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43407 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43408   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43409     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43410   $as_echo_n "(cached) " >&6
43411 else
43412
43413
43414       ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43419
43420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h.  */
43422 #include <math.h>
43423                       #ifdef HAVE_IEEEFP_H
43424                       #include <ieeefp.h>
43425                       #endif
43426
43427 int
43428 main ()
43429 {
43430  _sqrtl(0);
43431   ;
43432   return 0;
43433 }
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436   glibcxx_cv_func__sqrtl_use=yes
43437 else
43438   glibcxx_cv_func__sqrtl_use=no
43439 fi
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441       ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43446
43447
43448 fi
43449
43450   fi
43451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43452 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43453
43454     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43455       for ac_func in _sqrtl
43456 do :
43457   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43458 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43459   cat >>confdefs.h <<_ACEOF
43460 #define HAVE__SQRTL 1
43461 _ACEOF
43462
43463 fi
43464 done
43465
43466     fi
43467   fi
43468
43469
43470
43471
43472
43473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43474 $as_echo_n "checking for sincosl declaration... " >&6; }
43475   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43476     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43477   $as_echo_n "(cached) " >&6
43478 else
43479
43480
43481       ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43486
43487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h.  */
43489 #include <math.h>
43490 int
43491 main ()
43492 {
43493  sincosl(0, 0, 0);
43494   ;
43495   return 0;
43496 }
43497 _ACEOF
43498 if ac_fn_cxx_try_compile "$LINENO"; then :
43499   glibcxx_cv_func_sincosl_use=yes
43500 else
43501   glibcxx_cv_func_sincosl_use=no
43502 fi
43503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43504       ac_ext=c
43505 ac_cpp='$CPP $CPPFLAGS'
43506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509
43510
43511 fi
43512
43513   fi
43514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43515 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43516
43517   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43518     for ac_func in sincosl
43519 do :
43520   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43521 if test "x$ac_cv_func_sincosl" = x""yes; then :
43522   cat >>confdefs.h <<_ACEOF
43523 #define HAVE_SINCOSL 1
43524 _ACEOF
43525
43526 fi
43527 done
43528
43529   else
43530
43531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43532 $as_echo_n "checking for _sincosl declaration... " >&6; }
43533   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43534     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43535   $as_echo_n "(cached) " >&6
43536 else
43537
43538
43539       ac_ext=cpp
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544
43545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h.  */
43547 #include <math.h>
43548 int
43549 main ()
43550 {
43551  _sincosl(0, 0, 0);
43552   ;
43553   return 0;
43554 }
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557   glibcxx_cv_func__sincosl_use=yes
43558 else
43559   glibcxx_cv_func__sincosl_use=no
43560 fi
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562       ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567
43568
43569 fi
43570
43571   fi
43572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43573 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43574
43575     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43576       for ac_func in _sincosl
43577 do :
43578   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43579 if test "x$ac_cv_func__sincosl" = x""yes; then :
43580   cat >>confdefs.h <<_ACEOF
43581 #define HAVE__SINCOSL 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587     fi
43588   fi
43589
43590
43591
43592
43593
43594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43595 $as_echo_n "checking for finitel declaration... " >&6; }
43596   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43597     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43598   $as_echo_n "(cached) " >&6
43599 else
43600
43601
43602       ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607
43608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h.  */
43610 #include <math.h>
43611                       #ifdef HAVE_IEEEFP_H
43612                       #include <ieeefp.h>
43613                       #endif
43614
43615 int
43616 main ()
43617 {
43618  finitel(0);
43619   ;
43620   return 0;
43621 }
43622 _ACEOF
43623 if ac_fn_cxx_try_compile "$LINENO"; then :
43624   glibcxx_cv_func_finitel_use=yes
43625 else
43626   glibcxx_cv_func_finitel_use=no
43627 fi
43628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43629       ac_ext=c
43630 ac_cpp='$CPP $CPPFLAGS'
43631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43634
43635
43636 fi
43637
43638   fi
43639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43640 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43641
43642   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43643     for ac_func in finitel
43644 do :
43645   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43646 if test "x$ac_cv_func_finitel" = x""yes; then :
43647   cat >>confdefs.h <<_ACEOF
43648 #define HAVE_FINITEL 1
43649 _ACEOF
43650
43651 fi
43652 done
43653
43654   else
43655
43656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43657 $as_echo_n "checking for _finitel declaration... " >&6; }
43658   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43659     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43660   $as_echo_n "(cached) " >&6
43661 else
43662
43663
43664       ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43669
43670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h.  */
43672 #include <math.h>
43673                       #ifdef HAVE_IEEEFP_H
43674                       #include <ieeefp.h>
43675                       #endif
43676
43677 int
43678 main ()
43679 {
43680  _finitel(0);
43681   ;
43682   return 0;
43683 }
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686   glibcxx_cv_func__finitel_use=yes
43687 else
43688   glibcxx_cv_func__finitel_use=no
43689 fi
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691       ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43696
43697
43698 fi
43699
43700   fi
43701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43702 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43703
43704     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43705       for ac_func in _finitel
43706 do :
43707   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43708 if test "x$ac_cv_func__finitel" = x""yes; then :
43709   cat >>confdefs.h <<_ACEOF
43710 #define HAVE__FINITEL 1
43711 _ACEOF
43712
43713 fi
43714 done
43715
43716     fi
43717   fi
43718
43719
43720
43721
43722   LIBS="$ac_save_LIBS"
43723   CXXFLAGS="$ac_save_CXXFLAGS"
43724
43725
43726   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43727   ac_save_CXXFLAGS="$CXXFLAGS"
43728   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43729
43730
43731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43732 $as_echo_n "checking for strtold declaration... " >&6; }
43733   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43734     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43735   $as_echo_n "(cached) " >&6
43736 else
43737
43738
43739       ac_ext=cpp
43740 ac_cpp='$CXXCPP $CPPFLAGS'
43741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43744
43745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43746 /* end confdefs.h.  */
43747 #include <stdlib.h>
43748 int
43749 main ()
43750 {
43751  strtold(0, 0);
43752   ;
43753   return 0;
43754 }
43755 _ACEOF
43756 if ac_fn_cxx_try_compile "$LINENO"; then :
43757   glibcxx_cv_func_strtold_use=yes
43758 else
43759   glibcxx_cv_func_strtold_use=no
43760 fi
43761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43762       ac_ext=c
43763 ac_cpp='$CPP $CPPFLAGS'
43764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43767
43768
43769 fi
43770
43771   fi
43772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43773 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43774   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43775     for ac_func in strtold
43776 do :
43777   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43778 if test "x$ac_cv_func_strtold" = x""yes; then :
43779   cat >>confdefs.h <<_ACEOF
43780 #define HAVE_STRTOLD 1
43781 _ACEOF
43782
43783 fi
43784 done
43785
43786   fi
43787
43788
43789
43790
43791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43792 $as_echo_n "checking for strtof declaration... " >&6; }
43793   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43794     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43795   $as_echo_n "(cached) " >&6
43796 else
43797
43798
43799       ac_ext=cpp
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43804
43805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43806 /* end confdefs.h.  */
43807 #include <stdlib.h>
43808 int
43809 main ()
43810 {
43811  strtof(0, 0);
43812   ;
43813   return 0;
43814 }
43815 _ACEOF
43816 if ac_fn_cxx_try_compile "$LINENO"; then :
43817   glibcxx_cv_func_strtof_use=yes
43818 else
43819   glibcxx_cv_func_strtof_use=no
43820 fi
43821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43822       ac_ext=c
43823 ac_cpp='$CPP $CPPFLAGS'
43824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43827
43828
43829 fi
43830
43831   fi
43832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43833 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43834   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43835     for ac_func in strtof
43836 do :
43837   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43838 if test "x$ac_cv_func_strtof" = x""yes; then :
43839   cat >>confdefs.h <<_ACEOF
43840 #define HAVE_STRTOF 1
43841 _ACEOF
43842
43843 fi
43844 done
43845
43846   fi
43847
43848
43849
43850
43851   CXXFLAGS="$ac_save_CXXFLAGS"
43852
43853     ;;
43854
43855   *djgpp)
43856     # GLIBCXX_CHECK_MATH_SUPPORT
43857     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43858
43859     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43860
43861     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43862
43863     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43864
43865     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43866
43867     ;;
43868
43869   *-freebsd*)
43870     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43871
43872
43873   # If we're not using GNU ld, then there's no point in even trying these
43874   # tests.  Check for that first.  We should have already tested for gld
43875   # by now (in libtool), but require it now just to be safe...
43876   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43877   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43878
43879
43880
43881   # The name set by libtool depends on the version of libtool.  Shame on us
43882   # for depending on an impl detail, but c'est la vie.  Older versions used
43883   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43884   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43885   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43886   # set (hence we're using an older libtool), then set it.
43887   if test x${with_gnu_ld+set} != xset; then
43888     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43889       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43890       with_gnu_ld=no
43891     else
43892       with_gnu_ld=$ac_cv_prog_gnu_ld
43893     fi
43894   fi
43895
43896   # Start by getting the version number.  I think the libtool test already
43897   # does some of this, but throws away the result.
43898   glibcxx_ld_is_gold=no
43899   if test x"$with_gnu_ld" = x"yes"; then
43900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43901 $as_echo_n "checking for ld version... " >&6; }
43902
43903     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43904       glibcxx_ld_is_gold=yes
43905     fi
43906     ldver=`$LD --version 2>/dev/null |
43907            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
43908
43909     glibcxx_gnu_ld_version=`echo $ldver | \
43910            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43912 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43913   fi
43914
43915   # Set --gc-sections.
43916   glibcxx_have_gc_sections=no
43917   if test "$glibcxx_ld_is_gold" = "yes"; then
43918     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43919       glibcxx_have_gc_sections=yes
43920     fi
43921   else
43922     glibcxx_gcsections_min_ld=21602
43923     if test x"$with_gnu_ld" = x"yes" &&
43924         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43925       glibcxx_have_gc_sections=yes
43926     fi
43927   fi
43928   if test "$glibcxx_have_gc_sections" = "yes"; then
43929     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43930     # NB: This flag only works reliably after 2.16.1. Configure tests
43931     # for this are difficult, so hard wire a value that should work.
43932
43933     ac_test_CFLAGS="${CFLAGS+set}"
43934     ac_save_CFLAGS="$CFLAGS"
43935     CFLAGS='-Wl,--gc-sections'
43936
43937     # Check for -Wl,--gc-sections
43938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43939 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43940     if test x$gcc_no_link = xyes; then
43941   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43942 fi
43943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43944 /* end confdefs.h.  */
43945  int one(void) { return 1; }
43946      int two(void) { return 2; }
43947
43948 int
43949 main ()
43950 {
43951  two();
43952   ;
43953   return 0;
43954 }
43955 _ACEOF
43956 if ac_fn_c_try_link "$LINENO"; then :
43957   ac_gcsections=yes
43958 else
43959   ac_gcsections=no
43960 fi
43961 rm -f core conftest.err conftest.$ac_objext \
43962     conftest$ac_exeext conftest.$ac_ext
43963     if test "$ac_gcsections" = "yes"; then
43964       rm -f conftest.c
43965       touch conftest.c
43966       if $CC -c conftest.c; then
43967         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43968            grep "Warning: gc-sections option ignored" > /dev/null; then
43969           ac_gcsections=no
43970         fi
43971       fi
43972       rm -f conftest.c conftest.o conftest
43973     fi
43974     if test "$ac_gcsections" = "yes"; then
43975       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43976     fi
43977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43978 $as_echo "$ac_gcsections" >&6; }
43979
43980     if test "$ac_test_CFLAGS" = set; then
43981       CFLAGS="$ac_save_CFLAGS"
43982     else
43983       # this is the suspicious part
43984       CFLAGS=''
43985     fi
43986   fi
43987
43988   # Set -z,relro.
43989   # Note this is only for shared objects.
43990   ac_ld_relro=no
43991   if test x"$with_gnu_ld" = x"yes"; then
43992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43993 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43994     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43995     if test -n "$cxx_z_relo"; then
43996       OPT_LDFLAGS="-Wl,-z,relro"
43997       ac_ld_relro=yes
43998     fi
43999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44000 $as_echo "$ac_ld_relro" >&6; }
44001   fi
44002
44003   # Set linker optimization flags.
44004   if test x"$with_gnu_ld" = x"yes"; then
44005     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44006   fi
44007
44008
44009
44010
44011     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44012
44013     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44014
44015     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44016
44017     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44018
44019     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44020
44021     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44022
44023     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44024
44025     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44026
44027     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44028
44029
44030     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44031
44032     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44033
44034     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44035
44036     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44037
44038     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44039
44040     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44041
44042     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44043
44044     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44045
44046     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44047
44048     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44049
44050     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44051
44052     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44053
44054     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44055
44056     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44057
44058     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44059
44060     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44061
44062     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44063
44064     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44065
44066     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44067
44068     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44069
44070     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44071
44072     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44073
44074     if test x"long_double_math_on_this_cpu" = x"yes"; then
44075       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44076
44077       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44078
44079       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44080
44081     fi
44082     ;;
44083   *-hpux*)
44084     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44085
44086
44087   # If we're not using GNU ld, then there's no point in even trying these
44088   # tests.  Check for that first.  We should have already tested for gld
44089   # by now (in libtool), but require it now just to be safe...
44090   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44091   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44092
44093
44094
44095   # The name set by libtool depends on the version of libtool.  Shame on us
44096   # for depending on an impl detail, but c'est la vie.  Older versions used
44097   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44098   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44099   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44100   # set (hence we're using an older libtool), then set it.
44101   if test x${with_gnu_ld+set} != xset; then
44102     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44103       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44104       with_gnu_ld=no
44105     else
44106       with_gnu_ld=$ac_cv_prog_gnu_ld
44107     fi
44108   fi
44109
44110   # Start by getting the version number.  I think the libtool test already
44111   # does some of this, but throws away the result.
44112   glibcxx_ld_is_gold=no
44113   if test x"$with_gnu_ld" = x"yes"; then
44114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44115 $as_echo_n "checking for ld version... " >&6; }
44116
44117     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44118       glibcxx_ld_is_gold=yes
44119     fi
44120     ldver=`$LD --version 2>/dev/null |
44121            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44122
44123     glibcxx_gnu_ld_version=`echo $ldver | \
44124            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44126 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44127   fi
44128
44129   # Set --gc-sections.
44130   glibcxx_have_gc_sections=no
44131   if test "$glibcxx_ld_is_gold" = "yes"; then
44132     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44133       glibcxx_have_gc_sections=yes
44134     fi
44135   else
44136     glibcxx_gcsections_min_ld=21602
44137     if test x"$with_gnu_ld" = x"yes" &&
44138         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44139       glibcxx_have_gc_sections=yes
44140     fi
44141   fi
44142   if test "$glibcxx_have_gc_sections" = "yes"; then
44143     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44144     # NB: This flag only works reliably after 2.16.1. Configure tests
44145     # for this are difficult, so hard wire a value that should work.
44146
44147     ac_test_CFLAGS="${CFLAGS+set}"
44148     ac_save_CFLAGS="$CFLAGS"
44149     CFLAGS='-Wl,--gc-sections'
44150
44151     # Check for -Wl,--gc-sections
44152     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44153 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44154     if test x$gcc_no_link = xyes; then
44155   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44156 fi
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h.  */
44159  int one(void) { return 1; }
44160      int two(void) { return 2; }
44161
44162 int
44163 main ()
44164 {
44165  two();
44166   ;
44167   return 0;
44168 }
44169 _ACEOF
44170 if ac_fn_c_try_link "$LINENO"; then :
44171   ac_gcsections=yes
44172 else
44173   ac_gcsections=no
44174 fi
44175 rm -f core conftest.err conftest.$ac_objext \
44176     conftest$ac_exeext conftest.$ac_ext
44177     if test "$ac_gcsections" = "yes"; then
44178       rm -f conftest.c
44179       touch conftest.c
44180       if $CC -c conftest.c; then
44181         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44182            grep "Warning: gc-sections option ignored" > /dev/null; then
44183           ac_gcsections=no
44184         fi
44185       fi
44186       rm -f conftest.c conftest.o conftest
44187     fi
44188     if test "$ac_gcsections" = "yes"; then
44189       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44190     fi
44191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44192 $as_echo "$ac_gcsections" >&6; }
44193
44194     if test "$ac_test_CFLAGS" = set; then
44195       CFLAGS="$ac_save_CFLAGS"
44196     else
44197       # this is the suspicious part
44198       CFLAGS=''
44199     fi
44200   fi
44201
44202   # Set -z,relro.
44203   # Note this is only for shared objects.
44204   ac_ld_relro=no
44205   if test x"$with_gnu_ld" = x"yes"; then
44206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44207 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44208     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44209     if test -n "$cxx_z_relo"; then
44210       OPT_LDFLAGS="-Wl,-z,relro"
44211       ac_ld_relro=yes
44212     fi
44213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44214 $as_echo "$ac_ld_relro" >&6; }
44215   fi
44216
44217   # Set linker optimization flags.
44218   if test x"$with_gnu_ld" = x"yes"; then
44219     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44220   fi
44221
44222
44223
44224
44225
44226     # GLIBCXX_CHECK_MATH_SUPPORT
44227     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44228
44229     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44230
44231     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44232
44233     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44234
44235     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44236
44237     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44238
44239     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44240
44241     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44242
44243     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44244
44245     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44246
44247     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44248
44249     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44250
44251     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44252
44253     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44254
44255     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44256
44257     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44258
44259     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44260
44261     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44262
44263     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44264
44265     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44266
44267     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44268
44269
44270     # GLIBCXX_CHECK_STDLIB_SUPPORT
44271     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44272
44273
44274
44275
44276    # Check whether --enable-tls was given.
44277 if test "${enable_tls+set}" = set; then :
44278   enableval=$enable_tls;
44279       case "$enableval" in
44280        yes|no) ;;
44281        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44282       esac
44283
44284 else
44285   enable_tls=yes
44286 fi
44287
44288
44289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44290 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44291 if test "${gcc_cv_have_tls+set}" = set; then :
44292   $as_echo_n "(cached) " >&6
44293 else
44294
44295     if test "$cross_compiling" = yes; then :
44296                 if test x$gcc_no_link = xyes; then
44297   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44298 fi
44299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300 /* end confdefs.h.  */
44301 __thread int a; int b; int main() { return a = b; }
44302 _ACEOF
44303 if ac_fn_c_try_link "$LINENO"; then :
44304   chktls_save_LDFLAGS="$LDFLAGS"
44305                           case $host in
44306             *-*-linux*)
44307               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44308               ;;
44309           esac
44310           chktls_save_CFLAGS="$CFLAGS"
44311           CFLAGS="-fPIC $CFLAGS"
44312                   if test x$gcc_no_link = xyes; then
44313   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44314 fi
44315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h.  */
44317 int f() { return 0; }
44318 _ACEOF
44319 if ac_fn_c_try_link "$LINENO"; then :
44320   if test x$gcc_no_link = xyes; then
44321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44322 fi
44323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44324 /* end confdefs.h.  */
44325 __thread int a; int b; int f() { return a = b; }
44326 _ACEOF
44327 if ac_fn_c_try_link "$LINENO"; then :
44328   gcc_cv_have_tls=yes
44329 else
44330   gcc_cv_have_tls=no
44331 fi
44332 rm -f core conftest.err conftest.$ac_objext \
44333     conftest$ac_exeext conftest.$ac_ext
44334 else
44335   gcc_cv_have_tls=yes
44336 fi
44337 rm -f core conftest.err conftest.$ac_objext \
44338     conftest$ac_exeext conftest.$ac_ext
44339           CFLAGS="$chktls_save_CFLAGS"
44340           LDFLAGS="$chktls_save_LDFLAGS"
44341 else
44342   gcc_cv_have_tls=no
44343 fi
44344 rm -f core conftest.err conftest.$ac_objext \
44345     conftest$ac_exeext conftest.$ac_ext
44346
44347
44348 else
44349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44350 /* end confdefs.h.  */
44351 __thread int a; int b; int main() { return a = b; }
44352 _ACEOF
44353 if ac_fn_c_try_run "$LINENO"; then :
44354                       chktls_save_LDFLAGS="$LDFLAGS"
44355       LDFLAGS="-static $LDFLAGS"
44356       if test x$gcc_no_link = xyes; then
44357   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44358 fi
44359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44360 /* end confdefs.h.  */
44361 int main() { return 0; }
44362 _ACEOF
44363 if ac_fn_c_try_link "$LINENO"; then :
44364   if test "$cross_compiling" = yes; then :
44365   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44367 as_fn_error "cannot run test program while cross compiling
44368 See \`config.log' for more details." "$LINENO" 5; }
44369 else
44370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44371 /* end confdefs.h.  */
44372 __thread int a; int b; int main() { return a = b; }
44373 _ACEOF
44374 if ac_fn_c_try_run "$LINENO"; then :
44375   gcc_cv_have_tls=yes
44376 else
44377   gcc_cv_have_tls=no
44378 fi
44379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44380   conftest.$ac_objext conftest.beam conftest.$ac_ext
44381 fi
44382
44383 else
44384   gcc_cv_have_tls=yes
44385 fi
44386 rm -f core conftest.err conftest.$ac_objext \
44387     conftest$ac_exeext conftest.$ac_ext
44388       LDFLAGS="$chktls_save_LDFLAGS"
44389       if test $gcc_cv_have_tls = yes; then
44390                                                 chktls_save_CFLAGS="$CFLAGS"
44391         thread_CFLAGS=failed
44392         for flag in '' '-pthread' '-lpthread'; do
44393           CFLAGS="$flag $chktls_save_CFLAGS"
44394           if test x$gcc_no_link = xyes; then
44395   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44396 fi
44397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44398 /* end confdefs.h.  */
44399 #include <pthread.h>
44400                 void *g(void *d) { return NULL; }
44401 int
44402 main ()
44403 {
44404 pthread_t t; pthread_create(&t,NULL,g,NULL);
44405   ;
44406   return 0;
44407 }
44408 _ACEOF
44409 if ac_fn_c_try_link "$LINENO"; then :
44410   thread_CFLAGS="$flag"
44411 fi
44412 rm -f core conftest.err conftest.$ac_objext \
44413     conftest$ac_exeext conftest.$ac_ext
44414           if test "X$thread_CFLAGS" != Xfailed; then
44415             break
44416           fi
44417         done
44418         CFLAGS="$chktls_save_CFLAGS"
44419         if test "X$thread_CFLAGS" != Xfailed; then
44420           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44421           if test "$cross_compiling" = yes; then :
44422   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44424 as_fn_error "cannot run test program while cross compiling
44425 See \`config.log' for more details." "$LINENO" 5; }
44426 else
44427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428 /* end confdefs.h.  */
44429 #include <pthread.h>
44430                 __thread int a;
44431                 static int *a_in_other_thread;
44432                 static void *
44433                 thread_func (void *arg)
44434                 {
44435                   a_in_other_thread = &a;
44436                   return (void *)0;
44437                 }
44438 int
44439 main ()
44440 {
44441 pthread_t thread;
44442                 void *thread_retval;
44443                 int *a_in_main_thread;
44444                 if (pthread_create (&thread, (pthread_attr_t *)0,
44445                                     thread_func, (void *)0))
44446                   return 0;
44447                 a_in_main_thread = &a;
44448                 if (pthread_join (thread, &thread_retval))
44449                   return 0;
44450                 return (a_in_other_thread == a_in_main_thread);
44451   ;
44452   return 0;
44453 }
44454 _ACEOF
44455 if ac_fn_c_try_run "$LINENO"; then :
44456   gcc_cv_have_tls=yes
44457 else
44458   gcc_cv_have_tls=no
44459 fi
44460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44461   conftest.$ac_objext conftest.beam conftest.$ac_ext
44462 fi
44463
44464           CFLAGS="$chktls_save_CFLAGS"
44465         fi
44466       fi
44467 else
44468   gcc_cv_have_tls=no
44469 fi
44470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44471   conftest.$ac_objext conftest.beam conftest.$ac_ext
44472 fi
44473
44474 fi
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44476 $as_echo "$gcc_cv_have_tls" >&6; }
44477   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44478
44479 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44480
44481   fi
44482     case "$target" in
44483       *-hpux10*)
44484         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44485
44486         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44487
44488         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44489
44490         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44491
44492         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44493
44494         ;;
44495     esac
44496     ;;
44497   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44498
44499   # All these tests are for C++; save the language and the compiler flags.
44500   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44501   # found in GLIBCXX_CONFIGURE.
44502
44503   ac_ext=cpp
44504 ac_cpp='$CXXCPP $CPPFLAGS'
44505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44508
44509   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44510   ac_save_CXXFLAGS="$CXXFLAGS"
44511
44512   # Check for maintainer-mode bits.
44513   if test x"$USE_MAINTAINER_MODE" = xno; then
44514     WERROR=''
44515   else
44516     WERROR='-Werror'
44517   fi
44518
44519   # Check for -ffunction-sections -fdata-sections
44520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44521 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44522   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44524 /* end confdefs.h.  */
44525 int foo; void bar() { };
44526 int
44527 main ()
44528 {
44529
44530   ;
44531   return 0;
44532 }
44533 _ACEOF
44534 if ac_fn_cxx_try_compile "$LINENO"; then :
44535   ac_fdsections=yes
44536 else
44537   ac_fdsections=no
44538 fi
44539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44540   if test "$ac_test_CXXFLAGS" = set; then
44541     CXXFLAGS="$ac_save_CXXFLAGS"
44542   else
44543     # this is the suspicious part
44544     CXXFLAGS=''
44545   fi
44546   if test x"$ac_fdsections" = x"yes"; then
44547     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44548   fi
44549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44550 $as_echo "$ac_fdsections" >&6; }
44551
44552   ac_ext=c
44553 ac_cpp='$CPP $CPPFLAGS'
44554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44557
44558
44559
44560
44561
44562   # If we're not using GNU ld, then there's no point in even trying these
44563   # tests.  Check for that first.  We should have already tested for gld
44564   # by now (in libtool), but require it now just to be safe...
44565   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44566   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44567
44568
44569
44570   # The name set by libtool depends on the version of libtool.  Shame on us
44571   # for depending on an impl detail, but c'est la vie.  Older versions used
44572   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44573   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44574   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44575   # set (hence we're using an older libtool), then set it.
44576   if test x${with_gnu_ld+set} != xset; then
44577     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44578       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44579       with_gnu_ld=no
44580     else
44581       with_gnu_ld=$ac_cv_prog_gnu_ld
44582     fi
44583   fi
44584
44585   # Start by getting the version number.  I think the libtool test already
44586   # does some of this, but throws away the result.
44587   glibcxx_ld_is_gold=no
44588   if test x"$with_gnu_ld" = x"yes"; then
44589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44590 $as_echo_n "checking for ld version... " >&6; }
44591
44592     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44593       glibcxx_ld_is_gold=yes
44594     fi
44595     ldver=`$LD --version 2>/dev/null |
44596            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44597
44598     glibcxx_gnu_ld_version=`echo $ldver | \
44599            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44600     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44601 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44602   fi
44603
44604   # Set --gc-sections.
44605   glibcxx_have_gc_sections=no
44606   if test "$glibcxx_ld_is_gold" = "yes"; then
44607     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44608       glibcxx_have_gc_sections=yes
44609     fi
44610   else
44611     glibcxx_gcsections_min_ld=21602
44612     if test x"$with_gnu_ld" = x"yes" &&
44613         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44614       glibcxx_have_gc_sections=yes
44615     fi
44616   fi
44617   if test "$glibcxx_have_gc_sections" = "yes"; then
44618     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44619     # NB: This flag only works reliably after 2.16.1. Configure tests
44620     # for this are difficult, so hard wire a value that should work.
44621
44622     ac_test_CFLAGS="${CFLAGS+set}"
44623     ac_save_CFLAGS="$CFLAGS"
44624     CFLAGS='-Wl,--gc-sections'
44625
44626     # Check for -Wl,--gc-sections
44627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44628 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44629     if test x$gcc_no_link = xyes; then
44630   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44631 fi
44632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44633 /* end confdefs.h.  */
44634  int one(void) { return 1; }
44635      int two(void) { return 2; }
44636
44637 int
44638 main ()
44639 {
44640  two();
44641   ;
44642   return 0;
44643 }
44644 _ACEOF
44645 if ac_fn_c_try_link "$LINENO"; then :
44646   ac_gcsections=yes
44647 else
44648   ac_gcsections=no
44649 fi
44650 rm -f core conftest.err conftest.$ac_objext \
44651     conftest$ac_exeext conftest.$ac_ext
44652     if test "$ac_gcsections" = "yes"; then
44653       rm -f conftest.c
44654       touch conftest.c
44655       if $CC -c conftest.c; then
44656         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44657            grep "Warning: gc-sections option ignored" > /dev/null; then
44658           ac_gcsections=no
44659         fi
44660       fi
44661       rm -f conftest.c conftest.o conftest
44662     fi
44663     if test "$ac_gcsections" = "yes"; then
44664       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44665     fi
44666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44667 $as_echo "$ac_gcsections" >&6; }
44668
44669     if test "$ac_test_CFLAGS" = set; then
44670       CFLAGS="$ac_save_CFLAGS"
44671     else
44672       # this is the suspicious part
44673       CFLAGS=''
44674     fi
44675   fi
44676
44677   # Set -z,relro.
44678   # Note this is only for shared objects.
44679   ac_ld_relro=no
44680   if test x"$with_gnu_ld" = x"yes"; then
44681     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44682 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44683     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44684     if test -n "$cxx_z_relo"; then
44685       OPT_LDFLAGS="-Wl,-z,relro"
44686       ac_ld_relro=yes
44687     fi
44688     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44689 $as_echo "$ac_ld_relro" >&6; }
44690   fi
44691
44692   # Set linker optimization flags.
44693   if test x"$with_gnu_ld" = x"yes"; then
44694     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44695   fi
44696
44697
44698
44699
44700
44701   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44702   ac_save_CXXFLAGS="$CXXFLAGS"
44703   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44704
44705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44706 $as_echo_n "checking for sin in -lm... " >&6; }
44707 if test "${ac_cv_lib_m_sin+set}" = set; then :
44708   $as_echo_n "(cached) " >&6
44709 else
44710   ac_check_lib_save_LIBS=$LIBS
44711 LIBS="-lm  $LIBS"
44712 if test x$gcc_no_link = xyes; then
44713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44714 fi
44715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44716 /* end confdefs.h.  */
44717
44718 /* Override any GCC internal prototype to avoid an error.
44719    Use char because int might match the return type of a GCC
44720    builtin and then its argument prototype would still apply.  */
44721 #ifdef __cplusplus
44722 extern "C"
44723 #endif
44724 char sin ();
44725 int
44726 main ()
44727 {
44728 return sin ();
44729   ;
44730   return 0;
44731 }
44732 _ACEOF
44733 if ac_fn_c_try_link "$LINENO"; then :
44734   ac_cv_lib_m_sin=yes
44735 else
44736   ac_cv_lib_m_sin=no
44737 fi
44738 rm -f core conftest.err conftest.$ac_objext \
44739     conftest$ac_exeext conftest.$ac_ext
44740 LIBS=$ac_check_lib_save_LIBS
44741 fi
44742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44743 $as_echo "$ac_cv_lib_m_sin" >&6; }
44744 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44745   libm="-lm"
44746 fi
44747
44748   ac_save_LIBS="$LIBS"
44749   LIBS="$LIBS $libm"
44750
44751
44752
44753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44754 $as_echo_n "checking for isinf declaration... " >&6; }
44755   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44756     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44757   $as_echo_n "(cached) " >&6
44758 else
44759
44760
44761       ac_ext=cpp
44762 ac_cpp='$CXXCPP $CPPFLAGS'
44763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44766
44767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44768 /* end confdefs.h.  */
44769 #include <math.h>
44770                       #ifdef HAVE_IEEEFP_H
44771                       #include <ieeefp.h>
44772                       #endif
44773
44774 int
44775 main ()
44776 {
44777  isinf(0);
44778   ;
44779   return 0;
44780 }
44781 _ACEOF
44782 if ac_fn_cxx_try_compile "$LINENO"; then :
44783   glibcxx_cv_func_isinf_use=yes
44784 else
44785   glibcxx_cv_func_isinf_use=no
44786 fi
44787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788       ac_ext=c
44789 ac_cpp='$CPP $CPPFLAGS'
44790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44793
44794
44795 fi
44796
44797   fi
44798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44799 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44800
44801   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44802     for ac_func in isinf
44803 do :
44804   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44805 if test "x$ac_cv_func_isinf" = x""yes; then :
44806   cat >>confdefs.h <<_ACEOF
44807 #define HAVE_ISINF 1
44808 _ACEOF
44809
44810 fi
44811 done
44812
44813   else
44814
44815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44816 $as_echo_n "checking for _isinf declaration... " >&6; }
44817   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44818     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44819   $as_echo_n "(cached) " >&6
44820 else
44821
44822
44823       ac_ext=cpp
44824 ac_cpp='$CXXCPP $CPPFLAGS'
44825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828
44829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44830 /* end confdefs.h.  */
44831 #include <math.h>
44832                       #ifdef HAVE_IEEEFP_H
44833                       #include <ieeefp.h>
44834                       #endif
44835
44836 int
44837 main ()
44838 {
44839  _isinf(0);
44840   ;
44841   return 0;
44842 }
44843 _ACEOF
44844 if ac_fn_cxx_try_compile "$LINENO"; then :
44845   glibcxx_cv_func__isinf_use=yes
44846 else
44847   glibcxx_cv_func__isinf_use=no
44848 fi
44849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44850       ac_ext=c
44851 ac_cpp='$CPP $CPPFLAGS'
44852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44855
44856
44857 fi
44858
44859   fi
44860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44861 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44862
44863     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44864       for ac_func in _isinf
44865 do :
44866   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44867 if test "x$ac_cv_func__isinf" = x""yes; then :
44868   cat >>confdefs.h <<_ACEOF
44869 #define HAVE__ISINF 1
44870 _ACEOF
44871
44872 fi
44873 done
44874
44875     fi
44876   fi
44877
44878
44879
44880
44881
44882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44883 $as_echo_n "checking for isnan declaration... " >&6; }
44884   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44885     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44886   $as_echo_n "(cached) " >&6
44887 else
44888
44889
44890       ac_ext=cpp
44891 ac_cpp='$CXXCPP $CPPFLAGS'
44892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44895
44896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44897 /* end confdefs.h.  */
44898 #include <math.h>
44899                       #ifdef HAVE_IEEEFP_H
44900                       #include <ieeefp.h>
44901                       #endif
44902
44903 int
44904 main ()
44905 {
44906  isnan(0);
44907   ;
44908   return 0;
44909 }
44910 _ACEOF
44911 if ac_fn_cxx_try_compile "$LINENO"; then :
44912   glibcxx_cv_func_isnan_use=yes
44913 else
44914   glibcxx_cv_func_isnan_use=no
44915 fi
44916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44917       ac_ext=c
44918 ac_cpp='$CPP $CPPFLAGS'
44919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44922
44923
44924 fi
44925
44926   fi
44927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44928 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44929
44930   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44931     for ac_func in isnan
44932 do :
44933   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44934 if test "x$ac_cv_func_isnan" = x""yes; then :
44935   cat >>confdefs.h <<_ACEOF
44936 #define HAVE_ISNAN 1
44937 _ACEOF
44938
44939 fi
44940 done
44941
44942   else
44943
44944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44945 $as_echo_n "checking for _isnan declaration... " >&6; }
44946   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44947     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44948   $as_echo_n "(cached) " >&6
44949 else
44950
44951
44952       ac_ext=cpp
44953 ac_cpp='$CXXCPP $CPPFLAGS'
44954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44957
44958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44959 /* end confdefs.h.  */
44960 #include <math.h>
44961                       #ifdef HAVE_IEEEFP_H
44962                       #include <ieeefp.h>
44963                       #endif
44964
44965 int
44966 main ()
44967 {
44968  _isnan(0);
44969   ;
44970   return 0;
44971 }
44972 _ACEOF
44973 if ac_fn_cxx_try_compile "$LINENO"; then :
44974   glibcxx_cv_func__isnan_use=yes
44975 else
44976   glibcxx_cv_func__isnan_use=no
44977 fi
44978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44979       ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44984
44985
44986 fi
44987
44988   fi
44989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44990 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44991
44992     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44993       for ac_func in _isnan
44994 do :
44995   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44996 if test "x$ac_cv_func__isnan" = x""yes; then :
44997   cat >>confdefs.h <<_ACEOF
44998 #define HAVE__ISNAN 1
44999 _ACEOF
45000
45001 fi
45002 done
45003
45004     fi
45005   fi
45006
45007
45008
45009
45010
45011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45012 $as_echo_n "checking for finite declaration... " >&6; }
45013   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45014     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45015   $as_echo_n "(cached) " >&6
45016 else
45017
45018
45019       ac_ext=cpp
45020 ac_cpp='$CXXCPP $CPPFLAGS'
45021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45024
45025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45026 /* end confdefs.h.  */
45027 #include <math.h>
45028                       #ifdef HAVE_IEEEFP_H
45029                       #include <ieeefp.h>
45030                       #endif
45031
45032 int
45033 main ()
45034 {
45035  finite(0);
45036   ;
45037   return 0;
45038 }
45039 _ACEOF
45040 if ac_fn_cxx_try_compile "$LINENO"; then :
45041   glibcxx_cv_func_finite_use=yes
45042 else
45043   glibcxx_cv_func_finite_use=no
45044 fi
45045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45046       ac_ext=c
45047 ac_cpp='$CPP $CPPFLAGS'
45048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45051
45052
45053 fi
45054
45055   fi
45056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45057 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45058
45059   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45060     for ac_func in finite
45061 do :
45062   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45063 if test "x$ac_cv_func_finite" = x""yes; then :
45064   cat >>confdefs.h <<_ACEOF
45065 #define HAVE_FINITE 1
45066 _ACEOF
45067
45068 fi
45069 done
45070
45071   else
45072
45073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45074 $as_echo_n "checking for _finite declaration... " >&6; }
45075   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45076     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45077   $as_echo_n "(cached) " >&6
45078 else
45079
45080
45081       ac_ext=cpp
45082 ac_cpp='$CXXCPP $CPPFLAGS'
45083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45086
45087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45088 /* end confdefs.h.  */
45089 #include <math.h>
45090                       #ifdef HAVE_IEEEFP_H
45091                       #include <ieeefp.h>
45092                       #endif
45093
45094 int
45095 main ()
45096 {
45097  _finite(0);
45098   ;
45099   return 0;
45100 }
45101 _ACEOF
45102 if ac_fn_cxx_try_compile "$LINENO"; then :
45103   glibcxx_cv_func__finite_use=yes
45104 else
45105   glibcxx_cv_func__finite_use=no
45106 fi
45107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45108       ac_ext=c
45109 ac_cpp='$CPP $CPPFLAGS'
45110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45113
45114
45115 fi
45116
45117   fi
45118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45119 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45120
45121     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45122       for ac_func in _finite
45123 do :
45124   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45125 if test "x$ac_cv_func__finite" = x""yes; then :
45126   cat >>confdefs.h <<_ACEOF
45127 #define HAVE__FINITE 1
45128 _ACEOF
45129
45130 fi
45131 done
45132
45133     fi
45134   fi
45135
45136
45137
45138
45139
45140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45141 $as_echo_n "checking for sincos declaration... " >&6; }
45142   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45143     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45144   $as_echo_n "(cached) " >&6
45145 else
45146
45147
45148       ac_ext=cpp
45149 ac_cpp='$CXXCPP $CPPFLAGS'
45150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45153
45154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45155 /* end confdefs.h.  */
45156 #include <math.h>
45157 int
45158 main ()
45159 {
45160  sincos(0, 0, 0);
45161   ;
45162   return 0;
45163 }
45164 _ACEOF
45165 if ac_fn_cxx_try_compile "$LINENO"; then :
45166   glibcxx_cv_func_sincos_use=yes
45167 else
45168   glibcxx_cv_func_sincos_use=no
45169 fi
45170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45171       ac_ext=c
45172 ac_cpp='$CPP $CPPFLAGS'
45173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176
45177
45178 fi
45179
45180   fi
45181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45182 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45183
45184   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45185     for ac_func in sincos
45186 do :
45187   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45188 if test "x$ac_cv_func_sincos" = x""yes; then :
45189   cat >>confdefs.h <<_ACEOF
45190 #define HAVE_SINCOS 1
45191 _ACEOF
45192
45193 fi
45194 done
45195
45196   else
45197
45198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45199 $as_echo_n "checking for _sincos declaration... " >&6; }
45200   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45201     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45202   $as_echo_n "(cached) " >&6
45203 else
45204
45205
45206       ac_ext=cpp
45207 ac_cpp='$CXXCPP $CPPFLAGS'
45208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45211
45212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45213 /* end confdefs.h.  */
45214 #include <math.h>
45215 int
45216 main ()
45217 {
45218  _sincos(0, 0, 0);
45219   ;
45220   return 0;
45221 }
45222 _ACEOF
45223 if ac_fn_cxx_try_compile "$LINENO"; then :
45224   glibcxx_cv_func__sincos_use=yes
45225 else
45226   glibcxx_cv_func__sincos_use=no
45227 fi
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229       ac_ext=c
45230 ac_cpp='$CPP $CPPFLAGS'
45231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45234
45235
45236 fi
45237
45238   fi
45239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45240 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45241
45242     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45243       for ac_func in _sincos
45244 do :
45245   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45246 if test "x$ac_cv_func__sincos" = x""yes; then :
45247   cat >>confdefs.h <<_ACEOF
45248 #define HAVE__SINCOS 1
45249 _ACEOF
45250
45251 fi
45252 done
45253
45254     fi
45255   fi
45256
45257
45258
45259
45260
45261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45262 $as_echo_n "checking for fpclass declaration... " >&6; }
45263   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45264     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45265   $as_echo_n "(cached) " >&6
45266 else
45267
45268
45269       ac_ext=cpp
45270 ac_cpp='$CXXCPP $CPPFLAGS'
45271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45274
45275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45276 /* end confdefs.h.  */
45277 #include <math.h>
45278                       #ifdef HAVE_IEEEFP_H
45279                       #include <ieeefp.h>
45280                       #endif
45281
45282 int
45283 main ()
45284 {
45285  fpclass(0);
45286   ;
45287   return 0;
45288 }
45289 _ACEOF
45290 if ac_fn_cxx_try_compile "$LINENO"; then :
45291   glibcxx_cv_func_fpclass_use=yes
45292 else
45293   glibcxx_cv_func_fpclass_use=no
45294 fi
45295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45296       ac_ext=c
45297 ac_cpp='$CPP $CPPFLAGS'
45298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45301
45302
45303 fi
45304
45305   fi
45306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45307 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45308
45309   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45310     for ac_func in fpclass
45311 do :
45312   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45313 if test "x$ac_cv_func_fpclass" = x""yes; then :
45314   cat >>confdefs.h <<_ACEOF
45315 #define HAVE_FPCLASS 1
45316 _ACEOF
45317
45318 fi
45319 done
45320
45321   else
45322
45323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45324 $as_echo_n "checking for _fpclass declaration... " >&6; }
45325   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45326     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45327   $as_echo_n "(cached) " >&6
45328 else
45329
45330
45331       ac_ext=cpp
45332 ac_cpp='$CXXCPP $CPPFLAGS'
45333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45336
45337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45338 /* end confdefs.h.  */
45339 #include <math.h>
45340                       #ifdef HAVE_IEEEFP_H
45341                       #include <ieeefp.h>
45342                       #endif
45343
45344 int
45345 main ()
45346 {
45347  _fpclass(0);
45348   ;
45349   return 0;
45350 }
45351 _ACEOF
45352 if ac_fn_cxx_try_compile "$LINENO"; then :
45353   glibcxx_cv_func__fpclass_use=yes
45354 else
45355   glibcxx_cv_func__fpclass_use=no
45356 fi
45357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45358       ac_ext=c
45359 ac_cpp='$CPP $CPPFLAGS'
45360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45363
45364
45365 fi
45366
45367   fi
45368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45369 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45370
45371     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45372       for ac_func in _fpclass
45373 do :
45374   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45375 if test "x$ac_cv_func__fpclass" = x""yes; then :
45376   cat >>confdefs.h <<_ACEOF
45377 #define HAVE__FPCLASS 1
45378 _ACEOF
45379
45380 fi
45381 done
45382
45383     fi
45384   fi
45385
45386
45387
45388
45389
45390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45391 $as_echo_n "checking for qfpclass declaration... " >&6; }
45392   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45393     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45394   $as_echo_n "(cached) " >&6
45395 else
45396
45397
45398       ac_ext=cpp
45399 ac_cpp='$CXXCPP $CPPFLAGS'
45400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45403
45404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45405 /* end confdefs.h.  */
45406 #include <math.h>
45407                       #ifdef HAVE_IEEEFP_H
45408                       #include <ieeefp.h>
45409                       #endif
45410
45411 int
45412 main ()
45413 {
45414  qfpclass(0);
45415   ;
45416   return 0;
45417 }
45418 _ACEOF
45419 if ac_fn_cxx_try_compile "$LINENO"; then :
45420   glibcxx_cv_func_qfpclass_use=yes
45421 else
45422   glibcxx_cv_func_qfpclass_use=no
45423 fi
45424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45425       ac_ext=c
45426 ac_cpp='$CPP $CPPFLAGS'
45427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45430
45431
45432 fi
45433
45434   fi
45435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45436 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45437
45438   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45439     for ac_func in qfpclass
45440 do :
45441   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45442 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45443   cat >>confdefs.h <<_ACEOF
45444 #define HAVE_QFPCLASS 1
45445 _ACEOF
45446
45447 fi
45448 done
45449
45450   else
45451
45452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45453 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45454   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45455     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45456   $as_echo_n "(cached) " >&6
45457 else
45458
45459
45460       ac_ext=cpp
45461 ac_cpp='$CXXCPP $CPPFLAGS'
45462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45465
45466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45467 /* end confdefs.h.  */
45468 #include <math.h>
45469                       #ifdef HAVE_IEEEFP_H
45470                       #include <ieeefp.h>
45471                       #endif
45472
45473 int
45474 main ()
45475 {
45476  _qfpclass(0);
45477   ;
45478   return 0;
45479 }
45480 _ACEOF
45481 if ac_fn_cxx_try_compile "$LINENO"; then :
45482   glibcxx_cv_func__qfpclass_use=yes
45483 else
45484   glibcxx_cv_func__qfpclass_use=no
45485 fi
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487       ac_ext=c
45488 ac_cpp='$CPP $CPPFLAGS'
45489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45492
45493
45494 fi
45495
45496   fi
45497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45498 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45499
45500     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45501       for ac_func in _qfpclass
45502 do :
45503   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45504 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45505   cat >>confdefs.h <<_ACEOF
45506 #define HAVE__QFPCLASS 1
45507 _ACEOF
45508
45509 fi
45510 done
45511
45512     fi
45513   fi
45514
45515
45516
45517
45518
45519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45520 $as_echo_n "checking for hypot declaration... " >&6; }
45521   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45522     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45523   $as_echo_n "(cached) " >&6
45524 else
45525
45526
45527       ac_ext=cpp
45528 ac_cpp='$CXXCPP $CPPFLAGS'
45529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45532
45533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45534 /* end confdefs.h.  */
45535 #include <math.h>
45536 int
45537 main ()
45538 {
45539  hypot(0, 0);
45540   ;
45541   return 0;
45542 }
45543 _ACEOF
45544 if ac_fn_cxx_try_compile "$LINENO"; then :
45545   glibcxx_cv_func_hypot_use=yes
45546 else
45547   glibcxx_cv_func_hypot_use=no
45548 fi
45549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45550       ac_ext=c
45551 ac_cpp='$CPP $CPPFLAGS'
45552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555
45556
45557 fi
45558
45559   fi
45560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45561 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45562
45563   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45564     for ac_func in hypot
45565 do :
45566   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45567 if test "x$ac_cv_func_hypot" = x""yes; then :
45568   cat >>confdefs.h <<_ACEOF
45569 #define HAVE_HYPOT 1
45570 _ACEOF
45571
45572 fi
45573 done
45574
45575   else
45576
45577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45578 $as_echo_n "checking for _hypot declaration... " >&6; }
45579   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45580     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45581   $as_echo_n "(cached) " >&6
45582 else
45583
45584
45585       ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45590
45591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h.  */
45593 #include <math.h>
45594 int
45595 main ()
45596 {
45597  _hypot(0, 0);
45598   ;
45599   return 0;
45600 }
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603   glibcxx_cv_func__hypot_use=yes
45604 else
45605   glibcxx_cv_func__hypot_use=no
45606 fi
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608       ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613
45614
45615 fi
45616
45617   fi
45618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45619 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45620
45621     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45622       for ac_func in _hypot
45623 do :
45624   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45625 if test "x$ac_cv_func__hypot" = x""yes; then :
45626   cat >>confdefs.h <<_ACEOF
45627 #define HAVE__HYPOT 1
45628 _ACEOF
45629
45630 fi
45631 done
45632
45633     fi
45634   fi
45635
45636
45637
45638
45639
45640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45641 $as_echo_n "checking for float trig functions... " >&6; }
45642   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45643   $as_echo_n "(cached) " >&6
45644 else
45645
45646
45647     ac_ext=cpp
45648 ac_cpp='$CXXCPP $CPPFLAGS'
45649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45652
45653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45654 /* end confdefs.h.  */
45655 #include <math.h>
45656 int
45657 main ()
45658 {
45659 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45660   ;
45661   return 0;
45662 }
45663 _ACEOF
45664 if ac_fn_cxx_try_compile "$LINENO"; then :
45665   glibcxx_cv_func_float_trig_use=yes
45666 else
45667   glibcxx_cv_func_float_trig_use=no
45668 fi
45669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45670     ac_ext=c
45671 ac_cpp='$CPP $CPPFLAGS'
45672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45675
45676 fi
45677
45678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45679 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45680   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45681     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45682 do :
45683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45685 eval as_val=\$$as_ac_var
45686    if test "x$as_val" = x""yes; then :
45687   cat >>confdefs.h <<_ACEOF
45688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45689 _ACEOF
45690
45691 fi
45692 done
45693
45694   else
45695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45696 $as_echo_n "checking for _float trig functions... " >&6; }
45697     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45698   $as_echo_n "(cached) " >&6
45699 else
45700
45701
45702       ac_ext=cpp
45703 ac_cpp='$CXXCPP $CPPFLAGS'
45704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707
45708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45709 /* end confdefs.h.  */
45710 #include <math.h>
45711 int
45712 main ()
45713 {
45714 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45715   ;
45716   return 0;
45717 }
45718 _ACEOF
45719 if ac_fn_cxx_try_compile "$LINENO"; then :
45720   glibcxx_cv_func__float_trig_use=yes
45721 else
45722   glibcxx_cv_func__float_trig_use=no
45723 fi
45724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45725       ac_ext=c
45726 ac_cpp='$CPP $CPPFLAGS'
45727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45730
45731 fi
45732
45733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45734 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45735     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45736       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45737 do :
45738   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45740 eval as_val=\$$as_ac_var
45741    if test "x$as_val" = x""yes; then :
45742   cat >>confdefs.h <<_ACEOF
45743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45744 _ACEOF
45745
45746 fi
45747 done
45748
45749     fi
45750   fi
45751
45752
45753
45754
45755
45756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45757 $as_echo_n "checking for float round functions... " >&6; }
45758   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45759   $as_echo_n "(cached) " >&6
45760 else
45761
45762
45763     ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768
45769     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h.  */
45771 #include <math.h>
45772 int
45773 main ()
45774 {
45775 ceilf (0); floorf (0);
45776   ;
45777   return 0;
45778 }
45779 _ACEOF
45780 if ac_fn_cxx_try_compile "$LINENO"; then :
45781   glibcxx_cv_func_float_round_use=yes
45782 else
45783   glibcxx_cv_func_float_round_use=no
45784 fi
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45786     ac_ext=c
45787 ac_cpp='$CPP $CPPFLAGS'
45788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45791
45792 fi
45793
45794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45795 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45796   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45797     for ac_func in ceilf floorf
45798 do :
45799   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45801 eval as_val=\$$as_ac_var
45802    if test "x$as_val" = x""yes; then :
45803   cat >>confdefs.h <<_ACEOF
45804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45805 _ACEOF
45806
45807 fi
45808 done
45809
45810   else
45811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45812 $as_echo_n "checking for _float round functions... " >&6; }
45813     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45814   $as_echo_n "(cached) " >&6
45815 else
45816
45817
45818       ac_ext=cpp
45819 ac_cpp='$CXXCPP $CPPFLAGS'
45820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45823
45824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45825 /* end confdefs.h.  */
45826 #include <math.h>
45827 int
45828 main ()
45829 {
45830 _ceilf (0); _floorf (0);
45831   ;
45832   return 0;
45833 }
45834 _ACEOF
45835 if ac_fn_cxx_try_compile "$LINENO"; then :
45836   glibcxx_cv_func__float_round_use=yes
45837 else
45838   glibcxx_cv_func__float_round_use=no
45839 fi
45840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841       ac_ext=c
45842 ac_cpp='$CPP $CPPFLAGS'
45843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846
45847 fi
45848
45849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45850 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45851     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45852       for ac_func in _ceilf _floorf
45853 do :
45854   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45856 eval as_val=\$$as_ac_var
45857    if test "x$as_val" = x""yes; then :
45858   cat >>confdefs.h <<_ACEOF
45859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45860 _ACEOF
45861
45862 fi
45863 done
45864
45865     fi
45866   fi
45867
45868
45869
45870
45871
45872
45873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45874 $as_echo_n "checking for expf declaration... " >&6; }
45875   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45876     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45877   $as_echo_n "(cached) " >&6
45878 else
45879
45880
45881       ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45886
45887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h.  */
45889 #include <math.h>
45890                       #ifdef HAVE_IEEEFP_H
45891                       #include <ieeefp.h>
45892                       #endif
45893
45894 int
45895 main ()
45896 {
45897  expf(0);
45898   ;
45899   return 0;
45900 }
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903   glibcxx_cv_func_expf_use=yes
45904 else
45905   glibcxx_cv_func_expf_use=no
45906 fi
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908       ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913
45914
45915 fi
45916
45917   fi
45918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45919 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45920
45921   if test x$glibcxx_cv_func_expf_use = x"yes"; then
45922     for ac_func in expf
45923 do :
45924   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45925 if test "x$ac_cv_func_expf" = x""yes; then :
45926   cat >>confdefs.h <<_ACEOF
45927 #define HAVE_EXPF 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933   else
45934
45935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45936 $as_echo_n "checking for _expf declaration... " >&6; }
45937   if test x${glibcxx_cv_func__expf_use+set} != xset; then
45938     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45939   $as_echo_n "(cached) " >&6
45940 else
45941
45942
45943       ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h.  */
45951 #include <math.h>
45952                       #ifdef HAVE_IEEEFP_H
45953                       #include <ieeefp.h>
45954                       #endif
45955
45956 int
45957 main ()
45958 {
45959  _expf(0);
45960   ;
45961   return 0;
45962 }
45963 _ACEOF
45964 if ac_fn_cxx_try_compile "$LINENO"; then :
45965   glibcxx_cv_func__expf_use=yes
45966 else
45967   glibcxx_cv_func__expf_use=no
45968 fi
45969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45970       ac_ext=c
45971 ac_cpp='$CPP $CPPFLAGS'
45972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45975
45976
45977 fi
45978
45979   fi
45980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45981 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45982
45983     if test x$glibcxx_cv_func__expf_use = x"yes"; then
45984       for ac_func in _expf
45985 do :
45986   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45987 if test "x$ac_cv_func__expf" = x""yes; then :
45988   cat >>confdefs.h <<_ACEOF
45989 #define HAVE__EXPF 1
45990 _ACEOF
45991
45992 fi
45993 done
45994
45995     fi
45996   fi
45997
45998
45999
46000
46001
46002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46003 $as_echo_n "checking for isnanf declaration... " >&6; }
46004   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46005     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46006   $as_echo_n "(cached) " >&6
46007 else
46008
46009
46010       ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46015
46016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017 /* end confdefs.h.  */
46018 #include <math.h>
46019                       #ifdef HAVE_IEEEFP_H
46020                       #include <ieeefp.h>
46021                       #endif
46022
46023 int
46024 main ()
46025 {
46026  isnanf(0);
46027   ;
46028   return 0;
46029 }
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032   glibcxx_cv_func_isnanf_use=yes
46033 else
46034   glibcxx_cv_func_isnanf_use=no
46035 fi
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037       ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042
46043
46044 fi
46045
46046   fi
46047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46048 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46049
46050   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46051     for ac_func in isnanf
46052 do :
46053   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46054 if test "x$ac_cv_func_isnanf" = x""yes; then :
46055   cat >>confdefs.h <<_ACEOF
46056 #define HAVE_ISNANF 1
46057 _ACEOF
46058
46059 fi
46060 done
46061
46062   else
46063
46064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46065 $as_echo_n "checking for _isnanf declaration... " >&6; }
46066   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46067     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46068   $as_echo_n "(cached) " >&6
46069 else
46070
46071
46072       ac_ext=cpp
46073 ac_cpp='$CXXCPP $CPPFLAGS'
46074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46077
46078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h.  */
46080 #include <math.h>
46081                       #ifdef HAVE_IEEEFP_H
46082                       #include <ieeefp.h>
46083                       #endif
46084
46085 int
46086 main ()
46087 {
46088  _isnanf(0);
46089   ;
46090   return 0;
46091 }
46092 _ACEOF
46093 if ac_fn_cxx_try_compile "$LINENO"; then :
46094   glibcxx_cv_func__isnanf_use=yes
46095 else
46096   glibcxx_cv_func__isnanf_use=no
46097 fi
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46099       ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104
46105
46106 fi
46107
46108   fi
46109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46110 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46111
46112     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46113       for ac_func in _isnanf
46114 do :
46115   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46116 if test "x$ac_cv_func__isnanf" = x""yes; then :
46117   cat >>confdefs.h <<_ACEOF
46118 #define HAVE__ISNANF 1
46119 _ACEOF
46120
46121 fi
46122 done
46123
46124     fi
46125   fi
46126
46127
46128
46129
46130
46131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46132 $as_echo_n "checking for isinff declaration... " >&6; }
46133   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46134     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46135   $as_echo_n "(cached) " >&6
46136 else
46137
46138
46139       ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144
46145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h.  */
46147 #include <math.h>
46148                       #ifdef HAVE_IEEEFP_H
46149                       #include <ieeefp.h>
46150                       #endif
46151
46152 int
46153 main ()
46154 {
46155  isinff(0);
46156   ;
46157   return 0;
46158 }
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161   glibcxx_cv_func_isinff_use=yes
46162 else
46163   glibcxx_cv_func_isinff_use=no
46164 fi
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166       ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171
46172
46173 fi
46174
46175   fi
46176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46177 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46178
46179   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46180     for ac_func in isinff
46181 do :
46182   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46183 if test "x$ac_cv_func_isinff" = x""yes; then :
46184   cat >>confdefs.h <<_ACEOF
46185 #define HAVE_ISINFF 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191   else
46192
46193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46194 $as_echo_n "checking for _isinff declaration... " >&6; }
46195   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46196     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46197   $as_echo_n "(cached) " >&6
46198 else
46199
46200
46201       ac_ext=cpp
46202 ac_cpp='$CXXCPP $CPPFLAGS'
46203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46206
46207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46208 /* end confdefs.h.  */
46209 #include <math.h>
46210                       #ifdef HAVE_IEEEFP_H
46211                       #include <ieeefp.h>
46212                       #endif
46213
46214 int
46215 main ()
46216 {
46217  _isinff(0);
46218   ;
46219   return 0;
46220 }
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223   glibcxx_cv_func__isinff_use=yes
46224 else
46225   glibcxx_cv_func__isinff_use=no
46226 fi
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228       ac_ext=c
46229 ac_cpp='$CPP $CPPFLAGS'
46230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46233
46234
46235 fi
46236
46237   fi
46238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46239 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46240
46241     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46242       for ac_func in _isinff
46243 do :
46244   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46245 if test "x$ac_cv_func__isinff" = x""yes; then :
46246   cat >>confdefs.h <<_ACEOF
46247 #define HAVE__ISINFF 1
46248 _ACEOF
46249
46250 fi
46251 done
46252
46253     fi
46254   fi
46255
46256
46257
46258
46259
46260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46261 $as_echo_n "checking for atan2f declaration... " >&6; }
46262   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46263     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46264   $as_echo_n "(cached) " >&6
46265 else
46266
46267
46268       ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46273
46274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h.  */
46276 #include <math.h>
46277 int
46278 main ()
46279 {
46280  atan2f(0, 0);
46281   ;
46282   return 0;
46283 }
46284 _ACEOF
46285 if ac_fn_cxx_try_compile "$LINENO"; then :
46286   glibcxx_cv_func_atan2f_use=yes
46287 else
46288   glibcxx_cv_func_atan2f_use=no
46289 fi
46290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46291       ac_ext=c
46292 ac_cpp='$CPP $CPPFLAGS'
46293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46296
46297
46298 fi
46299
46300   fi
46301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46302 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46303
46304   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46305     for ac_func in atan2f
46306 do :
46307   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46308 if test "x$ac_cv_func_atan2f" = x""yes; then :
46309   cat >>confdefs.h <<_ACEOF
46310 #define HAVE_ATAN2F 1
46311 _ACEOF
46312
46313 fi
46314 done
46315
46316   else
46317
46318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46319 $as_echo_n "checking for _atan2f declaration... " >&6; }
46320   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46321     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46322   $as_echo_n "(cached) " >&6
46323 else
46324
46325
46326       ac_ext=cpp
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331
46332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46333 /* end confdefs.h.  */
46334 #include <math.h>
46335 int
46336 main ()
46337 {
46338  _atan2f(0, 0);
46339   ;
46340   return 0;
46341 }
46342 _ACEOF
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344   glibcxx_cv_func__atan2f_use=yes
46345 else
46346   glibcxx_cv_func__atan2f_use=no
46347 fi
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349       ac_ext=c
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46354
46355
46356 fi
46357
46358   fi
46359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46360 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46361
46362     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46363       for ac_func in _atan2f
46364 do :
46365   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46366 if test "x$ac_cv_func__atan2f" = x""yes; then :
46367   cat >>confdefs.h <<_ACEOF
46368 #define HAVE__ATAN2F 1
46369 _ACEOF
46370
46371 fi
46372 done
46373
46374     fi
46375   fi
46376
46377
46378
46379
46380
46381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46382 $as_echo_n "checking for fabsf declaration... " >&6; }
46383   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46384     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46385   $as_echo_n "(cached) " >&6
46386 else
46387
46388
46389       ac_ext=cpp
46390 ac_cpp='$CXXCPP $CPPFLAGS'
46391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46394
46395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h.  */
46397 #include <math.h>
46398                       #ifdef HAVE_IEEEFP_H
46399                       #include <ieeefp.h>
46400                       #endif
46401
46402 int
46403 main ()
46404 {
46405  fabsf(0);
46406   ;
46407   return 0;
46408 }
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411   glibcxx_cv_func_fabsf_use=yes
46412 else
46413   glibcxx_cv_func_fabsf_use=no
46414 fi
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416       ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46421
46422
46423 fi
46424
46425   fi
46426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46427 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46428
46429   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46430     for ac_func in fabsf
46431 do :
46432   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46433 if test "x$ac_cv_func_fabsf" = x""yes; then :
46434   cat >>confdefs.h <<_ACEOF
46435 #define HAVE_FABSF 1
46436 _ACEOF
46437
46438 fi
46439 done
46440
46441   else
46442
46443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46444 $as_echo_n "checking for _fabsf declaration... " >&6; }
46445   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46446     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46447   $as_echo_n "(cached) " >&6
46448 else
46449
46450
46451       ac_ext=cpp
46452 ac_cpp='$CXXCPP $CPPFLAGS'
46453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46456
46457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46458 /* end confdefs.h.  */
46459 #include <math.h>
46460                       #ifdef HAVE_IEEEFP_H
46461                       #include <ieeefp.h>
46462                       #endif
46463
46464 int
46465 main ()
46466 {
46467  _fabsf(0);
46468   ;
46469   return 0;
46470 }
46471 _ACEOF
46472 if ac_fn_cxx_try_compile "$LINENO"; then :
46473   glibcxx_cv_func__fabsf_use=yes
46474 else
46475   glibcxx_cv_func__fabsf_use=no
46476 fi
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46478       ac_ext=c
46479 ac_cpp='$CPP $CPPFLAGS'
46480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46483
46484
46485 fi
46486
46487   fi
46488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46489 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46490
46491     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46492       for ac_func in _fabsf
46493 do :
46494   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46495 if test "x$ac_cv_func__fabsf" = x""yes; then :
46496   cat >>confdefs.h <<_ACEOF
46497 #define HAVE__FABSF 1
46498 _ACEOF
46499
46500 fi
46501 done
46502
46503     fi
46504   fi
46505
46506
46507
46508
46509
46510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46511 $as_echo_n "checking for fmodf declaration... " >&6; }
46512   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46513     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46514   $as_echo_n "(cached) " >&6
46515 else
46516
46517
46518       ac_ext=cpp
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523
46524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46525 /* end confdefs.h.  */
46526 #include <math.h>
46527 int
46528 main ()
46529 {
46530  fmodf(0, 0);
46531   ;
46532   return 0;
46533 }
46534 _ACEOF
46535 if ac_fn_cxx_try_compile "$LINENO"; then :
46536   glibcxx_cv_func_fmodf_use=yes
46537 else
46538   glibcxx_cv_func_fmodf_use=no
46539 fi
46540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46541       ac_ext=c
46542 ac_cpp='$CPP $CPPFLAGS'
46543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46546
46547
46548 fi
46549
46550   fi
46551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46552 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46553
46554   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46555     for ac_func in fmodf
46556 do :
46557   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46558 if test "x$ac_cv_func_fmodf" = x""yes; then :
46559   cat >>confdefs.h <<_ACEOF
46560 #define HAVE_FMODF 1
46561 _ACEOF
46562
46563 fi
46564 done
46565
46566   else
46567
46568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46569 $as_echo_n "checking for _fmodf declaration... " >&6; }
46570   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46571     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46572   $as_echo_n "(cached) " >&6
46573 else
46574
46575
46576       ac_ext=cpp
46577 ac_cpp='$CXXCPP $CPPFLAGS'
46578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46581
46582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46583 /* end confdefs.h.  */
46584 #include <math.h>
46585 int
46586 main ()
46587 {
46588  _fmodf(0, 0);
46589   ;
46590   return 0;
46591 }
46592 _ACEOF
46593 if ac_fn_cxx_try_compile "$LINENO"; then :
46594   glibcxx_cv_func__fmodf_use=yes
46595 else
46596   glibcxx_cv_func__fmodf_use=no
46597 fi
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46599       ac_ext=c
46600 ac_cpp='$CPP $CPPFLAGS'
46601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46604
46605
46606 fi
46607
46608   fi
46609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46610 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46611
46612     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46613       for ac_func in _fmodf
46614 do :
46615   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46616 if test "x$ac_cv_func__fmodf" = x""yes; then :
46617   cat >>confdefs.h <<_ACEOF
46618 #define HAVE__FMODF 1
46619 _ACEOF
46620
46621 fi
46622 done
46623
46624     fi
46625   fi
46626
46627
46628
46629
46630
46631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46632 $as_echo_n "checking for frexpf declaration... " >&6; }
46633   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46634     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46635   $as_echo_n "(cached) " >&6
46636 else
46637
46638
46639       ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46644
46645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h.  */
46647 #include <math.h>
46648 int
46649 main ()
46650 {
46651  frexpf(0, 0);
46652   ;
46653   return 0;
46654 }
46655 _ACEOF
46656 if ac_fn_cxx_try_compile "$LINENO"; then :
46657   glibcxx_cv_func_frexpf_use=yes
46658 else
46659   glibcxx_cv_func_frexpf_use=no
46660 fi
46661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46662       ac_ext=c
46663 ac_cpp='$CPP $CPPFLAGS'
46664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46667
46668
46669 fi
46670
46671   fi
46672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46673 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46674
46675   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46676     for ac_func in frexpf
46677 do :
46678   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46679 if test "x$ac_cv_func_frexpf" = x""yes; then :
46680   cat >>confdefs.h <<_ACEOF
46681 #define HAVE_FREXPF 1
46682 _ACEOF
46683
46684 fi
46685 done
46686
46687   else
46688
46689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46690 $as_echo_n "checking for _frexpf declaration... " >&6; }
46691   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46692     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46693   $as_echo_n "(cached) " >&6
46694 else
46695
46696
46697       ac_ext=cpp
46698 ac_cpp='$CXXCPP $CPPFLAGS'
46699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46702
46703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46704 /* end confdefs.h.  */
46705 #include <math.h>
46706 int
46707 main ()
46708 {
46709  _frexpf(0, 0);
46710   ;
46711   return 0;
46712 }
46713 _ACEOF
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715   glibcxx_cv_func__frexpf_use=yes
46716 else
46717   glibcxx_cv_func__frexpf_use=no
46718 fi
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46720       ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46725
46726
46727 fi
46728
46729   fi
46730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46731 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46732
46733     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46734       for ac_func in _frexpf
46735 do :
46736   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46737 if test "x$ac_cv_func__frexpf" = x""yes; then :
46738   cat >>confdefs.h <<_ACEOF
46739 #define HAVE__FREXPF 1
46740 _ACEOF
46741
46742 fi
46743 done
46744
46745     fi
46746   fi
46747
46748
46749
46750
46751
46752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46753 $as_echo_n "checking for hypotf declaration... " >&6; }
46754   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46755     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46756   $as_echo_n "(cached) " >&6
46757 else
46758
46759
46760       ac_ext=cpp
46761 ac_cpp='$CXXCPP $CPPFLAGS'
46762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46765
46766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46767 /* end confdefs.h.  */
46768 #include <math.h>
46769 int
46770 main ()
46771 {
46772  hypotf(0, 0);
46773   ;
46774   return 0;
46775 }
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778   glibcxx_cv_func_hypotf_use=yes
46779 else
46780   glibcxx_cv_func_hypotf_use=no
46781 fi
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783       ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788
46789
46790 fi
46791
46792   fi
46793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46794 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46795
46796   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46797     for ac_func in hypotf
46798 do :
46799   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46800 if test "x$ac_cv_func_hypotf" = x""yes; then :
46801   cat >>confdefs.h <<_ACEOF
46802 #define HAVE_HYPOTF 1
46803 _ACEOF
46804
46805 fi
46806 done
46807
46808   else
46809
46810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46811 $as_echo_n "checking for _hypotf declaration... " >&6; }
46812   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46813     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46814   $as_echo_n "(cached) " >&6
46815 else
46816
46817
46818       ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823
46824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h.  */
46826 #include <math.h>
46827 int
46828 main ()
46829 {
46830  _hypotf(0, 0);
46831   ;
46832   return 0;
46833 }
46834 _ACEOF
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836   glibcxx_cv_func__hypotf_use=yes
46837 else
46838   glibcxx_cv_func__hypotf_use=no
46839 fi
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841       ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46846
46847
46848 fi
46849
46850   fi
46851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46852 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46853
46854     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46855       for ac_func in _hypotf
46856 do :
46857   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46858 if test "x$ac_cv_func__hypotf" = x""yes; then :
46859   cat >>confdefs.h <<_ACEOF
46860 #define HAVE__HYPOTF 1
46861 _ACEOF
46862
46863 fi
46864 done
46865
46866     fi
46867   fi
46868
46869
46870
46871
46872
46873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46874 $as_echo_n "checking for ldexpf declaration... " >&6; }
46875   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46876     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46877   $as_echo_n "(cached) " >&6
46878 else
46879
46880
46881       ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46886
46887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h.  */
46889 #include <math.h>
46890 int
46891 main ()
46892 {
46893  ldexpf(0, 0);
46894   ;
46895   return 0;
46896 }
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899   glibcxx_cv_func_ldexpf_use=yes
46900 else
46901   glibcxx_cv_func_ldexpf_use=no
46902 fi
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904       ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46909
46910
46911 fi
46912
46913   fi
46914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46915 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46916
46917   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46918     for ac_func in ldexpf
46919 do :
46920   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46921 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46922   cat >>confdefs.h <<_ACEOF
46923 #define HAVE_LDEXPF 1
46924 _ACEOF
46925
46926 fi
46927 done
46928
46929   else
46930
46931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46932 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46933   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46934     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46935   $as_echo_n "(cached) " >&6
46936 else
46937
46938
46939       ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46944
46945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h.  */
46947 #include <math.h>
46948 int
46949 main ()
46950 {
46951  _ldexpf(0, 0);
46952   ;
46953   return 0;
46954 }
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957   glibcxx_cv_func__ldexpf_use=yes
46958 else
46959   glibcxx_cv_func__ldexpf_use=no
46960 fi
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962       ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46967
46968
46969 fi
46970
46971   fi
46972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46973 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46974
46975     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46976       for ac_func in _ldexpf
46977 do :
46978   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46979 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46980   cat >>confdefs.h <<_ACEOF
46981 #define HAVE__LDEXPF 1
46982 _ACEOF
46983
46984 fi
46985 done
46986
46987     fi
46988   fi
46989
46990
46991
46992
46993
46994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46995 $as_echo_n "checking for logf declaration... " >&6; }
46996   if test x${glibcxx_cv_func_logf_use+set} != xset; then
46997     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46998   $as_echo_n "(cached) " >&6
46999 else
47000
47001
47002       ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47007
47008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h.  */
47010 #include <math.h>
47011                       #ifdef HAVE_IEEEFP_H
47012                       #include <ieeefp.h>
47013                       #endif
47014
47015 int
47016 main ()
47017 {
47018  logf(0);
47019   ;
47020   return 0;
47021 }
47022 _ACEOF
47023 if ac_fn_cxx_try_compile "$LINENO"; then :
47024   glibcxx_cv_func_logf_use=yes
47025 else
47026   glibcxx_cv_func_logf_use=no
47027 fi
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029       ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47034
47035
47036 fi
47037
47038   fi
47039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47040 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47041
47042   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47043     for ac_func in logf
47044 do :
47045   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47046 if test "x$ac_cv_func_logf" = x""yes; then :
47047   cat >>confdefs.h <<_ACEOF
47048 #define HAVE_LOGF 1
47049 _ACEOF
47050
47051 fi
47052 done
47053
47054   else
47055
47056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47057 $as_echo_n "checking for _logf declaration... " >&6; }
47058   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47059     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47060   $as_echo_n "(cached) " >&6
47061 else
47062
47063
47064       ac_ext=cpp
47065 ac_cpp='$CXXCPP $CPPFLAGS'
47066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47069
47070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47071 /* end confdefs.h.  */
47072 #include <math.h>
47073                       #ifdef HAVE_IEEEFP_H
47074                       #include <ieeefp.h>
47075                       #endif
47076
47077 int
47078 main ()
47079 {
47080  _logf(0);
47081   ;
47082   return 0;
47083 }
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086   glibcxx_cv_func__logf_use=yes
47087 else
47088   glibcxx_cv_func__logf_use=no
47089 fi
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091       ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47096
47097
47098 fi
47099
47100   fi
47101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47102 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47103
47104     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47105       for ac_func in _logf
47106 do :
47107   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47108 if test "x$ac_cv_func__logf" = x""yes; then :
47109   cat >>confdefs.h <<_ACEOF
47110 #define HAVE__LOGF 1
47111 _ACEOF
47112
47113 fi
47114 done
47115
47116     fi
47117   fi
47118
47119
47120
47121
47122
47123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47124 $as_echo_n "checking for log10f declaration... " >&6; }
47125   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47126     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47127   $as_echo_n "(cached) " >&6
47128 else
47129
47130
47131       ac_ext=cpp
47132 ac_cpp='$CXXCPP $CPPFLAGS'
47133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47136
47137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47138 /* end confdefs.h.  */
47139 #include <math.h>
47140                       #ifdef HAVE_IEEEFP_H
47141                       #include <ieeefp.h>
47142                       #endif
47143
47144 int
47145 main ()
47146 {
47147  log10f(0);
47148   ;
47149   return 0;
47150 }
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153   glibcxx_cv_func_log10f_use=yes
47154 else
47155   glibcxx_cv_func_log10f_use=no
47156 fi
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158       ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47163
47164
47165 fi
47166
47167   fi
47168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47169 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47170
47171   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47172     for ac_func in log10f
47173 do :
47174   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47175 if test "x$ac_cv_func_log10f" = x""yes; then :
47176   cat >>confdefs.h <<_ACEOF
47177 #define HAVE_LOG10F 1
47178 _ACEOF
47179
47180 fi
47181 done
47182
47183   else
47184
47185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47186 $as_echo_n "checking for _log10f declaration... " >&6; }
47187   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47188     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47189   $as_echo_n "(cached) " >&6
47190 else
47191
47192
47193       ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198
47199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h.  */
47201 #include <math.h>
47202                       #ifdef HAVE_IEEEFP_H
47203                       #include <ieeefp.h>
47204                       #endif
47205
47206 int
47207 main ()
47208 {
47209  _log10f(0);
47210   ;
47211   return 0;
47212 }
47213 _ACEOF
47214 if ac_fn_cxx_try_compile "$LINENO"; then :
47215   glibcxx_cv_func__log10f_use=yes
47216 else
47217   glibcxx_cv_func__log10f_use=no
47218 fi
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220       ac_ext=c
47221 ac_cpp='$CPP $CPPFLAGS'
47222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47225
47226
47227 fi
47228
47229   fi
47230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47231 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47232
47233     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47234       for ac_func in _log10f
47235 do :
47236   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47237 if test "x$ac_cv_func__log10f" = x""yes; then :
47238   cat >>confdefs.h <<_ACEOF
47239 #define HAVE__LOG10F 1
47240 _ACEOF
47241
47242 fi
47243 done
47244
47245     fi
47246   fi
47247
47248
47249
47250
47251
47252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47253 $as_echo_n "checking for modff declaration... " >&6; }
47254   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47255     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47256   $as_echo_n "(cached) " >&6
47257 else
47258
47259
47260       ac_ext=cpp
47261 ac_cpp='$CXXCPP $CPPFLAGS'
47262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47265
47266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47267 /* end confdefs.h.  */
47268 #include <math.h>
47269 int
47270 main ()
47271 {
47272  modff(0, 0);
47273   ;
47274   return 0;
47275 }
47276 _ACEOF
47277 if ac_fn_cxx_try_compile "$LINENO"; then :
47278   glibcxx_cv_func_modff_use=yes
47279 else
47280   glibcxx_cv_func_modff_use=no
47281 fi
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283       ac_ext=c
47284 ac_cpp='$CPP $CPPFLAGS'
47285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47288
47289
47290 fi
47291
47292   fi
47293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47294 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47295
47296   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47297     for ac_func in modff
47298 do :
47299   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47300 if test "x$ac_cv_func_modff" = x""yes; then :
47301   cat >>confdefs.h <<_ACEOF
47302 #define HAVE_MODFF 1
47303 _ACEOF
47304
47305 fi
47306 done
47307
47308   else
47309
47310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47311 $as_echo_n "checking for _modff declaration... " >&6; }
47312   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47313     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47314   $as_echo_n "(cached) " >&6
47315 else
47316
47317
47318       ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47323
47324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h.  */
47326 #include <math.h>
47327 int
47328 main ()
47329 {
47330  _modff(0, 0);
47331   ;
47332   return 0;
47333 }
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336   glibcxx_cv_func__modff_use=yes
47337 else
47338   glibcxx_cv_func__modff_use=no
47339 fi
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341       ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47346
47347
47348 fi
47349
47350   fi
47351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47352 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47353
47354     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47355       for ac_func in _modff
47356 do :
47357   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47358 if test "x$ac_cv_func__modff" = x""yes; then :
47359   cat >>confdefs.h <<_ACEOF
47360 #define HAVE__MODFF 1
47361 _ACEOF
47362
47363 fi
47364 done
47365
47366     fi
47367   fi
47368
47369
47370
47371
47372
47373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47374 $as_echo_n "checking for modf declaration... " >&6; }
47375   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47376     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47377   $as_echo_n "(cached) " >&6
47378 else
47379
47380
47381       ac_ext=cpp
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47386
47387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47388 /* end confdefs.h.  */
47389 #include <math.h>
47390 int
47391 main ()
47392 {
47393  modf(0, 0);
47394   ;
47395   return 0;
47396 }
47397 _ACEOF
47398 if ac_fn_cxx_try_compile "$LINENO"; then :
47399   glibcxx_cv_func_modf_use=yes
47400 else
47401   glibcxx_cv_func_modf_use=no
47402 fi
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47404       ac_ext=c
47405 ac_cpp='$CPP $CPPFLAGS'
47406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47409
47410
47411 fi
47412
47413   fi
47414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47415 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47416
47417   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47418     for ac_func in modf
47419 do :
47420   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47421 if test "x$ac_cv_func_modf" = x""yes; then :
47422   cat >>confdefs.h <<_ACEOF
47423 #define HAVE_MODF 1
47424 _ACEOF
47425
47426 fi
47427 done
47428
47429   else
47430
47431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47432 $as_echo_n "checking for _modf declaration... " >&6; }
47433   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47434     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47435   $as_echo_n "(cached) " >&6
47436 else
47437
47438
47439       ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47444
47445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h.  */
47447 #include <math.h>
47448 int
47449 main ()
47450 {
47451  _modf(0, 0);
47452   ;
47453   return 0;
47454 }
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457   glibcxx_cv_func__modf_use=yes
47458 else
47459   glibcxx_cv_func__modf_use=no
47460 fi
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462       ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47467
47468
47469 fi
47470
47471   fi
47472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47473 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47474
47475     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47476       for ac_func in _modf
47477 do :
47478   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47479 if test "x$ac_cv_func__modf" = x""yes; then :
47480   cat >>confdefs.h <<_ACEOF
47481 #define HAVE__MODF 1
47482 _ACEOF
47483
47484 fi
47485 done
47486
47487     fi
47488   fi
47489
47490
47491
47492
47493
47494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47495 $as_echo_n "checking for powf declaration... " >&6; }
47496   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47497     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47498   $as_echo_n "(cached) " >&6
47499 else
47500
47501
47502       ac_ext=cpp
47503 ac_cpp='$CXXCPP $CPPFLAGS'
47504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47507
47508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47509 /* end confdefs.h.  */
47510 #include <math.h>
47511 int
47512 main ()
47513 {
47514  powf(0, 0);
47515   ;
47516   return 0;
47517 }
47518 _ACEOF
47519 if ac_fn_cxx_try_compile "$LINENO"; then :
47520   glibcxx_cv_func_powf_use=yes
47521 else
47522   glibcxx_cv_func_powf_use=no
47523 fi
47524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47525       ac_ext=c
47526 ac_cpp='$CPP $CPPFLAGS'
47527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47530
47531
47532 fi
47533
47534   fi
47535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47536 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47537
47538   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47539     for ac_func in powf
47540 do :
47541   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47542 if test "x$ac_cv_func_powf" = x""yes; then :
47543   cat >>confdefs.h <<_ACEOF
47544 #define HAVE_POWF 1
47545 _ACEOF
47546
47547 fi
47548 done
47549
47550   else
47551
47552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47553 $as_echo_n "checking for _powf declaration... " >&6; }
47554   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47555     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47556   $as_echo_n "(cached) " >&6
47557 else
47558
47559
47560       ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565
47566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h.  */
47568 #include <math.h>
47569 int
47570 main ()
47571 {
47572  _powf(0, 0);
47573   ;
47574   return 0;
47575 }
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578   glibcxx_cv_func__powf_use=yes
47579 else
47580   glibcxx_cv_func__powf_use=no
47581 fi
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583       ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47588
47589
47590 fi
47591
47592   fi
47593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47594 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47595
47596     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47597       for ac_func in _powf
47598 do :
47599   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47600 if test "x$ac_cv_func__powf" = x""yes; then :
47601   cat >>confdefs.h <<_ACEOF
47602 #define HAVE__POWF 1
47603 _ACEOF
47604
47605 fi
47606 done
47607
47608     fi
47609   fi
47610
47611
47612
47613
47614
47615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47616 $as_echo_n "checking for sqrtf declaration... " >&6; }
47617   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47618     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47619   $as_echo_n "(cached) " >&6
47620 else
47621
47622
47623       ac_ext=cpp
47624 ac_cpp='$CXXCPP $CPPFLAGS'
47625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47628
47629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47630 /* end confdefs.h.  */
47631 #include <math.h>
47632                       #ifdef HAVE_IEEEFP_H
47633                       #include <ieeefp.h>
47634                       #endif
47635
47636 int
47637 main ()
47638 {
47639  sqrtf(0);
47640   ;
47641   return 0;
47642 }
47643 _ACEOF
47644 if ac_fn_cxx_try_compile "$LINENO"; then :
47645   glibcxx_cv_func_sqrtf_use=yes
47646 else
47647   glibcxx_cv_func_sqrtf_use=no
47648 fi
47649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47650       ac_ext=c
47651 ac_cpp='$CPP $CPPFLAGS'
47652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47655
47656
47657 fi
47658
47659   fi
47660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47661 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47662
47663   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47664     for ac_func in sqrtf
47665 do :
47666   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47667 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47668   cat >>confdefs.h <<_ACEOF
47669 #define HAVE_SQRTF 1
47670 _ACEOF
47671
47672 fi
47673 done
47674
47675   else
47676
47677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47678 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47679   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47680     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47681   $as_echo_n "(cached) " >&6
47682 else
47683
47684
47685       ac_ext=cpp
47686 ac_cpp='$CXXCPP $CPPFLAGS'
47687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47690
47691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47692 /* end confdefs.h.  */
47693 #include <math.h>
47694                       #ifdef HAVE_IEEEFP_H
47695                       #include <ieeefp.h>
47696                       #endif
47697
47698 int
47699 main ()
47700 {
47701  _sqrtf(0);
47702   ;
47703   return 0;
47704 }
47705 _ACEOF
47706 if ac_fn_cxx_try_compile "$LINENO"; then :
47707   glibcxx_cv_func__sqrtf_use=yes
47708 else
47709   glibcxx_cv_func__sqrtf_use=no
47710 fi
47711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47712       ac_ext=c
47713 ac_cpp='$CPP $CPPFLAGS'
47714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47717
47718
47719 fi
47720
47721   fi
47722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47723 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47724
47725     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47726       for ac_func in _sqrtf
47727 do :
47728   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47729 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47730   cat >>confdefs.h <<_ACEOF
47731 #define HAVE__SQRTF 1
47732 _ACEOF
47733
47734 fi
47735 done
47736
47737     fi
47738   fi
47739
47740
47741
47742
47743
47744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47745 $as_echo_n "checking for sincosf declaration... " >&6; }
47746   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47747     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47748   $as_echo_n "(cached) " >&6
47749 else
47750
47751
47752       ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757
47758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h.  */
47760 #include <math.h>
47761 int
47762 main ()
47763 {
47764  sincosf(0, 0, 0);
47765   ;
47766   return 0;
47767 }
47768 _ACEOF
47769 if ac_fn_cxx_try_compile "$LINENO"; then :
47770   glibcxx_cv_func_sincosf_use=yes
47771 else
47772   glibcxx_cv_func_sincosf_use=no
47773 fi
47774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47775       ac_ext=c
47776 ac_cpp='$CPP $CPPFLAGS'
47777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47780
47781
47782 fi
47783
47784   fi
47785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47786 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47787
47788   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47789     for ac_func in sincosf
47790 do :
47791   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47792 if test "x$ac_cv_func_sincosf" = x""yes; then :
47793   cat >>confdefs.h <<_ACEOF
47794 #define HAVE_SINCOSF 1
47795 _ACEOF
47796
47797 fi
47798 done
47799
47800   else
47801
47802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47803 $as_echo_n "checking for _sincosf declaration... " >&6; }
47804   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47805     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47806   $as_echo_n "(cached) " >&6
47807 else
47808
47809
47810       ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815
47816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h.  */
47818 #include <math.h>
47819 int
47820 main ()
47821 {
47822  _sincosf(0, 0, 0);
47823   ;
47824   return 0;
47825 }
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828   glibcxx_cv_func__sincosf_use=yes
47829 else
47830   glibcxx_cv_func__sincosf_use=no
47831 fi
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833       ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838
47839
47840 fi
47841
47842   fi
47843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47844 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47845
47846     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47847       for ac_func in _sincosf
47848 do :
47849   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47850 if test "x$ac_cv_func__sincosf" = x""yes; then :
47851   cat >>confdefs.h <<_ACEOF
47852 #define HAVE__SINCOSF 1
47853 _ACEOF
47854
47855 fi
47856 done
47857
47858     fi
47859   fi
47860
47861
47862
47863
47864
47865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47866 $as_echo_n "checking for finitef declaration... " >&6; }
47867   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47868     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47869   $as_echo_n "(cached) " >&6
47870 else
47871
47872
47873       ac_ext=cpp
47874 ac_cpp='$CXXCPP $CPPFLAGS'
47875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47878
47879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47880 /* end confdefs.h.  */
47881 #include <math.h>
47882                       #ifdef HAVE_IEEEFP_H
47883                       #include <ieeefp.h>
47884                       #endif
47885
47886 int
47887 main ()
47888 {
47889  finitef(0);
47890   ;
47891   return 0;
47892 }
47893 _ACEOF
47894 if ac_fn_cxx_try_compile "$LINENO"; then :
47895   glibcxx_cv_func_finitef_use=yes
47896 else
47897   glibcxx_cv_func_finitef_use=no
47898 fi
47899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47900       ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47905
47906
47907 fi
47908
47909   fi
47910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47911 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47912
47913   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47914     for ac_func in finitef
47915 do :
47916   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47917 if test "x$ac_cv_func_finitef" = x""yes; then :
47918   cat >>confdefs.h <<_ACEOF
47919 #define HAVE_FINITEF 1
47920 _ACEOF
47921
47922 fi
47923 done
47924
47925   else
47926
47927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47928 $as_echo_n "checking for _finitef declaration... " >&6; }
47929   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47930     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47931   $as_echo_n "(cached) " >&6
47932 else
47933
47934
47935       ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940
47941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47942 /* end confdefs.h.  */
47943 #include <math.h>
47944                       #ifdef HAVE_IEEEFP_H
47945                       #include <ieeefp.h>
47946                       #endif
47947
47948 int
47949 main ()
47950 {
47951  _finitef(0);
47952   ;
47953   return 0;
47954 }
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957   glibcxx_cv_func__finitef_use=yes
47958 else
47959   glibcxx_cv_func__finitef_use=no
47960 fi
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962       ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967
47968
47969 fi
47970
47971   fi
47972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47973 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47974
47975     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47976       for ac_func in _finitef
47977 do :
47978   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47979 if test "x$ac_cv_func__finitef" = x""yes; then :
47980   cat >>confdefs.h <<_ACEOF
47981 #define HAVE__FINITEF 1
47982 _ACEOF
47983
47984 fi
47985 done
47986
47987     fi
47988   fi
47989
47990
47991
47992
47993
47994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47995 $as_echo_n "checking for long double trig functions... " >&6; }
47996   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47997   $as_echo_n "(cached) " >&6
47998 else
47999
48000
48001     ac_ext=cpp
48002 ac_cpp='$CXXCPP $CPPFLAGS'
48003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48006
48007     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48008 /* end confdefs.h.  */
48009 #include <math.h>
48010 int
48011 main ()
48012 {
48013 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48014   ;
48015   return 0;
48016 }
48017 _ACEOF
48018 if ac_fn_cxx_try_compile "$LINENO"; then :
48019   glibcxx_cv_func_long_double_trig_use=yes
48020 else
48021   glibcxx_cv_func_long_double_trig_use=no
48022 fi
48023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48024     ac_ext=c
48025 ac_cpp='$CPP $CPPFLAGS'
48026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48029
48030 fi
48031
48032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48033 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48034   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48035     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48036 do :
48037   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48039 eval as_val=\$$as_ac_var
48040    if test "x$as_val" = x""yes; then :
48041   cat >>confdefs.h <<_ACEOF
48042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48043 _ACEOF
48044
48045 fi
48046 done
48047
48048   else
48049     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48050 $as_echo_n "checking for _long double trig functions... " >&6; }
48051     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48052   $as_echo_n "(cached) " >&6
48053 else
48054
48055
48056       ac_ext=cpp
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48061
48062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48063 /* end confdefs.h.  */
48064 #include <math.h>
48065 int
48066 main ()
48067 {
48068 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48069   ;
48070   return 0;
48071 }
48072 _ACEOF
48073 if ac_fn_cxx_try_compile "$LINENO"; then :
48074   glibcxx_cv_func__long_double_trig_use=yes
48075 else
48076   glibcxx_cv_func__long_double_trig_use=no
48077 fi
48078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48079       ac_ext=c
48080 ac_cpp='$CPP $CPPFLAGS'
48081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48084
48085 fi
48086
48087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48088 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48089     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48090       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48091 do :
48092   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48094 eval as_val=\$$as_ac_var
48095    if test "x$as_val" = x""yes; then :
48096   cat >>confdefs.h <<_ACEOF
48097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48098 _ACEOF
48099
48100 fi
48101 done
48102
48103     fi
48104   fi
48105
48106
48107
48108
48109
48110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48111 $as_echo_n "checking for long double round functions... " >&6; }
48112   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48113   $as_echo_n "(cached) " >&6
48114 else
48115
48116
48117     ac_ext=cpp
48118 ac_cpp='$CXXCPP $CPPFLAGS'
48119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48122
48123     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48124 /* end confdefs.h.  */
48125 #include <math.h>
48126 int
48127 main ()
48128 {
48129 ceill (0); floorl (0);
48130   ;
48131   return 0;
48132 }
48133 _ACEOF
48134 if ac_fn_cxx_try_compile "$LINENO"; then :
48135   glibcxx_cv_func_long_double_round_use=yes
48136 else
48137   glibcxx_cv_func_long_double_round_use=no
48138 fi
48139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48140     ac_ext=c
48141 ac_cpp='$CPP $CPPFLAGS'
48142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145
48146 fi
48147
48148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48149 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48150   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48151     for ac_func in ceill floorl
48152 do :
48153   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48155 eval as_val=\$$as_ac_var
48156    if test "x$as_val" = x""yes; then :
48157   cat >>confdefs.h <<_ACEOF
48158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48159 _ACEOF
48160
48161 fi
48162 done
48163
48164   else
48165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48166 $as_echo_n "checking for _long double round functions... " >&6; }
48167     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48168   $as_echo_n "(cached) " >&6
48169 else
48170
48171
48172       ac_ext=cpp
48173 ac_cpp='$CXXCPP $CPPFLAGS'
48174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48177
48178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48179 /* end confdefs.h.  */
48180 #include <math.h>
48181 int
48182 main ()
48183 {
48184 _ceill (0); _floorl (0);
48185   ;
48186   return 0;
48187 }
48188 _ACEOF
48189 if ac_fn_cxx_try_compile "$LINENO"; then :
48190   glibcxx_cv_func__long_double_round_use=yes
48191 else
48192   glibcxx_cv_func__long_double_round_use=no
48193 fi
48194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48195       ac_ext=c
48196 ac_cpp='$CPP $CPPFLAGS'
48197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200
48201 fi
48202
48203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48204 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48205     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48206       for ac_func in _ceill _floorl
48207 do :
48208   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48210 eval as_val=\$$as_ac_var
48211    if test "x$as_val" = x""yes; then :
48212   cat >>confdefs.h <<_ACEOF
48213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48214 _ACEOF
48215
48216 fi
48217 done
48218
48219     fi
48220   fi
48221
48222
48223
48224
48225
48226
48227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48228 $as_echo_n "checking for isnanl declaration... " >&6; }
48229   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48230     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48231   $as_echo_n "(cached) " >&6
48232 else
48233
48234
48235       ac_ext=cpp
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48240
48241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48242 /* end confdefs.h.  */
48243 #include <math.h>
48244                       #ifdef HAVE_IEEEFP_H
48245                       #include <ieeefp.h>
48246                       #endif
48247
48248 int
48249 main ()
48250 {
48251  isnanl(0);
48252   ;
48253   return 0;
48254 }
48255 _ACEOF
48256 if ac_fn_cxx_try_compile "$LINENO"; then :
48257   glibcxx_cv_func_isnanl_use=yes
48258 else
48259   glibcxx_cv_func_isnanl_use=no
48260 fi
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48262       ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48267
48268
48269 fi
48270
48271   fi
48272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48273 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48274
48275   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48276     for ac_func in isnanl
48277 do :
48278   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48279 if test "x$ac_cv_func_isnanl" = x""yes; then :
48280   cat >>confdefs.h <<_ACEOF
48281 #define HAVE_ISNANL 1
48282 _ACEOF
48283
48284 fi
48285 done
48286
48287   else
48288
48289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48290 $as_echo_n "checking for _isnanl declaration... " >&6; }
48291   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48292     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48293   $as_echo_n "(cached) " >&6
48294 else
48295
48296
48297       ac_ext=cpp
48298 ac_cpp='$CXXCPP $CPPFLAGS'
48299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48302
48303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48304 /* end confdefs.h.  */
48305 #include <math.h>
48306                       #ifdef HAVE_IEEEFP_H
48307                       #include <ieeefp.h>
48308                       #endif
48309
48310 int
48311 main ()
48312 {
48313  _isnanl(0);
48314   ;
48315   return 0;
48316 }
48317 _ACEOF
48318 if ac_fn_cxx_try_compile "$LINENO"; then :
48319   glibcxx_cv_func__isnanl_use=yes
48320 else
48321   glibcxx_cv_func__isnanl_use=no
48322 fi
48323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48324       ac_ext=c
48325 ac_cpp='$CPP $CPPFLAGS'
48326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48329
48330
48331 fi
48332
48333   fi
48334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48335 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48336
48337     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48338       for ac_func in _isnanl
48339 do :
48340   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48341 if test "x$ac_cv_func__isnanl" = x""yes; then :
48342   cat >>confdefs.h <<_ACEOF
48343 #define HAVE__ISNANL 1
48344 _ACEOF
48345
48346 fi
48347 done
48348
48349     fi
48350   fi
48351
48352
48353
48354
48355
48356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48357 $as_echo_n "checking for isinfl declaration... " >&6; }
48358   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48359     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48360   $as_echo_n "(cached) " >&6
48361 else
48362
48363
48364       ac_ext=cpp
48365 ac_cpp='$CXXCPP $CPPFLAGS'
48366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48369
48370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48371 /* end confdefs.h.  */
48372 #include <math.h>
48373                       #ifdef HAVE_IEEEFP_H
48374                       #include <ieeefp.h>
48375                       #endif
48376
48377 int
48378 main ()
48379 {
48380  isinfl(0);
48381   ;
48382   return 0;
48383 }
48384 _ACEOF
48385 if ac_fn_cxx_try_compile "$LINENO"; then :
48386   glibcxx_cv_func_isinfl_use=yes
48387 else
48388   glibcxx_cv_func_isinfl_use=no
48389 fi
48390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48391       ac_ext=c
48392 ac_cpp='$CPP $CPPFLAGS'
48393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48396
48397
48398 fi
48399
48400   fi
48401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48402 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48403
48404   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48405     for ac_func in isinfl
48406 do :
48407   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48408 if test "x$ac_cv_func_isinfl" = x""yes; then :
48409   cat >>confdefs.h <<_ACEOF
48410 #define HAVE_ISINFL 1
48411 _ACEOF
48412
48413 fi
48414 done
48415
48416   else
48417
48418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48419 $as_echo_n "checking for _isinfl declaration... " >&6; }
48420   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48421     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48422   $as_echo_n "(cached) " >&6
48423 else
48424
48425
48426       ac_ext=cpp
48427 ac_cpp='$CXXCPP $CPPFLAGS'
48428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48431
48432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48433 /* end confdefs.h.  */
48434 #include <math.h>
48435                       #ifdef HAVE_IEEEFP_H
48436                       #include <ieeefp.h>
48437                       #endif
48438
48439 int
48440 main ()
48441 {
48442  _isinfl(0);
48443   ;
48444   return 0;
48445 }
48446 _ACEOF
48447 if ac_fn_cxx_try_compile "$LINENO"; then :
48448   glibcxx_cv_func__isinfl_use=yes
48449 else
48450   glibcxx_cv_func__isinfl_use=no
48451 fi
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453       ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48458
48459
48460 fi
48461
48462   fi
48463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48464 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48465
48466     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48467       for ac_func in _isinfl
48468 do :
48469   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48470 if test "x$ac_cv_func__isinfl" = x""yes; then :
48471   cat >>confdefs.h <<_ACEOF
48472 #define HAVE__ISINFL 1
48473 _ACEOF
48474
48475 fi
48476 done
48477
48478     fi
48479   fi
48480
48481
48482
48483
48484
48485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48486 $as_echo_n "checking for atan2l declaration... " >&6; }
48487   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48488     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48489   $as_echo_n "(cached) " >&6
48490 else
48491
48492
48493       ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48498
48499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h.  */
48501 #include <math.h>
48502 int
48503 main ()
48504 {
48505  atan2l(0, 0);
48506   ;
48507   return 0;
48508 }
48509 _ACEOF
48510 if ac_fn_cxx_try_compile "$LINENO"; then :
48511   glibcxx_cv_func_atan2l_use=yes
48512 else
48513   glibcxx_cv_func_atan2l_use=no
48514 fi
48515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48516       ac_ext=c
48517 ac_cpp='$CPP $CPPFLAGS'
48518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48521
48522
48523 fi
48524
48525   fi
48526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48527 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48528
48529   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48530     for ac_func in atan2l
48531 do :
48532   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48533 if test "x$ac_cv_func_atan2l" = x""yes; then :
48534   cat >>confdefs.h <<_ACEOF
48535 #define HAVE_ATAN2L 1
48536 _ACEOF
48537
48538 fi
48539 done
48540
48541   else
48542
48543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48544 $as_echo_n "checking for _atan2l declaration... " >&6; }
48545   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48546     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48547   $as_echo_n "(cached) " >&6
48548 else
48549
48550
48551       ac_ext=cpp
48552 ac_cpp='$CXXCPP $CPPFLAGS'
48553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48556
48557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48558 /* end confdefs.h.  */
48559 #include <math.h>
48560 int
48561 main ()
48562 {
48563  _atan2l(0, 0);
48564   ;
48565   return 0;
48566 }
48567 _ACEOF
48568 if ac_fn_cxx_try_compile "$LINENO"; then :
48569   glibcxx_cv_func__atan2l_use=yes
48570 else
48571   glibcxx_cv_func__atan2l_use=no
48572 fi
48573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48574       ac_ext=c
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48579
48580
48581 fi
48582
48583   fi
48584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48585 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48586
48587     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48588       for ac_func in _atan2l
48589 do :
48590   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48591 if test "x$ac_cv_func__atan2l" = x""yes; then :
48592   cat >>confdefs.h <<_ACEOF
48593 #define HAVE__ATAN2L 1
48594 _ACEOF
48595
48596 fi
48597 done
48598
48599     fi
48600   fi
48601
48602
48603
48604
48605
48606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48607 $as_echo_n "checking for expl declaration... " >&6; }
48608   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48609     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48610   $as_echo_n "(cached) " >&6
48611 else
48612
48613
48614       ac_ext=cpp
48615 ac_cpp='$CXXCPP $CPPFLAGS'
48616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48619
48620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48621 /* end confdefs.h.  */
48622 #include <math.h>
48623                       #ifdef HAVE_IEEEFP_H
48624                       #include <ieeefp.h>
48625                       #endif
48626
48627 int
48628 main ()
48629 {
48630  expl(0);
48631   ;
48632   return 0;
48633 }
48634 _ACEOF
48635 if ac_fn_cxx_try_compile "$LINENO"; then :
48636   glibcxx_cv_func_expl_use=yes
48637 else
48638   glibcxx_cv_func_expl_use=no
48639 fi
48640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48641       ac_ext=c
48642 ac_cpp='$CPP $CPPFLAGS'
48643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48646
48647
48648 fi
48649
48650   fi
48651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48652 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48653
48654   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48655     for ac_func in expl
48656 do :
48657   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48658 if test "x$ac_cv_func_expl" = x""yes; then :
48659   cat >>confdefs.h <<_ACEOF
48660 #define HAVE_EXPL 1
48661 _ACEOF
48662
48663 fi
48664 done
48665
48666   else
48667
48668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48669 $as_echo_n "checking for _expl declaration... " >&6; }
48670   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48671     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48672   $as_echo_n "(cached) " >&6
48673 else
48674
48675
48676       ac_ext=cpp
48677 ac_cpp='$CXXCPP $CPPFLAGS'
48678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48681
48682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48683 /* end confdefs.h.  */
48684 #include <math.h>
48685                       #ifdef HAVE_IEEEFP_H
48686                       #include <ieeefp.h>
48687                       #endif
48688
48689 int
48690 main ()
48691 {
48692  _expl(0);
48693   ;
48694   return 0;
48695 }
48696 _ACEOF
48697 if ac_fn_cxx_try_compile "$LINENO"; then :
48698   glibcxx_cv_func__expl_use=yes
48699 else
48700   glibcxx_cv_func__expl_use=no
48701 fi
48702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48703       ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48708
48709
48710 fi
48711
48712   fi
48713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48714 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48715
48716     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48717       for ac_func in _expl
48718 do :
48719   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48720 if test "x$ac_cv_func__expl" = x""yes; then :
48721   cat >>confdefs.h <<_ACEOF
48722 #define HAVE__EXPL 1
48723 _ACEOF
48724
48725 fi
48726 done
48727
48728     fi
48729   fi
48730
48731
48732
48733
48734
48735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48736 $as_echo_n "checking for fabsl declaration... " >&6; }
48737   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48738     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48739   $as_echo_n "(cached) " >&6
48740 else
48741
48742
48743       ac_ext=cpp
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48748
48749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48750 /* end confdefs.h.  */
48751 #include <math.h>
48752                       #ifdef HAVE_IEEEFP_H
48753                       #include <ieeefp.h>
48754                       #endif
48755
48756 int
48757 main ()
48758 {
48759  fabsl(0);
48760   ;
48761   return 0;
48762 }
48763 _ACEOF
48764 if ac_fn_cxx_try_compile "$LINENO"; then :
48765   glibcxx_cv_func_fabsl_use=yes
48766 else
48767   glibcxx_cv_func_fabsl_use=no
48768 fi
48769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48770       ac_ext=c
48771 ac_cpp='$CPP $CPPFLAGS'
48772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48775
48776
48777 fi
48778
48779   fi
48780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48781 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48782
48783   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48784     for ac_func in fabsl
48785 do :
48786   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48787 if test "x$ac_cv_func_fabsl" = x""yes; then :
48788   cat >>confdefs.h <<_ACEOF
48789 #define HAVE_FABSL 1
48790 _ACEOF
48791
48792 fi
48793 done
48794
48795   else
48796
48797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48798 $as_echo_n "checking for _fabsl declaration... " >&6; }
48799   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48800     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48801   $as_echo_n "(cached) " >&6
48802 else
48803
48804
48805       ac_ext=cpp
48806 ac_cpp='$CXXCPP $CPPFLAGS'
48807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48810
48811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48812 /* end confdefs.h.  */
48813 #include <math.h>
48814                       #ifdef HAVE_IEEEFP_H
48815                       #include <ieeefp.h>
48816                       #endif
48817
48818 int
48819 main ()
48820 {
48821  _fabsl(0);
48822   ;
48823   return 0;
48824 }
48825 _ACEOF
48826 if ac_fn_cxx_try_compile "$LINENO"; then :
48827   glibcxx_cv_func__fabsl_use=yes
48828 else
48829   glibcxx_cv_func__fabsl_use=no
48830 fi
48831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48832       ac_ext=c
48833 ac_cpp='$CPP $CPPFLAGS'
48834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48837
48838
48839 fi
48840
48841   fi
48842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48843 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48844
48845     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48846       for ac_func in _fabsl
48847 do :
48848   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48849 if test "x$ac_cv_func__fabsl" = x""yes; then :
48850   cat >>confdefs.h <<_ACEOF
48851 #define HAVE__FABSL 1
48852 _ACEOF
48853
48854 fi
48855 done
48856
48857     fi
48858   fi
48859
48860
48861
48862
48863
48864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48865 $as_echo_n "checking for fmodl declaration... " >&6; }
48866   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48867     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48868   $as_echo_n "(cached) " >&6
48869 else
48870
48871
48872       ac_ext=cpp
48873 ac_cpp='$CXXCPP $CPPFLAGS'
48874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48877
48878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48879 /* end confdefs.h.  */
48880 #include <math.h>
48881 int
48882 main ()
48883 {
48884  fmodl(0, 0);
48885   ;
48886   return 0;
48887 }
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890   glibcxx_cv_func_fmodl_use=yes
48891 else
48892   glibcxx_cv_func_fmodl_use=no
48893 fi
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895       ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48900
48901
48902 fi
48903
48904   fi
48905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48906 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48907
48908   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48909     for ac_func in fmodl
48910 do :
48911   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48912 if test "x$ac_cv_func_fmodl" = x""yes; then :
48913   cat >>confdefs.h <<_ACEOF
48914 #define HAVE_FMODL 1
48915 _ACEOF
48916
48917 fi
48918 done
48919
48920   else
48921
48922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48923 $as_echo_n "checking for _fmodl declaration... " >&6; }
48924   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48925     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48926   $as_echo_n "(cached) " >&6
48927 else
48928
48929
48930       ac_ext=cpp
48931 ac_cpp='$CXXCPP $CPPFLAGS'
48932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48935
48936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48937 /* end confdefs.h.  */
48938 #include <math.h>
48939 int
48940 main ()
48941 {
48942  _fmodl(0, 0);
48943   ;
48944   return 0;
48945 }
48946 _ACEOF
48947 if ac_fn_cxx_try_compile "$LINENO"; then :
48948   glibcxx_cv_func__fmodl_use=yes
48949 else
48950   glibcxx_cv_func__fmodl_use=no
48951 fi
48952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48953       ac_ext=c
48954 ac_cpp='$CPP $CPPFLAGS'
48955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48958
48959
48960 fi
48961
48962   fi
48963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48964 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48965
48966     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48967       for ac_func in _fmodl
48968 do :
48969   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48970 if test "x$ac_cv_func__fmodl" = x""yes; then :
48971   cat >>confdefs.h <<_ACEOF
48972 #define HAVE__FMODL 1
48973 _ACEOF
48974
48975 fi
48976 done
48977
48978     fi
48979   fi
48980
48981
48982
48983
48984
48985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48986 $as_echo_n "checking for frexpl declaration... " >&6; }
48987   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48988     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48989   $as_echo_n "(cached) " >&6
48990 else
48991
48992
48993       ac_ext=cpp
48994 ac_cpp='$CXXCPP $CPPFLAGS'
48995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48998
48999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49000 /* end confdefs.h.  */
49001 #include <math.h>
49002 int
49003 main ()
49004 {
49005  frexpl(0, 0);
49006   ;
49007   return 0;
49008 }
49009 _ACEOF
49010 if ac_fn_cxx_try_compile "$LINENO"; then :
49011   glibcxx_cv_func_frexpl_use=yes
49012 else
49013   glibcxx_cv_func_frexpl_use=no
49014 fi
49015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49016       ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49021
49022
49023 fi
49024
49025   fi
49026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49027 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49028
49029   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49030     for ac_func in frexpl
49031 do :
49032   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49033 if test "x$ac_cv_func_frexpl" = x""yes; then :
49034   cat >>confdefs.h <<_ACEOF
49035 #define HAVE_FREXPL 1
49036 _ACEOF
49037
49038 fi
49039 done
49040
49041   else
49042
49043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49044 $as_echo_n "checking for _frexpl declaration... " >&6; }
49045   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49046     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49047   $as_echo_n "(cached) " >&6
49048 else
49049
49050
49051       ac_ext=cpp
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49056
49057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h.  */
49059 #include <math.h>
49060 int
49061 main ()
49062 {
49063  _frexpl(0, 0);
49064   ;
49065   return 0;
49066 }
49067 _ACEOF
49068 if ac_fn_cxx_try_compile "$LINENO"; then :
49069   glibcxx_cv_func__frexpl_use=yes
49070 else
49071   glibcxx_cv_func__frexpl_use=no
49072 fi
49073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49074       ac_ext=c
49075 ac_cpp='$CPP $CPPFLAGS'
49076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49079
49080
49081 fi
49082
49083   fi
49084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49085 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49086
49087     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49088       for ac_func in _frexpl
49089 do :
49090   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49091 if test "x$ac_cv_func__frexpl" = x""yes; then :
49092   cat >>confdefs.h <<_ACEOF
49093 #define HAVE__FREXPL 1
49094 _ACEOF
49095
49096 fi
49097 done
49098
49099     fi
49100   fi
49101
49102
49103
49104
49105
49106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49107 $as_echo_n "checking for hypotl declaration... " >&6; }
49108   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49109     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49110   $as_echo_n "(cached) " >&6
49111 else
49112
49113
49114       ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49119
49120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h.  */
49122 #include <math.h>
49123 int
49124 main ()
49125 {
49126  hypotl(0, 0);
49127   ;
49128   return 0;
49129 }
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132   glibcxx_cv_func_hypotl_use=yes
49133 else
49134   glibcxx_cv_func_hypotl_use=no
49135 fi
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137       ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49142
49143
49144 fi
49145
49146   fi
49147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49148 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49149
49150   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49151     for ac_func in hypotl
49152 do :
49153   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49154 if test "x$ac_cv_func_hypotl" = x""yes; then :
49155   cat >>confdefs.h <<_ACEOF
49156 #define HAVE_HYPOTL 1
49157 _ACEOF
49158
49159 fi
49160 done
49161
49162   else
49163
49164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49165 $as_echo_n "checking for _hypotl declaration... " >&6; }
49166   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49167     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49168   $as_echo_n "(cached) " >&6
49169 else
49170
49171
49172       ac_ext=cpp
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49177
49178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h.  */
49180 #include <math.h>
49181 int
49182 main ()
49183 {
49184  _hypotl(0, 0);
49185   ;
49186   return 0;
49187 }
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190   glibcxx_cv_func__hypotl_use=yes
49191 else
49192   glibcxx_cv_func__hypotl_use=no
49193 fi
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195       ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49200
49201
49202 fi
49203
49204   fi
49205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49206 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49207
49208     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49209       for ac_func in _hypotl
49210 do :
49211   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49212 if test "x$ac_cv_func__hypotl" = x""yes; then :
49213   cat >>confdefs.h <<_ACEOF
49214 #define HAVE__HYPOTL 1
49215 _ACEOF
49216
49217 fi
49218 done
49219
49220     fi
49221   fi
49222
49223
49224
49225
49226
49227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49228 $as_echo_n "checking for ldexpl declaration... " >&6; }
49229   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49230     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49231   $as_echo_n "(cached) " >&6
49232 else
49233
49234
49235       ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49240
49241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h.  */
49243 #include <math.h>
49244 int
49245 main ()
49246 {
49247  ldexpl(0, 0);
49248   ;
49249   return 0;
49250 }
49251 _ACEOF
49252 if ac_fn_cxx_try_compile "$LINENO"; then :
49253   glibcxx_cv_func_ldexpl_use=yes
49254 else
49255   glibcxx_cv_func_ldexpl_use=no
49256 fi
49257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49258       ac_ext=c
49259 ac_cpp='$CPP $CPPFLAGS'
49260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49263
49264
49265 fi
49266
49267   fi
49268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49269 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49270
49271   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49272     for ac_func in ldexpl
49273 do :
49274   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49275 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49276   cat >>confdefs.h <<_ACEOF
49277 #define HAVE_LDEXPL 1
49278 _ACEOF
49279
49280 fi
49281 done
49282
49283   else
49284
49285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49286 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49287   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49288     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49289   $as_echo_n "(cached) " >&6
49290 else
49291
49292
49293       ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h.  */
49301 #include <math.h>
49302 int
49303 main ()
49304 {
49305  _ldexpl(0, 0);
49306   ;
49307   return 0;
49308 }
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311   glibcxx_cv_func__ldexpl_use=yes
49312 else
49313   glibcxx_cv_func__ldexpl_use=no
49314 fi
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316       ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49321
49322
49323 fi
49324
49325   fi
49326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49327 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49328
49329     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49330       for ac_func in _ldexpl
49331 do :
49332   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49333 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49334   cat >>confdefs.h <<_ACEOF
49335 #define HAVE__LDEXPL 1
49336 _ACEOF
49337
49338 fi
49339 done
49340
49341     fi
49342   fi
49343
49344
49345
49346
49347
49348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49349 $as_echo_n "checking for logl declaration... " >&6; }
49350   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49351     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49352   $as_echo_n "(cached) " >&6
49353 else
49354
49355
49356       ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49361
49362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h.  */
49364 #include <math.h>
49365                       #ifdef HAVE_IEEEFP_H
49366                       #include <ieeefp.h>
49367                       #endif
49368
49369 int
49370 main ()
49371 {
49372  logl(0);
49373   ;
49374   return 0;
49375 }
49376 _ACEOF
49377 if ac_fn_cxx_try_compile "$LINENO"; then :
49378   glibcxx_cv_func_logl_use=yes
49379 else
49380   glibcxx_cv_func_logl_use=no
49381 fi
49382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49383       ac_ext=c
49384 ac_cpp='$CPP $CPPFLAGS'
49385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49388
49389
49390 fi
49391
49392   fi
49393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49394 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49395
49396   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49397     for ac_func in logl
49398 do :
49399   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49400 if test "x$ac_cv_func_logl" = x""yes; then :
49401   cat >>confdefs.h <<_ACEOF
49402 #define HAVE_LOGL 1
49403 _ACEOF
49404
49405 fi
49406 done
49407
49408   else
49409
49410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49411 $as_echo_n "checking for _logl declaration... " >&6; }
49412   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49413     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49414   $as_echo_n "(cached) " >&6
49415 else
49416
49417
49418       ac_ext=cpp
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49423
49424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49425 /* end confdefs.h.  */
49426 #include <math.h>
49427                       #ifdef HAVE_IEEEFP_H
49428                       #include <ieeefp.h>
49429                       #endif
49430
49431 int
49432 main ()
49433 {
49434  _logl(0);
49435   ;
49436   return 0;
49437 }
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440   glibcxx_cv_func__logl_use=yes
49441 else
49442   glibcxx_cv_func__logl_use=no
49443 fi
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445       ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49450
49451
49452 fi
49453
49454   fi
49455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49456 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49457
49458     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49459       for ac_func in _logl
49460 do :
49461   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49462 if test "x$ac_cv_func__logl" = x""yes; then :
49463   cat >>confdefs.h <<_ACEOF
49464 #define HAVE__LOGL 1
49465 _ACEOF
49466
49467 fi
49468 done
49469
49470     fi
49471   fi
49472
49473
49474
49475
49476
49477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49478 $as_echo_n "checking for log10l declaration... " >&6; }
49479   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49480     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49481   $as_echo_n "(cached) " >&6
49482 else
49483
49484
49485       ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49490
49491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h.  */
49493 #include <math.h>
49494                       #ifdef HAVE_IEEEFP_H
49495                       #include <ieeefp.h>
49496                       #endif
49497
49498 int
49499 main ()
49500 {
49501  log10l(0);
49502   ;
49503   return 0;
49504 }
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507   glibcxx_cv_func_log10l_use=yes
49508 else
49509   glibcxx_cv_func_log10l_use=no
49510 fi
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512       ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49517
49518
49519 fi
49520
49521   fi
49522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49523 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49524
49525   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49526     for ac_func in log10l
49527 do :
49528   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49529 if test "x$ac_cv_func_log10l" = x""yes; then :
49530   cat >>confdefs.h <<_ACEOF
49531 #define HAVE_LOG10L 1
49532 _ACEOF
49533
49534 fi
49535 done
49536
49537   else
49538
49539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49540 $as_echo_n "checking for _log10l declaration... " >&6; }
49541   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49542     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49543   $as_echo_n "(cached) " >&6
49544 else
49545
49546
49547       ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49552
49553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h.  */
49555 #include <math.h>
49556                       #ifdef HAVE_IEEEFP_H
49557                       #include <ieeefp.h>
49558                       #endif
49559
49560 int
49561 main ()
49562 {
49563  _log10l(0);
49564   ;
49565   return 0;
49566 }
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569   glibcxx_cv_func__log10l_use=yes
49570 else
49571   glibcxx_cv_func__log10l_use=no
49572 fi
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574       ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49579
49580
49581 fi
49582
49583   fi
49584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49585 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49586
49587     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49588       for ac_func in _log10l
49589 do :
49590   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49591 if test "x$ac_cv_func__log10l" = x""yes; then :
49592   cat >>confdefs.h <<_ACEOF
49593 #define HAVE__LOG10L 1
49594 _ACEOF
49595
49596 fi
49597 done
49598
49599     fi
49600   fi
49601
49602
49603
49604
49605
49606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49607 $as_echo_n "checking for modfl declaration... " >&6; }
49608   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49609     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49610   $as_echo_n "(cached) " >&6
49611 else
49612
49613
49614       ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49619
49620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h.  */
49622 #include <math.h>
49623 int
49624 main ()
49625 {
49626  modfl(0, 0);
49627   ;
49628   return 0;
49629 }
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632   glibcxx_cv_func_modfl_use=yes
49633 else
49634   glibcxx_cv_func_modfl_use=no
49635 fi
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637       ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49642
49643
49644 fi
49645
49646   fi
49647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49648 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49649
49650   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49651     for ac_func in modfl
49652 do :
49653   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49654 if test "x$ac_cv_func_modfl" = x""yes; then :
49655   cat >>confdefs.h <<_ACEOF
49656 #define HAVE_MODFL 1
49657 _ACEOF
49658
49659 fi
49660 done
49661
49662   else
49663
49664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49665 $as_echo_n "checking for _modfl declaration... " >&6; }
49666   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49667     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49668   $as_echo_n "(cached) " >&6
49669 else
49670
49671
49672       ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677
49678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h.  */
49680 #include <math.h>
49681 int
49682 main ()
49683 {
49684  _modfl(0, 0);
49685   ;
49686   return 0;
49687 }
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690   glibcxx_cv_func__modfl_use=yes
49691 else
49692   glibcxx_cv_func__modfl_use=no
49693 fi
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695       ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49700
49701
49702 fi
49703
49704   fi
49705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49706 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49707
49708     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49709       for ac_func in _modfl
49710 do :
49711   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49712 if test "x$ac_cv_func__modfl" = x""yes; then :
49713   cat >>confdefs.h <<_ACEOF
49714 #define HAVE__MODFL 1
49715 _ACEOF
49716
49717 fi
49718 done
49719
49720     fi
49721   fi
49722
49723
49724
49725
49726
49727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49728 $as_echo_n "checking for powl declaration... " >&6; }
49729   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49730     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49731   $as_echo_n "(cached) " >&6
49732 else
49733
49734
49735       ac_ext=cpp
49736 ac_cpp='$CXXCPP $CPPFLAGS'
49737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49740
49741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49742 /* end confdefs.h.  */
49743 #include <math.h>
49744 int
49745 main ()
49746 {
49747  powl(0, 0);
49748   ;
49749   return 0;
49750 }
49751 _ACEOF
49752 if ac_fn_cxx_try_compile "$LINENO"; then :
49753   glibcxx_cv_func_powl_use=yes
49754 else
49755   glibcxx_cv_func_powl_use=no
49756 fi
49757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49758       ac_ext=c
49759 ac_cpp='$CPP $CPPFLAGS'
49760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49763
49764
49765 fi
49766
49767   fi
49768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49769 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49770
49771   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49772     for ac_func in powl
49773 do :
49774   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49775 if test "x$ac_cv_func_powl" = x""yes; then :
49776   cat >>confdefs.h <<_ACEOF
49777 #define HAVE_POWL 1
49778 _ACEOF
49779
49780 fi
49781 done
49782
49783   else
49784
49785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49786 $as_echo_n "checking for _powl declaration... " >&6; }
49787   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49788     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49789   $as_echo_n "(cached) " >&6
49790 else
49791
49792
49793       ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798
49799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h.  */
49801 #include <math.h>
49802 int
49803 main ()
49804 {
49805  _powl(0, 0);
49806   ;
49807   return 0;
49808 }
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811   glibcxx_cv_func__powl_use=yes
49812 else
49813   glibcxx_cv_func__powl_use=no
49814 fi
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816       ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49821
49822
49823 fi
49824
49825   fi
49826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49827 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49828
49829     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49830       for ac_func in _powl
49831 do :
49832   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49833 if test "x$ac_cv_func__powl" = x""yes; then :
49834   cat >>confdefs.h <<_ACEOF
49835 #define HAVE__POWL 1
49836 _ACEOF
49837
49838 fi
49839 done
49840
49841     fi
49842   fi
49843
49844
49845
49846
49847
49848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49849 $as_echo_n "checking for sqrtl declaration... " >&6; }
49850   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49851     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49852   $as_echo_n "(cached) " >&6
49853 else
49854
49855
49856       ac_ext=cpp
49857 ac_cpp='$CXXCPP $CPPFLAGS'
49858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49861
49862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49863 /* end confdefs.h.  */
49864 #include <math.h>
49865                       #ifdef HAVE_IEEEFP_H
49866                       #include <ieeefp.h>
49867                       #endif
49868
49869 int
49870 main ()
49871 {
49872  sqrtl(0);
49873   ;
49874   return 0;
49875 }
49876 _ACEOF
49877 if ac_fn_cxx_try_compile "$LINENO"; then :
49878   glibcxx_cv_func_sqrtl_use=yes
49879 else
49880   glibcxx_cv_func_sqrtl_use=no
49881 fi
49882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49883       ac_ext=c
49884 ac_cpp='$CPP $CPPFLAGS'
49885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49888
49889
49890 fi
49891
49892   fi
49893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49894 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49895
49896   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49897     for ac_func in sqrtl
49898 do :
49899   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49900 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49901   cat >>confdefs.h <<_ACEOF
49902 #define HAVE_SQRTL 1
49903 _ACEOF
49904
49905 fi
49906 done
49907
49908   else
49909
49910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49911 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49912   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49913     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49914   $as_echo_n "(cached) " >&6
49915 else
49916
49917
49918       ac_ext=cpp
49919 ac_cpp='$CXXCPP $CPPFLAGS'
49920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49923
49924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49925 /* end confdefs.h.  */
49926 #include <math.h>
49927                       #ifdef HAVE_IEEEFP_H
49928                       #include <ieeefp.h>
49929                       #endif
49930
49931 int
49932 main ()
49933 {
49934  _sqrtl(0);
49935   ;
49936   return 0;
49937 }
49938 _ACEOF
49939 if ac_fn_cxx_try_compile "$LINENO"; then :
49940   glibcxx_cv_func__sqrtl_use=yes
49941 else
49942   glibcxx_cv_func__sqrtl_use=no
49943 fi
49944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49945       ac_ext=c
49946 ac_cpp='$CPP $CPPFLAGS'
49947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49950
49951
49952 fi
49953
49954   fi
49955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49956 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49957
49958     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49959       for ac_func in _sqrtl
49960 do :
49961   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49962 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49963   cat >>confdefs.h <<_ACEOF
49964 #define HAVE__SQRTL 1
49965 _ACEOF
49966
49967 fi
49968 done
49969
49970     fi
49971   fi
49972
49973
49974
49975
49976
49977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49978 $as_echo_n "checking for sincosl declaration... " >&6; }
49979   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49980     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49981   $as_echo_n "(cached) " >&6
49982 else
49983
49984
49985       ac_ext=cpp
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990
49991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49992 /* end confdefs.h.  */
49993 #include <math.h>
49994 int
49995 main ()
49996 {
49997  sincosl(0, 0, 0);
49998   ;
49999   return 0;
50000 }
50001 _ACEOF
50002 if ac_fn_cxx_try_compile "$LINENO"; then :
50003   glibcxx_cv_func_sincosl_use=yes
50004 else
50005   glibcxx_cv_func_sincosl_use=no
50006 fi
50007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008       ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013
50014
50015 fi
50016
50017   fi
50018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50019 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50020
50021   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50022     for ac_func in sincosl
50023 do :
50024   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50025 if test "x$ac_cv_func_sincosl" = x""yes; then :
50026   cat >>confdefs.h <<_ACEOF
50027 #define HAVE_SINCOSL 1
50028 _ACEOF
50029
50030 fi
50031 done
50032
50033   else
50034
50035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50036 $as_echo_n "checking for _sincosl declaration... " >&6; }
50037   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50038     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50039   $as_echo_n "(cached) " >&6
50040 else
50041
50042
50043       ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048
50049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h.  */
50051 #include <math.h>
50052 int
50053 main ()
50054 {
50055  _sincosl(0, 0, 0);
50056   ;
50057   return 0;
50058 }
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061   glibcxx_cv_func__sincosl_use=yes
50062 else
50063   glibcxx_cv_func__sincosl_use=no
50064 fi
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066       ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071
50072
50073 fi
50074
50075   fi
50076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50077 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50078
50079     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50080       for ac_func in _sincosl
50081 do :
50082   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50083 if test "x$ac_cv_func__sincosl" = x""yes; then :
50084   cat >>confdefs.h <<_ACEOF
50085 #define HAVE__SINCOSL 1
50086 _ACEOF
50087
50088 fi
50089 done
50090
50091     fi
50092   fi
50093
50094
50095
50096
50097
50098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50099 $as_echo_n "checking for finitel declaration... " >&6; }
50100   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50101     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50102   $as_echo_n "(cached) " >&6
50103 else
50104
50105
50106       ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h.  */
50114 #include <math.h>
50115                       #ifdef HAVE_IEEEFP_H
50116                       #include <ieeefp.h>
50117                       #endif
50118
50119 int
50120 main ()
50121 {
50122  finitel(0);
50123   ;
50124   return 0;
50125 }
50126 _ACEOF
50127 if ac_fn_cxx_try_compile "$LINENO"; then :
50128   glibcxx_cv_func_finitel_use=yes
50129 else
50130   glibcxx_cv_func_finitel_use=no
50131 fi
50132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50133       ac_ext=c
50134 ac_cpp='$CPP $CPPFLAGS'
50135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50138
50139
50140 fi
50141
50142   fi
50143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50144 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50145
50146   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50147     for ac_func in finitel
50148 do :
50149   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50150 if test "x$ac_cv_func_finitel" = x""yes; then :
50151   cat >>confdefs.h <<_ACEOF
50152 #define HAVE_FINITEL 1
50153 _ACEOF
50154
50155 fi
50156 done
50157
50158   else
50159
50160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50161 $as_echo_n "checking for _finitel declaration... " >&6; }
50162   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50163     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50164   $as_echo_n "(cached) " >&6
50165 else
50166
50167
50168       ac_ext=cpp
50169 ac_cpp='$CXXCPP $CPPFLAGS'
50170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50173
50174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50175 /* end confdefs.h.  */
50176 #include <math.h>
50177                       #ifdef HAVE_IEEEFP_H
50178                       #include <ieeefp.h>
50179                       #endif
50180
50181 int
50182 main ()
50183 {
50184  _finitel(0);
50185   ;
50186   return 0;
50187 }
50188 _ACEOF
50189 if ac_fn_cxx_try_compile "$LINENO"; then :
50190   glibcxx_cv_func__finitel_use=yes
50191 else
50192   glibcxx_cv_func__finitel_use=no
50193 fi
50194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50195       ac_ext=c
50196 ac_cpp='$CPP $CPPFLAGS'
50197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50200
50201
50202 fi
50203
50204   fi
50205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50206 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50207
50208     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50209       for ac_func in _finitel
50210 do :
50211   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50212 if test "x$ac_cv_func__finitel" = x""yes; then :
50213   cat >>confdefs.h <<_ACEOF
50214 #define HAVE__FINITEL 1
50215 _ACEOF
50216
50217 fi
50218 done
50219
50220     fi
50221   fi
50222
50223
50224
50225
50226   LIBS="$ac_save_LIBS"
50227   CXXFLAGS="$ac_save_CXXFLAGS"
50228
50229
50230   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50231   ac_save_CXXFLAGS="$CXXFLAGS"
50232   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50233
50234
50235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50236 $as_echo_n "checking for strtold declaration... " >&6; }
50237   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50238     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50239   $as_echo_n "(cached) " >&6
50240 else
50241
50242
50243       ac_ext=cpp
50244 ac_cpp='$CXXCPP $CPPFLAGS'
50245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50248
50249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50250 /* end confdefs.h.  */
50251 #include <stdlib.h>
50252 int
50253 main ()
50254 {
50255  strtold(0, 0);
50256   ;
50257   return 0;
50258 }
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261   glibcxx_cv_func_strtold_use=yes
50262 else
50263   glibcxx_cv_func_strtold_use=no
50264 fi
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266       ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50271
50272
50273 fi
50274
50275   fi
50276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50277 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50278   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50279     for ac_func in strtold
50280 do :
50281   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50282 if test "x$ac_cv_func_strtold" = x""yes; then :
50283   cat >>confdefs.h <<_ACEOF
50284 #define HAVE_STRTOLD 1
50285 _ACEOF
50286
50287 fi
50288 done
50289
50290   fi
50291
50292
50293
50294
50295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50296 $as_echo_n "checking for strtof declaration... " >&6; }
50297   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50298     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50299   $as_echo_n "(cached) " >&6
50300 else
50301
50302
50303       ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50308
50309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h.  */
50311 #include <stdlib.h>
50312 int
50313 main ()
50314 {
50315  strtof(0, 0);
50316   ;
50317   return 0;
50318 }
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321   glibcxx_cv_func_strtof_use=yes
50322 else
50323   glibcxx_cv_func_strtof_use=no
50324 fi
50325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50326       ac_ext=c
50327 ac_cpp='$CPP $CPPFLAGS'
50328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50331
50332
50333 fi
50334
50335   fi
50336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50337 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50338   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50339     for ac_func in strtof
50340 do :
50341   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50342 if test "x$ac_cv_func_strtof" = x""yes; then :
50343   cat >>confdefs.h <<_ACEOF
50344 #define HAVE_STRTOF 1
50345 _ACEOF
50346
50347 fi
50348 done
50349
50350   fi
50351
50352
50353
50354
50355   CXXFLAGS="$ac_save_CXXFLAGS"
50356
50357     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50358
50359
50360
50361    # Check whether --enable-tls was given.
50362 if test "${enable_tls+set}" = set; then :
50363   enableval=$enable_tls;
50364       case "$enableval" in
50365        yes|no) ;;
50366        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50367       esac
50368
50369 else
50370   enable_tls=yes
50371 fi
50372
50373
50374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50375 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50376 if test "${gcc_cv_have_tls+set}" = set; then :
50377   $as_echo_n "(cached) " >&6
50378 else
50379
50380     if test "$cross_compiling" = yes; then :
50381                 if test x$gcc_no_link = xyes; then
50382   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50383 fi
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h.  */
50386 __thread int a; int b; int main() { return a = b; }
50387 _ACEOF
50388 if ac_fn_c_try_link "$LINENO"; then :
50389   chktls_save_LDFLAGS="$LDFLAGS"
50390                           case $host in
50391             *-*-linux*)
50392               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50393               ;;
50394           esac
50395           chktls_save_CFLAGS="$CFLAGS"
50396           CFLAGS="-fPIC $CFLAGS"
50397                   if test x$gcc_no_link = xyes; then
50398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50399 fi
50400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h.  */
50402 int f() { return 0; }
50403 _ACEOF
50404 if ac_fn_c_try_link "$LINENO"; then :
50405   if test x$gcc_no_link = xyes; then
50406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50407 fi
50408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50409 /* end confdefs.h.  */
50410 __thread int a; int b; int f() { return a = b; }
50411 _ACEOF
50412 if ac_fn_c_try_link "$LINENO"; then :
50413   gcc_cv_have_tls=yes
50414 else
50415   gcc_cv_have_tls=no
50416 fi
50417 rm -f core conftest.err conftest.$ac_objext \
50418     conftest$ac_exeext conftest.$ac_ext
50419 else
50420   gcc_cv_have_tls=yes
50421 fi
50422 rm -f core conftest.err conftest.$ac_objext \
50423     conftest$ac_exeext conftest.$ac_ext
50424           CFLAGS="$chktls_save_CFLAGS"
50425           LDFLAGS="$chktls_save_LDFLAGS"
50426 else
50427   gcc_cv_have_tls=no
50428 fi
50429 rm -f core conftest.err conftest.$ac_objext \
50430     conftest$ac_exeext conftest.$ac_ext
50431
50432
50433 else
50434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50435 /* end confdefs.h.  */
50436 __thread int a; int b; int main() { return a = b; }
50437 _ACEOF
50438 if ac_fn_c_try_run "$LINENO"; then :
50439                       chktls_save_LDFLAGS="$LDFLAGS"
50440       LDFLAGS="-static $LDFLAGS"
50441       if test x$gcc_no_link = xyes; then
50442   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50443 fi
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h.  */
50446 int main() { return 0; }
50447 _ACEOF
50448 if ac_fn_c_try_link "$LINENO"; then :
50449   if test "$cross_compiling" = yes; then :
50450   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50452 as_fn_error "cannot run test program while cross compiling
50453 See \`config.log' for more details." "$LINENO" 5; }
50454 else
50455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h.  */
50457 __thread int a; int b; int main() { return a = b; }
50458 _ACEOF
50459 if ac_fn_c_try_run "$LINENO"; then :
50460   gcc_cv_have_tls=yes
50461 else
50462   gcc_cv_have_tls=no
50463 fi
50464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50465   conftest.$ac_objext conftest.beam conftest.$ac_ext
50466 fi
50467
50468 else
50469   gcc_cv_have_tls=yes
50470 fi
50471 rm -f core conftest.err conftest.$ac_objext \
50472     conftest$ac_exeext conftest.$ac_ext
50473       LDFLAGS="$chktls_save_LDFLAGS"
50474       if test $gcc_cv_have_tls = yes; then
50475                                                 chktls_save_CFLAGS="$CFLAGS"
50476         thread_CFLAGS=failed
50477         for flag in '' '-pthread' '-lpthread'; do
50478           CFLAGS="$flag $chktls_save_CFLAGS"
50479           if test x$gcc_no_link = xyes; then
50480   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50481 fi
50482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483 /* end confdefs.h.  */
50484 #include <pthread.h>
50485                 void *g(void *d) { return NULL; }
50486 int
50487 main ()
50488 {
50489 pthread_t t; pthread_create(&t,NULL,g,NULL);
50490   ;
50491   return 0;
50492 }
50493 _ACEOF
50494 if ac_fn_c_try_link "$LINENO"; then :
50495   thread_CFLAGS="$flag"
50496 fi
50497 rm -f core conftest.err conftest.$ac_objext \
50498     conftest$ac_exeext conftest.$ac_ext
50499           if test "X$thread_CFLAGS" != Xfailed; then
50500             break
50501           fi
50502         done
50503         CFLAGS="$chktls_save_CFLAGS"
50504         if test "X$thread_CFLAGS" != Xfailed; then
50505           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50506           if test "$cross_compiling" = yes; then :
50507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50509 as_fn_error "cannot run test program while cross compiling
50510 See \`config.log' for more details." "$LINENO" 5; }
50511 else
50512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50513 /* end confdefs.h.  */
50514 #include <pthread.h>
50515                 __thread int a;
50516                 static int *a_in_other_thread;
50517                 static void *
50518                 thread_func (void *arg)
50519                 {
50520                   a_in_other_thread = &a;
50521                   return (void *)0;
50522                 }
50523 int
50524 main ()
50525 {
50526 pthread_t thread;
50527                 void *thread_retval;
50528                 int *a_in_main_thread;
50529                 if (pthread_create (&thread, (pthread_attr_t *)0,
50530                                     thread_func, (void *)0))
50531                   return 0;
50532                 a_in_main_thread = &a;
50533                 if (pthread_join (thread, &thread_retval))
50534                   return 0;
50535                 return (a_in_other_thread == a_in_main_thread);
50536   ;
50537   return 0;
50538 }
50539 _ACEOF
50540 if ac_fn_c_try_run "$LINENO"; then :
50541   gcc_cv_have_tls=yes
50542 else
50543   gcc_cv_have_tls=no
50544 fi
50545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50546   conftest.$ac_objext conftest.beam conftest.$ac_ext
50547 fi
50548
50549           CFLAGS="$chktls_save_CFLAGS"
50550         fi
50551       fi
50552 else
50553   gcc_cv_have_tls=no
50554 fi
50555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50556   conftest.$ac_objext conftest.beam conftest.$ac_ext
50557 fi
50558
50559 fi
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50561 $as_echo "$gcc_cv_have_tls" >&6; }
50562   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50563
50564 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50565
50566   fi
50567
50568
50569
50570
50571
50572           am_save_CPPFLAGS="$CPPFLAGS"
50573
50574   for element in $INCICONV; do
50575     haveit=
50576     for x in $CPPFLAGS; do
50577
50578   acl_save_prefix="$prefix"
50579   prefix="$acl_final_prefix"
50580   acl_save_exec_prefix="$exec_prefix"
50581   exec_prefix="$acl_final_exec_prefix"
50582   eval x=\"$x\"
50583   exec_prefix="$acl_save_exec_prefix"
50584   prefix="$acl_save_prefix"
50585
50586       if test "X$x" = "X$element"; then
50587         haveit=yes
50588         break
50589       fi
50590     done
50591     if test -z "$haveit"; then
50592       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50593     fi
50594   done
50595
50596
50597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50598 $as_echo_n "checking for iconv... " >&6; }
50599 if test "${am_cv_func_iconv+set}" = set; then :
50600   $as_echo_n "(cached) " >&6
50601 else
50602
50603     am_cv_func_iconv="no, consider installing GNU libiconv"
50604     am_cv_lib_iconv=no
50605     if test x$gcc_no_link = xyes; then
50606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50607 fi
50608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50609 /* end confdefs.h.  */
50610 #include <stdlib.h>
50611 #include <iconv.h>
50612 int
50613 main ()
50614 {
50615 iconv_t cd = iconv_open("","");
50616        iconv(cd,NULL,NULL,NULL,NULL);
50617        iconv_close(cd);
50618   ;
50619   return 0;
50620 }
50621 _ACEOF
50622 if ac_fn_c_try_link "$LINENO"; then :
50623   am_cv_func_iconv=yes
50624 fi
50625 rm -f core conftest.err conftest.$ac_objext \
50626     conftest$ac_exeext conftest.$ac_ext
50627     if test "$am_cv_func_iconv" != yes; then
50628       am_save_LIBS="$LIBS"
50629       LIBS="$LIBS $LIBICONV"
50630       if test x$gcc_no_link = xyes; then
50631   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50632 fi
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h.  */
50635 #include <stdlib.h>
50636 #include <iconv.h>
50637 int
50638 main ()
50639 {
50640 iconv_t cd = iconv_open("","");
50641          iconv(cd,NULL,NULL,NULL,NULL);
50642          iconv_close(cd);
50643   ;
50644   return 0;
50645 }
50646 _ACEOF
50647 if ac_fn_c_try_link "$LINENO"; then :
50648   am_cv_lib_iconv=yes
50649         am_cv_func_iconv=yes
50650 fi
50651 rm -f core conftest.err conftest.$ac_objext \
50652     conftest$ac_exeext conftest.$ac_ext
50653       LIBS="$am_save_LIBS"
50654     fi
50655
50656 fi
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50658 $as_echo "$am_cv_func_iconv" >&6; }
50659   if test "$am_cv_func_iconv" = yes; then
50660
50661 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50662
50663   fi
50664   if test "$am_cv_lib_iconv" = yes; then
50665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50666 $as_echo_n "checking how to link with libiconv... " >&6; }
50667     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50668 $as_echo "$LIBICONV" >&6; }
50669   else
50670             CPPFLAGS="$am_save_CPPFLAGS"
50671     LIBICONV=
50672     LTLIBICONV=
50673   fi
50674
50675
50676
50677   if test "$am_cv_func_iconv" = yes; then
50678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50679 $as_echo_n "checking for iconv declaration... " >&6; }
50680     if test "${am_cv_proto_iconv+set}" = set; then :
50681   $as_echo_n "(cached) " >&6
50682 else
50683
50684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685 /* end confdefs.h.  */
50686
50687 #include <stdlib.h>
50688 #include <iconv.h>
50689 extern
50690 #ifdef __cplusplus
50691 "C"
50692 #endif
50693 #if defined(__STDC__) || defined(__cplusplus)
50694 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50695 #else
50696 size_t iconv();
50697 #endif
50698
50699 int
50700 main ()
50701 {
50702
50703   ;
50704   return 0;
50705 }
50706 _ACEOF
50707 if ac_fn_c_try_compile "$LINENO"; then :
50708   am_cv_proto_iconv_arg1=""
50709 else
50710   am_cv_proto_iconv_arg1="const"
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713       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);"
50714 fi
50715
50716     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50718          }$am_cv_proto_iconv" >&5
50719 $as_echo "${ac_t:-
50720          }$am_cv_proto_iconv" >&6; }
50721
50722 cat >>confdefs.h <<_ACEOF
50723 #define ICONV_CONST $am_cv_proto_iconv_arg1
50724 _ACEOF
50725
50726   fi
50727
50728     ;;
50729   *-mingw32*)
50730
50731   # If we're not using GNU ld, then there's no point in even trying these
50732   # tests.  Check for that first.  We should have already tested for gld
50733   # by now (in libtool), but require it now just to be safe...
50734   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50735   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50736
50737
50738
50739   # The name set by libtool depends on the version of libtool.  Shame on us
50740   # for depending on an impl detail, but c'est la vie.  Older versions used
50741   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50742   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50743   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50744   # set (hence we're using an older libtool), then set it.
50745   if test x${with_gnu_ld+set} != xset; then
50746     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50747       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50748       with_gnu_ld=no
50749     else
50750       with_gnu_ld=$ac_cv_prog_gnu_ld
50751     fi
50752   fi
50753
50754   # Start by getting the version number.  I think the libtool test already
50755   # does some of this, but throws away the result.
50756   glibcxx_ld_is_gold=no
50757   if test x"$with_gnu_ld" = x"yes"; then
50758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50759 $as_echo_n "checking for ld version... " >&6; }
50760
50761     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50762       glibcxx_ld_is_gold=yes
50763     fi
50764     ldver=`$LD --version 2>/dev/null |
50765            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
50766
50767     glibcxx_gnu_ld_version=`echo $ldver | \
50768            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50770 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50771   fi
50772
50773   # Set --gc-sections.
50774   glibcxx_have_gc_sections=no
50775   if test "$glibcxx_ld_is_gold" = "yes"; then
50776     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50777       glibcxx_have_gc_sections=yes
50778     fi
50779   else
50780     glibcxx_gcsections_min_ld=21602
50781     if test x"$with_gnu_ld" = x"yes" &&
50782         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50783       glibcxx_have_gc_sections=yes
50784     fi
50785   fi
50786   if test "$glibcxx_have_gc_sections" = "yes"; then
50787     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50788     # NB: This flag only works reliably after 2.16.1. Configure tests
50789     # for this are difficult, so hard wire a value that should work.
50790
50791     ac_test_CFLAGS="${CFLAGS+set}"
50792     ac_save_CFLAGS="$CFLAGS"
50793     CFLAGS='-Wl,--gc-sections'
50794
50795     # Check for -Wl,--gc-sections
50796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50797 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50798     if test x$gcc_no_link = xyes; then
50799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50800 fi
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h.  */
50803  int one(void) { return 1; }
50804      int two(void) { return 2; }
50805
50806 int
50807 main ()
50808 {
50809  two();
50810   ;
50811   return 0;
50812 }
50813 _ACEOF
50814 if ac_fn_c_try_link "$LINENO"; then :
50815   ac_gcsections=yes
50816 else
50817   ac_gcsections=no
50818 fi
50819 rm -f core conftest.err conftest.$ac_objext \
50820     conftest$ac_exeext conftest.$ac_ext
50821     if test "$ac_gcsections" = "yes"; then
50822       rm -f conftest.c
50823       touch conftest.c
50824       if $CC -c conftest.c; then
50825         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50826            grep "Warning: gc-sections option ignored" > /dev/null; then
50827           ac_gcsections=no
50828         fi
50829       fi
50830       rm -f conftest.c conftest.o conftest
50831     fi
50832     if test "$ac_gcsections" = "yes"; then
50833       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50834     fi
50835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50836 $as_echo "$ac_gcsections" >&6; }
50837
50838     if test "$ac_test_CFLAGS" = set; then
50839       CFLAGS="$ac_save_CFLAGS"
50840     else
50841       # this is the suspicious part
50842       CFLAGS=''
50843     fi
50844   fi
50845
50846   # Set -z,relro.
50847   # Note this is only for shared objects.
50848   ac_ld_relro=no
50849   if test x"$with_gnu_ld" = x"yes"; then
50850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50851 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50852     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50853     if test -n "$cxx_z_relo"; then
50854       OPT_LDFLAGS="-Wl,-z,relro"
50855       ac_ld_relro=yes
50856     fi
50857     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50858 $as_echo "$ac_ld_relro" >&6; }
50859   fi
50860
50861   # Set linker optimization flags.
50862   if test x"$with_gnu_ld" = x"yes"; then
50863     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50864   fi
50865
50866
50867
50868
50869
50870   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50871   ac_save_CXXFLAGS="$CXXFLAGS"
50872   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50873
50874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50875 $as_echo_n "checking for sin in -lm... " >&6; }
50876 if test "${ac_cv_lib_m_sin+set}" = set; then :
50877   $as_echo_n "(cached) " >&6
50878 else
50879   ac_check_lib_save_LIBS=$LIBS
50880 LIBS="-lm  $LIBS"
50881 if test x$gcc_no_link = xyes; then
50882   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50883 fi
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h.  */
50886
50887 /* Override any GCC internal prototype to avoid an error.
50888    Use char because int might match the return type of a GCC
50889    builtin and then its argument prototype would still apply.  */
50890 #ifdef __cplusplus
50891 extern "C"
50892 #endif
50893 char sin ();
50894 int
50895 main ()
50896 {
50897 return sin ();
50898   ;
50899   return 0;
50900 }
50901 _ACEOF
50902 if ac_fn_c_try_link "$LINENO"; then :
50903   ac_cv_lib_m_sin=yes
50904 else
50905   ac_cv_lib_m_sin=no
50906 fi
50907 rm -f core conftest.err conftest.$ac_objext \
50908     conftest$ac_exeext conftest.$ac_ext
50909 LIBS=$ac_check_lib_save_LIBS
50910 fi
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50912 $as_echo "$ac_cv_lib_m_sin" >&6; }
50913 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50914   libm="-lm"
50915 fi
50916
50917   ac_save_LIBS="$LIBS"
50918   LIBS="$LIBS $libm"
50919
50920
50921
50922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50923 $as_echo_n "checking for isinf declaration... " >&6; }
50924   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50925     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50926   $as_echo_n "(cached) " >&6
50927 else
50928
50929
50930       ac_ext=cpp
50931 ac_cpp='$CXXCPP $CPPFLAGS'
50932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50935
50936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50937 /* end confdefs.h.  */
50938 #include <math.h>
50939                       #ifdef HAVE_IEEEFP_H
50940                       #include <ieeefp.h>
50941                       #endif
50942
50943 int
50944 main ()
50945 {
50946  isinf(0);
50947   ;
50948   return 0;
50949 }
50950 _ACEOF
50951 if ac_fn_cxx_try_compile "$LINENO"; then :
50952   glibcxx_cv_func_isinf_use=yes
50953 else
50954   glibcxx_cv_func_isinf_use=no
50955 fi
50956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957       ac_ext=c
50958 ac_cpp='$CPP $CPPFLAGS'
50959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962
50963
50964 fi
50965
50966   fi
50967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50968 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50969
50970   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50971     for ac_func in isinf
50972 do :
50973   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50974 if test "x$ac_cv_func_isinf" = x""yes; then :
50975   cat >>confdefs.h <<_ACEOF
50976 #define HAVE_ISINF 1
50977 _ACEOF
50978
50979 fi
50980 done
50981
50982   else
50983
50984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50985 $as_echo_n "checking for _isinf declaration... " >&6; }
50986   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50987     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50988   $as_echo_n "(cached) " >&6
50989 else
50990
50991
50992       ac_ext=cpp
50993 ac_cpp='$CXXCPP $CPPFLAGS'
50994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50997
50998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50999 /* end confdefs.h.  */
51000 #include <math.h>
51001                       #ifdef HAVE_IEEEFP_H
51002                       #include <ieeefp.h>
51003                       #endif
51004
51005 int
51006 main ()
51007 {
51008  _isinf(0);
51009   ;
51010   return 0;
51011 }
51012 _ACEOF
51013 if ac_fn_cxx_try_compile "$LINENO"; then :
51014   glibcxx_cv_func__isinf_use=yes
51015 else
51016   glibcxx_cv_func__isinf_use=no
51017 fi
51018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51019       ac_ext=c
51020 ac_cpp='$CPP $CPPFLAGS'
51021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51024
51025
51026 fi
51027
51028   fi
51029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51030 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51031
51032     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51033       for ac_func in _isinf
51034 do :
51035   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51036 if test "x$ac_cv_func__isinf" = x""yes; then :
51037   cat >>confdefs.h <<_ACEOF
51038 #define HAVE__ISINF 1
51039 _ACEOF
51040
51041 fi
51042 done
51043
51044     fi
51045   fi
51046
51047
51048
51049
51050
51051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51052 $as_echo_n "checking for isnan declaration... " >&6; }
51053   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51054     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51055   $as_echo_n "(cached) " >&6
51056 else
51057
51058
51059       ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51064
51065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h.  */
51067 #include <math.h>
51068                       #ifdef HAVE_IEEEFP_H
51069                       #include <ieeefp.h>
51070                       #endif
51071
51072 int
51073 main ()
51074 {
51075  isnan(0);
51076   ;
51077   return 0;
51078 }
51079 _ACEOF
51080 if ac_fn_cxx_try_compile "$LINENO"; then :
51081   glibcxx_cv_func_isnan_use=yes
51082 else
51083   glibcxx_cv_func_isnan_use=no
51084 fi
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51086       ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51091
51092
51093 fi
51094
51095   fi
51096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51097 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51098
51099   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51100     for ac_func in isnan
51101 do :
51102   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51103 if test "x$ac_cv_func_isnan" = x""yes; then :
51104   cat >>confdefs.h <<_ACEOF
51105 #define HAVE_ISNAN 1
51106 _ACEOF
51107
51108 fi
51109 done
51110
51111   else
51112
51113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51114 $as_echo_n "checking for _isnan declaration... " >&6; }
51115   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51116     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51117   $as_echo_n "(cached) " >&6
51118 else
51119
51120
51121       ac_ext=cpp
51122 ac_cpp='$CXXCPP $CPPFLAGS'
51123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51126
51127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51128 /* end confdefs.h.  */
51129 #include <math.h>
51130                       #ifdef HAVE_IEEEFP_H
51131                       #include <ieeefp.h>
51132                       #endif
51133
51134 int
51135 main ()
51136 {
51137  _isnan(0);
51138   ;
51139   return 0;
51140 }
51141 _ACEOF
51142 if ac_fn_cxx_try_compile "$LINENO"; then :
51143   glibcxx_cv_func__isnan_use=yes
51144 else
51145   glibcxx_cv_func__isnan_use=no
51146 fi
51147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51148       ac_ext=c
51149 ac_cpp='$CPP $CPPFLAGS'
51150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51153
51154
51155 fi
51156
51157   fi
51158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51159 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51160
51161     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51162       for ac_func in _isnan
51163 do :
51164   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51165 if test "x$ac_cv_func__isnan" = x""yes; then :
51166   cat >>confdefs.h <<_ACEOF
51167 #define HAVE__ISNAN 1
51168 _ACEOF
51169
51170 fi
51171 done
51172
51173     fi
51174   fi
51175
51176
51177
51178
51179
51180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51181 $as_echo_n "checking for finite declaration... " >&6; }
51182   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51183     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51184   $as_echo_n "(cached) " >&6
51185 else
51186
51187
51188       ac_ext=cpp
51189 ac_cpp='$CXXCPP $CPPFLAGS'
51190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51193
51194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51195 /* end confdefs.h.  */
51196 #include <math.h>
51197                       #ifdef HAVE_IEEEFP_H
51198                       #include <ieeefp.h>
51199                       #endif
51200
51201 int
51202 main ()
51203 {
51204  finite(0);
51205   ;
51206   return 0;
51207 }
51208 _ACEOF
51209 if ac_fn_cxx_try_compile "$LINENO"; then :
51210   glibcxx_cv_func_finite_use=yes
51211 else
51212   glibcxx_cv_func_finite_use=no
51213 fi
51214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51215       ac_ext=c
51216 ac_cpp='$CPP $CPPFLAGS'
51217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51220
51221
51222 fi
51223
51224   fi
51225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51226 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51227
51228   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51229     for ac_func in finite
51230 do :
51231   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51232 if test "x$ac_cv_func_finite" = x""yes; then :
51233   cat >>confdefs.h <<_ACEOF
51234 #define HAVE_FINITE 1
51235 _ACEOF
51236
51237 fi
51238 done
51239
51240   else
51241
51242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51243 $as_echo_n "checking for _finite declaration... " >&6; }
51244   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51245     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51246   $as_echo_n "(cached) " >&6
51247 else
51248
51249
51250       ac_ext=cpp
51251 ac_cpp='$CXXCPP $CPPFLAGS'
51252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51255
51256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51257 /* end confdefs.h.  */
51258 #include <math.h>
51259                       #ifdef HAVE_IEEEFP_H
51260                       #include <ieeefp.h>
51261                       #endif
51262
51263 int
51264 main ()
51265 {
51266  _finite(0);
51267   ;
51268   return 0;
51269 }
51270 _ACEOF
51271 if ac_fn_cxx_try_compile "$LINENO"; then :
51272   glibcxx_cv_func__finite_use=yes
51273 else
51274   glibcxx_cv_func__finite_use=no
51275 fi
51276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51277       ac_ext=c
51278 ac_cpp='$CPP $CPPFLAGS'
51279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51282
51283
51284 fi
51285
51286   fi
51287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51288 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51289
51290     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51291       for ac_func in _finite
51292 do :
51293   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51294 if test "x$ac_cv_func__finite" = x""yes; then :
51295   cat >>confdefs.h <<_ACEOF
51296 #define HAVE__FINITE 1
51297 _ACEOF
51298
51299 fi
51300 done
51301
51302     fi
51303   fi
51304
51305
51306
51307
51308
51309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51310 $as_echo_n "checking for sincos declaration... " >&6; }
51311   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51312     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51313   $as_echo_n "(cached) " >&6
51314 else
51315
51316
51317       ac_ext=cpp
51318 ac_cpp='$CXXCPP $CPPFLAGS'
51319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322
51323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51324 /* end confdefs.h.  */
51325 #include <math.h>
51326 int
51327 main ()
51328 {
51329  sincos(0, 0, 0);
51330   ;
51331   return 0;
51332 }
51333 _ACEOF
51334 if ac_fn_cxx_try_compile "$LINENO"; then :
51335   glibcxx_cv_func_sincos_use=yes
51336 else
51337   glibcxx_cv_func_sincos_use=no
51338 fi
51339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51340       ac_ext=c
51341 ac_cpp='$CPP $CPPFLAGS'
51342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51345
51346
51347 fi
51348
51349   fi
51350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51351 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51352
51353   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51354     for ac_func in sincos
51355 do :
51356   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51357 if test "x$ac_cv_func_sincos" = x""yes; then :
51358   cat >>confdefs.h <<_ACEOF
51359 #define HAVE_SINCOS 1
51360 _ACEOF
51361
51362 fi
51363 done
51364
51365   else
51366
51367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51368 $as_echo_n "checking for _sincos declaration... " >&6; }
51369   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51370     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51371   $as_echo_n "(cached) " >&6
51372 else
51373
51374
51375       ac_ext=cpp
51376 ac_cpp='$CXXCPP $CPPFLAGS'
51377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51380
51381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h.  */
51383 #include <math.h>
51384 int
51385 main ()
51386 {
51387  _sincos(0, 0, 0);
51388   ;
51389   return 0;
51390 }
51391 _ACEOF
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393   glibcxx_cv_func__sincos_use=yes
51394 else
51395   glibcxx_cv_func__sincos_use=no
51396 fi
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51398       ac_ext=c
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51403
51404
51405 fi
51406
51407   fi
51408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51409 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51410
51411     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51412       for ac_func in _sincos
51413 do :
51414   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51415 if test "x$ac_cv_func__sincos" = x""yes; then :
51416   cat >>confdefs.h <<_ACEOF
51417 #define HAVE__SINCOS 1
51418 _ACEOF
51419
51420 fi
51421 done
51422
51423     fi
51424   fi
51425
51426
51427
51428
51429
51430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51431 $as_echo_n "checking for fpclass declaration... " >&6; }
51432   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51433     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51434   $as_echo_n "(cached) " >&6
51435 else
51436
51437
51438       ac_ext=cpp
51439 ac_cpp='$CXXCPP $CPPFLAGS'
51440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51443
51444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51445 /* end confdefs.h.  */
51446 #include <math.h>
51447                       #ifdef HAVE_IEEEFP_H
51448                       #include <ieeefp.h>
51449                       #endif
51450
51451 int
51452 main ()
51453 {
51454  fpclass(0);
51455   ;
51456   return 0;
51457 }
51458 _ACEOF
51459 if ac_fn_cxx_try_compile "$LINENO"; then :
51460   glibcxx_cv_func_fpclass_use=yes
51461 else
51462   glibcxx_cv_func_fpclass_use=no
51463 fi
51464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51465       ac_ext=c
51466 ac_cpp='$CPP $CPPFLAGS'
51467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51470
51471
51472 fi
51473
51474   fi
51475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51476 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51477
51478   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51479     for ac_func in fpclass
51480 do :
51481   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51482 if test "x$ac_cv_func_fpclass" = x""yes; then :
51483   cat >>confdefs.h <<_ACEOF
51484 #define HAVE_FPCLASS 1
51485 _ACEOF
51486
51487 fi
51488 done
51489
51490   else
51491
51492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51493 $as_echo_n "checking for _fpclass declaration... " >&6; }
51494   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51495     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51496   $as_echo_n "(cached) " >&6
51497 else
51498
51499
51500       ac_ext=cpp
51501 ac_cpp='$CXXCPP $CPPFLAGS'
51502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51505
51506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51507 /* end confdefs.h.  */
51508 #include <math.h>
51509                       #ifdef HAVE_IEEEFP_H
51510                       #include <ieeefp.h>
51511                       #endif
51512
51513 int
51514 main ()
51515 {
51516  _fpclass(0);
51517   ;
51518   return 0;
51519 }
51520 _ACEOF
51521 if ac_fn_cxx_try_compile "$LINENO"; then :
51522   glibcxx_cv_func__fpclass_use=yes
51523 else
51524   glibcxx_cv_func__fpclass_use=no
51525 fi
51526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51527       ac_ext=c
51528 ac_cpp='$CPP $CPPFLAGS'
51529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51532
51533
51534 fi
51535
51536   fi
51537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51538 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51539
51540     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51541       for ac_func in _fpclass
51542 do :
51543   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51544 if test "x$ac_cv_func__fpclass" = x""yes; then :
51545   cat >>confdefs.h <<_ACEOF
51546 #define HAVE__FPCLASS 1
51547 _ACEOF
51548
51549 fi
51550 done
51551
51552     fi
51553   fi
51554
51555
51556
51557
51558
51559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51560 $as_echo_n "checking for qfpclass declaration... " >&6; }
51561   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51562     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51563   $as_echo_n "(cached) " >&6
51564 else
51565
51566
51567       ac_ext=cpp
51568 ac_cpp='$CXXCPP $CPPFLAGS'
51569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51572
51573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51574 /* end confdefs.h.  */
51575 #include <math.h>
51576                       #ifdef HAVE_IEEEFP_H
51577                       #include <ieeefp.h>
51578                       #endif
51579
51580 int
51581 main ()
51582 {
51583  qfpclass(0);
51584   ;
51585   return 0;
51586 }
51587 _ACEOF
51588 if ac_fn_cxx_try_compile "$LINENO"; then :
51589   glibcxx_cv_func_qfpclass_use=yes
51590 else
51591   glibcxx_cv_func_qfpclass_use=no
51592 fi
51593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51594       ac_ext=c
51595 ac_cpp='$CPP $CPPFLAGS'
51596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51599
51600
51601 fi
51602
51603   fi
51604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51605 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51606
51607   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51608     for ac_func in qfpclass
51609 do :
51610   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51611 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51612   cat >>confdefs.h <<_ACEOF
51613 #define HAVE_QFPCLASS 1
51614 _ACEOF
51615
51616 fi
51617 done
51618
51619   else
51620
51621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51622 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51623   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51624     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51625   $as_echo_n "(cached) " >&6
51626 else
51627
51628
51629       ac_ext=cpp
51630 ac_cpp='$CXXCPP $CPPFLAGS'
51631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51634
51635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51636 /* end confdefs.h.  */
51637 #include <math.h>
51638                       #ifdef HAVE_IEEEFP_H
51639                       #include <ieeefp.h>
51640                       #endif
51641
51642 int
51643 main ()
51644 {
51645  _qfpclass(0);
51646   ;
51647   return 0;
51648 }
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651   glibcxx_cv_func__qfpclass_use=yes
51652 else
51653   glibcxx_cv_func__qfpclass_use=no
51654 fi
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656       ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51661
51662
51663 fi
51664
51665   fi
51666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51667 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51668
51669     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51670       for ac_func in _qfpclass
51671 do :
51672   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51673 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51674   cat >>confdefs.h <<_ACEOF
51675 #define HAVE__QFPCLASS 1
51676 _ACEOF
51677
51678 fi
51679 done
51680
51681     fi
51682   fi
51683
51684
51685
51686
51687
51688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51689 $as_echo_n "checking for hypot declaration... " >&6; }
51690   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51691     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51692   $as_echo_n "(cached) " >&6
51693 else
51694
51695
51696       ac_ext=cpp
51697 ac_cpp='$CXXCPP $CPPFLAGS'
51698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51701
51702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51703 /* end confdefs.h.  */
51704 #include <math.h>
51705 int
51706 main ()
51707 {
51708  hypot(0, 0);
51709   ;
51710   return 0;
51711 }
51712 _ACEOF
51713 if ac_fn_cxx_try_compile "$LINENO"; then :
51714   glibcxx_cv_func_hypot_use=yes
51715 else
51716   glibcxx_cv_func_hypot_use=no
51717 fi
51718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51719       ac_ext=c
51720 ac_cpp='$CPP $CPPFLAGS'
51721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51724
51725
51726 fi
51727
51728   fi
51729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51730 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51731
51732   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51733     for ac_func in hypot
51734 do :
51735   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51736 if test "x$ac_cv_func_hypot" = x""yes; then :
51737   cat >>confdefs.h <<_ACEOF
51738 #define HAVE_HYPOT 1
51739 _ACEOF
51740
51741 fi
51742 done
51743
51744   else
51745
51746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51747 $as_echo_n "checking for _hypot declaration... " >&6; }
51748   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51749     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51750   $as_echo_n "(cached) " >&6
51751 else
51752
51753
51754       ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h.  */
51762 #include <math.h>
51763 int
51764 main ()
51765 {
51766  _hypot(0, 0);
51767   ;
51768   return 0;
51769 }
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772   glibcxx_cv_func__hypot_use=yes
51773 else
51774   glibcxx_cv_func__hypot_use=no
51775 fi
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777       ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782
51783
51784 fi
51785
51786   fi
51787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51788 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51789
51790     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51791       for ac_func in _hypot
51792 do :
51793   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51794 if test "x$ac_cv_func__hypot" = x""yes; then :
51795   cat >>confdefs.h <<_ACEOF
51796 #define HAVE__HYPOT 1
51797 _ACEOF
51798
51799 fi
51800 done
51801
51802     fi
51803   fi
51804
51805
51806
51807
51808
51809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51810 $as_echo_n "checking for float trig functions... " >&6; }
51811   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51812   $as_echo_n "(cached) " >&6
51813 else
51814
51815
51816     ac_ext=cpp
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51821
51822     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51823 /* end confdefs.h.  */
51824 #include <math.h>
51825 int
51826 main ()
51827 {
51828 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51829   ;
51830   return 0;
51831 }
51832 _ACEOF
51833 if ac_fn_cxx_try_compile "$LINENO"; then :
51834   glibcxx_cv_func_float_trig_use=yes
51835 else
51836   glibcxx_cv_func_float_trig_use=no
51837 fi
51838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51839     ac_ext=c
51840 ac_cpp='$CPP $CPPFLAGS'
51841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844
51845 fi
51846
51847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51848 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51849   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51850     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51851 do :
51852   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51854 eval as_val=\$$as_ac_var
51855    if test "x$as_val" = x""yes; then :
51856   cat >>confdefs.h <<_ACEOF
51857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51858 _ACEOF
51859
51860 fi
51861 done
51862
51863   else
51864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51865 $as_echo_n "checking for _float trig functions... " >&6; }
51866     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51867   $as_echo_n "(cached) " >&6
51868 else
51869
51870
51871       ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51876
51877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h.  */
51879 #include <math.h>
51880 int
51881 main ()
51882 {
51883 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51884   ;
51885   return 0;
51886 }
51887 _ACEOF
51888 if ac_fn_cxx_try_compile "$LINENO"; then :
51889   glibcxx_cv_func__float_trig_use=yes
51890 else
51891   glibcxx_cv_func__float_trig_use=no
51892 fi
51893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894       ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899
51900 fi
51901
51902     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51903 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51904     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51905       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51906 do :
51907   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51909 eval as_val=\$$as_ac_var
51910    if test "x$as_val" = x""yes; then :
51911   cat >>confdefs.h <<_ACEOF
51912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51913 _ACEOF
51914
51915 fi
51916 done
51917
51918     fi
51919   fi
51920
51921
51922
51923
51924
51925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51926 $as_echo_n "checking for float round functions... " >&6; }
51927   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51928   $as_echo_n "(cached) " >&6
51929 else
51930
51931
51932     ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937
51938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h.  */
51940 #include <math.h>
51941 int
51942 main ()
51943 {
51944 ceilf (0); floorf (0);
51945   ;
51946   return 0;
51947 }
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950   glibcxx_cv_func_float_round_use=yes
51951 else
51952   glibcxx_cv_func_float_round_use=no
51953 fi
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955     ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960
51961 fi
51962
51963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51964 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51965   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51966     for ac_func in ceilf floorf
51967 do :
51968   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51970 eval as_val=\$$as_ac_var
51971    if test "x$as_val" = x""yes; then :
51972   cat >>confdefs.h <<_ACEOF
51973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51974 _ACEOF
51975
51976 fi
51977 done
51978
51979   else
51980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51981 $as_echo_n "checking for _float round functions... " >&6; }
51982     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51983   $as_echo_n "(cached) " >&6
51984 else
51985
51986
51987       ac_ext=cpp
51988 ac_cpp='$CXXCPP $CPPFLAGS'
51989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51992
51993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51994 /* end confdefs.h.  */
51995 #include <math.h>
51996 int
51997 main ()
51998 {
51999 _ceilf (0); _floorf (0);
52000   ;
52001   return 0;
52002 }
52003 _ACEOF
52004 if ac_fn_cxx_try_compile "$LINENO"; then :
52005   glibcxx_cv_func__float_round_use=yes
52006 else
52007   glibcxx_cv_func__float_round_use=no
52008 fi
52009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52010       ac_ext=c
52011 ac_cpp='$CPP $CPPFLAGS'
52012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52015
52016 fi
52017
52018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52019 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52020     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52021       for ac_func in _ceilf _floorf
52022 do :
52023   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52025 eval as_val=\$$as_ac_var
52026    if test "x$as_val" = x""yes; then :
52027   cat >>confdefs.h <<_ACEOF
52028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52029 _ACEOF
52030
52031 fi
52032 done
52033
52034     fi
52035   fi
52036
52037
52038
52039
52040
52041
52042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52043 $as_echo_n "checking for expf declaration... " >&6; }
52044   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52045     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52046   $as_echo_n "(cached) " >&6
52047 else
52048
52049
52050       ac_ext=cpp
52051 ac_cpp='$CXXCPP $CPPFLAGS'
52052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52055
52056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52057 /* end confdefs.h.  */
52058 #include <math.h>
52059                       #ifdef HAVE_IEEEFP_H
52060                       #include <ieeefp.h>
52061                       #endif
52062
52063 int
52064 main ()
52065 {
52066  expf(0);
52067   ;
52068   return 0;
52069 }
52070 _ACEOF
52071 if ac_fn_cxx_try_compile "$LINENO"; then :
52072   glibcxx_cv_func_expf_use=yes
52073 else
52074   glibcxx_cv_func_expf_use=no
52075 fi
52076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52077       ac_ext=c
52078 ac_cpp='$CPP $CPPFLAGS'
52079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52082
52083
52084 fi
52085
52086   fi
52087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52088 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52089
52090   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52091     for ac_func in expf
52092 do :
52093   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52094 if test "x$ac_cv_func_expf" = x""yes; then :
52095   cat >>confdefs.h <<_ACEOF
52096 #define HAVE_EXPF 1
52097 _ACEOF
52098
52099 fi
52100 done
52101
52102   else
52103
52104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52105 $as_echo_n "checking for _expf declaration... " >&6; }
52106   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52107     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52108   $as_echo_n "(cached) " >&6
52109 else
52110
52111
52112       ac_ext=cpp
52113 ac_cpp='$CXXCPP $CPPFLAGS'
52114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52117
52118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52119 /* end confdefs.h.  */
52120 #include <math.h>
52121                       #ifdef HAVE_IEEEFP_H
52122                       #include <ieeefp.h>
52123                       #endif
52124
52125 int
52126 main ()
52127 {
52128  _expf(0);
52129   ;
52130   return 0;
52131 }
52132 _ACEOF
52133 if ac_fn_cxx_try_compile "$LINENO"; then :
52134   glibcxx_cv_func__expf_use=yes
52135 else
52136   glibcxx_cv_func__expf_use=no
52137 fi
52138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52139       ac_ext=c
52140 ac_cpp='$CPP $CPPFLAGS'
52141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52144
52145
52146 fi
52147
52148   fi
52149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52150 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52151
52152     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52153       for ac_func in _expf
52154 do :
52155   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52156 if test "x$ac_cv_func__expf" = x""yes; then :
52157   cat >>confdefs.h <<_ACEOF
52158 #define HAVE__EXPF 1
52159 _ACEOF
52160
52161 fi
52162 done
52163
52164     fi
52165   fi
52166
52167
52168
52169
52170
52171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52172 $as_echo_n "checking for isnanf declaration... " >&6; }
52173   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52174     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52175   $as_echo_n "(cached) " >&6
52176 else
52177
52178
52179       ac_ext=cpp
52180 ac_cpp='$CXXCPP $CPPFLAGS'
52181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52184
52185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52186 /* end confdefs.h.  */
52187 #include <math.h>
52188                       #ifdef HAVE_IEEEFP_H
52189                       #include <ieeefp.h>
52190                       #endif
52191
52192 int
52193 main ()
52194 {
52195  isnanf(0);
52196   ;
52197   return 0;
52198 }
52199 _ACEOF
52200 if ac_fn_cxx_try_compile "$LINENO"; then :
52201   glibcxx_cv_func_isnanf_use=yes
52202 else
52203   glibcxx_cv_func_isnanf_use=no
52204 fi
52205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52206       ac_ext=c
52207 ac_cpp='$CPP $CPPFLAGS'
52208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52211
52212
52213 fi
52214
52215   fi
52216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52217 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52218
52219   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52220     for ac_func in isnanf
52221 do :
52222   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52223 if test "x$ac_cv_func_isnanf" = x""yes; then :
52224   cat >>confdefs.h <<_ACEOF
52225 #define HAVE_ISNANF 1
52226 _ACEOF
52227
52228 fi
52229 done
52230
52231   else
52232
52233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52234 $as_echo_n "checking for _isnanf declaration... " >&6; }
52235   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52236     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52237   $as_echo_n "(cached) " >&6
52238 else
52239
52240
52241       ac_ext=cpp
52242 ac_cpp='$CXXCPP $CPPFLAGS'
52243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246
52247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52248 /* end confdefs.h.  */
52249 #include <math.h>
52250                       #ifdef HAVE_IEEEFP_H
52251                       #include <ieeefp.h>
52252                       #endif
52253
52254 int
52255 main ()
52256 {
52257  _isnanf(0);
52258   ;
52259   return 0;
52260 }
52261 _ACEOF
52262 if ac_fn_cxx_try_compile "$LINENO"; then :
52263   glibcxx_cv_func__isnanf_use=yes
52264 else
52265   glibcxx_cv_func__isnanf_use=no
52266 fi
52267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52268       ac_ext=c
52269 ac_cpp='$CPP $CPPFLAGS'
52270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52273
52274
52275 fi
52276
52277   fi
52278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52279 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52280
52281     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52282       for ac_func in _isnanf
52283 do :
52284   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52285 if test "x$ac_cv_func__isnanf" = x""yes; then :
52286   cat >>confdefs.h <<_ACEOF
52287 #define HAVE__ISNANF 1
52288 _ACEOF
52289
52290 fi
52291 done
52292
52293     fi
52294   fi
52295
52296
52297
52298
52299
52300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52301 $as_echo_n "checking for isinff declaration... " >&6; }
52302   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52303     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52304   $as_echo_n "(cached) " >&6
52305 else
52306
52307
52308       ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52313
52314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h.  */
52316 #include <math.h>
52317                       #ifdef HAVE_IEEEFP_H
52318                       #include <ieeefp.h>
52319                       #endif
52320
52321 int
52322 main ()
52323 {
52324  isinff(0);
52325   ;
52326   return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330   glibcxx_cv_func_isinff_use=yes
52331 else
52332   glibcxx_cv_func_isinff_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335       ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344   fi
52345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52346 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52347
52348   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52349     for ac_func in isinff
52350 do :
52351   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52352 if test "x$ac_cv_func_isinff" = x""yes; then :
52353   cat >>confdefs.h <<_ACEOF
52354 #define HAVE_ISINFF 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360   else
52361
52362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52363 $as_echo_n "checking for _isinff declaration... " >&6; }
52364   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52365     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52366   $as_echo_n "(cached) " >&6
52367 else
52368
52369
52370       ac_ext=cpp
52371 ac_cpp='$CXXCPP $CPPFLAGS'
52372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52375
52376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h.  */
52378 #include <math.h>
52379                       #ifdef HAVE_IEEEFP_H
52380                       #include <ieeefp.h>
52381                       #endif
52382
52383 int
52384 main ()
52385 {
52386  _isinff(0);
52387   ;
52388   return 0;
52389 }
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392   glibcxx_cv_func__isinff_use=yes
52393 else
52394   glibcxx_cv_func__isinff_use=no
52395 fi
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397       ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52402
52403
52404 fi
52405
52406   fi
52407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52408 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52409
52410     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52411       for ac_func in _isinff
52412 do :
52413   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52414 if test "x$ac_cv_func__isinff" = x""yes; then :
52415   cat >>confdefs.h <<_ACEOF
52416 #define HAVE__ISINFF 1
52417 _ACEOF
52418
52419 fi
52420 done
52421
52422     fi
52423   fi
52424
52425
52426
52427
52428
52429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52430 $as_echo_n "checking for atan2f declaration... " >&6; }
52431   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52432     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52433   $as_echo_n "(cached) " >&6
52434 else
52435
52436
52437       ac_ext=cpp
52438 ac_cpp='$CXXCPP $CPPFLAGS'
52439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52442
52443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52444 /* end confdefs.h.  */
52445 #include <math.h>
52446 int
52447 main ()
52448 {
52449  atan2f(0, 0);
52450   ;
52451   return 0;
52452 }
52453 _ACEOF
52454 if ac_fn_cxx_try_compile "$LINENO"; then :
52455   glibcxx_cv_func_atan2f_use=yes
52456 else
52457   glibcxx_cv_func_atan2f_use=no
52458 fi
52459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52460       ac_ext=c
52461 ac_cpp='$CPP $CPPFLAGS'
52462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465
52466
52467 fi
52468
52469   fi
52470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52471 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52472
52473   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52474     for ac_func in atan2f
52475 do :
52476   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52477 if test "x$ac_cv_func_atan2f" = x""yes; then :
52478   cat >>confdefs.h <<_ACEOF
52479 #define HAVE_ATAN2F 1
52480 _ACEOF
52481
52482 fi
52483 done
52484
52485   else
52486
52487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52488 $as_echo_n "checking for _atan2f declaration... " >&6; }
52489   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52490     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52491   $as_echo_n "(cached) " >&6
52492 else
52493
52494
52495       ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52500
52501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h.  */
52503 #include <math.h>
52504 int
52505 main ()
52506 {
52507  _atan2f(0, 0);
52508   ;
52509   return 0;
52510 }
52511 _ACEOF
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513   glibcxx_cv_func__atan2f_use=yes
52514 else
52515   glibcxx_cv_func__atan2f_use=no
52516 fi
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52518       ac_ext=c
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523
52524
52525 fi
52526
52527   fi
52528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52529 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52530
52531     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52532       for ac_func in _atan2f
52533 do :
52534   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52535 if test "x$ac_cv_func__atan2f" = x""yes; then :
52536   cat >>confdefs.h <<_ACEOF
52537 #define HAVE__ATAN2F 1
52538 _ACEOF
52539
52540 fi
52541 done
52542
52543     fi
52544   fi
52545
52546
52547
52548
52549
52550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52551 $as_echo_n "checking for fabsf declaration... " >&6; }
52552   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52553     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52554   $as_echo_n "(cached) " >&6
52555 else
52556
52557
52558       ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52563
52564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h.  */
52566 #include <math.h>
52567                       #ifdef HAVE_IEEEFP_H
52568                       #include <ieeefp.h>
52569                       #endif
52570
52571 int
52572 main ()
52573 {
52574  fabsf(0);
52575   ;
52576   return 0;
52577 }
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580   glibcxx_cv_func_fabsf_use=yes
52581 else
52582   glibcxx_cv_func_fabsf_use=no
52583 fi
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585       ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52590
52591
52592 fi
52593
52594   fi
52595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52596 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52597
52598   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52599     for ac_func in fabsf
52600 do :
52601   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52602 if test "x$ac_cv_func_fabsf" = x""yes; then :
52603   cat >>confdefs.h <<_ACEOF
52604 #define HAVE_FABSF 1
52605 _ACEOF
52606
52607 fi
52608 done
52609
52610   else
52611
52612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52613 $as_echo_n "checking for _fabsf declaration... " >&6; }
52614   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52615     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52616   $as_echo_n "(cached) " >&6
52617 else
52618
52619
52620       ac_ext=cpp
52621 ac_cpp='$CXXCPP $CPPFLAGS'
52622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52625
52626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52627 /* end confdefs.h.  */
52628 #include <math.h>
52629                       #ifdef HAVE_IEEEFP_H
52630                       #include <ieeefp.h>
52631                       #endif
52632
52633 int
52634 main ()
52635 {
52636  _fabsf(0);
52637   ;
52638   return 0;
52639 }
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642   glibcxx_cv_func__fabsf_use=yes
52643 else
52644   glibcxx_cv_func__fabsf_use=no
52645 fi
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647       ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52652
52653
52654 fi
52655
52656   fi
52657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52658 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52659
52660     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52661       for ac_func in _fabsf
52662 do :
52663   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52664 if test "x$ac_cv_func__fabsf" = x""yes; then :
52665   cat >>confdefs.h <<_ACEOF
52666 #define HAVE__FABSF 1
52667 _ACEOF
52668
52669 fi
52670 done
52671
52672     fi
52673   fi
52674
52675
52676
52677
52678
52679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52680 $as_echo_n "checking for fmodf declaration... " >&6; }
52681   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52682     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52683   $as_echo_n "(cached) " >&6
52684 else
52685
52686
52687       ac_ext=cpp
52688 ac_cpp='$CXXCPP $CPPFLAGS'
52689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52692
52693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52694 /* end confdefs.h.  */
52695 #include <math.h>
52696 int
52697 main ()
52698 {
52699  fmodf(0, 0);
52700   ;
52701   return 0;
52702 }
52703 _ACEOF
52704 if ac_fn_cxx_try_compile "$LINENO"; then :
52705   glibcxx_cv_func_fmodf_use=yes
52706 else
52707   glibcxx_cv_func_fmodf_use=no
52708 fi
52709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52710       ac_ext=c
52711 ac_cpp='$CPP $CPPFLAGS'
52712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52715
52716
52717 fi
52718
52719   fi
52720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52721 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52722
52723   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52724     for ac_func in fmodf
52725 do :
52726   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52727 if test "x$ac_cv_func_fmodf" = x""yes; then :
52728   cat >>confdefs.h <<_ACEOF
52729 #define HAVE_FMODF 1
52730 _ACEOF
52731
52732 fi
52733 done
52734
52735   else
52736
52737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52738 $as_echo_n "checking for _fmodf declaration... " >&6; }
52739   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52740     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52741   $as_echo_n "(cached) " >&6
52742 else
52743
52744
52745       ac_ext=cpp
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52750
52751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h.  */
52753 #include <math.h>
52754 int
52755 main ()
52756 {
52757  _fmodf(0, 0);
52758   ;
52759   return 0;
52760 }
52761 _ACEOF
52762 if ac_fn_cxx_try_compile "$LINENO"; then :
52763   glibcxx_cv_func__fmodf_use=yes
52764 else
52765   glibcxx_cv_func__fmodf_use=no
52766 fi
52767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52768       ac_ext=c
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52773
52774
52775 fi
52776
52777   fi
52778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52779 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52780
52781     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52782       for ac_func in _fmodf
52783 do :
52784   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52785 if test "x$ac_cv_func__fmodf" = x""yes; then :
52786   cat >>confdefs.h <<_ACEOF
52787 #define HAVE__FMODF 1
52788 _ACEOF
52789
52790 fi
52791 done
52792
52793     fi
52794   fi
52795
52796
52797
52798
52799
52800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52801 $as_echo_n "checking for frexpf declaration... " >&6; }
52802   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52803     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52804   $as_echo_n "(cached) " >&6
52805 else
52806
52807
52808       ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813
52814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h.  */
52816 #include <math.h>
52817 int
52818 main ()
52819 {
52820  frexpf(0, 0);
52821   ;
52822   return 0;
52823 }
52824 _ACEOF
52825 if ac_fn_cxx_try_compile "$LINENO"; then :
52826   glibcxx_cv_func_frexpf_use=yes
52827 else
52828   glibcxx_cv_func_frexpf_use=no
52829 fi
52830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52831       ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52836
52837
52838 fi
52839
52840   fi
52841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52842 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52843
52844   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52845     for ac_func in frexpf
52846 do :
52847   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52848 if test "x$ac_cv_func_frexpf" = x""yes; then :
52849   cat >>confdefs.h <<_ACEOF
52850 #define HAVE_FREXPF 1
52851 _ACEOF
52852
52853 fi
52854 done
52855
52856   else
52857
52858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52859 $as_echo_n "checking for _frexpf declaration... " >&6; }
52860   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52861     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52862   $as_echo_n "(cached) " >&6
52863 else
52864
52865
52866       ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52871
52872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h.  */
52874 #include <math.h>
52875 int
52876 main ()
52877 {
52878  _frexpf(0, 0);
52879   ;
52880   return 0;
52881 }
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884   glibcxx_cv_func__frexpf_use=yes
52885 else
52886   glibcxx_cv_func__frexpf_use=no
52887 fi
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889       ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52894
52895
52896 fi
52897
52898   fi
52899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52900 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52901
52902     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52903       for ac_func in _frexpf
52904 do :
52905   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52906 if test "x$ac_cv_func__frexpf" = x""yes; then :
52907   cat >>confdefs.h <<_ACEOF
52908 #define HAVE__FREXPF 1
52909 _ACEOF
52910
52911 fi
52912 done
52913
52914     fi
52915   fi
52916
52917
52918
52919
52920
52921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52922 $as_echo_n "checking for hypotf declaration... " >&6; }
52923   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52924     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52925   $as_echo_n "(cached) " >&6
52926 else
52927
52928
52929       ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52934
52935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h.  */
52937 #include <math.h>
52938 int
52939 main ()
52940 {
52941  hypotf(0, 0);
52942   ;
52943   return 0;
52944 }
52945 _ACEOF
52946 if ac_fn_cxx_try_compile "$LINENO"; then :
52947   glibcxx_cv_func_hypotf_use=yes
52948 else
52949   glibcxx_cv_func_hypotf_use=no
52950 fi
52951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52952       ac_ext=c
52953 ac_cpp='$CPP $CPPFLAGS'
52954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52957
52958
52959 fi
52960
52961   fi
52962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52963 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52964
52965   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52966     for ac_func in hypotf
52967 do :
52968   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52969 if test "x$ac_cv_func_hypotf" = x""yes; then :
52970   cat >>confdefs.h <<_ACEOF
52971 #define HAVE_HYPOTF 1
52972 _ACEOF
52973
52974 fi
52975 done
52976
52977   else
52978
52979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52980 $as_echo_n "checking for _hypotf declaration... " >&6; }
52981   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52982     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52983   $as_echo_n "(cached) " >&6
52984 else
52985
52986
52987       ac_ext=cpp
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52992
52993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h.  */
52995 #include <math.h>
52996 int
52997 main ()
52998 {
52999  _hypotf(0, 0);
53000   ;
53001   return 0;
53002 }
53003 _ACEOF
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005   glibcxx_cv_func__hypotf_use=yes
53006 else
53007   glibcxx_cv_func__hypotf_use=no
53008 fi
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53010       ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53015
53016
53017 fi
53018
53019   fi
53020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53021 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53022
53023     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53024       for ac_func in _hypotf
53025 do :
53026   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53027 if test "x$ac_cv_func__hypotf" = x""yes; then :
53028   cat >>confdefs.h <<_ACEOF
53029 #define HAVE__HYPOTF 1
53030 _ACEOF
53031
53032 fi
53033 done
53034
53035     fi
53036   fi
53037
53038
53039
53040
53041
53042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53043 $as_echo_n "checking for ldexpf declaration... " >&6; }
53044   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53045     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53046   $as_echo_n "(cached) " >&6
53047 else
53048
53049
53050       ac_ext=cpp
53051 ac_cpp='$CXXCPP $CPPFLAGS'
53052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53055
53056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53057 /* end confdefs.h.  */
53058 #include <math.h>
53059 int
53060 main ()
53061 {
53062  ldexpf(0, 0);
53063   ;
53064   return 0;
53065 }
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068   glibcxx_cv_func_ldexpf_use=yes
53069 else
53070   glibcxx_cv_func_ldexpf_use=no
53071 fi
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073       ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078
53079
53080 fi
53081
53082   fi
53083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53084 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53085
53086   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53087     for ac_func in ldexpf
53088 do :
53089   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53090 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53091   cat >>confdefs.h <<_ACEOF
53092 #define HAVE_LDEXPF 1
53093 _ACEOF
53094
53095 fi
53096 done
53097
53098   else
53099
53100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53101 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53102   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53103     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53104   $as_echo_n "(cached) " >&6
53105 else
53106
53107
53108       ac_ext=cpp
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53113
53114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h.  */
53116 #include <math.h>
53117 int
53118 main ()
53119 {
53120  _ldexpf(0, 0);
53121   ;
53122   return 0;
53123 }
53124 _ACEOF
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126   glibcxx_cv_func__ldexpf_use=yes
53127 else
53128   glibcxx_cv_func__ldexpf_use=no
53129 fi
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53131       ac_ext=c
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53136
53137
53138 fi
53139
53140   fi
53141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53142 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53143
53144     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53145       for ac_func in _ldexpf
53146 do :
53147   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53148 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53149   cat >>confdefs.h <<_ACEOF
53150 #define HAVE__LDEXPF 1
53151 _ACEOF
53152
53153 fi
53154 done
53155
53156     fi
53157   fi
53158
53159
53160
53161
53162
53163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53164 $as_echo_n "checking for logf declaration... " >&6; }
53165   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53166     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53167   $as_echo_n "(cached) " >&6
53168 else
53169
53170
53171       ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53176
53177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h.  */
53179 #include <math.h>
53180                       #ifdef HAVE_IEEEFP_H
53181                       #include <ieeefp.h>
53182                       #endif
53183
53184 int
53185 main ()
53186 {
53187  logf(0);
53188   ;
53189   return 0;
53190 }
53191 _ACEOF
53192 if ac_fn_cxx_try_compile "$LINENO"; then :
53193   glibcxx_cv_func_logf_use=yes
53194 else
53195   glibcxx_cv_func_logf_use=no
53196 fi
53197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53198       ac_ext=c
53199 ac_cpp='$CPP $CPPFLAGS'
53200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53203
53204
53205 fi
53206
53207   fi
53208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53209 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53210
53211   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53212     for ac_func in logf
53213 do :
53214   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53215 if test "x$ac_cv_func_logf" = x""yes; then :
53216   cat >>confdefs.h <<_ACEOF
53217 #define HAVE_LOGF 1
53218 _ACEOF
53219
53220 fi
53221 done
53222
53223   else
53224
53225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53226 $as_echo_n "checking for _logf declaration... " >&6; }
53227   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53228     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53229   $as_echo_n "(cached) " >&6
53230 else
53231
53232
53233       ac_ext=cpp
53234 ac_cpp='$CXXCPP $CPPFLAGS'
53235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53238
53239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53240 /* end confdefs.h.  */
53241 #include <math.h>
53242                       #ifdef HAVE_IEEEFP_H
53243                       #include <ieeefp.h>
53244                       #endif
53245
53246 int
53247 main ()
53248 {
53249  _logf(0);
53250   ;
53251   return 0;
53252 }
53253 _ACEOF
53254 if ac_fn_cxx_try_compile "$LINENO"; then :
53255   glibcxx_cv_func__logf_use=yes
53256 else
53257   glibcxx_cv_func__logf_use=no
53258 fi
53259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260       ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267 fi
53268
53269   fi
53270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53271 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53272
53273     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53274       for ac_func in _logf
53275 do :
53276   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53277 if test "x$ac_cv_func__logf" = x""yes; then :
53278   cat >>confdefs.h <<_ACEOF
53279 #define HAVE__LOGF 1
53280 _ACEOF
53281
53282 fi
53283 done
53284
53285     fi
53286   fi
53287
53288
53289
53290
53291
53292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53293 $as_echo_n "checking for log10f declaration... " >&6; }
53294   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53295     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53296   $as_echo_n "(cached) " >&6
53297 else
53298
53299
53300       ac_ext=cpp
53301 ac_cpp='$CXXCPP $CPPFLAGS'
53302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53305
53306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53307 /* end confdefs.h.  */
53308 #include <math.h>
53309                       #ifdef HAVE_IEEEFP_H
53310                       #include <ieeefp.h>
53311                       #endif
53312
53313 int
53314 main ()
53315 {
53316  log10f(0);
53317   ;
53318   return 0;
53319 }
53320 _ACEOF
53321 if ac_fn_cxx_try_compile "$LINENO"; then :
53322   glibcxx_cv_func_log10f_use=yes
53323 else
53324   glibcxx_cv_func_log10f_use=no
53325 fi
53326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53327       ac_ext=c
53328 ac_cpp='$CPP $CPPFLAGS'
53329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53332
53333
53334 fi
53335
53336   fi
53337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53338 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53339
53340   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53341     for ac_func in log10f
53342 do :
53343   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53344 if test "x$ac_cv_func_log10f" = x""yes; then :
53345   cat >>confdefs.h <<_ACEOF
53346 #define HAVE_LOG10F 1
53347 _ACEOF
53348
53349 fi
53350 done
53351
53352   else
53353
53354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53355 $as_echo_n "checking for _log10f declaration... " >&6; }
53356   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53357     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53358   $as_echo_n "(cached) " >&6
53359 else
53360
53361
53362       ac_ext=cpp
53363 ac_cpp='$CXXCPP $CPPFLAGS'
53364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367
53368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53369 /* end confdefs.h.  */
53370 #include <math.h>
53371                       #ifdef HAVE_IEEEFP_H
53372                       #include <ieeefp.h>
53373                       #endif
53374
53375 int
53376 main ()
53377 {
53378  _log10f(0);
53379   ;
53380   return 0;
53381 }
53382 _ACEOF
53383 if ac_fn_cxx_try_compile "$LINENO"; then :
53384   glibcxx_cv_func__log10f_use=yes
53385 else
53386   glibcxx_cv_func__log10f_use=no
53387 fi
53388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53389       ac_ext=c
53390 ac_cpp='$CPP $CPPFLAGS'
53391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394
53395
53396 fi
53397
53398   fi
53399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53400 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53401
53402     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53403       for ac_func in _log10f
53404 do :
53405   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53406 if test "x$ac_cv_func__log10f" = x""yes; then :
53407   cat >>confdefs.h <<_ACEOF
53408 #define HAVE__LOG10F 1
53409 _ACEOF
53410
53411 fi
53412 done
53413
53414     fi
53415   fi
53416
53417
53418
53419
53420
53421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53422 $as_echo_n "checking for modff declaration... " >&6; }
53423   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53424     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53425   $as_echo_n "(cached) " >&6
53426 else
53427
53428
53429       ac_ext=cpp
53430 ac_cpp='$CXXCPP $CPPFLAGS'
53431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53434
53435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53436 /* end confdefs.h.  */
53437 #include <math.h>
53438 int
53439 main ()
53440 {
53441  modff(0, 0);
53442   ;
53443   return 0;
53444 }
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447   glibcxx_cv_func_modff_use=yes
53448 else
53449   glibcxx_cv_func_modff_use=no
53450 fi
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452       ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457
53458
53459 fi
53460
53461   fi
53462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53463 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53464
53465   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53466     for ac_func in modff
53467 do :
53468   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53469 if test "x$ac_cv_func_modff" = x""yes; then :
53470   cat >>confdefs.h <<_ACEOF
53471 #define HAVE_MODFF 1
53472 _ACEOF
53473
53474 fi
53475 done
53476
53477   else
53478
53479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53480 $as_echo_n "checking for _modff declaration... " >&6; }
53481   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53482     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53483   $as_echo_n "(cached) " >&6
53484 else
53485
53486
53487       ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492
53493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h.  */
53495 #include <math.h>
53496 int
53497 main ()
53498 {
53499  _modff(0, 0);
53500   ;
53501   return 0;
53502 }
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505   glibcxx_cv_func__modff_use=yes
53506 else
53507   glibcxx_cv_func__modff_use=no
53508 fi
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510       ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515
53516
53517 fi
53518
53519   fi
53520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53521 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53522
53523     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53524       for ac_func in _modff
53525 do :
53526   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53527 if test "x$ac_cv_func__modff" = x""yes; then :
53528   cat >>confdefs.h <<_ACEOF
53529 #define HAVE__MODFF 1
53530 _ACEOF
53531
53532 fi
53533 done
53534
53535     fi
53536   fi
53537
53538
53539
53540
53541
53542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53543 $as_echo_n "checking for modf declaration... " >&6; }
53544   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53545     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53546   $as_echo_n "(cached) " >&6
53547 else
53548
53549
53550       ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53555
53556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h.  */
53558 #include <math.h>
53559 int
53560 main ()
53561 {
53562  modf(0, 0);
53563   ;
53564   return 0;
53565 }
53566 _ACEOF
53567 if ac_fn_cxx_try_compile "$LINENO"; then :
53568   glibcxx_cv_func_modf_use=yes
53569 else
53570   glibcxx_cv_func_modf_use=no
53571 fi
53572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53573       ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578
53579
53580 fi
53581
53582   fi
53583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53584 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53585
53586   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53587     for ac_func in modf
53588 do :
53589   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53590 if test "x$ac_cv_func_modf" = x""yes; then :
53591   cat >>confdefs.h <<_ACEOF
53592 #define HAVE_MODF 1
53593 _ACEOF
53594
53595 fi
53596 done
53597
53598   else
53599
53600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53601 $as_echo_n "checking for _modf declaration... " >&6; }
53602   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53603     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53604   $as_echo_n "(cached) " >&6
53605 else
53606
53607
53608       ac_ext=cpp
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53613
53614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h.  */
53616 #include <math.h>
53617 int
53618 main ()
53619 {
53620  _modf(0, 0);
53621   ;
53622   return 0;
53623 }
53624 _ACEOF
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626   glibcxx_cv_func__modf_use=yes
53627 else
53628   glibcxx_cv_func__modf_use=no
53629 fi
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53631       ac_ext=c
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53636
53637
53638 fi
53639
53640   fi
53641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53642 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53643
53644     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53645       for ac_func in _modf
53646 do :
53647   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53648 if test "x$ac_cv_func__modf" = x""yes; then :
53649   cat >>confdefs.h <<_ACEOF
53650 #define HAVE__MODF 1
53651 _ACEOF
53652
53653 fi
53654 done
53655
53656     fi
53657   fi
53658
53659
53660
53661
53662
53663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53664 $as_echo_n "checking for powf declaration... " >&6; }
53665   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53666     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53667   $as_echo_n "(cached) " >&6
53668 else
53669
53670
53671       ac_ext=cpp
53672 ac_cpp='$CXXCPP $CPPFLAGS'
53673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53676
53677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h.  */
53679 #include <math.h>
53680 int
53681 main ()
53682 {
53683  powf(0, 0);
53684   ;
53685   return 0;
53686 }
53687 _ACEOF
53688 if ac_fn_cxx_try_compile "$LINENO"; then :
53689   glibcxx_cv_func_powf_use=yes
53690 else
53691   glibcxx_cv_func_powf_use=no
53692 fi
53693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53694       ac_ext=c
53695 ac_cpp='$CPP $CPPFLAGS'
53696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53699
53700
53701 fi
53702
53703   fi
53704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53705 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53706
53707   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53708     for ac_func in powf
53709 do :
53710   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53711 if test "x$ac_cv_func_powf" = x""yes; then :
53712   cat >>confdefs.h <<_ACEOF
53713 #define HAVE_POWF 1
53714 _ACEOF
53715
53716 fi
53717 done
53718
53719   else
53720
53721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53722 $as_echo_n "checking for _powf declaration... " >&6; }
53723   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53724     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53725   $as_echo_n "(cached) " >&6
53726 else
53727
53728
53729       ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734
53735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h.  */
53737 #include <math.h>
53738 int
53739 main ()
53740 {
53741  _powf(0, 0);
53742   ;
53743   return 0;
53744 }
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747   glibcxx_cv_func__powf_use=yes
53748 else
53749   glibcxx_cv_func__powf_use=no
53750 fi
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752       ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53757
53758
53759 fi
53760
53761   fi
53762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53763 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53764
53765     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53766       for ac_func in _powf
53767 do :
53768   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53769 if test "x$ac_cv_func__powf" = x""yes; then :
53770   cat >>confdefs.h <<_ACEOF
53771 #define HAVE__POWF 1
53772 _ACEOF
53773
53774 fi
53775 done
53776
53777     fi
53778   fi
53779
53780
53781
53782
53783
53784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53785 $as_echo_n "checking for sqrtf declaration... " >&6; }
53786   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53787     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53788   $as_echo_n "(cached) " >&6
53789 else
53790
53791
53792       ac_ext=cpp
53793 ac_cpp='$CXXCPP $CPPFLAGS'
53794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53797
53798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53799 /* end confdefs.h.  */
53800 #include <math.h>
53801                       #ifdef HAVE_IEEEFP_H
53802                       #include <ieeefp.h>
53803                       #endif
53804
53805 int
53806 main ()
53807 {
53808  sqrtf(0);
53809   ;
53810   return 0;
53811 }
53812 _ACEOF
53813 if ac_fn_cxx_try_compile "$LINENO"; then :
53814   glibcxx_cv_func_sqrtf_use=yes
53815 else
53816   glibcxx_cv_func_sqrtf_use=no
53817 fi
53818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53819       ac_ext=c
53820 ac_cpp='$CPP $CPPFLAGS'
53821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53824
53825
53826 fi
53827
53828   fi
53829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53830 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53831
53832   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53833     for ac_func in sqrtf
53834 do :
53835   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53836 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53837   cat >>confdefs.h <<_ACEOF
53838 #define HAVE_SQRTF 1
53839 _ACEOF
53840
53841 fi
53842 done
53843
53844   else
53845
53846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53847 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53848   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53849     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53850   $as_echo_n "(cached) " >&6
53851 else
53852
53853
53854       ac_ext=cpp
53855 ac_cpp='$CXXCPP $CPPFLAGS'
53856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53859
53860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53861 /* end confdefs.h.  */
53862 #include <math.h>
53863                       #ifdef HAVE_IEEEFP_H
53864                       #include <ieeefp.h>
53865                       #endif
53866
53867 int
53868 main ()
53869 {
53870  _sqrtf(0);
53871   ;
53872   return 0;
53873 }
53874 _ACEOF
53875 if ac_fn_cxx_try_compile "$LINENO"; then :
53876   glibcxx_cv_func__sqrtf_use=yes
53877 else
53878   glibcxx_cv_func__sqrtf_use=no
53879 fi
53880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53881       ac_ext=c
53882 ac_cpp='$CPP $CPPFLAGS'
53883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53886
53887
53888 fi
53889
53890   fi
53891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53892 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53893
53894     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53895       for ac_func in _sqrtf
53896 do :
53897   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53898 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53899   cat >>confdefs.h <<_ACEOF
53900 #define HAVE__SQRTF 1
53901 _ACEOF
53902
53903 fi
53904 done
53905
53906     fi
53907   fi
53908
53909
53910
53911
53912
53913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53914 $as_echo_n "checking for sincosf declaration... " >&6; }
53915   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53916     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53917   $as_echo_n "(cached) " >&6
53918 else
53919
53920
53921       ac_ext=cpp
53922 ac_cpp='$CXXCPP $CPPFLAGS'
53923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53926
53927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53928 /* end confdefs.h.  */
53929 #include <math.h>
53930 int
53931 main ()
53932 {
53933  sincosf(0, 0, 0);
53934   ;
53935   return 0;
53936 }
53937 _ACEOF
53938 if ac_fn_cxx_try_compile "$LINENO"; then :
53939   glibcxx_cv_func_sincosf_use=yes
53940 else
53941   glibcxx_cv_func_sincosf_use=no
53942 fi
53943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53944       ac_ext=c
53945 ac_cpp='$CPP $CPPFLAGS'
53946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949
53950
53951 fi
53952
53953   fi
53954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53955 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53956
53957   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53958     for ac_func in sincosf
53959 do :
53960   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53961 if test "x$ac_cv_func_sincosf" = x""yes; then :
53962   cat >>confdefs.h <<_ACEOF
53963 #define HAVE_SINCOSF 1
53964 _ACEOF
53965
53966 fi
53967 done
53968
53969   else
53970
53971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53972 $as_echo_n "checking for _sincosf declaration... " >&6; }
53973   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53974     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53975   $as_echo_n "(cached) " >&6
53976 else
53977
53978
53979       ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984
53985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h.  */
53987 #include <math.h>
53988 int
53989 main ()
53990 {
53991  _sincosf(0, 0, 0);
53992   ;
53993   return 0;
53994 }
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997   glibcxx_cv_func__sincosf_use=yes
53998 else
53999   glibcxx_cv_func__sincosf_use=no
54000 fi
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002       ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007
54008
54009 fi
54010
54011   fi
54012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54013 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54014
54015     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54016       for ac_func in _sincosf
54017 do :
54018   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54019 if test "x$ac_cv_func__sincosf" = x""yes; then :
54020   cat >>confdefs.h <<_ACEOF
54021 #define HAVE__SINCOSF 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027     fi
54028   fi
54029
54030
54031
54032
54033
54034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54035 $as_echo_n "checking for finitef declaration... " >&6; }
54036   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54037     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54038   $as_echo_n "(cached) " >&6
54039 else
54040
54041
54042       ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54047
54048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h.  */
54050 #include <math.h>
54051                       #ifdef HAVE_IEEEFP_H
54052                       #include <ieeefp.h>
54053                       #endif
54054
54055 int
54056 main ()
54057 {
54058  finitef(0);
54059   ;
54060   return 0;
54061 }
54062 _ACEOF
54063 if ac_fn_cxx_try_compile "$LINENO"; then :
54064   glibcxx_cv_func_finitef_use=yes
54065 else
54066   glibcxx_cv_func_finitef_use=no
54067 fi
54068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54069       ac_ext=c
54070 ac_cpp='$CPP $CPPFLAGS'
54071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54074
54075
54076 fi
54077
54078   fi
54079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54080 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54081
54082   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54083     for ac_func in finitef
54084 do :
54085   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54086 if test "x$ac_cv_func_finitef" = x""yes; then :
54087   cat >>confdefs.h <<_ACEOF
54088 #define HAVE_FINITEF 1
54089 _ACEOF
54090
54091 fi
54092 done
54093
54094   else
54095
54096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54097 $as_echo_n "checking for _finitef declaration... " >&6; }
54098   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54099     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54100   $as_echo_n "(cached) " >&6
54101 else
54102
54103
54104       ac_ext=cpp
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54109
54110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54111 /* end confdefs.h.  */
54112 #include <math.h>
54113                       #ifdef HAVE_IEEEFP_H
54114                       #include <ieeefp.h>
54115                       #endif
54116
54117 int
54118 main ()
54119 {
54120  _finitef(0);
54121   ;
54122   return 0;
54123 }
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126   glibcxx_cv_func__finitef_use=yes
54127 else
54128   glibcxx_cv_func__finitef_use=no
54129 fi
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131       ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136
54137
54138 fi
54139
54140   fi
54141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54142 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54143
54144     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54145       for ac_func in _finitef
54146 do :
54147   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54148 if test "x$ac_cv_func__finitef" = x""yes; then :
54149   cat >>confdefs.h <<_ACEOF
54150 #define HAVE__FINITEF 1
54151 _ACEOF
54152
54153 fi
54154 done
54155
54156     fi
54157   fi
54158
54159
54160
54161
54162
54163     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54164 $as_echo_n "checking for long double trig functions... " >&6; }
54165   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54166   $as_echo_n "(cached) " >&6
54167 else
54168
54169
54170     ac_ext=cpp
54171 ac_cpp='$CXXCPP $CPPFLAGS'
54172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54175
54176     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54177 /* end confdefs.h.  */
54178 #include <math.h>
54179 int
54180 main ()
54181 {
54182 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54183   ;
54184   return 0;
54185 }
54186 _ACEOF
54187 if ac_fn_cxx_try_compile "$LINENO"; then :
54188   glibcxx_cv_func_long_double_trig_use=yes
54189 else
54190   glibcxx_cv_func_long_double_trig_use=no
54191 fi
54192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54193     ac_ext=c
54194 ac_cpp='$CPP $CPPFLAGS'
54195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54198
54199 fi
54200
54201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54202 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54203   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54204     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54205 do :
54206   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54208 eval as_val=\$$as_ac_var
54209    if test "x$as_val" = x""yes; then :
54210   cat >>confdefs.h <<_ACEOF
54211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54212 _ACEOF
54213
54214 fi
54215 done
54216
54217   else
54218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54219 $as_echo_n "checking for _long double trig functions... " >&6; }
54220     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54221   $as_echo_n "(cached) " >&6
54222 else
54223
54224
54225       ac_ext=cpp
54226 ac_cpp='$CXXCPP $CPPFLAGS'
54227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54230
54231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54232 /* end confdefs.h.  */
54233 #include <math.h>
54234 int
54235 main ()
54236 {
54237 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54238   ;
54239   return 0;
54240 }
54241 _ACEOF
54242 if ac_fn_cxx_try_compile "$LINENO"; then :
54243   glibcxx_cv_func__long_double_trig_use=yes
54244 else
54245   glibcxx_cv_func__long_double_trig_use=no
54246 fi
54247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54248       ac_ext=c
54249 ac_cpp='$CPP $CPPFLAGS'
54250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54253
54254 fi
54255
54256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54257 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54258     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54259       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54260 do :
54261   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54263 eval as_val=\$$as_ac_var
54264    if test "x$as_val" = x""yes; then :
54265   cat >>confdefs.h <<_ACEOF
54266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54267 _ACEOF
54268
54269 fi
54270 done
54271
54272     fi
54273   fi
54274
54275
54276
54277
54278
54279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54280 $as_echo_n "checking for long double round functions... " >&6; }
54281   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54282   $as_echo_n "(cached) " >&6
54283 else
54284
54285
54286     ac_ext=cpp
54287 ac_cpp='$CXXCPP $CPPFLAGS'
54288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54291
54292     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54293 /* end confdefs.h.  */
54294 #include <math.h>
54295 int
54296 main ()
54297 {
54298 ceill (0); floorl (0);
54299   ;
54300   return 0;
54301 }
54302 _ACEOF
54303 if ac_fn_cxx_try_compile "$LINENO"; then :
54304   glibcxx_cv_func_long_double_round_use=yes
54305 else
54306   glibcxx_cv_func_long_double_round_use=no
54307 fi
54308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309     ac_ext=c
54310 ac_cpp='$CPP $CPPFLAGS'
54311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314
54315 fi
54316
54317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54318 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54319   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54320     for ac_func in ceill floorl
54321 do :
54322   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54324 eval as_val=\$$as_ac_var
54325    if test "x$as_val" = x""yes; then :
54326   cat >>confdefs.h <<_ACEOF
54327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54328 _ACEOF
54329
54330 fi
54331 done
54332
54333   else
54334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54335 $as_echo_n "checking for _long double round functions... " >&6; }
54336     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54337   $as_echo_n "(cached) " >&6
54338 else
54339
54340
54341       ac_ext=cpp
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54346
54347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54348 /* end confdefs.h.  */
54349 #include <math.h>
54350 int
54351 main ()
54352 {
54353 _ceill (0); _floorl (0);
54354   ;
54355   return 0;
54356 }
54357 _ACEOF
54358 if ac_fn_cxx_try_compile "$LINENO"; then :
54359   glibcxx_cv_func__long_double_round_use=yes
54360 else
54361   glibcxx_cv_func__long_double_round_use=no
54362 fi
54363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54364       ac_ext=c
54365 ac_cpp='$CPP $CPPFLAGS'
54366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54369
54370 fi
54371
54372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54373 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54374     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54375       for ac_func in _ceill _floorl
54376 do :
54377   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54379 eval as_val=\$$as_ac_var
54380    if test "x$as_val" = x""yes; then :
54381   cat >>confdefs.h <<_ACEOF
54382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54383 _ACEOF
54384
54385 fi
54386 done
54387
54388     fi
54389   fi
54390
54391
54392
54393
54394
54395
54396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54397 $as_echo_n "checking for isnanl declaration... " >&6; }
54398   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54399     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54400   $as_echo_n "(cached) " >&6
54401 else
54402
54403
54404       ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54409
54410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h.  */
54412 #include <math.h>
54413                       #ifdef HAVE_IEEEFP_H
54414                       #include <ieeefp.h>
54415                       #endif
54416
54417 int
54418 main ()
54419 {
54420  isnanl(0);
54421   ;
54422   return 0;
54423 }
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426   glibcxx_cv_func_isnanl_use=yes
54427 else
54428   glibcxx_cv_func_isnanl_use=no
54429 fi
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431       ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54436
54437
54438 fi
54439
54440   fi
54441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54442 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54443
54444   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54445     for ac_func in isnanl
54446 do :
54447   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54448 if test "x$ac_cv_func_isnanl" = x""yes; then :
54449   cat >>confdefs.h <<_ACEOF
54450 #define HAVE_ISNANL 1
54451 _ACEOF
54452
54453 fi
54454 done
54455
54456   else
54457
54458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54459 $as_echo_n "checking for _isnanl declaration... " >&6; }
54460   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54461     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54462   $as_echo_n "(cached) " >&6
54463 else
54464
54465
54466       ac_ext=cpp
54467 ac_cpp='$CXXCPP $CPPFLAGS'
54468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54471
54472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h.  */
54474 #include <math.h>
54475                       #ifdef HAVE_IEEEFP_H
54476                       #include <ieeefp.h>
54477                       #endif
54478
54479 int
54480 main ()
54481 {
54482  _isnanl(0);
54483   ;
54484   return 0;
54485 }
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488   glibcxx_cv_func__isnanl_use=yes
54489 else
54490   glibcxx_cv_func__isnanl_use=no
54491 fi
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493       ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54498
54499
54500 fi
54501
54502   fi
54503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54504 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54505
54506     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54507       for ac_func in _isnanl
54508 do :
54509   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54510 if test "x$ac_cv_func__isnanl" = x""yes; then :
54511   cat >>confdefs.h <<_ACEOF
54512 #define HAVE__ISNANL 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518     fi
54519   fi
54520
54521
54522
54523
54524
54525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54526 $as_echo_n "checking for isinfl declaration... " >&6; }
54527   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54528     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54529   $as_echo_n "(cached) " >&6
54530 else
54531
54532
54533       ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538
54539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h.  */
54541 #include <math.h>
54542                       #ifdef HAVE_IEEEFP_H
54543                       #include <ieeefp.h>
54544                       #endif
54545
54546 int
54547 main ()
54548 {
54549  isinfl(0);
54550   ;
54551   return 0;
54552 }
54553 _ACEOF
54554 if ac_fn_cxx_try_compile "$LINENO"; then :
54555   glibcxx_cv_func_isinfl_use=yes
54556 else
54557   glibcxx_cv_func_isinfl_use=no
54558 fi
54559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54560       ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54565
54566
54567 fi
54568
54569   fi
54570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54571 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54572
54573   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54574     for ac_func in isinfl
54575 do :
54576   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54577 if test "x$ac_cv_func_isinfl" = x""yes; then :
54578   cat >>confdefs.h <<_ACEOF
54579 #define HAVE_ISINFL 1
54580 _ACEOF
54581
54582 fi
54583 done
54584
54585   else
54586
54587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54588 $as_echo_n "checking for _isinfl declaration... " >&6; }
54589   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54590     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54591   $as_echo_n "(cached) " >&6
54592 else
54593
54594
54595       ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54600
54601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h.  */
54603 #include <math.h>
54604                       #ifdef HAVE_IEEEFP_H
54605                       #include <ieeefp.h>
54606                       #endif
54607
54608 int
54609 main ()
54610 {
54611  _isinfl(0);
54612   ;
54613   return 0;
54614 }
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617   glibcxx_cv_func__isinfl_use=yes
54618 else
54619   glibcxx_cv_func__isinfl_use=no
54620 fi
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622       ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54627
54628
54629 fi
54630
54631   fi
54632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54633 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54634
54635     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54636       for ac_func in _isinfl
54637 do :
54638   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54639 if test "x$ac_cv_func__isinfl" = x""yes; then :
54640   cat >>confdefs.h <<_ACEOF
54641 #define HAVE__ISINFL 1
54642 _ACEOF
54643
54644 fi
54645 done
54646
54647     fi
54648   fi
54649
54650
54651
54652
54653
54654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54655 $as_echo_n "checking for atan2l declaration... " >&6; }
54656   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54657     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54658   $as_echo_n "(cached) " >&6
54659 else
54660
54661
54662       ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54667
54668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h.  */
54670 #include <math.h>
54671 int
54672 main ()
54673 {
54674  atan2l(0, 0);
54675   ;
54676   return 0;
54677 }
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680   glibcxx_cv_func_atan2l_use=yes
54681 else
54682   glibcxx_cv_func_atan2l_use=no
54683 fi
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685       ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690
54691
54692 fi
54693
54694   fi
54695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54696 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54697
54698   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54699     for ac_func in atan2l
54700 do :
54701   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54702 if test "x$ac_cv_func_atan2l" = x""yes; then :
54703   cat >>confdefs.h <<_ACEOF
54704 #define HAVE_ATAN2L 1
54705 _ACEOF
54706
54707 fi
54708 done
54709
54710   else
54711
54712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54713 $as_echo_n "checking for _atan2l declaration... " >&6; }
54714   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54715     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54716   $as_echo_n "(cached) " >&6
54717 else
54718
54719
54720       ac_ext=cpp
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725
54726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h.  */
54728 #include <math.h>
54729 int
54730 main ()
54731 {
54732  _atan2l(0, 0);
54733   ;
54734   return 0;
54735 }
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738   glibcxx_cv_func__atan2l_use=yes
54739 else
54740   glibcxx_cv_func__atan2l_use=no
54741 fi
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743       ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54748
54749
54750 fi
54751
54752   fi
54753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54754 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54755
54756     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54757       for ac_func in _atan2l
54758 do :
54759   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54760 if test "x$ac_cv_func__atan2l" = x""yes; then :
54761   cat >>confdefs.h <<_ACEOF
54762 #define HAVE__ATAN2L 1
54763 _ACEOF
54764
54765 fi
54766 done
54767
54768     fi
54769   fi
54770
54771
54772
54773
54774
54775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54776 $as_echo_n "checking for expl declaration... " >&6; }
54777   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54778     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54779   $as_echo_n "(cached) " >&6
54780 else
54781
54782
54783       ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54788
54789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h.  */
54791 #include <math.h>
54792                       #ifdef HAVE_IEEEFP_H
54793                       #include <ieeefp.h>
54794                       #endif
54795
54796 int
54797 main ()
54798 {
54799  expl(0);
54800   ;
54801   return 0;
54802 }
54803 _ACEOF
54804 if ac_fn_cxx_try_compile "$LINENO"; then :
54805   glibcxx_cv_func_expl_use=yes
54806 else
54807   glibcxx_cv_func_expl_use=no
54808 fi
54809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54810       ac_ext=c
54811 ac_cpp='$CPP $CPPFLAGS'
54812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54815
54816
54817 fi
54818
54819   fi
54820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54821 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54822
54823   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54824     for ac_func in expl
54825 do :
54826   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54827 if test "x$ac_cv_func_expl" = x""yes; then :
54828   cat >>confdefs.h <<_ACEOF
54829 #define HAVE_EXPL 1
54830 _ACEOF
54831
54832 fi
54833 done
54834
54835   else
54836
54837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54838 $as_echo_n "checking for _expl declaration... " >&6; }
54839   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54840     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54841   $as_echo_n "(cached) " >&6
54842 else
54843
54844
54845       ac_ext=cpp
54846 ac_cpp='$CXXCPP $CPPFLAGS'
54847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54850
54851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54852 /* end confdefs.h.  */
54853 #include <math.h>
54854                       #ifdef HAVE_IEEEFP_H
54855                       #include <ieeefp.h>
54856                       #endif
54857
54858 int
54859 main ()
54860 {
54861  _expl(0);
54862   ;
54863   return 0;
54864 }
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867   glibcxx_cv_func__expl_use=yes
54868 else
54869   glibcxx_cv_func__expl_use=no
54870 fi
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872       ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878
54879 fi
54880
54881   fi
54882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54883 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54884
54885     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54886       for ac_func in _expl
54887 do :
54888   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54889 if test "x$ac_cv_func__expl" = x""yes; then :
54890   cat >>confdefs.h <<_ACEOF
54891 #define HAVE__EXPL 1
54892 _ACEOF
54893
54894 fi
54895 done
54896
54897     fi
54898   fi
54899
54900
54901
54902
54903
54904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54905 $as_echo_n "checking for fabsl declaration... " >&6; }
54906   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54907     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54908   $as_echo_n "(cached) " >&6
54909 else
54910
54911
54912       ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54917
54918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h.  */
54920 #include <math.h>
54921                       #ifdef HAVE_IEEEFP_H
54922                       #include <ieeefp.h>
54923                       #endif
54924
54925 int
54926 main ()
54927 {
54928  fabsl(0);
54929   ;
54930   return 0;
54931 }
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934   glibcxx_cv_func_fabsl_use=yes
54935 else
54936   glibcxx_cv_func_fabsl_use=no
54937 fi
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939       ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54944
54945
54946 fi
54947
54948   fi
54949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54950 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54951
54952   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54953     for ac_func in fabsl
54954 do :
54955   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54956 if test "x$ac_cv_func_fabsl" = x""yes; then :
54957   cat >>confdefs.h <<_ACEOF
54958 #define HAVE_FABSL 1
54959 _ACEOF
54960
54961 fi
54962 done
54963
54964   else
54965
54966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54967 $as_echo_n "checking for _fabsl declaration... " >&6; }
54968   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54969     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54970   $as_echo_n "(cached) " >&6
54971 else
54972
54973
54974       ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h.  */
54982 #include <math.h>
54983                       #ifdef HAVE_IEEEFP_H
54984                       #include <ieeefp.h>
54985                       #endif
54986
54987 int
54988 main ()
54989 {
54990  _fabsl(0);
54991   ;
54992   return 0;
54993 }
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996   glibcxx_cv_func__fabsl_use=yes
54997 else
54998   glibcxx_cv_func__fabsl_use=no
54999 fi
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001       ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006
55007
55008 fi
55009
55010   fi
55011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55012 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55013
55014     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55015       for ac_func in _fabsl
55016 do :
55017   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55018 if test "x$ac_cv_func__fabsl" = x""yes; then :
55019   cat >>confdefs.h <<_ACEOF
55020 #define HAVE__FABSL 1
55021 _ACEOF
55022
55023 fi
55024 done
55025
55026     fi
55027   fi
55028
55029
55030
55031
55032
55033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55034 $as_echo_n "checking for fmodl declaration... " >&6; }
55035   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55036     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55037   $as_echo_n "(cached) " >&6
55038 else
55039
55040
55041       ac_ext=cpp
55042 ac_cpp='$CXXCPP $CPPFLAGS'
55043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046
55047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55048 /* end confdefs.h.  */
55049 #include <math.h>
55050 int
55051 main ()
55052 {
55053  fmodl(0, 0);
55054   ;
55055   return 0;
55056 }
55057 _ACEOF
55058 if ac_fn_cxx_try_compile "$LINENO"; then :
55059   glibcxx_cv_func_fmodl_use=yes
55060 else
55061   glibcxx_cv_func_fmodl_use=no
55062 fi
55063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55064       ac_ext=c
55065 ac_cpp='$CPP $CPPFLAGS'
55066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55069
55070
55071 fi
55072
55073   fi
55074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55075 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55076
55077   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55078     for ac_func in fmodl
55079 do :
55080   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55081 if test "x$ac_cv_func_fmodl" = x""yes; then :
55082   cat >>confdefs.h <<_ACEOF
55083 #define HAVE_FMODL 1
55084 _ACEOF
55085
55086 fi
55087 done
55088
55089   else
55090
55091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55092 $as_echo_n "checking for _fmodl declaration... " >&6; }
55093   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55094     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55095   $as_echo_n "(cached) " >&6
55096 else
55097
55098
55099       ac_ext=cpp
55100 ac_cpp='$CXXCPP $CPPFLAGS'
55101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55104
55105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106 /* end confdefs.h.  */
55107 #include <math.h>
55108 int
55109 main ()
55110 {
55111  _fmodl(0, 0);
55112   ;
55113   return 0;
55114 }
55115 _ACEOF
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117   glibcxx_cv_func__fmodl_use=yes
55118 else
55119   glibcxx_cv_func__fmodl_use=no
55120 fi
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122       ac_ext=c
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55127
55128
55129 fi
55130
55131   fi
55132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55133 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55134
55135     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55136       for ac_func in _fmodl
55137 do :
55138   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55139 if test "x$ac_cv_func__fmodl" = x""yes; then :
55140   cat >>confdefs.h <<_ACEOF
55141 #define HAVE__FMODL 1
55142 _ACEOF
55143
55144 fi
55145 done
55146
55147     fi
55148   fi
55149
55150
55151
55152
55153
55154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55155 $as_echo_n "checking for frexpl declaration... " >&6; }
55156   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55157     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55158   $as_echo_n "(cached) " >&6
55159 else
55160
55161
55162       ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55167
55168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h.  */
55170 #include <math.h>
55171 int
55172 main ()
55173 {
55174  frexpl(0, 0);
55175   ;
55176   return 0;
55177 }
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180   glibcxx_cv_func_frexpl_use=yes
55181 else
55182   glibcxx_cv_func_frexpl_use=no
55183 fi
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185       ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190
55191
55192 fi
55193
55194   fi
55195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55196 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55197
55198   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55199     for ac_func in frexpl
55200 do :
55201   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55202 if test "x$ac_cv_func_frexpl" = x""yes; then :
55203   cat >>confdefs.h <<_ACEOF
55204 #define HAVE_FREXPL 1
55205 _ACEOF
55206
55207 fi
55208 done
55209
55210   else
55211
55212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55213 $as_echo_n "checking for _frexpl declaration... " >&6; }
55214   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55215     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55216   $as_echo_n "(cached) " >&6
55217 else
55218
55219
55220       ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225
55226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h.  */
55228 #include <math.h>
55229 int
55230 main ()
55231 {
55232  _frexpl(0, 0);
55233   ;
55234   return 0;
55235 }
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238   glibcxx_cv_func__frexpl_use=yes
55239 else
55240   glibcxx_cv_func__frexpl_use=no
55241 fi
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243       ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55248
55249
55250 fi
55251
55252   fi
55253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55254 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55255
55256     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55257       for ac_func in _frexpl
55258 do :
55259   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55260 if test "x$ac_cv_func__frexpl" = x""yes; then :
55261   cat >>confdefs.h <<_ACEOF
55262 #define HAVE__FREXPL 1
55263 _ACEOF
55264
55265 fi
55266 done
55267
55268     fi
55269   fi
55270
55271
55272
55273
55274
55275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55276 $as_echo_n "checking for hypotl declaration... " >&6; }
55277   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55278     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55279   $as_echo_n "(cached) " >&6
55280 else
55281
55282
55283       ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288
55289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h.  */
55291 #include <math.h>
55292 int
55293 main ()
55294 {
55295  hypotl(0, 0);
55296   ;
55297   return 0;
55298 }
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301   glibcxx_cv_func_hypotl_use=yes
55302 else
55303   glibcxx_cv_func_hypotl_use=no
55304 fi
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306       ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311
55312
55313 fi
55314
55315   fi
55316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55317 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55318
55319   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55320     for ac_func in hypotl
55321 do :
55322   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55323 if test "x$ac_cv_func_hypotl" = x""yes; then :
55324   cat >>confdefs.h <<_ACEOF
55325 #define HAVE_HYPOTL 1
55326 _ACEOF
55327
55328 fi
55329 done
55330
55331   else
55332
55333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55334 $as_echo_n "checking for _hypotl declaration... " >&6; }
55335   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55336     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55337   $as_echo_n "(cached) " >&6
55338 else
55339
55340
55341       ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55346
55347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h.  */
55349 #include <math.h>
55350 int
55351 main ()
55352 {
55353  _hypotl(0, 0);
55354   ;
55355   return 0;
55356 }
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359   glibcxx_cv_func__hypotl_use=yes
55360 else
55361   glibcxx_cv_func__hypotl_use=no
55362 fi
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364       ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55369
55370
55371 fi
55372
55373   fi
55374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55375 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55376
55377     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55378       for ac_func in _hypotl
55379 do :
55380   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55381 if test "x$ac_cv_func__hypotl" = x""yes; then :
55382   cat >>confdefs.h <<_ACEOF
55383 #define HAVE__HYPOTL 1
55384 _ACEOF
55385
55386 fi
55387 done
55388
55389     fi
55390   fi
55391
55392
55393
55394
55395
55396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55397 $as_echo_n "checking for ldexpl declaration... " >&6; }
55398   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55399     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55400   $as_echo_n "(cached) " >&6
55401 else
55402
55403
55404       ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409
55410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h.  */
55412 #include <math.h>
55413 int
55414 main ()
55415 {
55416  ldexpl(0, 0);
55417   ;
55418   return 0;
55419 }
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422   glibcxx_cv_func_ldexpl_use=yes
55423 else
55424   glibcxx_cv_func_ldexpl_use=no
55425 fi
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427       ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432
55433
55434 fi
55435
55436   fi
55437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55438 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55439
55440   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55441     for ac_func in ldexpl
55442 do :
55443   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55444 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55445   cat >>confdefs.h <<_ACEOF
55446 #define HAVE_LDEXPL 1
55447 _ACEOF
55448
55449 fi
55450 done
55451
55452   else
55453
55454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55455 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55456   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55457     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55458   $as_echo_n "(cached) " >&6
55459 else
55460
55461
55462       ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467
55468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h.  */
55470 #include <math.h>
55471 int
55472 main ()
55473 {
55474  _ldexpl(0, 0);
55475   ;
55476   return 0;
55477 }
55478 _ACEOF
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480   glibcxx_cv_func__ldexpl_use=yes
55481 else
55482   glibcxx_cv_func__ldexpl_use=no
55483 fi
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485       ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55490
55491
55492 fi
55493
55494   fi
55495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55496 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55497
55498     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55499       for ac_func in _ldexpl
55500 do :
55501   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55502 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55503   cat >>confdefs.h <<_ACEOF
55504 #define HAVE__LDEXPL 1
55505 _ACEOF
55506
55507 fi
55508 done
55509
55510     fi
55511   fi
55512
55513
55514
55515
55516
55517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55518 $as_echo_n "checking for logl declaration... " >&6; }
55519   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55520     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55521   $as_echo_n "(cached) " >&6
55522 else
55523
55524
55525       ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55530
55531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h.  */
55533 #include <math.h>
55534                       #ifdef HAVE_IEEEFP_H
55535                       #include <ieeefp.h>
55536                       #endif
55537
55538 int
55539 main ()
55540 {
55541  logl(0);
55542   ;
55543   return 0;
55544 }
55545 _ACEOF
55546 if ac_fn_cxx_try_compile "$LINENO"; then :
55547   glibcxx_cv_func_logl_use=yes
55548 else
55549   glibcxx_cv_func_logl_use=no
55550 fi
55551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55552       ac_ext=c
55553 ac_cpp='$CPP $CPPFLAGS'
55554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55557
55558
55559 fi
55560
55561   fi
55562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55563 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55564
55565   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55566     for ac_func in logl
55567 do :
55568   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55569 if test "x$ac_cv_func_logl" = x""yes; then :
55570   cat >>confdefs.h <<_ACEOF
55571 #define HAVE_LOGL 1
55572 _ACEOF
55573
55574 fi
55575 done
55576
55577   else
55578
55579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55580 $as_echo_n "checking for _logl declaration... " >&6; }
55581   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55582     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55583   $as_echo_n "(cached) " >&6
55584 else
55585
55586
55587       ac_ext=cpp
55588 ac_cpp='$CXXCPP $CPPFLAGS'
55589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592
55593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55594 /* end confdefs.h.  */
55595 #include <math.h>
55596                       #ifdef HAVE_IEEEFP_H
55597                       #include <ieeefp.h>
55598                       #endif
55599
55600 int
55601 main ()
55602 {
55603  _logl(0);
55604   ;
55605   return 0;
55606 }
55607 _ACEOF
55608 if ac_fn_cxx_try_compile "$LINENO"; then :
55609   glibcxx_cv_func__logl_use=yes
55610 else
55611   glibcxx_cv_func__logl_use=no
55612 fi
55613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55614       ac_ext=c
55615 ac_cpp='$CPP $CPPFLAGS'
55616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55619
55620
55621 fi
55622
55623   fi
55624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55625 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55626
55627     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55628       for ac_func in _logl
55629 do :
55630   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55631 if test "x$ac_cv_func__logl" = x""yes; then :
55632   cat >>confdefs.h <<_ACEOF
55633 #define HAVE__LOGL 1
55634 _ACEOF
55635
55636 fi
55637 done
55638
55639     fi
55640   fi
55641
55642
55643
55644
55645
55646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55647 $as_echo_n "checking for log10l declaration... " >&6; }
55648   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55649     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55650   $as_echo_n "(cached) " >&6
55651 else
55652
55653
55654       ac_ext=cpp
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659
55660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55661 /* end confdefs.h.  */
55662 #include <math.h>
55663                       #ifdef HAVE_IEEEFP_H
55664                       #include <ieeefp.h>
55665                       #endif
55666
55667 int
55668 main ()
55669 {
55670  log10l(0);
55671   ;
55672   return 0;
55673 }
55674 _ACEOF
55675 if ac_fn_cxx_try_compile "$LINENO"; then :
55676   glibcxx_cv_func_log10l_use=yes
55677 else
55678   glibcxx_cv_func_log10l_use=no
55679 fi
55680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55681       ac_ext=c
55682 ac_cpp='$CPP $CPPFLAGS'
55683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55686
55687
55688 fi
55689
55690   fi
55691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55692 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55693
55694   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55695     for ac_func in log10l
55696 do :
55697   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55698 if test "x$ac_cv_func_log10l" = x""yes; then :
55699   cat >>confdefs.h <<_ACEOF
55700 #define HAVE_LOG10L 1
55701 _ACEOF
55702
55703 fi
55704 done
55705
55706   else
55707
55708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55709 $as_echo_n "checking for _log10l declaration... " >&6; }
55710   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55711     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55712   $as_echo_n "(cached) " >&6
55713 else
55714
55715
55716       ac_ext=cpp
55717 ac_cpp='$CXXCPP $CPPFLAGS'
55718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55721
55722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55723 /* end confdefs.h.  */
55724 #include <math.h>
55725                       #ifdef HAVE_IEEEFP_H
55726                       #include <ieeefp.h>
55727                       #endif
55728
55729 int
55730 main ()
55731 {
55732  _log10l(0);
55733   ;
55734   return 0;
55735 }
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738   glibcxx_cv_func__log10l_use=yes
55739 else
55740   glibcxx_cv_func__log10l_use=no
55741 fi
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743       ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748
55749
55750 fi
55751
55752   fi
55753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55754 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55755
55756     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55757       for ac_func in _log10l
55758 do :
55759   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55760 if test "x$ac_cv_func__log10l" = x""yes; then :
55761   cat >>confdefs.h <<_ACEOF
55762 #define HAVE__LOG10L 1
55763 _ACEOF
55764
55765 fi
55766 done
55767
55768     fi
55769   fi
55770
55771
55772
55773
55774
55775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55776 $as_echo_n "checking for modfl declaration... " >&6; }
55777   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55778     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55779   $as_echo_n "(cached) " >&6
55780 else
55781
55782
55783       ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788
55789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h.  */
55791 #include <math.h>
55792 int
55793 main ()
55794 {
55795  modfl(0, 0);
55796   ;
55797   return 0;
55798 }
55799 _ACEOF
55800 if ac_fn_cxx_try_compile "$LINENO"; then :
55801   glibcxx_cv_func_modfl_use=yes
55802 else
55803   glibcxx_cv_func_modfl_use=no
55804 fi
55805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55806       ac_ext=c
55807 ac_cpp='$CPP $CPPFLAGS'
55808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55811
55812
55813 fi
55814
55815   fi
55816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55817 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55818
55819   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55820     for ac_func in modfl
55821 do :
55822   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55823 if test "x$ac_cv_func_modfl" = x""yes; then :
55824   cat >>confdefs.h <<_ACEOF
55825 #define HAVE_MODFL 1
55826 _ACEOF
55827
55828 fi
55829 done
55830
55831   else
55832
55833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55834 $as_echo_n "checking for _modfl declaration... " >&6; }
55835   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55836     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55837   $as_echo_n "(cached) " >&6
55838 else
55839
55840
55841       ac_ext=cpp
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55846
55847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h.  */
55849 #include <math.h>
55850 int
55851 main ()
55852 {
55853  _modfl(0, 0);
55854   ;
55855   return 0;
55856 }
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859   glibcxx_cv_func__modfl_use=yes
55860 else
55861   glibcxx_cv_func__modfl_use=no
55862 fi
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864       ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55869
55870
55871 fi
55872
55873   fi
55874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55875 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55876
55877     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55878       for ac_func in _modfl
55879 do :
55880   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55881 if test "x$ac_cv_func__modfl" = x""yes; then :
55882   cat >>confdefs.h <<_ACEOF
55883 #define HAVE__MODFL 1
55884 _ACEOF
55885
55886 fi
55887 done
55888
55889     fi
55890   fi
55891
55892
55893
55894
55895
55896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55897 $as_echo_n "checking for powl declaration... " >&6; }
55898   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55899     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55900   $as_echo_n "(cached) " >&6
55901 else
55902
55903
55904       ac_ext=cpp
55905 ac_cpp='$CXXCPP $CPPFLAGS'
55906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55909
55910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55911 /* end confdefs.h.  */
55912 #include <math.h>
55913 int
55914 main ()
55915 {
55916  powl(0, 0);
55917   ;
55918   return 0;
55919 }
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922   glibcxx_cv_func_powl_use=yes
55923 else
55924   glibcxx_cv_func_powl_use=no
55925 fi
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927       ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932
55933
55934 fi
55935
55936   fi
55937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55938 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55939
55940   if test x$glibcxx_cv_func_powl_use = x"yes"; then
55941     for ac_func in powl
55942 do :
55943   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55944 if test "x$ac_cv_func_powl" = x""yes; then :
55945   cat >>confdefs.h <<_ACEOF
55946 #define HAVE_POWL 1
55947 _ACEOF
55948
55949 fi
55950 done
55951
55952   else
55953
55954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55955 $as_echo_n "checking for _powl declaration... " >&6; }
55956   if test x${glibcxx_cv_func__powl_use+set} != xset; then
55957     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55958   $as_echo_n "(cached) " >&6
55959 else
55960
55961
55962       ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55967
55968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h.  */
55970 #include <math.h>
55971 int
55972 main ()
55973 {
55974  _powl(0, 0);
55975   ;
55976   return 0;
55977 }
55978 _ACEOF
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980   glibcxx_cv_func__powl_use=yes
55981 else
55982   glibcxx_cv_func__powl_use=no
55983 fi
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55985       ac_ext=c
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55990
55991
55992 fi
55993
55994   fi
55995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55996 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55997
55998     if test x$glibcxx_cv_func__powl_use = x"yes"; then
55999       for ac_func in _powl
56000 do :
56001   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56002 if test "x$ac_cv_func__powl" = x""yes; then :
56003   cat >>confdefs.h <<_ACEOF
56004 #define HAVE__POWL 1
56005 _ACEOF
56006
56007 fi
56008 done
56009
56010     fi
56011   fi
56012
56013
56014
56015
56016
56017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56018 $as_echo_n "checking for sqrtl declaration... " >&6; }
56019   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56020     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56021   $as_echo_n "(cached) " >&6
56022 else
56023
56024
56025       ac_ext=cpp
56026 ac_cpp='$CXXCPP $CPPFLAGS'
56027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56030
56031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56032 /* end confdefs.h.  */
56033 #include <math.h>
56034                       #ifdef HAVE_IEEEFP_H
56035                       #include <ieeefp.h>
56036                       #endif
56037
56038 int
56039 main ()
56040 {
56041  sqrtl(0);
56042   ;
56043   return 0;
56044 }
56045 _ACEOF
56046 if ac_fn_cxx_try_compile "$LINENO"; then :
56047   glibcxx_cv_func_sqrtl_use=yes
56048 else
56049   glibcxx_cv_func_sqrtl_use=no
56050 fi
56051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56052       ac_ext=c
56053 ac_cpp='$CPP $CPPFLAGS'
56054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56057
56058
56059 fi
56060
56061   fi
56062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56063 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56064
56065   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56066     for ac_func in sqrtl
56067 do :
56068   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56069 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56070   cat >>confdefs.h <<_ACEOF
56071 #define HAVE_SQRTL 1
56072 _ACEOF
56073
56074 fi
56075 done
56076
56077   else
56078
56079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56080 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56081   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56082     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56083   $as_echo_n "(cached) " >&6
56084 else
56085
56086
56087       ac_ext=cpp
56088 ac_cpp='$CXXCPP $CPPFLAGS'
56089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56092
56093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56094 /* end confdefs.h.  */
56095 #include <math.h>
56096                       #ifdef HAVE_IEEEFP_H
56097                       #include <ieeefp.h>
56098                       #endif
56099
56100 int
56101 main ()
56102 {
56103  _sqrtl(0);
56104   ;
56105   return 0;
56106 }
56107 _ACEOF
56108 if ac_fn_cxx_try_compile "$LINENO"; then :
56109   glibcxx_cv_func__sqrtl_use=yes
56110 else
56111   glibcxx_cv_func__sqrtl_use=no
56112 fi
56113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114       ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120
56121 fi
56122
56123   fi
56124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56125 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56126
56127     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56128       for ac_func in _sqrtl
56129 do :
56130   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56131 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56132   cat >>confdefs.h <<_ACEOF
56133 #define HAVE__SQRTL 1
56134 _ACEOF
56135
56136 fi
56137 done
56138
56139     fi
56140   fi
56141
56142
56143
56144
56145
56146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56147 $as_echo_n "checking for sincosl declaration... " >&6; }
56148   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56149     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56150   $as_echo_n "(cached) " >&6
56151 else
56152
56153
56154       ac_ext=cpp
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159
56160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56161 /* end confdefs.h.  */
56162 #include <math.h>
56163 int
56164 main ()
56165 {
56166  sincosl(0, 0, 0);
56167   ;
56168   return 0;
56169 }
56170 _ACEOF
56171 if ac_fn_cxx_try_compile "$LINENO"; then :
56172   glibcxx_cv_func_sincosl_use=yes
56173 else
56174   glibcxx_cv_func_sincosl_use=no
56175 fi
56176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56177       ac_ext=c
56178 ac_cpp='$CPP $CPPFLAGS'
56179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182
56183
56184 fi
56185
56186   fi
56187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56188 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56189
56190   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56191     for ac_func in sincosl
56192 do :
56193   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56194 if test "x$ac_cv_func_sincosl" = x""yes; then :
56195   cat >>confdefs.h <<_ACEOF
56196 #define HAVE_SINCOSL 1
56197 _ACEOF
56198
56199 fi
56200 done
56201
56202   else
56203
56204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56205 $as_echo_n "checking for _sincosl declaration... " >&6; }
56206   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56207     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56208   $as_echo_n "(cached) " >&6
56209 else
56210
56211
56212       ac_ext=cpp
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217
56218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h.  */
56220 #include <math.h>
56221 int
56222 main ()
56223 {
56224  _sincosl(0, 0, 0);
56225   ;
56226   return 0;
56227 }
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230   glibcxx_cv_func__sincosl_use=yes
56231 else
56232   glibcxx_cv_func__sincosl_use=no
56233 fi
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235       ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242 fi
56243
56244   fi
56245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56246 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56247
56248     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56249       for ac_func in _sincosl
56250 do :
56251   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56252 if test "x$ac_cv_func__sincosl" = x""yes; then :
56253   cat >>confdefs.h <<_ACEOF
56254 #define HAVE__SINCOSL 1
56255 _ACEOF
56256
56257 fi
56258 done
56259
56260     fi
56261   fi
56262
56263
56264
56265
56266
56267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56268 $as_echo_n "checking for finitel declaration... " >&6; }
56269   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56270     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56271   $as_echo_n "(cached) " >&6
56272 else
56273
56274
56275       ac_ext=cpp
56276 ac_cpp='$CXXCPP $CPPFLAGS'
56277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280
56281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56282 /* end confdefs.h.  */
56283 #include <math.h>
56284                       #ifdef HAVE_IEEEFP_H
56285                       #include <ieeefp.h>
56286                       #endif
56287
56288 int
56289 main ()
56290 {
56291  finitel(0);
56292   ;
56293   return 0;
56294 }
56295 _ACEOF
56296 if ac_fn_cxx_try_compile "$LINENO"; then :
56297   glibcxx_cv_func_finitel_use=yes
56298 else
56299   glibcxx_cv_func_finitel_use=no
56300 fi
56301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56302       ac_ext=c
56303 ac_cpp='$CPP $CPPFLAGS'
56304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56307
56308
56309 fi
56310
56311   fi
56312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56313 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56314
56315   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56316     for ac_func in finitel
56317 do :
56318   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56319 if test "x$ac_cv_func_finitel" = x""yes; then :
56320   cat >>confdefs.h <<_ACEOF
56321 #define HAVE_FINITEL 1
56322 _ACEOF
56323
56324 fi
56325 done
56326
56327   else
56328
56329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56330 $as_echo_n "checking for _finitel declaration... " >&6; }
56331   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56332     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56333   $as_echo_n "(cached) " >&6
56334 else
56335
56336
56337       ac_ext=cpp
56338 ac_cpp='$CXXCPP $CPPFLAGS'
56339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342
56343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56344 /* end confdefs.h.  */
56345 #include <math.h>
56346                       #ifdef HAVE_IEEEFP_H
56347                       #include <ieeefp.h>
56348                       #endif
56349
56350 int
56351 main ()
56352 {
56353  _finitel(0);
56354   ;
56355   return 0;
56356 }
56357 _ACEOF
56358 if ac_fn_cxx_try_compile "$LINENO"; then :
56359   glibcxx_cv_func__finitel_use=yes
56360 else
56361   glibcxx_cv_func__finitel_use=no
56362 fi
56363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56364       ac_ext=c
56365 ac_cpp='$CPP $CPPFLAGS'
56366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56369
56370
56371 fi
56372
56373   fi
56374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56375 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56376
56377     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56378       for ac_func in _finitel
56379 do :
56380   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56381 if test "x$ac_cv_func__finitel" = x""yes; then :
56382   cat >>confdefs.h <<_ACEOF
56383 #define HAVE__FINITEL 1
56384 _ACEOF
56385
56386 fi
56387 done
56388
56389     fi
56390   fi
56391
56392
56393
56394
56395   LIBS="$ac_save_LIBS"
56396   CXXFLAGS="$ac_save_CXXFLAGS"
56397
56398
56399   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56400   ac_save_CXXFLAGS="$CXXFLAGS"
56401   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56402
56403
56404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56405 $as_echo_n "checking for strtold declaration... " >&6; }
56406   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56407     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56408   $as_echo_n "(cached) " >&6
56409 else
56410
56411
56412       ac_ext=cpp
56413 ac_cpp='$CXXCPP $CPPFLAGS'
56414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56417
56418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56419 /* end confdefs.h.  */
56420 #include <stdlib.h>
56421 int
56422 main ()
56423 {
56424  strtold(0, 0);
56425   ;
56426   return 0;
56427 }
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430   glibcxx_cv_func_strtold_use=yes
56431 else
56432   glibcxx_cv_func_strtold_use=no
56433 fi
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435       ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56440
56441
56442 fi
56443
56444   fi
56445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56446 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56447   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56448     for ac_func in strtold
56449 do :
56450   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56451 if test "x$ac_cv_func_strtold" = x""yes; then :
56452   cat >>confdefs.h <<_ACEOF
56453 #define HAVE_STRTOLD 1
56454 _ACEOF
56455
56456 fi
56457 done
56458
56459   fi
56460
56461
56462
56463
56464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56465 $as_echo_n "checking for strtof declaration... " >&6; }
56466   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56467     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56468   $as_echo_n "(cached) " >&6
56469 else
56470
56471
56472       ac_ext=cpp
56473 ac_cpp='$CXXCPP $CPPFLAGS'
56474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56477
56478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56479 /* end confdefs.h.  */
56480 #include <stdlib.h>
56481 int
56482 main ()
56483 {
56484  strtof(0, 0);
56485   ;
56486   return 0;
56487 }
56488 _ACEOF
56489 if ac_fn_cxx_try_compile "$LINENO"; then :
56490   glibcxx_cv_func_strtof_use=yes
56491 else
56492   glibcxx_cv_func_strtof_use=no
56493 fi
56494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56495       ac_ext=c
56496 ac_cpp='$CPP $CPPFLAGS'
56497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56500
56501
56502 fi
56503
56504   fi
56505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56506 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56507   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56508     for ac_func in strtof
56509 do :
56510   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56511 if test "x$ac_cv_func_strtof" = x""yes; then :
56512   cat >>confdefs.h <<_ACEOF
56513 #define HAVE_STRTOF 1
56514 _ACEOF
56515
56516 fi
56517 done
56518
56519   fi
56520
56521
56522
56523
56524   CXXFLAGS="$ac_save_CXXFLAGS"
56525
56526     ;;
56527   *-netbsd*)
56528     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56529
56530
56531   # If we're not using GNU ld, then there's no point in even trying these
56532   # tests.  Check for that first.  We should have already tested for gld
56533   # by now (in libtool), but require it now just to be safe...
56534   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56535   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56536
56537
56538
56539   # The name set by libtool depends on the version of libtool.  Shame on us
56540   # for depending on an impl detail, but c'est la vie.  Older versions used
56541   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56542   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56543   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56544   # set (hence we're using an older libtool), then set it.
56545   if test x${with_gnu_ld+set} != xset; then
56546     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56547       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56548       with_gnu_ld=no
56549     else
56550       with_gnu_ld=$ac_cv_prog_gnu_ld
56551     fi
56552   fi
56553
56554   # Start by getting the version number.  I think the libtool test already
56555   # does some of this, but throws away the result.
56556   glibcxx_ld_is_gold=no
56557   if test x"$with_gnu_ld" = x"yes"; then
56558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56559 $as_echo_n "checking for ld version... " >&6; }
56560
56561     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56562       glibcxx_ld_is_gold=yes
56563     fi
56564     ldver=`$LD --version 2>/dev/null |
56565            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56566
56567     glibcxx_gnu_ld_version=`echo $ldver | \
56568            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56570 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56571   fi
56572
56573   # Set --gc-sections.
56574   glibcxx_have_gc_sections=no
56575   if test "$glibcxx_ld_is_gold" = "yes"; then
56576     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56577       glibcxx_have_gc_sections=yes
56578     fi
56579   else
56580     glibcxx_gcsections_min_ld=21602
56581     if test x"$with_gnu_ld" = x"yes" &&
56582         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56583       glibcxx_have_gc_sections=yes
56584     fi
56585   fi
56586   if test "$glibcxx_have_gc_sections" = "yes"; then
56587     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56588     # NB: This flag only works reliably after 2.16.1. Configure tests
56589     # for this are difficult, so hard wire a value that should work.
56590
56591     ac_test_CFLAGS="${CFLAGS+set}"
56592     ac_save_CFLAGS="$CFLAGS"
56593     CFLAGS='-Wl,--gc-sections'
56594
56595     # Check for -Wl,--gc-sections
56596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56597 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56598     if test x$gcc_no_link = xyes; then
56599   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56600 fi
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h.  */
56603  int one(void) { return 1; }
56604      int two(void) { return 2; }
56605
56606 int
56607 main ()
56608 {
56609  two();
56610   ;
56611   return 0;
56612 }
56613 _ACEOF
56614 if ac_fn_c_try_link "$LINENO"; then :
56615   ac_gcsections=yes
56616 else
56617   ac_gcsections=no
56618 fi
56619 rm -f core conftest.err conftest.$ac_objext \
56620     conftest$ac_exeext conftest.$ac_ext
56621     if test "$ac_gcsections" = "yes"; then
56622       rm -f conftest.c
56623       touch conftest.c
56624       if $CC -c conftest.c; then
56625         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56626            grep "Warning: gc-sections option ignored" > /dev/null; then
56627           ac_gcsections=no
56628         fi
56629       fi
56630       rm -f conftest.c conftest.o conftest
56631     fi
56632     if test "$ac_gcsections" = "yes"; then
56633       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56634     fi
56635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56636 $as_echo "$ac_gcsections" >&6; }
56637
56638     if test "$ac_test_CFLAGS" = set; then
56639       CFLAGS="$ac_save_CFLAGS"
56640     else
56641       # this is the suspicious part
56642       CFLAGS=''
56643     fi
56644   fi
56645
56646   # Set -z,relro.
56647   # Note this is only for shared objects.
56648   ac_ld_relro=no
56649   if test x"$with_gnu_ld" = x"yes"; then
56650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56651 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56652     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56653     if test -n "$cxx_z_relo"; then
56654       OPT_LDFLAGS="-Wl,-z,relro"
56655       ac_ld_relro=yes
56656     fi
56657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56658 $as_echo "$ac_ld_relro" >&6; }
56659   fi
56660
56661   # Set linker optimization flags.
56662   if test x"$with_gnu_ld" = x"yes"; then
56663     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56664   fi
56665
56666
56667
56668
56669     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56670
56671     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56672
56673     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56674
56675     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56676
56677     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56678
56679     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56680
56681     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56682
56683     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56684
56685     if test x"long_double_math_on_this_cpu" = x"yes"; then
56686       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56687
56688       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56689
56690       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56691
56692     fi
56693     ;;
56694   *-netware)
56695     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56696
56697
56698   # If we're not using GNU ld, then there's no point in even trying these
56699   # tests.  Check for that first.  We should have already tested for gld
56700   # by now (in libtool), but require it now just to be safe...
56701   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56702   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56703
56704
56705
56706   # The name set by libtool depends on the version of libtool.  Shame on us
56707   # for depending on an impl detail, but c'est la vie.  Older versions used
56708   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56709   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56710   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56711   # set (hence we're using an older libtool), then set it.
56712   if test x${with_gnu_ld+set} != xset; then
56713     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56714       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56715       with_gnu_ld=no
56716     else
56717       with_gnu_ld=$ac_cv_prog_gnu_ld
56718     fi
56719   fi
56720
56721   # Start by getting the version number.  I think the libtool test already
56722   # does some of this, but throws away the result.
56723   glibcxx_ld_is_gold=no
56724   if test x"$with_gnu_ld" = x"yes"; then
56725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56726 $as_echo_n "checking for ld version... " >&6; }
56727
56728     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56729       glibcxx_ld_is_gold=yes
56730     fi
56731     ldver=`$LD --version 2>/dev/null |
56732            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56733
56734     glibcxx_gnu_ld_version=`echo $ldver | \
56735            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56737 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56738   fi
56739
56740   # Set --gc-sections.
56741   glibcxx_have_gc_sections=no
56742   if test "$glibcxx_ld_is_gold" = "yes"; then
56743     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56744       glibcxx_have_gc_sections=yes
56745     fi
56746   else
56747     glibcxx_gcsections_min_ld=21602
56748     if test x"$with_gnu_ld" = x"yes" &&
56749         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56750       glibcxx_have_gc_sections=yes
56751     fi
56752   fi
56753   if test "$glibcxx_have_gc_sections" = "yes"; then
56754     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56755     # NB: This flag only works reliably after 2.16.1. Configure tests
56756     # for this are difficult, so hard wire a value that should work.
56757
56758     ac_test_CFLAGS="${CFLAGS+set}"
56759     ac_save_CFLAGS="$CFLAGS"
56760     CFLAGS='-Wl,--gc-sections'
56761
56762     # Check for -Wl,--gc-sections
56763     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56764 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56765     if test x$gcc_no_link = xyes; then
56766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56767 fi
56768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56769 /* end confdefs.h.  */
56770  int one(void) { return 1; }
56771      int two(void) { return 2; }
56772
56773 int
56774 main ()
56775 {
56776  two();
56777   ;
56778   return 0;
56779 }
56780 _ACEOF
56781 if ac_fn_c_try_link "$LINENO"; then :
56782   ac_gcsections=yes
56783 else
56784   ac_gcsections=no
56785 fi
56786 rm -f core conftest.err conftest.$ac_objext \
56787     conftest$ac_exeext conftest.$ac_ext
56788     if test "$ac_gcsections" = "yes"; then
56789       rm -f conftest.c
56790       touch conftest.c
56791       if $CC -c conftest.c; then
56792         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56793            grep "Warning: gc-sections option ignored" > /dev/null; then
56794           ac_gcsections=no
56795         fi
56796       fi
56797       rm -f conftest.c conftest.o conftest
56798     fi
56799     if test "$ac_gcsections" = "yes"; then
56800       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56801     fi
56802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56803 $as_echo "$ac_gcsections" >&6; }
56804
56805     if test "$ac_test_CFLAGS" = set; then
56806       CFLAGS="$ac_save_CFLAGS"
56807     else
56808       # this is the suspicious part
56809       CFLAGS=''
56810     fi
56811   fi
56812
56813   # Set -z,relro.
56814   # Note this is only for shared objects.
56815   ac_ld_relro=no
56816   if test x"$with_gnu_ld" = x"yes"; then
56817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56818 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56819     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56820     if test -n "$cxx_z_relo"; then
56821       OPT_LDFLAGS="-Wl,-z,relro"
56822       ac_ld_relro=yes
56823     fi
56824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56825 $as_echo "$ac_ld_relro" >&6; }
56826   fi
56827
56828   # Set linker optimization flags.
56829   if test x"$with_gnu_ld" = x"yes"; then
56830     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56831   fi
56832
56833
56834
56835
56836     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56837
56838     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56839
56840     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56841
56842     ;;
56843   *-qnx6.1* | *-qnx6.2*)
56844     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56845
56846
56847   # If we're not using GNU ld, then there's no point in even trying these
56848   # tests.  Check for that first.  We should have already tested for gld
56849   # by now (in libtool), but require it now just to be safe...
56850   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56851   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56852
56853
56854
56855   # The name set by libtool depends on the version of libtool.  Shame on us
56856   # for depending on an impl detail, but c'est la vie.  Older versions used
56857   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56858   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56859   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56860   # set (hence we're using an older libtool), then set it.
56861   if test x${with_gnu_ld+set} != xset; then
56862     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56863       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56864       with_gnu_ld=no
56865     else
56866       with_gnu_ld=$ac_cv_prog_gnu_ld
56867     fi
56868   fi
56869
56870   # Start by getting the version number.  I think the libtool test already
56871   # does some of this, but throws away the result.
56872   glibcxx_ld_is_gold=no
56873   if test x"$with_gnu_ld" = x"yes"; then
56874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56875 $as_echo_n "checking for ld version... " >&6; }
56876
56877     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56878       glibcxx_ld_is_gold=yes
56879     fi
56880     ldver=`$LD --version 2>/dev/null |
56881            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56882
56883     glibcxx_gnu_ld_version=`echo $ldver | \
56884            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56886 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56887   fi
56888
56889   # Set --gc-sections.
56890   glibcxx_have_gc_sections=no
56891   if test "$glibcxx_ld_is_gold" = "yes"; then
56892     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56893       glibcxx_have_gc_sections=yes
56894     fi
56895   else
56896     glibcxx_gcsections_min_ld=21602
56897     if test x"$with_gnu_ld" = x"yes" &&
56898         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56899       glibcxx_have_gc_sections=yes
56900     fi
56901   fi
56902   if test "$glibcxx_have_gc_sections" = "yes"; then
56903     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56904     # NB: This flag only works reliably after 2.16.1. Configure tests
56905     # for this are difficult, so hard wire a value that should work.
56906
56907     ac_test_CFLAGS="${CFLAGS+set}"
56908     ac_save_CFLAGS="$CFLAGS"
56909     CFLAGS='-Wl,--gc-sections'
56910
56911     # Check for -Wl,--gc-sections
56912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56913 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56914     if test x$gcc_no_link = xyes; then
56915   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56916 fi
56917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56918 /* end confdefs.h.  */
56919  int one(void) { return 1; }
56920      int two(void) { return 2; }
56921
56922 int
56923 main ()
56924 {
56925  two();
56926   ;
56927   return 0;
56928 }
56929 _ACEOF
56930 if ac_fn_c_try_link "$LINENO"; then :
56931   ac_gcsections=yes
56932 else
56933   ac_gcsections=no
56934 fi
56935 rm -f core conftest.err conftest.$ac_objext \
56936     conftest$ac_exeext conftest.$ac_ext
56937     if test "$ac_gcsections" = "yes"; then
56938       rm -f conftest.c
56939       touch conftest.c
56940       if $CC -c conftest.c; then
56941         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56942            grep "Warning: gc-sections option ignored" > /dev/null; then
56943           ac_gcsections=no
56944         fi
56945       fi
56946       rm -f conftest.c conftest.o conftest
56947     fi
56948     if test "$ac_gcsections" = "yes"; then
56949       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56950     fi
56951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56952 $as_echo "$ac_gcsections" >&6; }
56953
56954     if test "$ac_test_CFLAGS" = set; then
56955       CFLAGS="$ac_save_CFLAGS"
56956     else
56957       # this is the suspicious part
56958       CFLAGS=''
56959     fi
56960   fi
56961
56962   # Set -z,relro.
56963   # Note this is only for shared objects.
56964   ac_ld_relro=no
56965   if test x"$with_gnu_ld" = x"yes"; then
56966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56967 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56968     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56969     if test -n "$cxx_z_relo"; then
56970       OPT_LDFLAGS="-Wl,-z,relro"
56971       ac_ld_relro=yes
56972     fi
56973     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56974 $as_echo "$ac_ld_relro" >&6; }
56975   fi
56976
56977   # Set linker optimization flags.
56978   if test x"$with_gnu_ld" = x"yes"; then
56979     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56980   fi
56981
56982
56983
56984
56985     $as_echo "#define HAVE_COSF 1" >>confdefs.h
56986
56987     $as_echo "#define HAVE_COSL 1" >>confdefs.h
56988
56989     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56990
56991     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56992
56993     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56994
56995     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56996
56997     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56998
56999     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57000
57001     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57002
57003     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57004
57005     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57006
57007     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57008
57009     ;;
57010   *-solaris*)
57011     case "$target" in
57012       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57013
57014   # If we're not using GNU ld, then there's no point in even trying these
57015   # tests.  Check for that first.  We should have already tested for gld
57016   # by now (in libtool), but require it now just to be safe...
57017   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57018   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57019
57020
57021
57022   # The name set by libtool depends on the version of libtool.  Shame on us
57023   # for depending on an impl detail, but c'est la vie.  Older versions used
57024   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57025   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57026   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57027   # set (hence we're using an older libtool), then set it.
57028   if test x${with_gnu_ld+set} != xset; then
57029     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57030       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57031       with_gnu_ld=no
57032     else
57033       with_gnu_ld=$ac_cv_prog_gnu_ld
57034     fi
57035   fi
57036
57037   # Start by getting the version number.  I think the libtool test already
57038   # does some of this, but throws away the result.
57039   glibcxx_ld_is_gold=no
57040   if test x"$with_gnu_ld" = x"yes"; then
57041     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57042 $as_echo_n "checking for ld version... " >&6; }
57043
57044     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57045       glibcxx_ld_is_gold=yes
57046     fi
57047     ldver=`$LD --version 2>/dev/null |
57048            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57049
57050     glibcxx_gnu_ld_version=`echo $ldver | \
57051            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57052     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57053 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57054   fi
57055
57056   # Set --gc-sections.
57057   glibcxx_have_gc_sections=no
57058   if test "$glibcxx_ld_is_gold" = "yes"; then
57059     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57060       glibcxx_have_gc_sections=yes
57061     fi
57062   else
57063     glibcxx_gcsections_min_ld=21602
57064     if test x"$with_gnu_ld" = x"yes" &&
57065         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57066       glibcxx_have_gc_sections=yes
57067     fi
57068   fi
57069   if test "$glibcxx_have_gc_sections" = "yes"; then
57070     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57071     # NB: This flag only works reliably after 2.16.1. Configure tests
57072     # for this are difficult, so hard wire a value that should work.
57073
57074     ac_test_CFLAGS="${CFLAGS+set}"
57075     ac_save_CFLAGS="$CFLAGS"
57076     CFLAGS='-Wl,--gc-sections'
57077
57078     # Check for -Wl,--gc-sections
57079     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57080 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57081     if test x$gcc_no_link = xyes; then
57082   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57083 fi
57084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085 /* end confdefs.h.  */
57086  int one(void) { return 1; }
57087      int two(void) { return 2; }
57088
57089 int
57090 main ()
57091 {
57092  two();
57093   ;
57094   return 0;
57095 }
57096 _ACEOF
57097 if ac_fn_c_try_link "$LINENO"; then :
57098   ac_gcsections=yes
57099 else
57100   ac_gcsections=no
57101 fi
57102 rm -f core conftest.err conftest.$ac_objext \
57103     conftest$ac_exeext conftest.$ac_ext
57104     if test "$ac_gcsections" = "yes"; then
57105       rm -f conftest.c
57106       touch conftest.c
57107       if $CC -c conftest.c; then
57108         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57109            grep "Warning: gc-sections option ignored" > /dev/null; then
57110           ac_gcsections=no
57111         fi
57112       fi
57113       rm -f conftest.c conftest.o conftest
57114     fi
57115     if test "$ac_gcsections" = "yes"; then
57116       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57117     fi
57118     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57119 $as_echo "$ac_gcsections" >&6; }
57120
57121     if test "$ac_test_CFLAGS" = set; then
57122       CFLAGS="$ac_save_CFLAGS"
57123     else
57124       # this is the suspicious part
57125       CFLAGS=''
57126     fi
57127   fi
57128
57129   # Set -z,relro.
57130   # Note this is only for shared objects.
57131   ac_ld_relro=no
57132   if test x"$with_gnu_ld" = x"yes"; then
57133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57134 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57135     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57136     if test -n "$cxx_z_relo"; then
57137       OPT_LDFLAGS="-Wl,-z,relro"
57138       ac_ld_relro=yes
57139     fi
57140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57141 $as_echo "$ac_ld_relro" >&6; }
57142   fi
57143
57144   # Set linker optimization flags.
57145   if test x"$with_gnu_ld" = x"yes"; then
57146     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57147   fi
57148
57149
57150
57151
57152          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57153
57154          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57155
57156          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57157
57158          # All of the dependencies for wide character support are here, so
57159          # turn it on.
57160          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57161
57162         ;;
57163     esac
57164     case "$target" in
57165       *-*-solaris2.10)
57166       # These two C99 functions are present only in Solaris >= 10
57167       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57168
57169       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57170
57171      ;;
57172     esac
57173     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57174
57175     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57176
57177     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57178
57179     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57180
57181     ;;
57182   *-tpf)
57183     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57184
57185
57186   # If we're not using GNU ld, then there's no point in even trying these
57187   # tests.  Check for that first.  We should have already tested for gld
57188   # by now (in libtool), but require it now just to be safe...
57189   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57190   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57191
57192
57193
57194   # The name set by libtool depends on the version of libtool.  Shame on us
57195   # for depending on an impl detail, but c'est la vie.  Older versions used
57196   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57197   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57198   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57199   # set (hence we're using an older libtool), then set it.
57200   if test x${with_gnu_ld+set} != xset; then
57201     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57202       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57203       with_gnu_ld=no
57204     else
57205       with_gnu_ld=$ac_cv_prog_gnu_ld
57206     fi
57207   fi
57208
57209   # Start by getting the version number.  I think the libtool test already
57210   # does some of this, but throws away the result.
57211   glibcxx_ld_is_gold=no
57212   if test x"$with_gnu_ld" = x"yes"; then
57213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57214 $as_echo_n "checking for ld version... " >&6; }
57215
57216     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57217       glibcxx_ld_is_gold=yes
57218     fi
57219     ldver=`$LD --version 2>/dev/null |
57220            sed -e 's/GNU gold /GNU ld/;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57221
57222     glibcxx_gnu_ld_version=`echo $ldver | \
57223            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57225 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57226   fi
57227
57228   # Set --gc-sections.
57229   glibcxx_have_gc_sections=no
57230   if test "$glibcxx_ld_is_gold" = "yes"; then
57231     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57232       glibcxx_have_gc_sections=yes
57233     fi
57234   else
57235     glibcxx_gcsections_min_ld=21602
57236     if test x"$with_gnu_ld" = x"yes" &&
57237         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57238       glibcxx_have_gc_sections=yes
57239     fi
57240   fi
57241   if test "$glibcxx_have_gc_sections" = "yes"; then
57242     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57243     # NB: This flag only works reliably after 2.16.1. Configure tests
57244     # for this are difficult, so hard wire a value that should work.
57245
57246     ac_test_CFLAGS="${CFLAGS+set}"
57247     ac_save_CFLAGS="$CFLAGS"
57248     CFLAGS='-Wl,--gc-sections'
57249
57250     # Check for -Wl,--gc-sections
57251     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57252 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57253     if test x$gcc_no_link = xyes; then
57254   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57255 fi
57256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57257 /* end confdefs.h.  */
57258  int one(void) { return 1; }
57259      int two(void) { return 2; }
57260
57261 int
57262 main ()
57263 {
57264  two();
57265   ;
57266   return 0;
57267 }
57268 _ACEOF
57269 if ac_fn_c_try_link "$LINENO"; then :
57270   ac_gcsections=yes
57271 else
57272   ac_gcsections=no
57273 fi
57274 rm -f core conftest.err conftest.$ac_objext \
57275     conftest$ac_exeext conftest.$ac_ext
57276     if test "$ac_gcsections" = "yes"; then
57277       rm -f conftest.c
57278       touch conftest.c
57279       if $CC -c conftest.c; then
57280         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57281            grep "Warning: gc-sections option ignored" > /dev/null; then
57282           ac_gcsections=no
57283         fi
57284       fi
57285       rm -f conftest.c conftest.o conftest
57286     fi
57287     if test "$ac_gcsections" = "yes"; then
57288       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57289     fi
57290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57291 $as_echo "$ac_gcsections" >&6; }
57292
57293     if test "$ac_test_CFLAGS" = set; then
57294       CFLAGS="$ac_save_CFLAGS"
57295     else
57296       # this is the suspicious part
57297       CFLAGS=''
57298     fi
57299   fi
57300
57301   # Set -z,relro.
57302   # Note this is only for shared objects.
57303   ac_ld_relro=no
57304   if test x"$with_gnu_ld" = x"yes"; then
57305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57306 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57307     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57308     if test -n "$cxx_z_relo"; then
57309       OPT_LDFLAGS="-Wl,-z,relro"
57310       ac_ld_relro=yes
57311     fi
57312     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57313 $as_echo "$ac_ld_relro" >&6; }
57314   fi
57315
57316   # Set linker optimization flags.
57317   if test x"$with_gnu_ld" = x"yes"; then
57318     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57319   fi
57320
57321
57322
57323
57324     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57325
57326     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57327
57328     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57329
57330     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57331
57332     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57333
57334     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57335
57336     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57337
57338     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57339
57340     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57341
57342     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57343
57344     if test x"long_double_math_on_this_cpu" = x"yes"; then
57345       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57346
57347       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57348
57349       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57350
57351       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57352
57353     fi
57354     ;;
57355   *-vxworks)
57356     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57357
57358     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57359
57360     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57361
57362     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57363
57364     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57365
57366     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57367
57368     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57369
57370     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57371
57372     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57373
57374     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57375
57376     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57377
57378     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57379
57380     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57381
57382     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57383
57384     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57385
57386     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57387
57388     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57389
57390     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57391
57392     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57393
57394     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57395
57396     ;;
57397   *)
57398     as_fn_error "No support for this host/target combination." "$LINENO" 5
57399    ;;
57400 esac
57401
57402   fi
57403
57404   # At some point, we should differentiate between architectures
57405   # like x86, which have long double versions, and alpha/powerpc/etc.,
57406   # which don't. For the time being, punt.
57407   if test x"long_double_math_on_this_cpu" = x"yes"; then
57408     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57409
57410     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57411
57412     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57413
57414     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57415
57416     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57417
57418     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57419
57420     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57421
57422     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57423
57424     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57425
57426     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57427
57428     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57429
57430     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57431
57432     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57433
57434     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57435
57436     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57437
57438     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57439
57440     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57441
57442     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57443
57444     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57445
57446     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57447
57448     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57449
57450     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57451
57452     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57453
57454   fi
57455 fi
57456
57457 # Check for _Unwind_GetIPInfo.
57458
57459
57460 # Check whether --with-system-libunwind was given.
57461 if test "${with_system_libunwind+set}" = set; then :
57462   withval=$with_system_libunwind;
57463 fi
57464
57465   # If system-libunwind was not specifically set, pick a default setting.
57466   if test x$with_system_libunwind = x; then
57467     case ${target} in
57468       ia64-*-hpux*) with_system_libunwind=yes ;;
57469       *) with_system_libunwind=no ;;
57470     esac
57471   fi
57472   # Based on system-libunwind and target, do we have ipinfo?
57473   if  test x$with_system_libunwind = xyes; then
57474     case ${target} in
57475       ia64-*-*) have_unwind_getipinfo=no ;;
57476       *) have_unwind_getipinfo=yes ;;
57477     esac
57478   else
57479     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57480
57481     case ${target} in
57482       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57483       *) have_unwind_getipinfo=yes ;;
57484     esac
57485
57486   fi
57487
57488   if test x$have_unwind_getipinfo = xyes; then
57489
57490 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57491
57492   fi
57493
57494
57495
57496  # Check whether --enable-linux-futex was given.
57497 if test "${enable_linux_futex+set}" = set; then :
57498   enableval=$enable_linux_futex;
57499       case "$enableval" in
57500        yes|no|default) ;;
57501        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57502                           esac
57503
57504 else
57505   enable_linux_futex=default
57506 fi
57507
57508
57509 case "$target" in
57510   *-linux*)
57511     case "$enable_linux_futex" in
57512       default)
57513         # If headers don't have gettid/futex syscalls definition, then
57514         # default to no, otherwise there will be compile time failures.
57515         # Otherwise, default to yes.  If we don't detect we are
57516         # compiled/linked against NPTL and not cross-compiling, check
57517         # if programs are run by default against NPTL and if not, issue
57518         # a warning.
57519         enable_linux_futex=no
57520         if test x$gcc_no_link = xyes; then
57521   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57522 fi
57523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57524 /* end confdefs.h.  */
57525 #include <sys/syscall.h>
57526            int lk;
57527 int
57528 main ()
57529 {
57530 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57531   ;
57532   return 0;
57533 }
57534 _ACEOF
57535 if ac_fn_c_try_link "$LINENO"; then :
57536   save_LIBS="$LIBS"
57537            LIBS="-lpthread $LIBS"
57538            if test x$gcc_no_link = xyes; then
57539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57540 fi
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h.  */
57543 #ifndef _GNU_SOURCE
57544              #define _GNU_SOURCE 1
57545              #endif
57546              #include <pthread.h>
57547              pthread_t th; void *status;
57548 int
57549 main ()
57550 {
57551 pthread_tryjoin_np (th, &status);
57552   ;
57553   return 0;
57554 }
57555 _ACEOF
57556 if ac_fn_c_try_link "$LINENO"; then :
57557   enable_linux_futex=yes
57558 else
57559   if test x$cross_compiling = xno; then
57560                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57561                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57562                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57563 If so, please configure with --disable-linux-futex" >&5
57564 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57565 If so, please configure with --disable-linux-futex" >&2;}
57566                fi
57567              fi
57568              enable_linux_futex=yes
57569 fi
57570 rm -f core conftest.err conftest.$ac_objext \
57571     conftest$ac_exeext conftest.$ac_ext
57572            LIBS="$save_LIBS"
57573 fi
57574 rm -f core conftest.err conftest.$ac_objext \
57575     conftest$ac_exeext conftest.$ac_ext
57576         ;;
57577       yes)
57578         if test x$gcc_no_link = xyes; then
57579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57580 fi
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h.  */
57583 #include <sys/syscall.h>
57584            int lk;
57585 int
57586 main ()
57587 {
57588 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57589   ;
57590   return 0;
57591 }
57592 _ACEOF
57593 if ac_fn_c_try_link "$LINENO"; then :
57594
57595 else
57596   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57597 fi
57598 rm -f core conftest.err conftest.$ac_objext \
57599     conftest$ac_exeext conftest.$ac_ext
57600         ;;
57601     esac
57602     ;;
57603   *)
57604     enable_linux_futex=no
57605     ;;
57606 esac
57607 if test x$enable_linux_futex = xyes; then
57608
57609 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57610
57611 fi
57612
57613
57614
57615
57616 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57617
57618 acx_cv_header_stdint=stddef.h
57619 acx_cv_header_stdint_kind="(already complete)"
57620 for i in stdint.h $inttype_headers; do
57621   unset ac_cv_type_uintptr_t
57622   unset ac_cv_type_uintmax_t
57623   unset ac_cv_type_int_least32_t
57624   unset ac_cv_type_int_fast32_t
57625   unset ac_cv_type_uint64_t
57626   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57627   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57628 #include <$i>
57629 "
57630 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57631   acx_cv_header_stdint=$i
57632 else
57633   continue
57634 fi
57635
57636   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57637 #include <$i>
57638 "
57639 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57640
57641 else
57642   acx_cv_header_stdint_kind="(mostly complete)"
57643 fi
57644
57645   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57646 #include <$i>
57647 "
57648 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57649
57650 else
57651   acx_cv_header_stdint_kind="(mostly complete)"
57652 fi
57653
57654   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57655 #include <$i>
57656 "
57657 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57658
57659 else
57660   acx_cv_header_stdint_kind="(mostly complete)"
57661 fi
57662
57663   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57664 #include <$i>
57665 "
57666 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57667
57668 else
57669   acx_cv_header_stdint_kind="(lacks uint64_t)"
57670 fi
57671
57672   break
57673 done
57674 if test "$acx_cv_header_stdint" = stddef.h; then
57675   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57676   for i in stdint.h $inttype_headers; do
57677     unset ac_cv_type_uintptr_t
57678     unset ac_cv_type_uint32_t
57679     unset ac_cv_type_uint64_t
57680     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57681     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57682 #include <$i>
57683 "
57684 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57685   acx_cv_header_stdint=$i
57686 else
57687   continue
57688 fi
57689
57690     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57691 #include <$i>
57692 "
57693 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57694
57695 fi
57696
57697     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57698 #include <$i>
57699 "
57700 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57701
57702 fi
57703
57704     break
57705   done
57706 fi
57707 if test "$acx_cv_header_stdint" = stddef.h; then
57708   acx_cv_header_stdint_kind="(u_intXX_t style)"
57709   for i in sys/types.h $inttype_headers; do
57710     unset ac_cv_type_u_int32_t
57711     unset ac_cv_type_u_int64_t
57712     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57713     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57714 #include <$i>
57715 "
57716 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57717   acx_cv_header_stdint=$i
57718 else
57719   continue
57720 fi
57721
57722     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57723 #include <$i>
57724 "
57725 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57726
57727 fi
57728
57729     break
57730   done
57731 fi
57732 if test "$acx_cv_header_stdint" = stddef.h; then
57733   acx_cv_header_stdint_kind="(using manual detection)"
57734 fi
57735
57736 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57737 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57738 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57739 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57740 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57741
57742 # ----------------- Summarize what we found so far
57743
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57745 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57746
57747 case `$as_basename -- include/gstdint.h ||
57748 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57749          Xinclude/gstdint.h : 'X\(//\)$' \| \
57750          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57751 $as_echo X/include/gstdint.h |
57752     sed '/^.*\/\([^/][^/]*\)\/*$/{
57753             s//\1/
57754             q
57755           }
57756           /^X\/\(\/\/\)$/{
57757             s//\1/
57758             q
57759           }
57760           /^X\/\(\/\).*/{
57761             s//\1/
57762             q
57763           }
57764           s/.*/./; q'` in
57765   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57766 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57767   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57768 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57769   *) ;;
57770 esac
57771
57772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57773 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57774
57775 # ----------------- done included file, check C basic types --------
57776
57777 # Lacking an uintptr_t?  Test size of void *
57778 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57779   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57782 # This bug is HP SR number 8606223364.
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57784 $as_echo_n "checking size of void *... " >&6; }
57785 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57786   $as_echo_n "(cached) " >&6
57787 else
57788   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57789
57790 else
57791   if test "$ac_cv_type_void_p" = yes; then
57792      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57794 { as_fn_set_status 77
57795 as_fn_error "cannot compute sizeof (void *)
57796 See \`config.log' for more details." "$LINENO" 5; }; }
57797    else
57798      ac_cv_sizeof_void_p=0
57799    fi
57800 fi
57801
57802 fi
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57804 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57805
57806
57807
57808 cat >>confdefs.h <<_ACEOF
57809 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57810 _ACEOF
57811
57812  ;;
57813 esac
57814
57815 # Lacking an uint64_t?  Test size of long
57816 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57817   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57820 # This bug is HP SR number 8606223364.
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57822 $as_echo_n "checking size of long... " >&6; }
57823 if test "${ac_cv_sizeof_long+set}" = set; then :
57824   $as_echo_n "(cached) " >&6
57825 else
57826   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57827
57828 else
57829   if test "$ac_cv_type_long" = yes; then
57830      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57832 { as_fn_set_status 77
57833 as_fn_error "cannot compute sizeof (long)
57834 See \`config.log' for more details." "$LINENO" 5; }; }
57835    else
57836      ac_cv_sizeof_long=0
57837    fi
57838 fi
57839
57840 fi
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57842 $as_echo "$ac_cv_sizeof_long" >&6; }
57843
57844
57845
57846 cat >>confdefs.h <<_ACEOF
57847 #define SIZEOF_LONG $ac_cv_sizeof_long
57848 _ACEOF
57849
57850  ;;
57851 esac
57852
57853 if test $acx_cv_header_stdint = stddef.h; then
57854   # Lacking a good header?  Test size of everything and deduce all types.
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 int" >&5
57860 $as_echo_n "checking size of int... " >&6; }
57861 if test "${ac_cv_sizeof_int+set}" = set; then :
57862   $as_echo_n "(cached) " >&6
57863 else
57864   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57865
57866 else
57867   if test "$ac_cv_type_int" = 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 (int)
57872 See \`config.log' for more details." "$LINENO" 5; }; }
57873    else
57874      ac_cv_sizeof_int=0
57875    fi
57876 fi
57877
57878 fi
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57880 $as_echo "$ac_cv_sizeof_int" >&6; }
57881
57882
57883
57884 cat >>confdefs.h <<_ACEOF
57885 #define SIZEOF_INT $ac_cv_sizeof_int
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 short" >&5
57894 $as_echo_n "checking size of short... " >&6; }
57895 if test "${ac_cv_sizeof_short+set}" = set; then :
57896   $as_echo_n "(cached) " >&6
57897 else
57898   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57899
57900 else
57901   if test "$ac_cv_type_short" = 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 (short)
57906 See \`config.log' for more details." "$LINENO" 5; }; }
57907    else
57908      ac_cv_sizeof_short=0
57909    fi
57910 fi
57911
57912 fi
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57914 $as_echo "$ac_cv_sizeof_short" >&6; }
57915
57916
57917
57918 cat >>confdefs.h <<_ACEOF
57919 #define SIZEOF_SHORT $ac_cv_sizeof_short
57920 _ACEOF
57921
57922
57923   # The cast to long int works around a bug in the HP C Compiler
57924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57926 # This bug is HP SR number 8606223364.
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57928 $as_echo_n "checking size of char... " >&6; }
57929 if test "${ac_cv_sizeof_char+set}" = set; then :
57930   $as_echo_n "(cached) " >&6
57931 else
57932   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
57933
57934 else
57935   if test "$ac_cv_type_char" = yes; then
57936      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57938 { as_fn_set_status 77
57939 as_fn_error "cannot compute sizeof (char)
57940 See \`config.log' for more details." "$LINENO" 5; }; }
57941    else
57942      ac_cv_sizeof_char=0
57943    fi
57944 fi
57945
57946 fi
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57948 $as_echo "$ac_cv_sizeof_char" >&6; }
57949
57950
57951
57952 cat >>confdefs.h <<_ACEOF
57953 #define SIZEOF_CHAR $ac_cv_sizeof_char
57954 _ACEOF
57955
57956
57957
57958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57959 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57960   case "$ac_cv_sizeof_char" in
57961     1) acx_cv_type_int8_t=char ;;
57962     *) { as_fn_set_status please report a bug
57963 as_fn_error "no 8-bit type" "$LINENO" 5; }
57964   esac
57965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57966 $as_echo "$acx_cv_type_int8_t" >&6; }
57967
57968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57969 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57970   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57971     2:*) acx_cv_type_int16_t=int ;;
57972     *:2) acx_cv_type_int16_t=short ;;
57973     *) { as_fn_set_status please report a bug
57974 as_fn_error "no 16-bit type" "$LINENO" 5; }
57975   esac
57976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57977 $as_echo "$acx_cv_type_int16_t" >&6; }
57978
57979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57980 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57981   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57982     4:*) acx_cv_type_int32_t=int ;;
57983     *:4) acx_cv_type_int32_t=long ;;
57984     *) { as_fn_set_status please report a bug
57985 as_fn_error "no 32-bit type" "$LINENO" 5; }
57986   esac
57987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57988 $as_echo "$acx_cv_type_int32_t" >&6; }
57989 fi
57990
57991 # These tests are here to make the output prettier
57992
57993 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57994   case "$ac_cv_sizeof_long" in
57995     8) acx_cv_type_int64_t=long ;;
57996   esac
57997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57998 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58000 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58001 fi
58002
58003 # Now we can use the above types
58004
58005 if test "$ac_cv_type_uintptr_t" != yes; then
58006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58007 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58008   case $ac_cv_sizeof_void_p in
58009     2) acx_cv_type_intptr_t=int16_t ;;
58010     4) acx_cv_type_intptr_t=int32_t ;;
58011     8) acx_cv_type_intptr_t=int64_t ;;
58012     *) { as_fn_set_status please report a bug
58013 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58014   esac
58015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58016 $as_echo "$acx_cv_type_intptr_t" >&6; }
58017 fi
58018
58019 # ----------------- done all checks, emit header -------------
58020 ac_config_commands="$ac_config_commands include/gstdint.h"
58021
58022
58023
58024
58025 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58026
58027
58028  # Check whether --enable-symvers was given.
58029 if test "${enable_symvers+set}" = set; then :
58030   enableval=$enable_symvers;
58031       case "$enableval" in
58032        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58033        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58034                           esac
58035
58036 else
58037   enable_symvers=yes
58038 fi
58039
58040
58041
58042 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58043 # don't know enough about $LD to do tricks...
58044
58045
58046 # Turn a 'yes' into a suitable default.
58047 if test x$enable_symvers = xyes ; then
58048   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58049     enable_symvers=no
58050   else
58051     if test $with_gnu_ld = yes ; then
58052       case ${target_os} in
58053         cygwin* | pe | mingw32* | hpux*)
58054           enable_symvers=no ;;
58055         *)
58056           enable_symvers=gnu ;;
58057       esac
58058     else
58059       case ${target_os} in
58060         darwin*)
58061           enable_symvers=darwin ;;
58062         *)
58063           enable_symvers=no ;;
58064       esac
58065     fi
58066   fi
58067 fi
58068
58069 # Check to see if 'darwin' or 'darwin-export' can win.
58070 if test x$enable_symvers = xdarwin-export ; then
58071     enable_symvers=darwin
58072 fi
58073
58074 # Check to see if 'gnu' can win.
58075 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58076   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58078 $as_echo_n "checking for shared libgcc... " >&6; }
58079   ac_save_CFLAGS="$CFLAGS"
58080   CFLAGS=' -lgcc_s'
58081   if test x$gcc_no_link = xyes; then
58082   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58083 fi
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h.  */
58086
58087 int
58088 main ()
58089 {
58090 return 0;
58091   ;
58092   return 0;
58093 }
58094 _ACEOF
58095 if ac_fn_c_try_link "$LINENO"; then :
58096   glibcxx_shared_libgcc=yes
58097 else
58098   glibcxx_shared_libgcc=no
58099 fi
58100 rm -f core conftest.err conftest.$ac_objext \
58101     conftest$ac_exeext conftest.$ac_ext
58102   CFLAGS="$ac_save_CFLAGS"
58103   if test $glibcxx_shared_libgcc = no; then
58104     cat > conftest.c <<EOF
58105 int main (void) { return 0; }
58106 EOF
58107     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58108                              -shared -shared-libgcc -o conftest.so \
58109                              conftest.c -v 2>&1 >/dev/null \
58110                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58111     rm -f conftest.c conftest.so
58112     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58113       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58114       if test x$gcc_no_link = xyes; then
58115   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58116 fi
58117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58118 /* end confdefs.h.  */
58119
58120 int
58121 main ()
58122 {
58123 return 0;
58124   ;
58125   return 0;
58126 }
58127 _ACEOF
58128 if ac_fn_c_try_link "$LINENO"; then :
58129   glibcxx_shared_libgcc=yes
58130 fi
58131 rm -f core conftest.err conftest.$ac_objext \
58132     conftest$ac_exeext conftest.$ac_ext
58133       CFLAGS="$ac_save_CFLAGS"
58134     fi
58135   fi
58136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58137 $as_echo "$glibcxx_shared_libgcc" >&6; }
58138
58139   # For GNU ld, we need at least this version.  The format is described in
58140   # GLIBCXX_CHECK_LINKER_FEATURES above.
58141   glibcxx_min_gnu_ld_version=21400
58142
58143   # If no shared libgcc, can't win.
58144   if test $glibcxx_shared_libgcc != yes; then
58145       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58146 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58147       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58148 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58149       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58151       enable_symvers=no
58152   elif test $with_gnu_ld != yes ; then
58153     # just fail for now
58154     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58155 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58156     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58157 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58158     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58159 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58160     enable_symvers=no
58161   elif test $glibcxx_ld_is_gold = yes ; then
58162     : All versions of gold support symbol versioning.
58163   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58164     # The right tools, the right setup, but too old.  Fallbacks?
58165     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58166 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58167     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58168 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58170 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58172 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58174 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58175     enable_symvers=no
58176   fi
58177 fi
58178
58179 # Everything parsed; figure out what file to use.
58180 case $enable_symvers in
58181   no)
58182     SYMVER_FILE=config/abi/pre/none.ver
58183     ;;
58184   gnu)
58185     SYMVER_FILE=config/abi/pre/gnu.ver
58186
58187 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58188
58189     ;;
58190   gnu-versioned-namespace)
58191     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58192
58193 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58194
58195     ;;
58196   darwin)
58197     SYMVER_FILE=config/abi/pre/gnu.ver
58198
58199 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58200
58201     ;;
58202 esac
58203
58204 if test x$enable_symvers != xno ; then
58205
58206 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58207
58208 fi
58209
58210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58211 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58212 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58213   $as_echo_n "(cached) " >&6
58214 else
58215
58216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58217 /* end confdefs.h.  */
58218 void foo (void); __asm (".symver foo, bar@SYMVER");
58219 int
58220 main ()
58221 {
58222
58223   ;
58224   return 0;
58225 }
58226 _ACEOF
58227 if ac_fn_c_try_compile "$LINENO"; then :
58228   glibcxx_cv_have_as_symver_directive=yes
58229 else
58230   glibcxx_cv_have_as_symver_directive=no
58231 fi
58232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58233 fi
58234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58235 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58236 if test $glibcxx_cv_have_as_symver_directive = yes; then
58237
58238 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58239
58240 fi
58241
58242
58243
58244
58245
58246
58247
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58249 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58250
58251 # Now, set up compatibility support, if any.
58252 # In addition, need this to deal with std::size_t mangling in
58253 # src/compatibility.cc.  In a perfect world, could use
58254 # typeid(std::size_t).name()[0] to do direct substitution.
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58256 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58257 ac_save_CFLAGS="$CFLAGS"
58258 CFLAGS="-Werror"
58259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58260 /* end confdefs.h.  */
58261
58262 int
58263 main ()
58264 {
58265 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58266   ;
58267   return 0;
58268 }
58269 _ACEOF
58270 if ac_fn_c_try_compile "$LINENO"; then :
58271   glibcxx_size_t_is_i=yes
58272 else
58273   glibcxx_size_t_is_i=no
58274 fi
58275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58276 CFLAGS=$ac_save_CFLAGS
58277 if test "$glibcxx_size_t_is_i" = yes; then
58278
58279 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58280
58281 fi
58282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58283 $as_echo "$glibcxx_size_t_is_i" >&6; }
58284
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58286 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58287 ac_save_CFLAGS="$CFLAGS"
58288 CFLAGS="-Werror"
58289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58290 /* end confdefs.h.  */
58291
58292 int
58293 main ()
58294 {
58295 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58296   ;
58297   return 0;
58298 }
58299 _ACEOF
58300 if ac_fn_c_try_compile "$LINENO"; then :
58301   glibcxx_ptrdiff_t_is_i=yes
58302 else
58303   glibcxx_ptrdiff_t_is_i=no
58304 fi
58305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58306 CFLAGS=$ac_save_CFLAGS
58307 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58308
58309 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58310
58311 fi
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58313 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58314
58315
58316  # Check whether --enable-visibility was given.
58317 if test "${enable_visibility+set}" = set; then :
58318   enableval=$enable_visibility;
58319       case "$enableval" in
58320        yes|no) ;;
58321        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58322       esac
58323
58324 else
58325   enable_visibility=yes
58326 fi
58327
58328
58329
58330 if test x$enable_visibility = xyes ; then
58331       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58332 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58333 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58334   $as_echo_n "(cached) " >&6
58335 else
58336
58337   save_CFLAGS="$CFLAGS"
58338   CFLAGS="$CFLAGS -Werror"
58339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340 /* end confdefs.h.  */
58341 void __attribute__((visibility("hidden"))) foo(void) { }
58342 int
58343 main ()
58344 {
58345
58346   ;
58347   return 0;
58348 }
58349 _ACEOF
58350 if ac_fn_c_try_compile "$LINENO"; then :
58351   glibcxx_cv_have_attribute_visibility=yes
58352 else
58353   glibcxx_cv_have_attribute_visibility=no
58354 fi
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356   CFLAGS="$save_CFLAGS"
58357 fi
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58359 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58360   if test $glibcxx_cv_have_attribute_visibility = no; then
58361     enable_visibility=no
58362   fi
58363 fi
58364
58365
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58367 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58368
58369
58370 ac_ldbl_compat=no
58371 case "$target" in
58372   powerpc*-*-linux* | \
58373   powerpc*-*-gnu* | \
58374   sparc*-*-linux* | \
58375   s390*-*-linux* | \
58376   alpha*-*-linux*)
58377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58378 /* end confdefs.h.  */
58379
58380 int
58381 main ()
58382 {
58383
58384 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58385 #error no need for long double compatibility
58386 #endif
58387
58388   ;
58389   return 0;
58390 }
58391 _ACEOF
58392 if ac_fn_c_try_compile "$LINENO"; then :
58393   ac_ldbl_compat=yes
58394 else
58395   ac_ldbl_compat=no
58396 fi
58397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58398   if test "$ac_ldbl_compat" = yes; then
58399
58400 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58401
58402     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58403   fi
58404 esac
58405
58406
58407 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58408
58409   if $GLIBCXX_IS_NATIVE ; then
58410     # Do checks for resource limit functions.
58411
58412   setrlimit_have_headers=yes
58413   for ac_header in unistd.h sys/time.h sys/resource.h
58414 do :
58415   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58416 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58417 eval as_val=\$$as_ac_Header
58418    if test "x$as_val" = x""yes; then :
58419   cat >>confdefs.h <<_ACEOF
58420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58421 _ACEOF
58422
58423 else
58424   setrlimit_have_headers=no
58425 fi
58426
58427 done
58428
58429   # If don't have the headers, then we can't run the tests now, and we
58430   # won't be seeing any of these during testsuite compilation.
58431   if test $setrlimit_have_headers = yes; then
58432     # Can't do these in a loop, else the resulting syntax is wrong.
58433
58434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58435 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58437 /* end confdefs.h.  */
58438 #include <unistd.h>
58439      #include <sys/time.h>
58440      #include <sys/resource.h>
58441
58442 int
58443 main ()
58444 {
58445  int f = RLIMIT_DATA ;
58446   ;
58447   return 0;
58448 }
58449 _ACEOF
58450 if ac_fn_c_try_compile "$LINENO"; then :
58451   glibcxx_mresult=1
58452 else
58453   glibcxx_mresult=0
58454 fi
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE_LIMIT_DATA $glibcxx_mresult
58459 _ACEOF
58460
58461   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58463 $as_echo "$res" >&6; }
58464
58465
58466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58467 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58469 /* end confdefs.h.  */
58470 #include <unistd.h>
58471      #include <sys/time.h>
58472      #include <sys/resource.h>
58473
58474 int
58475 main ()
58476 {
58477  int f = RLIMIT_RSS ;
58478   ;
58479   return 0;
58480 }
58481 _ACEOF
58482 if ac_fn_c_try_compile "$LINENO"; then :
58483   glibcxx_mresult=1
58484 else
58485   glibcxx_mresult=0
58486 fi
58487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58488
58489 cat >>confdefs.h <<_ACEOF
58490 #define HAVE_LIMIT_RSS $glibcxx_mresult
58491 _ACEOF
58492
58493   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58495 $as_echo "$res" >&6; }
58496
58497
58498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58499 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58501 /* end confdefs.h.  */
58502 #include <unistd.h>
58503      #include <sys/time.h>
58504      #include <sys/resource.h>
58505
58506 int
58507 main ()
58508 {
58509  int f = RLIMIT_VMEM ;
58510   ;
58511   return 0;
58512 }
58513 _ACEOF
58514 if ac_fn_c_try_compile "$LINENO"; then :
58515   glibcxx_mresult=1
58516 else
58517   glibcxx_mresult=0
58518 fi
58519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58520
58521 cat >>confdefs.h <<_ACEOF
58522 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58523 _ACEOF
58524
58525   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58527 $as_echo "$res" >&6; }
58528
58529
58530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58531 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h.  */
58534 #include <unistd.h>
58535      #include <sys/time.h>
58536      #include <sys/resource.h>
58537
58538 int
58539 main ()
58540 {
58541  int f = RLIMIT_AS ;
58542   ;
58543   return 0;
58544 }
58545 _ACEOF
58546 if ac_fn_c_try_compile "$LINENO"; then :
58547   glibcxx_mresult=1
58548 else
58549   glibcxx_mresult=0
58550 fi
58551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58552
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE_LIMIT_AS $glibcxx_mresult
58555 _ACEOF
58556
58557   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58559 $as_echo "$res" >&6; }
58560
58561
58562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58563 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h.  */
58566 #include <unistd.h>
58567      #include <sys/time.h>
58568      #include <sys/resource.h>
58569
58570 int
58571 main ()
58572 {
58573  int f = RLIMIT_FSIZE ;
58574   ;
58575   return 0;
58576 }
58577 _ACEOF
58578 if ac_fn_c_try_compile "$LINENO"; then :
58579   glibcxx_mresult=1
58580 else
58581   glibcxx_mresult=0
58582 fi
58583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58584
58585 cat >>confdefs.h <<_ACEOF
58586 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58587 _ACEOF
58588
58589   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58591 $as_echo "$res" >&6; }
58592
58593
58594     # Check for rlimit, setrlimit.
58595     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58596   $as_echo_n "(cached) " >&6
58597 else
58598
58599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58600 /* end confdefs.h.  */
58601 #include <unistd.h>
58602          #include <sys/time.h>
58603          #include <sys/resource.h>
58604
58605 int
58606 main ()
58607 {
58608 struct rlimit r;
58609          setrlimit(0, &r);
58610   ;
58611   return 0;
58612 }
58613 _ACEOF
58614 if ac_fn_c_try_compile "$LINENO"; then :
58615   glibcxx_cv_setrlimit=yes
58616 else
58617   glibcxx_cv_setrlimit=no
58618 fi
58619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58620
58621 fi
58622
58623   fi
58624
58625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58626 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58627   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58628     ac_res_limits=yes
58629
58630 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58631
58632   else
58633     ac_res_limits=no
58634   fi
58635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58636 $as_echo "$ac_res_limits" >&6; }
58637
58638
58639     # Look for setenv, so that extended locale tests can be performed.
58640
58641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58642 $as_echo_n "checking for setenv declaration... " >&6; }
58643   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58644     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58645   $as_echo_n "(cached) " >&6
58646 else
58647
58648
58649       ac_ext=cpp
58650 ac_cpp='$CXXCPP $CPPFLAGS'
58651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58654
58655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58656 /* end confdefs.h.  */
58657 #include <stdlib.h>
58658 int
58659 main ()
58660 {
58661  setenv(0, 0, 0);
58662   ;
58663   return 0;
58664 }
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667   glibcxx_cv_func_setenv_use=yes
58668 else
58669   glibcxx_cv_func_setenv_use=no
58670 fi
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672       ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58677
58678
58679 fi
58680
58681   fi
58682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58683 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58684   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58685     for ac_func in setenv
58686 do :
58687   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58688 if test "x$ac_cv_func_setenv" = x""yes; then :
58689   cat >>confdefs.h <<_ACEOF
58690 #define HAVE_SETENV 1
58691 _ACEOF
58692
58693 fi
58694 done
58695
58696   fi
58697
58698   fi
58699
58700   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58701      test $enable_symvers != no; then
58702     case "$host" in
58703       *-*-cygwin*)
58704         enable_abi_check=no ;;
58705       *)
58706         enable_abi_check=yes ;;
58707     esac
58708   else
58709     # Only build this as native, since automake does not understand
58710     # CXX_FOR_BUILD.
58711     enable_abi_check=no
58712   fi
58713
58714   # Export file names for ABI checking.
58715   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58716
58717
58718
58719 # Propagate the target-specific source directories through the build chain.
58720 ATOMICITY_SRCDIR=config/${atomicity_dir}
58721 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58722 ATOMIC_FLAGS=${atomic_flags}
58723 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58724 OS_INC_SRCDIR=config/${os_include_dir}
58725 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58726 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58727
58728
58729
58730
58731
58732
58733
58734
58735
58736 # Determine cross-compile flags and AM_CONDITIONALs.
58737 #AC_SUBST(GLIBCXX_IS_NATIVE)
58738 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58739     if test $is_hosted = yes; then
58740   GLIBCXX_HOSTED_TRUE=
58741   GLIBCXX_HOSTED_FALSE='#'
58742 else
58743   GLIBCXX_HOSTED_TRUE='#'
58744   GLIBCXX_HOSTED_FALSE=
58745 fi
58746
58747
58748     if test $enable_libstdcxx_pch = yes; then
58749   GLIBCXX_BUILD_PCH_TRUE=
58750   GLIBCXX_BUILD_PCH_FALSE='#'
58751 else
58752   GLIBCXX_BUILD_PCH_TRUE='#'
58753   GLIBCXX_BUILD_PCH_FALSE=
58754 fi
58755
58756
58757     if test $enable_cheaders = c; then
58758   GLIBCXX_C_HEADERS_C_TRUE=
58759   GLIBCXX_C_HEADERS_C_FALSE='#'
58760 else
58761   GLIBCXX_C_HEADERS_C_TRUE='#'
58762   GLIBCXX_C_HEADERS_C_FALSE=
58763 fi
58764
58765
58766     if test $enable_cheaders = c_std; then
58767   GLIBCXX_C_HEADERS_C_STD_TRUE=
58768   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58769 else
58770   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58771   GLIBCXX_C_HEADERS_C_STD_FALSE=
58772 fi
58773
58774
58775     if test $enable_cheaders = c_global; then
58776   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58777   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58778 else
58779   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58780   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58781 fi
58782
58783
58784     if test $c_compatibility = yes; then
58785   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58786   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58787 else
58788   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58789   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58790 fi
58791
58792
58793     if test $c_extra = yes; then
58794   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58795   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58796 else
58797   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58798   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58799 fi
58800
58801
58802     if test $enable_libstdcxx_debug = yes; then
58803   GLIBCXX_BUILD_DEBUG_TRUE=
58804   GLIBCXX_BUILD_DEBUG_FALSE='#'
58805 else
58806   GLIBCXX_BUILD_DEBUG_TRUE='#'
58807   GLIBCXX_BUILD_DEBUG_FALSE=
58808 fi
58809
58810
58811     if test $enable_parallel = yes; then
58812   ENABLE_PARALLEL_TRUE=
58813   ENABLE_PARALLEL_FALSE='#'
58814 else
58815   ENABLE_PARALLEL_TRUE='#'
58816   ENABLE_PARALLEL_FALSE=
58817 fi
58818
58819
58820     if test $enable_symvers != no; then
58821   ENABLE_SYMVERS_TRUE=
58822   ENABLE_SYMVERS_FALSE='#'
58823 else
58824   ENABLE_SYMVERS_TRUE='#'
58825   ENABLE_SYMVERS_FALSE=
58826 fi
58827
58828
58829     if test $enable_symvers = gnu; then
58830   ENABLE_SYMVERS_GNU_TRUE=
58831   ENABLE_SYMVERS_GNU_FALSE='#'
58832 else
58833   ENABLE_SYMVERS_GNU_TRUE='#'
58834   ENABLE_SYMVERS_GNU_FALSE=
58835 fi
58836
58837
58838     if test $enable_symvers = gnu-versioned-namespace; then
58839   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58840   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58841 else
58842   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58843   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58844 fi
58845
58846
58847     if test $enable_symvers = darwin; then
58848   ENABLE_SYMVERS_DARWIN_TRUE=
58849   ENABLE_SYMVERS_DARWIN_FALSE='#'
58850 else
58851   ENABLE_SYMVERS_DARWIN_TRUE='#'
58852   ENABLE_SYMVERS_DARWIN_FALSE=
58853 fi
58854
58855
58856     if test $enable_visibility = yes; then
58857   ENABLE_VISIBILITY_TRUE=
58858   ENABLE_VISIBILITY_FALSE='#'
58859 else
58860   ENABLE_VISIBILITY_TRUE='#'
58861   ENABLE_VISIBILITY_FALSE=
58862 fi
58863
58864
58865     if test $ac_ldbl_compat = yes; then
58866   GLIBCXX_LDBL_COMPAT_TRUE=
58867   GLIBCXX_LDBL_COMPAT_FALSE='#'
58868 else
58869   GLIBCXX_LDBL_COMPAT_TRUE='#'
58870   GLIBCXX_LDBL_COMPAT_FALSE=
58871 fi
58872
58873
58874
58875
58876 cat >confcache <<\_ACEOF
58877 # This file is a shell script that caches the results of configure
58878 # tests run on this system so they can be shared between configure
58879 # scripts and configure runs, see configure's option --config-cache.
58880 # It is not useful on other systems.  If it contains results you don't
58881 # want to keep, you may remove or edit it.
58882 #
58883 # config.status only pays attention to the cache file if you give it
58884 # the --recheck option to rerun configure.
58885 #
58886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58888 # following values.
58889
58890 _ACEOF
58891
58892 # The following way of writing the cache mishandles newlines in values,
58893 # but we know of no workaround that is simple, portable, and efficient.
58894 # So, we kill variables containing newlines.
58895 # Ultrix sh set writes to stderr and can't be redirected directly,
58896 # and sets the high bit in the cache file unless we assign to the vars.
58897 (
58898   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58899     eval ac_val=\$$ac_var
58900     case $ac_val in #(
58901     *${as_nl}*)
58902       case $ac_var in #(
58903       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58905       esac
58906       case $ac_var in #(
58907       _ | IFS | as_nl) ;; #(
58908       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58909       *) { eval $ac_var=; unset $ac_var;} ;;
58910       esac ;;
58911     esac
58912   done
58913
58914   (set) 2>&1 |
58915     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58916     *${as_nl}ac_space=\ *)
58917       # `set' does not quote correctly, so add quotes: double-quote
58918       # substitution turns \\\\ into \\, and sed turns \\ into \.
58919       sed -n \
58920         "s/'/'\\\\''/g;
58921           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58922       ;; #(
58923     *)
58924       # `set' quotes correctly as required by POSIX, so do not add quotes.
58925       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58926       ;;
58927     esac |
58928     sort
58929 ) |
58930   sed '
58931      /^ac_cv_env_/b end
58932      t clear
58933      :clear
58934      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58935      t end
58936      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58937      :end' >>confcache
58938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58939   if test -w "$cache_file"; then
58940     test "x$cache_file" != "x/dev/null" &&
58941       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58942 $as_echo "$as_me: updating cache $cache_file" >&6;}
58943     cat confcache >$cache_file
58944   else
58945     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58947   fi
58948 fi
58949 rm -f confcache
58950
58951 if test ${multilib} = yes; then
58952   multilib_arg="--enable-multilib"
58953 else
58954   multilib_arg=
58955 fi
58956
58957 # Export all the install information.
58958
58959   glibcxx_toolexecdir=no
58960   glibcxx_toolexeclibdir=no
58961   glibcxx_prefixdir=$prefix
58962
58963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58964 $as_echo_n "checking for gxx-include-dir... " >&6; }
58965
58966 # Check whether --with-gxx-include-dir was given.
58967 if test "${with_gxx_include_dir+set}" = set; then :
58968   withval=$with_gxx_include_dir; case "$withval" in
58969       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58970       no)  gxx_include_dir=no ;;
58971       *)   gxx_include_dir=$withval ;;
58972      esac
58973 else
58974   gxx_include_dir=no
58975 fi
58976
58977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58978 $as_echo "$gxx_include_dir" >&6; }
58979
58980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58981 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58982   # Check whether --enable-version-specific-runtime-libs was given.
58983 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58984   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58985       yes) version_specific_libs=yes ;;
58986       no)  version_specific_libs=no ;;
58987       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58988      esac
58989 else
58990   version_specific_libs=no
58991 fi
58992
58993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58994 $as_echo "$version_specific_libs" >&6; }
58995
58996   # Default case for install directory for include files.
58997   if test $version_specific_libs = no && test $gxx_include_dir = no; then
58998     gxx_include_dir='include/c++/${gcc_version}'
58999     if test -n "$with_cross_host" &&
59000        test x"$with_cross_host" != x"no"; then
59001       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59002     else
59003       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59004     fi
59005   fi
59006
59007   # Version-specific runtime libs processing.
59008   if test $version_specific_libs = yes; then
59009     # Need the gcc compiler version to know where to install libraries
59010     # and header files if --enable-version-specific-runtime-libs option
59011     # is selected.  FIXME: these variables are misnamed, there are
59012     # no executables installed in _toolexecdir or _toolexeclibdir.
59013     if test x"$gxx_include_dir" = x"no"; then
59014       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59015     fi
59016     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59017     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59018   fi
59019
59020   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59021   # Install a library built with a cross compiler in tooldir, not libdir.
59022   if test x"$glibcxx_toolexecdir" = x"no"; then
59023     if test -n "$with_cross_host" &&
59024        test x"$with_cross_host" != x"no"; then
59025       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59026       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59027     else
59028       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59029       glibcxx_toolexeclibdir='${libdir}'
59030     fi
59031     multi_os_directory=`$CXX -print-multi-os-directory`
59032     case $multi_os_directory in
59033       .) ;; # Avoid trailing /.
59034       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59035     esac
59036   fi
59037
59038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59039 $as_echo_n "checking for install location... " >&6; }
59040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59041 $as_echo "$gxx_include_dir" >&6; }
59042
59043
59044
59045
59046
59047
59048
59049 # Export all the include and flag information to Makefiles.
59050
59051   # Used for every C++ compile we perform.
59052   GLIBCXX_INCLUDES="\
59053 -I$glibcxx_builddir/include/$host_alias \
59054 -I$glibcxx_builddir/include \
59055 -I$glibcxx_srcdir/libsupc++"
59056
59057   # For Canadian crosses, pick this up too.
59058   if test $CANADIAN = yes; then
59059     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59060   fi
59061
59062   # Stuff in the actual top level.  Currently only used by libsupc++ to
59063   # get unwind* headers from the gcc dir.
59064   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59065   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59066
59067   # Now, export this to all the little Makefiles....
59068
59069
59070
59071
59072   # Optimization flags that are probably a good idea for thrill-seekers. Just
59073   # uncomment the lines below and make, everything else is ready to go...
59074   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59075   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59076
59077
59078   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59079
59080
59081
59082 if test "$enable_shared" = yes; then
59083   LIBSUPCXX_PICFLAGS="-prefer-pic"
59084 else
59085   LIBSUPCXX_PICFLAGS=
59086 fi
59087
59088
59089 ac_config_files="$ac_config_files Makefile"
59090
59091 ac_config_files="$ac_config_files scripts/testsuite_flags"
59092
59093
59094 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59095 # that multilib installs will end up installed in the correct place.
59096 # The testsuite needs it for multilib-aware ABI baseline files.
59097 # To work around this not being passed down from config-ml.in ->
59098 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59099 # append it here.  Only modify Makefiles that have just been created.
59100 #
59101 # Also, get rid of this simulated-VPATH thing that automake does.
59102 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59103
59104
59105 ac_config_commands="$ac_config_commands generate-headers"
59106
59107
59108 cat >confcache <<\_ACEOF
59109 # This file is a shell script that caches the results of configure
59110 # tests run on this system so they can be shared between configure
59111 # scripts and configure runs, see configure's option --config-cache.
59112 # It is not useful on other systems.  If it contains results you don't
59113 # want to keep, you may remove or edit it.
59114 #
59115 # config.status only pays attention to the cache file if you give it
59116 # the --recheck option to rerun configure.
59117 #
59118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59120 # following values.
59121
59122 _ACEOF
59123
59124 # The following way of writing the cache mishandles newlines in values,
59125 # but we know of no workaround that is simple, portable, and efficient.
59126 # So, we kill variables containing newlines.
59127 # Ultrix sh set writes to stderr and can't be redirected directly,
59128 # and sets the high bit in the cache file unless we assign to the vars.
59129 (
59130   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59131     eval ac_val=\$$ac_var
59132     case $ac_val in #(
59133     *${as_nl}*)
59134       case $ac_var in #(
59135       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59137       esac
59138       case $ac_var in #(
59139       _ | IFS | as_nl) ;; #(
59140       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59141       *) { eval $ac_var=; unset $ac_var;} ;;
59142       esac ;;
59143     esac
59144   done
59145
59146   (set) 2>&1 |
59147     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59148     *${as_nl}ac_space=\ *)
59149       # `set' does not quote correctly, so add quotes: double-quote
59150       # substitution turns \\\\ into \\, and sed turns \\ into \.
59151       sed -n \
59152         "s/'/'\\\\''/g;
59153           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59154       ;; #(
59155     *)
59156       # `set' quotes correctly as required by POSIX, so do not add quotes.
59157       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59158       ;;
59159     esac |
59160     sort
59161 ) |
59162   sed '
59163      /^ac_cv_env_/b end
59164      t clear
59165      :clear
59166      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59167      t end
59168      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59169      :end' >>confcache
59170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59171   if test -w "$cache_file"; then
59172     test "x$cache_file" != "x/dev/null" &&
59173       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59174 $as_echo "$as_me: updating cache $cache_file" >&6;}
59175     cat confcache >$cache_file
59176   else
59177     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59178 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59179   fi
59180 fi
59181 rm -f confcache
59182
59183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59184 # Let make expand exec_prefix.
59185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59186
59187 DEFS=-DHAVE_CONFIG_H
59188
59189 ac_libobjs=
59190 ac_ltlibobjs=
59191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59192   # 1. Remove the extension, and $U if already installed.
59193   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59194   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59195   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59196   #    will be set to the directory where LIBOBJS objects are built.
59197   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59198   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59199 done
59200 LIBOBJS=$ac_libobjs
59201
59202 LTLIBOBJS=$ac_ltlibobjs
59203
59204
59205  if test -n "$EXEEXT"; then
59206   am__EXEEXT_TRUE=
59207   am__EXEEXT_FALSE='#'
59208 else
59209   am__EXEEXT_TRUE='#'
59210   am__EXEEXT_FALSE=
59211 fi
59212
59213 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59214   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59216 fi
59217 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59218   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59220 fi
59221 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59222   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59224 fi
59225 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59226   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59228 fi
59229 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59230   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59232 fi
59233 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59234   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59236 fi
59237 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59238   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59240 fi
59241 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59242   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59244 fi
59245 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59246   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59248 fi
59249 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59250   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59252 fi
59253 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59254   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59256 fi
59257 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59258   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59260 fi
59261 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59262   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59264 fi
59265 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59266   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59268 fi
59269 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59270   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59272 fi
59273 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59274   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59276 fi
59277
59278 : ${CONFIG_STATUS=./config.status}
59279 ac_write_fail=0
59280 ac_clean_files_save=$ac_clean_files
59281 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59283 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59284 as_write_fail=0
59285 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59286 #! $SHELL
59287 # Generated by $as_me.
59288 # Run this file to recreate the current configuration.
59289 # Compiler output produced by configure, useful for debugging
59290 # configure, is in config.log if it exists.
59291
59292 debug=false
59293 ac_cs_recheck=false
59294 ac_cs_silent=false
59295
59296 SHELL=\${CONFIG_SHELL-$SHELL}
59297 export SHELL
59298 _ASEOF
59299 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59300 ## -------------------- ##
59301 ## M4sh Initialization. ##
59302 ## -------------------- ##
59303
59304 # Be more Bourne compatible
59305 DUALCASE=1; export DUALCASE # for MKS sh
59306 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59307   emulate sh
59308   NULLCMD=:
59309   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59310   # is contrary to our usage.  Disable this feature.
59311   alias -g '${1+"$@"}'='"$@"'
59312   setopt NO_GLOB_SUBST
59313 else
59314   case `(set -o) 2>/dev/null` in #(
59315   *posix*) :
59316     set -o posix ;; #(
59317   *) :
59318      ;;
59319 esac
59320 fi
59321
59322
59323 as_nl='
59324 '
59325 export as_nl
59326 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59327 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59330 # Prefer a ksh shell builtin over an external printf program on Solaris,
59331 # but without wasting forks for bash or zsh.
59332 if test -z "$BASH_VERSION$ZSH_VERSION" \
59333     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59334   as_echo='print -r --'
59335   as_echo_n='print -rn --'
59336 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59337   as_echo='printf %s\n'
59338   as_echo_n='printf %s'
59339 else
59340   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59341     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59342     as_echo_n='/usr/ucb/echo -n'
59343   else
59344     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59345     as_echo_n_body='eval
59346       arg=$1;
59347       case $arg in #(
59348       *"$as_nl"*)
59349         expr "X$arg" : "X\\(.*\\)$as_nl";
59350         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59351       esac;
59352       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59353     '
59354     export as_echo_n_body
59355     as_echo_n='sh -c $as_echo_n_body as_echo'
59356   fi
59357   export as_echo_body
59358   as_echo='sh -c $as_echo_body as_echo'
59359 fi
59360
59361 # The user is always right.
59362 if test "${PATH_SEPARATOR+set}" != set; then
59363   PATH_SEPARATOR=:
59364   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59365     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59366       PATH_SEPARATOR=';'
59367   }
59368 fi
59369
59370
59371 # IFS
59372 # We need space, tab and new line, in precisely that order.  Quoting is
59373 # there to prevent editors from complaining about space-tab.
59374 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59375 # splitting by setting IFS to empty value.)
59376 IFS=" ""        $as_nl"
59377
59378 # Find who we are.  Look in the path if we contain no directory separator.
59379 case $0 in #((
59380   *[\\/]* ) as_myself=$0 ;;
59381   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59382 for as_dir in $PATH
59383 do
59384   IFS=$as_save_IFS
59385   test -z "$as_dir" && as_dir=.
59386     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59387   done
59388 IFS=$as_save_IFS
59389
59390      ;;
59391 esac
59392 # We did not find ourselves, most probably we were run as `sh COMMAND'
59393 # in which case we are not to be found in the path.
59394 if test "x$as_myself" = x; then
59395   as_myself=$0
59396 fi
59397 if test ! -f "$as_myself"; then
59398   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59399   exit 1
59400 fi
59401
59402 # Unset variables that we do not need and which cause bugs (e.g. in
59403 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59404 # suppresses any "Segmentation fault" message there.  '((' could
59405 # trigger a bug in pdksh 5.2.14.
59406 for as_var in BASH_ENV ENV MAIL MAILPATH
59407 do eval test x\${$as_var+set} = xset \
59408   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59409 done
59410 PS1='$ '
59411 PS2='> '
59412 PS4='+ '
59413
59414 # NLS nuisances.
59415 LC_ALL=C
59416 export LC_ALL
59417 LANGUAGE=C
59418 export LANGUAGE
59419
59420 # CDPATH.
59421 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59422
59423
59424 # as_fn_error ERROR [LINENO LOG_FD]
59425 # ---------------------------------
59426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59428 # script with status $?, using 1 if that was 0.
59429 as_fn_error ()
59430 {
59431   as_status=$?; test $as_status -eq 0 && as_status=1
59432   if test "$3"; then
59433     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59434     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59435   fi
59436   $as_echo "$as_me: error: $1" >&2
59437   as_fn_exit $as_status
59438 } # as_fn_error
59439
59440
59441 # as_fn_set_status STATUS
59442 # -----------------------
59443 # Set $? to STATUS, without forking.
59444 as_fn_set_status ()
59445 {
59446   return $1
59447 } # as_fn_set_status
59448
59449 # as_fn_exit STATUS
59450 # -----------------
59451 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59452 as_fn_exit ()
59453 {
59454   set +e
59455   as_fn_set_status $1
59456   exit $1
59457 } # as_fn_exit
59458
59459 # as_fn_unset VAR
59460 # ---------------
59461 # Portably unset VAR.
59462 as_fn_unset ()
59463 {
59464   { eval $1=; unset $1;}
59465 }
59466 as_unset=as_fn_unset
59467 # as_fn_append VAR VALUE
59468 # ----------------------
59469 # Append the text in VALUE to the end of the definition contained in VAR. Take
59470 # advantage of any shell optimizations that allow amortized linear growth over
59471 # repeated appends, instead of the typical quadratic growth present in naive
59472 # implementations.
59473 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59474   eval 'as_fn_append ()
59475   {
59476     eval $1+=\$2
59477   }'
59478 else
59479   as_fn_append ()
59480   {
59481     eval $1=\$$1\$2
59482   }
59483 fi # as_fn_append
59484
59485 # as_fn_arith ARG...
59486 # ------------------
59487 # Perform arithmetic evaluation on the ARGs, and store the result in the
59488 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59489 # must be portable across $(()) and expr.
59490 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59491   eval 'as_fn_arith ()
59492   {
59493     as_val=$(( $* ))
59494   }'
59495 else
59496   as_fn_arith ()
59497   {
59498     as_val=`expr "$@" || test $? -eq 1`
59499   }
59500 fi # as_fn_arith
59501
59502
59503 if expr a : '\(a\)' >/dev/null 2>&1 &&
59504    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59505   as_expr=expr
59506 else
59507   as_expr=false
59508 fi
59509
59510 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59511   as_basename=basename
59512 else
59513   as_basename=false
59514 fi
59515
59516 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59517   as_dirname=dirname
59518 else
59519   as_dirname=false
59520 fi
59521
59522 as_me=`$as_basename -- "$0" ||
59523 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59524          X"$0" : 'X\(//\)$' \| \
59525          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59526 $as_echo X/"$0" |
59527     sed '/^.*\/\([^/][^/]*\)\/*$/{
59528             s//\1/
59529             q
59530           }
59531           /^X\/\(\/\/\)$/{
59532             s//\1/
59533             q
59534           }
59535           /^X\/\(\/\).*/{
59536             s//\1/
59537             q
59538           }
59539           s/.*/./; q'`
59540
59541 # Avoid depending upon Character Ranges.
59542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59545 as_cr_digits='0123456789'
59546 as_cr_alnum=$as_cr_Letters$as_cr_digits
59547
59548 ECHO_C= ECHO_N= ECHO_T=
59549 case `echo -n x` in #(((((
59550 -n*)
59551   case `echo 'xy\c'` in
59552   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59553   xy)  ECHO_C='\c';;
59554   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59555        ECHO_T=' ';;
59556   esac;;
59557 *)
59558   ECHO_N='-n';;
59559 esac
59560
59561 rm -f conf$$ conf$$.exe conf$$.file
59562 if test -d conf$$.dir; then
59563   rm -f conf$$.dir/conf$$.file
59564 else
59565   rm -f conf$$.dir
59566   mkdir conf$$.dir 2>/dev/null
59567 fi
59568 if (echo >conf$$.file) 2>/dev/null; then
59569   if ln -s conf$$.file conf$$ 2>/dev/null; then
59570     as_ln_s='ln -s'
59571     # ... but there are two gotchas:
59572     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59573     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59574     # In both cases, we have to default to `cp -p'.
59575     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59576       as_ln_s='cp -p'
59577   elif ln conf$$.file conf$$ 2>/dev/null; then
59578     as_ln_s=ln
59579   else
59580     as_ln_s='cp -p'
59581   fi
59582 else
59583   as_ln_s='cp -p'
59584 fi
59585 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59586 rmdir conf$$.dir 2>/dev/null
59587
59588
59589 # as_fn_mkdir_p
59590 # -------------
59591 # Create "$as_dir" as a directory, including parents if necessary.
59592 as_fn_mkdir_p ()
59593 {
59594
59595   case $as_dir in #(
59596   -*) as_dir=./$as_dir;;
59597   esac
59598   test -d "$as_dir" || eval $as_mkdir_p || {
59599     as_dirs=
59600     while :; do
59601       case $as_dir in #(
59602       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59603       *) as_qdir=$as_dir;;
59604       esac
59605       as_dirs="'$as_qdir' $as_dirs"
59606       as_dir=`$as_dirname -- "$as_dir" ||
59607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59608          X"$as_dir" : 'X\(//\)[^/]' \| \
59609          X"$as_dir" : 'X\(//\)$' \| \
59610          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59611 $as_echo X"$as_dir" |
59612     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59613             s//\1/
59614             q
59615           }
59616           /^X\(\/\/\)[^/].*/{
59617             s//\1/
59618             q
59619           }
59620           /^X\(\/\/\)$/{
59621             s//\1/
59622             q
59623           }
59624           /^X\(\/\).*/{
59625             s//\1/
59626             q
59627           }
59628           s/.*/./; q'`
59629       test -d "$as_dir" && break
59630     done
59631     test -z "$as_dirs" || eval "mkdir $as_dirs"
59632   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59633
59634
59635 } # as_fn_mkdir_p
59636 if mkdir -p . 2>/dev/null; then
59637   as_mkdir_p='mkdir -p "$as_dir"'
59638 else
59639   test -d ./-p && rmdir ./-p
59640   as_mkdir_p=false
59641 fi
59642
59643 if test -x / >/dev/null 2>&1; then
59644   as_test_x='test -x'
59645 else
59646   if ls -dL / >/dev/null 2>&1; then
59647     as_ls_L_option=L
59648   else
59649     as_ls_L_option=
59650   fi
59651   as_test_x='
59652     eval sh -c '\''
59653       if test -d "$1"; then
59654         test -d "$1/.";
59655       else
59656         case $1 in #(
59657         -*)set "./$1";;
59658         esac;
59659         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59660         ???[sx]*):;;*)false;;esac;fi
59661     '\'' sh
59662   '
59663 fi
59664 as_executable_p=$as_test_x
59665
59666 # Sed expression to map a string onto a valid CPP name.
59667 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59668
59669 # Sed expression to map a string onto a valid variable name.
59670 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59671
59672
59673 exec 6>&1
59674 ## ----------------------------------- ##
59675 ## Main body of $CONFIG_STATUS script. ##
59676 ## ----------------------------------- ##
59677 _ASEOF
59678 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59679
59680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59681 # Save the log message, to keep $0 and so on meaningful, and to
59682 # report actual input values of CONFIG_FILES etc. instead of their
59683 # values after options handling.
59684 ac_log="
59685 This file was extended by package-unused $as_me version-unused, which was
59686 generated by GNU Autoconf 2.64.  Invocation command line was
59687
59688   CONFIG_FILES    = $CONFIG_FILES
59689   CONFIG_HEADERS  = $CONFIG_HEADERS
59690   CONFIG_LINKS    = $CONFIG_LINKS
59691   CONFIG_COMMANDS = $CONFIG_COMMANDS
59692   $ $0 $@
59693
59694 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59695 "
59696
59697 _ACEOF
59698
59699 case $ac_config_files in *"
59700 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59701 esac
59702
59703 case $ac_config_headers in *"
59704 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59705 esac
59706
59707
59708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59709 # Files that config.status was made for.
59710 config_files="$ac_config_files"
59711 config_headers="$ac_config_headers"
59712 config_commands="$ac_config_commands"
59713
59714 _ACEOF
59715
59716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59717 ac_cs_usage="\
59718 \`$as_me' instantiates files and other configuration actions
59719 from templates according to the current configuration.  Unless the files
59720 and actions are specified as TAGs, all are instantiated by default.
59721
59722 Usage: $0 [OPTION]... [TAG]...
59723
59724   -h, --help       print this help, then exit
59725   -V, --version    print version number and configuration settings, then exit
59726   -q, --quiet, --silent
59727                    do not print progress messages
59728   -d, --debug      don't remove temporary files
59729       --recheck    update $as_me by reconfiguring in the same conditions
59730       --file=FILE[:TEMPLATE]
59731                    instantiate the configuration file FILE
59732       --header=FILE[:TEMPLATE]
59733                    instantiate the configuration header FILE
59734
59735 Configuration files:
59736 $config_files
59737
59738 Configuration headers:
59739 $config_headers
59740
59741 Configuration commands:
59742 $config_commands
59743
59744 Report bugs to the package provider."
59745
59746 _ACEOF
59747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59748 ac_cs_version="\\
59749 package-unused config.status version-unused
59750 configured by $0, generated by GNU Autoconf 2.64,
59751   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59752
59753 Copyright (C) 2009 Free Software Foundation, Inc.
59754 This config.status script is free software; the Free Software Foundation
59755 gives unlimited permission to copy, distribute and modify it."
59756
59757 ac_pwd='$ac_pwd'
59758 srcdir='$srcdir'
59759 INSTALL='$INSTALL'
59760 MKDIR_P='$MKDIR_P'
59761 AWK='$AWK'
59762 test -n "\$AWK" || AWK=awk
59763 _ACEOF
59764
59765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59766 # The default lists apply if the user does not specify any file.
59767 ac_need_defaults=:
59768 while test $# != 0
59769 do
59770   case $1 in
59771   --*=*)
59772     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59773     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59774     ac_shift=:
59775     ;;
59776   *)
59777     ac_option=$1
59778     ac_optarg=$2
59779     ac_shift=shift
59780     ;;
59781   esac
59782
59783   case $ac_option in
59784   # Handling of the options.
59785   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59786     ac_cs_recheck=: ;;
59787   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59788     $as_echo "$ac_cs_version"; exit ;;
59789   --debug | --debu | --deb | --de | --d | -d )
59790     debug=: ;;
59791   --file | --fil | --fi | --f )
59792     $ac_shift
59793     case $ac_optarg in
59794     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59795     esac
59796     as_fn_append CONFIG_FILES " '$ac_optarg'"
59797     ac_need_defaults=false;;
59798   --header | --heade | --head | --hea )
59799     $ac_shift
59800     case $ac_optarg in
59801     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59802     esac
59803     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59804     ac_need_defaults=false;;
59805   --he | --h)
59806     # Conflict between --help and --header
59807     as_fn_error "ambiguous option: \`$1'
59808 Try \`$0 --help' for more information.";;
59809   --help | --hel | -h )
59810     $as_echo "$ac_cs_usage"; exit ;;
59811   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59812   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59813     ac_cs_silent=: ;;
59814
59815   # This is an error.
59816   -*) as_fn_error "unrecognized option: \`$1'
59817 Try \`$0 --help' for more information." ;;
59818
59819   *) as_fn_append ac_config_targets " $1"
59820      ac_need_defaults=false ;;
59821
59822   esac
59823   shift
59824 done
59825
59826 ac_configure_extra_args=
59827
59828 if $ac_cs_silent; then
59829   exec 6>/dev/null
59830   ac_configure_extra_args="$ac_configure_extra_args --silent"
59831 fi
59832
59833 _ACEOF
59834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59835 if \$ac_cs_recheck; then
59836   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59837   shift
59838   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59839   CONFIG_SHELL='$SHELL'
59840   export CONFIG_SHELL
59841   exec "\$@"
59842 fi
59843
59844 _ACEOF
59845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59846 exec 5>>config.log
59847 {
59848   echo
59849   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59850 ## Running $as_me. ##
59851 _ASBOX
59852   $as_echo "$ac_log"
59853 } >&5
59854
59855 _ACEOF
59856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59857 #
59858 # INIT-COMMANDS
59859 #
59860
59861 srcdir="$srcdir"
59862 host="$host"
59863 target="$target"
59864 with_multisubdir="$with_multisubdir"
59865 with_multisrctop="$with_multisrctop"
59866 with_target_subdir="$with_target_subdir"
59867 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59868 multi_basedir="$multi_basedir"
59869 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59870 CC="$CC"
59871 CXX="$CXX"
59872 GFORTRAN="$GFORTRAN"
59873 GCJ="$GCJ"
59874
59875
59876 # The HP-UX ksh and POSIX shell print the target directory to stdout
59877 # if CDPATH is set.
59878 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59879
59880 sed_quote_subst='$sed_quote_subst'
59881 double_quote_subst='$double_quote_subst'
59882 delay_variable_subst='$delay_variable_subst'
59883 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
59884 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
59885 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
59886 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
59887 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
59888 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
59889 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
59890 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
59891 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
59892 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
59893 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
59894 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
59895 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
59896 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
59897 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
59898 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
59899 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
59900 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
59901 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
59902 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
59903 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
59904 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
59905 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
59906 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
59907 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
59908 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
59909 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
59910 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59911 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
59912 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
59913 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
59914 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
59915 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59916 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
59917 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
59918 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59919 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59920 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59921 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
59922 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59923 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
59924 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
59925 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
59926 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
59927 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"`'
59928 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"`'
59929 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
59930 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
59931 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
59932 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
59933 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
59934 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
59935 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
59936 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
59937 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
59938 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
59939 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
59940 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
59941 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
59942 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
59943 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
59944 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
59945 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59946 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59947 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
59948 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
59949 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59950 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59951 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
59952 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59953 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59954 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59955 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59956 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59957 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59958 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
59959 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59960 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59961 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59962 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
59963 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
59964 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
59965 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
59966 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
59967 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59968 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
59969 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
59970 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
59971 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
59972 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
59973 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59974 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59975 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59976 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59977 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
59978 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
59979 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59980 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
59981 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
59982 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59983 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59984 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
59985 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59986 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
59987 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59988 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59989 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59990 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59991 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
59992 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
59993 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59994 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59995 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
59996 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
59997 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
59998 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
59999 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
60000 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
60001 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
60002 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
60003 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
60004 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
60005 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
60006 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
60007 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60008 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60009 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60010 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60011 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60012 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60013 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60014 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60015 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60016 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60017 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60018 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60019 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60020 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60021 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60022 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60023 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60024 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60025 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60026 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60027 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60028 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60029 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60030 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60031 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60032 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60033 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60034 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60035 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60036 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60037 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60038 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60039 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60040 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60041 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60042 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60043 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60044 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60045 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60046 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60047 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60048 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60049 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60050 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60051 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60052 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60053 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60054
60055 LTCC='$LTCC'
60056 LTCFLAGS='$LTCFLAGS'
60057 compiler='$compiler_DEFAULT'
60058
60059 # Quote evaled strings.
60060 for var in SED \
60061 GREP \
60062 EGREP \
60063 FGREP \
60064 LD \
60065 NM \
60066 LN_S \
60067 lt_SP2NL \
60068 lt_NL2SP \
60069 reload_flag \
60070 OBJDUMP \
60071 deplibs_check_method \
60072 file_magic_cmd \
60073 AR \
60074 AR_FLAGS \
60075 STRIP \
60076 RANLIB \
60077 CC \
60078 CFLAGS \
60079 compiler \
60080 lt_cv_sys_global_symbol_pipe \
60081 lt_cv_sys_global_symbol_to_cdecl \
60082 lt_cv_sys_global_symbol_to_c_name_address \
60083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60084 SHELL \
60085 ECHO \
60086 lt_prog_compiler_no_builtin_flag \
60087 lt_prog_compiler_wl \
60088 lt_prog_compiler_pic \
60089 lt_prog_compiler_static \
60090 lt_cv_prog_compiler_c_o \
60091 need_locks \
60092 DSYMUTIL \
60093 NMEDIT \
60094 LIPO \
60095 OTOOL \
60096 OTOOL64 \
60097 shrext_cmds \
60098 export_dynamic_flag_spec \
60099 whole_archive_flag_spec \
60100 compiler_needs_object \
60101 with_gnu_ld \
60102 allow_undefined_flag \
60103 no_undefined_flag \
60104 hardcode_libdir_flag_spec \
60105 hardcode_libdir_flag_spec_ld \
60106 hardcode_libdir_separator \
60107 fix_srcfile_path \
60108 exclude_expsyms \
60109 include_expsyms \
60110 file_list_spec \
60111 variables_saved_for_relink \
60112 libname_spec \
60113 library_names_spec \
60114 soname_spec \
60115 finish_eval \
60116 old_striplib \
60117 striplib \
60118 compiler_lib_search_dirs \
60119 predep_objects \
60120 postdep_objects \
60121 predeps \
60122 postdeps \
60123 compiler_lib_search_path \
60124 LD_CXX \
60125 compiler_CXX \
60126 lt_prog_compiler_no_builtin_flag_CXX \
60127 lt_prog_compiler_wl_CXX \
60128 lt_prog_compiler_pic_CXX \
60129 lt_prog_compiler_static_CXX \
60130 lt_cv_prog_compiler_c_o_CXX \
60131 export_dynamic_flag_spec_CXX \
60132 whole_archive_flag_spec_CXX \
60133 compiler_needs_object_CXX \
60134 with_gnu_ld_CXX \
60135 allow_undefined_flag_CXX \
60136 no_undefined_flag_CXX \
60137 hardcode_libdir_flag_spec_CXX \
60138 hardcode_libdir_flag_spec_ld_CXX \
60139 hardcode_libdir_separator_CXX \
60140 fix_srcfile_path_CXX \
60141 exclude_expsyms_CXX \
60142 include_expsyms_CXX \
60143 file_list_spec_CXX \
60144 compiler_lib_search_dirs_CXX \
60145 predep_objects_CXX \
60146 postdep_objects_CXX \
60147 predeps_CXX \
60148 postdeps_CXX \
60149 compiler_lib_search_path_CXX; do
60150     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60151     *[\\\\\\\`\\"\\\$]*)
60152       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60153       ;;
60154     *)
60155       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60156       ;;
60157     esac
60158 done
60159
60160 # Double-quote double-evaled strings.
60161 for var in reload_cmds \
60162 old_postinstall_cmds \
60163 old_postuninstall_cmds \
60164 old_archive_cmds \
60165 extract_expsyms_cmds \
60166 old_archive_from_new_cmds \
60167 old_archive_from_expsyms_cmds \
60168 archive_cmds \
60169 archive_expsym_cmds \
60170 module_cmds \
60171 module_expsym_cmds \
60172 export_symbols_cmds \
60173 prelink_cmds \
60174 postinstall_cmds \
60175 postuninstall_cmds \
60176 finish_cmds \
60177 sys_lib_search_path_spec \
60178 sys_lib_dlsearch_path_spec \
60179 old_archive_cmds_CXX \
60180 old_archive_from_new_cmds_CXX \
60181 old_archive_from_expsyms_cmds_CXX \
60182 archive_cmds_CXX \
60183 archive_expsym_cmds_CXX \
60184 module_cmds_CXX \
60185 module_expsym_cmds_CXX \
60186 export_symbols_cmds_CXX \
60187 prelink_cmds_CXX; do
60188     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60189     *[\\\\\\\`\\"\\\$]*)
60190       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60191       ;;
60192     *)
60193       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60194       ;;
60195     esac
60196 done
60197
60198 # Fix-up fallback echo if it was mangled by the above quoting rules.
60199 case \$lt_ECHO in
60200 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
60201   ;;
60202 esac
60203
60204 ac_aux_dir='$ac_aux_dir'
60205 xsi_shell='$xsi_shell'
60206 lt_shell_append='$lt_shell_append'
60207
60208 # See if we are running on zsh, and set the options which allow our
60209 # commands through without removal of \ escapes INIT.
60210 if test -n "\${ZSH_VERSION+set}" ; then
60211    setopt NO_GLOB_SUBST
60212 fi
60213
60214
60215     PACKAGE='$PACKAGE'
60216     VERSION='$VERSION'
60217     TIMESTAMP='$TIMESTAMP'
60218     RM='$RM'
60219     ofile='$ofile'
60220
60221
60222
60223
60224
60225
60226 GCC="$GCC"
60227 CC="$CC"
60228 acx_cv_header_stdint="$acx_cv_header_stdint"
60229 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60230 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60231 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60232 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60233 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60234 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60235 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60236 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60237 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60238 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60239 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60240 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60241 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60242
60243
60244 _ACEOF
60245
60246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60247
60248 # Handling of arguments.
60249 for ac_config_target in $ac_config_targets
60250 do
60251   case $ac_config_target in
60252     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60253     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60254     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60255     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60257     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60258     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60259     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60260     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60261     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60262     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60263     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60264     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60265     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60266
60267   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60268   esac
60269 done
60270
60271
60272 # If the user did not use the arguments to specify the items to instantiate,
60273 # then the envvar interface is used.  Set only those that are not.
60274 # We use the long form for the default assignment because of an extremely
60275 # bizarre bug on SunOS 4.1.3.
60276 if $ac_need_defaults; then
60277   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60278   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60279   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60280 fi
60281
60282 # Have a temporary directory for convenience.  Make it in the build tree
60283 # simply because there is no reason against having it here, and in addition,
60284 # creating and moving files from /tmp can sometimes cause problems.
60285 # Hook for its removal unless debugging.
60286 # Note that there is a small window in which the directory will not be cleaned:
60287 # after its creation but before its name has been assigned to `$tmp'.
60288 $debug ||
60289 {
60290   tmp=
60291   trap 'exit_status=$?
60292   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60293 ' 0
60294   trap 'as_fn_exit 1' 1 2 13 15
60295 }
60296 # Create a (secure) tmp directory for tmp files.
60297
60298 {
60299   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60300   test -n "$tmp" && test -d "$tmp"
60301 }  ||
60302 {
60303   tmp=./conf$$-$RANDOM
60304   (umask 077 && mkdir "$tmp")
60305 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60306
60307 # Set up the scripts for CONFIG_FILES section.
60308 # No need to generate them if there are no CONFIG_FILES.
60309 # This happens for instance with `./config.status config.h'.
60310 if test -n "$CONFIG_FILES"; then
60311
60312
60313 ac_cr=`echo X | tr X '\015'`
60314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60315 # But we know of no other shell where ac_cr would be empty at this
60316 # point, so we can use a bashism as a fallback.
60317 if test "x$ac_cr" = x; then
60318   eval ac_cr=\$\'\\r\'
60319 fi
60320 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60322   ac_cs_awk_cr='\r'
60323 else
60324   ac_cs_awk_cr=$ac_cr
60325 fi
60326
60327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60328 _ACEOF
60329
60330
60331 {
60332   echo "cat >conf$$subs.awk <<_ACEOF" &&
60333   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60334   echo "_ACEOF"
60335 } >conf$$subs.sh ||
60336   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60338 ac_delim='%!_!# '
60339 for ac_last_try in false false false false false :; do
60340   . ./conf$$subs.sh ||
60341     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60342
60343   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60344   if test $ac_delim_n = $ac_delim_num; then
60345     break
60346   elif $ac_last_try; then
60347     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60348   else
60349     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60350   fi
60351 done
60352 rm -f conf$$subs.sh
60353
60354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60355 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60356 _ACEOF
60357 sed -n '
60358 h
60359 s/^/S["/; s/!.*/"]=/
60360 p
60361 g
60362 s/^[^!]*!//
60363 :repl
60364 t repl
60365 s/'"$ac_delim"'$//
60366 t delim
60367 :nl
60368 h
60369 s/\(.\{148\}\).*/\1/
60370 t more1
60371 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60372 p
60373 n
60374 b repl
60375 :more1
60376 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60377 p
60378 g
60379 s/.\{148\}//
60380 t nl
60381 :delim
60382 h
60383 s/\(.\{148\}\).*/\1/
60384 t more2
60385 s/["\\]/\\&/g; s/^/"/; s/$/"/
60386 p
60387 b
60388 :more2
60389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60390 p
60391 g
60392 s/.\{148\}//
60393 t delim
60394 ' <conf$$subs.awk | sed '
60395 /^[^""]/{
60396   N
60397   s/\n//
60398 }
60399 ' >>$CONFIG_STATUS || ac_write_fail=1
60400 rm -f conf$$subs.awk
60401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60402 _ACAWK
60403 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60404   for (key in S) S_is_set[key] = 1
60405   FS = "\a"
60406
60407 }
60408 {
60409   line = $ 0
60410   nfields = split(line, field, "@")
60411   substed = 0
60412   len = length(field[1])
60413   for (i = 2; i < nfields; i++) {
60414     key = field[i]
60415     keylen = length(key)
60416     if (S_is_set[key]) {
60417       value = S[key]
60418       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60419       len += length(value) + length(field[++i])
60420       substed = 1
60421     } else
60422       len += 1 + keylen
60423   }
60424
60425   print line
60426 }
60427
60428 _ACAWK
60429 _ACEOF
60430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60431 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60432   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60433 else
60434   cat
60435 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60436   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60437 _ACEOF
60438
60439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60441 # trailing colons and then remove the whole line if VPATH becomes empty
60442 # (actually we leave an empty line to preserve line numbers).
60443 if test "x$srcdir" = x.; then
60444   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60445 s/:*\$(srcdir):*/:/
60446 s/:*\${srcdir}:*/:/
60447 s/:*@srcdir@:*/:/
60448 s/^\([^=]*=[     ]*\):*/\1/
60449 s/:*$//
60450 s/^[^=]*=[       ]*$//
60451 }'
60452 fi
60453
60454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60455 fi # test -n "$CONFIG_FILES"
60456
60457 # Set up the scripts for CONFIG_HEADERS section.
60458 # No need to generate them if there are no CONFIG_HEADERS.
60459 # This happens for instance with `./config.status Makefile'.
60460 if test -n "$CONFIG_HEADERS"; then
60461 cat >"$tmp/defines.awk" <<\_ACAWK ||
60462 BEGIN {
60463 _ACEOF
60464
60465 # Transform confdefs.h into an awk script `defines.awk', embedded as
60466 # here-document in config.status, that substitutes the proper values into
60467 # config.h.in to produce config.h.
60468
60469 # Create a delimiter string that does not exist in confdefs.h, to ease
60470 # handling of long lines.
60471 ac_delim='%!_!# '
60472 for ac_last_try in false false :; do
60473   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60474   if test -z "$ac_t"; then
60475     break
60476   elif $ac_last_try; then
60477     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60478   else
60479     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60480   fi
60481 done
60482
60483 # For the awk script, D is an array of macro values keyed by name,
60484 # likewise P contains macro parameters if any.  Preserve backslash
60485 # newline sequences.
60486
60487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60488 sed -n '
60489 s/.\{148\}/&'"$ac_delim"'/g
60490 t rset
60491 :rset
60492 s/^[     ]*#[    ]*define[       ][      ]*/ /
60493 t def
60494 d
60495 :def
60496 s/\\$//
60497 t bsnl
60498 s/["\\]/\\&/g
60499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60500 D["\1"]=" \3"/p
60501 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60502 d
60503 :bsnl
60504 s/["\\]/\\&/g
60505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60506 D["\1"]=" \3\\\\\\n"\\/p
60507 t cont
60508 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60509 t cont
60510 d
60511 :cont
60512 n
60513 s/.\{148\}/&'"$ac_delim"'/g
60514 t clear
60515 :clear
60516 s/\\$//
60517 t bsnlc
60518 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60519 d
60520 :bsnlc
60521 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60522 b cont
60523 ' <confdefs.h | sed '
60524 s/'"$ac_delim"'/"\\\
60525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60526
60527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60528   for (key in D) D_is_set[key] = 1
60529   FS = "\a"
60530 }
60531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60532   line = \$ 0
60533   split(line, arg, " ")
60534   if (arg[1] == "#") {
60535     defundef = arg[2]
60536     mac1 = arg[3]
60537   } else {
60538     defundef = substr(arg[1], 2)
60539     mac1 = arg[2]
60540   }
60541   split(mac1, mac2, "(") #)
60542   macro = mac2[1]
60543   prefix = substr(line, 1, index(line, defundef) - 1)
60544   if (D_is_set[macro]) {
60545     # Preserve the white space surrounding the "#".
60546     print prefix "define", macro P[macro] D[macro]
60547     next
60548   } else {
60549     # Replace #undef with comments.  This is necessary, for example,
60550     # in the case of _POSIX_SOURCE, which is predefined and required
60551     # on some systems where configure will not decide to define it.
60552     if (defundef == "undef") {
60553       print "/*", prefix defundef, macro, "*/"
60554       next
60555     }
60556   }
60557 }
60558 { print }
60559 _ACAWK
60560 _ACEOF
60561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60562   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60563 fi # test -n "$CONFIG_HEADERS"
60564
60565
60566 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60567 shift
60568 for ac_tag
60569 do
60570   case $ac_tag in
60571   :[FHLC]) ac_mode=$ac_tag; continue;;
60572   esac
60573   case $ac_mode$ac_tag in
60574   :[FHL]*:*);;
60575   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60576   :[FH]-) ac_tag=-:-;;
60577   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60578   esac
60579   ac_save_IFS=$IFS
60580   IFS=:
60581   set x $ac_tag
60582   IFS=$ac_save_IFS
60583   shift
60584   ac_file=$1
60585   shift
60586
60587   case $ac_mode in
60588   :L) ac_source=$1;;
60589   :[FH])
60590     ac_file_inputs=
60591     for ac_f
60592     do
60593       case $ac_f in
60594       -) ac_f="$tmp/stdin";;
60595       *) # Look for the file first in the build tree, then in the source tree
60596          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60597          # because $ac_f cannot contain `:'.
60598          test -f "$ac_f" ||
60599            case $ac_f in
60600            [\\/$]*) false;;
60601            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60602            esac ||
60603            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60604       esac
60605       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60606       as_fn_append ac_file_inputs " '$ac_f'"
60607     done
60608
60609     # Let's still pretend it is `configure' which instantiates (i.e., don't
60610     # use $as_me), people would be surprised to read:
60611     #    /* config.h.  Generated by config.status.  */
60612     configure_input='Generated from '`
60613           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60614         `' by configure.'
60615     if test x"$ac_file" != x-; then
60616       configure_input="$ac_file.  $configure_input"
60617       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60618 $as_echo "$as_me: creating $ac_file" >&6;}
60619     fi
60620     # Neutralize special characters interpreted by sed in replacement strings.
60621     case $configure_input in #(
60622     *\&* | *\|* | *\\* )
60623        ac_sed_conf_input=`$as_echo "$configure_input" |
60624        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60625     *) ac_sed_conf_input=$configure_input;;
60626     esac
60627
60628     case $ac_tag in
60629     *:-:* | *:-) cat >"$tmp/stdin" \
60630       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60631     esac
60632     ;;
60633   esac
60634
60635   ac_dir=`$as_dirname -- "$ac_file" ||
60636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60637          X"$ac_file" : 'X\(//\)[^/]' \| \
60638          X"$ac_file" : 'X\(//\)$' \| \
60639          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60640 $as_echo X"$ac_file" |
60641     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60642             s//\1/
60643             q
60644           }
60645           /^X\(\/\/\)[^/].*/{
60646             s//\1/
60647             q
60648           }
60649           /^X\(\/\/\)$/{
60650             s//\1/
60651             q
60652           }
60653           /^X\(\/\).*/{
60654             s//\1/
60655             q
60656           }
60657           s/.*/./; q'`
60658   as_dir="$ac_dir"; as_fn_mkdir_p
60659   ac_builddir=.
60660
60661 case "$ac_dir" in
60662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60663 *)
60664   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60665   # A ".." for each directory in $ac_dir_suffix.
60666   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60667   case $ac_top_builddir_sub in
60668   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60669   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60670   esac ;;
60671 esac
60672 ac_abs_top_builddir=$ac_pwd
60673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60674 # for backward compatibility:
60675 ac_top_builddir=$ac_top_build_prefix
60676
60677 case $srcdir in
60678   .)  # We are building in place.
60679     ac_srcdir=.
60680     ac_top_srcdir=$ac_top_builddir_sub
60681     ac_abs_top_srcdir=$ac_pwd ;;
60682   [\\/]* | ?:[\\/]* )  # Absolute name.
60683     ac_srcdir=$srcdir$ac_dir_suffix;
60684     ac_top_srcdir=$srcdir
60685     ac_abs_top_srcdir=$srcdir ;;
60686   *) # Relative name.
60687     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60688     ac_top_srcdir=$ac_top_build_prefix$srcdir
60689     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60690 esac
60691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60692
60693
60694   case $ac_mode in
60695   :F)
60696   #
60697   # CONFIG_FILE
60698   #
60699
60700   case $INSTALL in
60701   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60702   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60703   esac
60704   ac_MKDIR_P=$MKDIR_P
60705   case $MKDIR_P in
60706   [\\/$]* | ?:[\\/]* ) ;;
60707   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60708   esac
60709 _ACEOF
60710
60711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60712 # If the template does not know about datarootdir, expand it.
60713 # FIXME: This hack should be removed a few years after 2.60.
60714 ac_datarootdir_hack=; ac_datarootdir_seen=
60715 ac_sed_dataroot='
60716 /datarootdir/ {
60717   p
60718   q
60719 }
60720 /@datadir@/p
60721 /@docdir@/p
60722 /@infodir@/p
60723 /@localedir@/p
60724 /@mandir@/p'
60725 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60726 *datarootdir*) ac_datarootdir_seen=yes;;
60727 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60728   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60729 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60730 _ACEOF
60731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60732   ac_datarootdir_hack='
60733   s&@datadir@&$datadir&g
60734   s&@docdir@&$docdir&g
60735   s&@infodir@&$infodir&g
60736   s&@localedir@&$localedir&g
60737   s&@mandir@&$mandir&g
60738   s&\\\${datarootdir}&$datarootdir&g' ;;
60739 esac
60740 _ACEOF
60741
60742 # Neutralize VPATH when `$srcdir' = `.'.
60743 # Shell code in configure.ac might set extrasub.
60744 # FIXME: do we really want to maintain this feature?
60745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60746 ac_sed_extra="$ac_vpsub
60747 $extrasub
60748 _ACEOF
60749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60750 :t
60751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60752 s|@configure_input@|$ac_sed_conf_input|;t t
60753 s&@top_builddir@&$ac_top_builddir_sub&;t t
60754 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60755 s&@srcdir@&$ac_srcdir&;t t
60756 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60757 s&@top_srcdir@&$ac_top_srcdir&;t t
60758 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60759 s&@builddir@&$ac_builddir&;t t
60760 s&@abs_builddir@&$ac_abs_builddir&;t t
60761 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60762 s&@INSTALL@&$ac_INSTALL&;t t
60763 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60764 $ac_datarootdir_hack
60765 "
60766 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60767   || as_fn_error "could not create $ac_file" "$LINENO" 5
60768
60769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60770   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60771   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60773 which seems to be undefined.  Please make sure it is defined." >&5
60774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60775 which seems to be undefined.  Please make sure it is defined." >&2;}
60776
60777   rm -f "$tmp/stdin"
60778   case $ac_file in
60779   -) cat "$tmp/out" && rm -f "$tmp/out";;
60780   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60781   esac \
60782   || as_fn_error "could not create $ac_file" "$LINENO" 5
60783  ;;
60784   :H)
60785   #
60786   # CONFIG_HEADER
60787   #
60788   if test x"$ac_file" != x-; then
60789     {
60790       $as_echo "/* $configure_input  */" \
60791       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60792     } >"$tmp/config.h" \
60793       || as_fn_error "could not create $ac_file" "$LINENO" 5
60794     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60795       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60797     else
60798       rm -f "$ac_file"
60799       mv "$tmp/config.h" "$ac_file" \
60800         || as_fn_error "could not create $ac_file" "$LINENO" 5
60801     fi
60802   else
60803     $as_echo "/* $configure_input  */" \
60804       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60805       || as_fn_error "could not create -" "$LINENO" 5
60806   fi
60807 # Compute "$ac_file"'s index in $config_headers.
60808 _am_arg="$ac_file"
60809 _am_stamp_count=1
60810 for _am_header in $config_headers :; do
60811   case $_am_header in
60812     $_am_arg | $_am_arg:* )
60813       break ;;
60814     * )
60815       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60816   esac
60817 done
60818 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60819 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60820          X"$_am_arg" : 'X\(//\)[^/]' \| \
60821          X"$_am_arg" : 'X\(//\)$' \| \
60822          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60823 $as_echo X"$_am_arg" |
60824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60825             s//\1/
60826             q
60827           }
60828           /^X\(\/\/\)[^/].*/{
60829             s//\1/
60830             q
60831           }
60832           /^X\(\/\/\)$/{
60833             s//\1/
60834             q
60835           }
60836           /^X\(\/\).*/{
60837             s//\1/
60838             q
60839           }
60840           s/.*/./; q'`/stamp-h$_am_stamp_count
60841  ;;
60842
60843   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60844 $as_echo "$as_me: executing $ac_file commands" >&6;}
60845  ;;
60846   esac
60847
60848
60849   case $ac_file$ac_mode in
60850     "default-1":C)
60851 # Only add multilib support code if we just rebuilt the top-level
60852 # Makefile.
60853 case " $CONFIG_FILES " in
60854  *" Makefile "*)
60855    ac_file=Makefile . ${multi_basedir}/config-ml.in
60856    ;;
60857 esac ;;
60858     "libtool":C)
60859
60860     # See if we are running on zsh, and set the options which allow our
60861     # commands through without removal of \ escapes.
60862     if test -n "${ZSH_VERSION+set}" ; then
60863       setopt NO_GLOB_SUBST
60864     fi
60865
60866     cfgfile="${ofile}T"
60867     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60868     $RM "$cfgfile"
60869
60870     cat <<_LT_EOF >> "$cfgfile"
60871 #! $SHELL
60872
60873 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60874 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60875 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60876 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60877 #
60878 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60879 #                 2006, 2007, 2008 Free Software Foundation, Inc.
60880 #   Written by Gordon Matzigkeit, 1996
60881 #
60882 #   This file is part of GNU Libtool.
60883 #
60884 # GNU Libtool is free software; you can redistribute it and/or
60885 # modify it under the terms of the GNU General Public License as
60886 # published by the Free Software Foundation; either version 2 of
60887 # the License, or (at your option) any later version.
60888 #
60889 # As a special exception to the GNU General Public License,
60890 # if you distribute this file as part of a program or library that
60891 # is built using GNU Libtool, you may include this file under the
60892 # same distribution terms that you use for the rest of that program.
60893 #
60894 # GNU Libtool is distributed in the hope that it will be useful,
60895 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60896 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60897 # GNU General Public License for more details.
60898 #
60899 # You should have received a copy of the GNU General Public License
60900 # along with GNU Libtool; see the file COPYING.  If not, a copy
60901 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60902 # obtained by writing to the Free Software Foundation, Inc.,
60903 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60904
60905
60906 # The names of the tagged configurations supported by this script.
60907 available_tags="CXX "
60908
60909 # ### BEGIN LIBTOOL CONFIG
60910
60911 # Which release of libtool.m4 was used?
60912 macro_version=$macro_version
60913 macro_revision=$macro_revision
60914
60915 # Whether or not to build shared libraries.
60916 build_libtool_libs=$enable_shared
60917
60918 # Whether or not to build static libraries.
60919 build_old_libs=$enable_static
60920
60921 # What type of objects to build.
60922 pic_mode=$pic_mode
60923
60924 # Whether or not to optimize for fast installation.
60925 fast_install=$enable_fast_install
60926
60927 # The host system.
60928 host_alias=$host_alias
60929 host=$host
60930 host_os=$host_os
60931
60932 # The build system.
60933 build_alias=$build_alias
60934 build=$build
60935 build_os=$build_os
60936
60937 # A sed program that does not truncate output.
60938 SED=$lt_SED
60939
60940 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60941 Xsed="\$SED -e 1s/^X//"
60942
60943 # A grep program that handles long lines.
60944 GREP=$lt_GREP
60945
60946 # An ERE matcher.
60947 EGREP=$lt_EGREP
60948
60949 # A literal string matcher.
60950 FGREP=$lt_FGREP
60951
60952 # A BSD- or MS-compatible name lister.
60953 NM=$lt_NM
60954
60955 # Whether we need soft or hard links.
60956 LN_S=$lt_LN_S
60957
60958 # What is the maximum length of a command?
60959 max_cmd_len=$max_cmd_len
60960
60961 # Object file suffix (normally "o").
60962 objext=$ac_objext
60963
60964 # Executable file suffix (normally "").
60965 exeext=$exeext
60966
60967 # whether the shell understands "unset".
60968 lt_unset=$lt_unset
60969
60970 # turn spaces into newlines.
60971 SP2NL=$lt_lt_SP2NL
60972
60973 # turn newlines into spaces.
60974 NL2SP=$lt_lt_NL2SP
60975
60976 # How to create reloadable object files.
60977 reload_flag=$lt_reload_flag
60978 reload_cmds=$lt_reload_cmds
60979
60980 # An object symbol dumper.
60981 OBJDUMP=$lt_OBJDUMP
60982
60983 # Method to check whether dependent libraries are shared objects.
60984 deplibs_check_method=$lt_deplibs_check_method
60985
60986 # Command to use when deplibs_check_method == "file_magic".
60987 file_magic_cmd=$lt_file_magic_cmd
60988
60989 # The archiver.
60990 AR=$lt_AR
60991 AR_FLAGS=$lt_AR_FLAGS
60992
60993 # A symbol stripping program.
60994 STRIP=$lt_STRIP
60995
60996 # Commands used to install an old-style archive.
60997 RANLIB=$lt_RANLIB
60998 old_postinstall_cmds=$lt_old_postinstall_cmds
60999 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61000
61001 # A C compiler.
61002 LTCC=$lt_CC
61003
61004 # LTCC compiler flags.
61005 LTCFLAGS=$lt_CFLAGS
61006
61007 # Take the output of nm and produce a listing of raw symbols and C names.
61008 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61009
61010 # Transform the output of nm in a proper C declaration.
61011 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61012
61013 # Transform the output of nm in a C name address pair.
61014 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61015
61016 # Transform the output of nm in a C name address pair when lib prefix is needed.
61017 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61018
61019 # The name of the directory that contains temporary libtool files.
61020 objdir=$objdir
61021
61022 # Shell to use when invoking shell scripts.
61023 SHELL=$lt_SHELL
61024
61025 # An echo program that does not interpret backslashes.
61026 ECHO=$lt_ECHO
61027
61028 # Used to examine libraries when file_magic_cmd begins with "file".
61029 MAGIC_CMD=$MAGIC_CMD
61030
61031 # Must we lock files when doing compilation?
61032 need_locks=$lt_need_locks
61033
61034 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61035 DSYMUTIL=$lt_DSYMUTIL
61036
61037 # Tool to change global to local symbols on Mac OS X.
61038 NMEDIT=$lt_NMEDIT
61039
61040 # Tool to manipulate fat objects and archives on Mac OS X.
61041 LIPO=$lt_LIPO
61042
61043 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61044 OTOOL=$lt_OTOOL
61045
61046 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61047 OTOOL64=$lt_OTOOL64
61048
61049 # Old archive suffix (normally "a").
61050 libext=$libext
61051
61052 # Shared library suffix (normally ".so").
61053 shrext_cmds=$lt_shrext_cmds
61054
61055 # The commands to extract the exported symbol list from a shared archive.
61056 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61057
61058 # Variables whose values should be saved in libtool wrapper scripts and
61059 # restored at link time.
61060 variables_saved_for_relink=$lt_variables_saved_for_relink
61061
61062 # Do we need the "lib" prefix for modules?
61063 need_lib_prefix=$need_lib_prefix
61064
61065 # Do we need a version for libraries?
61066 need_version=$need_version
61067
61068 # Library versioning type.
61069 version_type=$version_type
61070
61071 # Shared library runtime path variable.
61072 runpath_var=$runpath_var
61073
61074 # Shared library path variable.
61075 shlibpath_var=$shlibpath_var
61076
61077 # Is shlibpath searched before the hard-coded library search path?
61078 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61079
61080 # Format of library name prefix.
61081 libname_spec=$lt_libname_spec
61082
61083 # List of archive names.  First name is the real one, the rest are links.
61084 # The last name is the one that the linker finds with -lNAME
61085 library_names_spec=$lt_library_names_spec
61086
61087 # The coded name of the library, if different from the real name.
61088 soname_spec=$lt_soname_spec
61089
61090 # Command to use after installation of a shared archive.
61091 postinstall_cmds=$lt_postinstall_cmds
61092
61093 # Command to use after uninstallation of a shared archive.
61094 postuninstall_cmds=$lt_postuninstall_cmds
61095
61096 # Commands used to finish a libtool library installation in a directory.
61097 finish_cmds=$lt_finish_cmds
61098
61099 # As "finish_cmds", except a single script fragment to be evaled but
61100 # not shown.
61101 finish_eval=$lt_finish_eval
61102
61103 # Whether we should hardcode library paths into libraries.
61104 hardcode_into_libs=$hardcode_into_libs
61105
61106 # Compile-time system search path for libraries.
61107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61108
61109 # Run-time system search path for libraries.
61110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61111
61112 # Whether dlopen is supported.
61113 dlopen_support=$enable_dlopen
61114
61115 # Whether dlopen of programs is supported.
61116 dlopen_self=$enable_dlopen_self
61117
61118 # Whether dlopen of statically linked programs is supported.
61119 dlopen_self_static=$enable_dlopen_self_static
61120
61121 # Commands to strip libraries.
61122 old_striplib=$lt_old_striplib
61123 striplib=$lt_striplib
61124
61125
61126 # The linker used to build libraries.
61127 LD=$lt_LD
61128
61129 # Commands used to build an old-style archive.
61130 old_archive_cmds=$lt_old_archive_cmds
61131
61132 # A language specific compiler.
61133 CC=$lt_compiler
61134
61135 # Is the compiler the GNU compiler?
61136 with_gcc=$GCC
61137
61138 # Compiler flag to turn off builtin functions.
61139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61140
61141 # How to pass a linker flag through the compiler.
61142 wl=$lt_lt_prog_compiler_wl
61143
61144 # Additional compiler flags for building library objects.
61145 pic_flag=$lt_lt_prog_compiler_pic
61146
61147 # Compiler flag to prevent dynamic linking.
61148 link_static_flag=$lt_lt_prog_compiler_static
61149
61150 # Does compiler simultaneously support -c and -o options?
61151 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61152
61153 # Whether or not to add -lc for building shared libraries.
61154 build_libtool_need_lc=$archive_cmds_need_lc
61155
61156 # Whether or not to disallow shared libs when runtime libs are static.
61157 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61158
61159 # Compiler flag to allow reflexive dlopens.
61160 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61161
61162 # Compiler flag to generate shared objects directly from archives.
61163 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61164
61165 # Whether the compiler copes with passing no objects directly.
61166 compiler_needs_object=$lt_compiler_needs_object
61167
61168 # Create an old-style archive from a shared archive.
61169 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61170
61171 # Create a temporary old-style archive to link instead of a shared archive.
61172 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61173
61174 # Commands used to build a shared archive.
61175 archive_cmds=$lt_archive_cmds
61176 archive_expsym_cmds=$lt_archive_expsym_cmds
61177
61178 # Commands used to build a loadable module if different from building
61179 # a shared archive.
61180 module_cmds=$lt_module_cmds
61181 module_expsym_cmds=$lt_module_expsym_cmds
61182
61183 # Whether we are building with GNU ld or not.
61184 with_gnu_ld=$lt_with_gnu_ld
61185
61186 # Flag that allows shared libraries with undefined symbols to be built.
61187 allow_undefined_flag=$lt_allow_undefined_flag
61188
61189 # Flag that enforces no undefined symbols.
61190 no_undefined_flag=$lt_no_undefined_flag
61191
61192 # Flag to hardcode \$libdir into a binary during linking.
61193 # This must work even if \$libdir does not exist
61194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61195
61196 # If ld is used when linking, flag to hardcode \$libdir into a binary
61197 # during linking.  This must work even if \$libdir does not exist.
61198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61199
61200 # Whether we need a single "-rpath" flag with a separated argument.
61201 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61202
61203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61204 # DIR into the resulting binary.
61205 hardcode_direct=$hardcode_direct
61206
61207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61208 # DIR into the resulting binary and the resulting library dependency is
61209 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61210 # library is relocated.
61211 hardcode_direct_absolute=$hardcode_direct_absolute
61212
61213 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61214 # into the resulting binary.
61215 hardcode_minus_L=$hardcode_minus_L
61216
61217 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61218 # into the resulting binary.
61219 hardcode_shlibpath_var=$hardcode_shlibpath_var
61220
61221 # Set to "yes" if building a shared library automatically hardcodes DIR
61222 # into the library and all subsequent libraries and executables linked
61223 # against it.
61224 hardcode_automatic=$hardcode_automatic
61225
61226 # Set to yes if linker adds runtime paths of dependent libraries
61227 # to runtime path list.
61228 inherit_rpath=$inherit_rpath
61229
61230 # Whether libtool must link a program against all its dependency libraries.
61231 link_all_deplibs=$link_all_deplibs
61232
61233 # Fix the shell variable \$srcfile for the compiler.
61234 fix_srcfile_path=$lt_fix_srcfile_path
61235
61236 # Set to "yes" if exported symbols are required.
61237 always_export_symbols=$always_export_symbols
61238
61239 # The commands to list exported symbols.
61240 export_symbols_cmds=$lt_export_symbols_cmds
61241
61242 # Symbols that should not be listed in the preloaded symbols.
61243 exclude_expsyms=$lt_exclude_expsyms
61244
61245 # Symbols that must always be exported.
61246 include_expsyms=$lt_include_expsyms
61247
61248 # Commands necessary for linking programs (against libraries) with templates.
61249 prelink_cmds=$lt_prelink_cmds
61250
61251 # Specify filename containing input files.
61252 file_list_spec=$lt_file_list_spec
61253
61254 # How to hardcode a shared library path into an executable.
61255 hardcode_action=$hardcode_action
61256
61257 # The directories searched by this compiler when creating a shared library.
61258 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61259
61260 # Dependencies to place before and after the objects being linked to
61261 # create a shared library.
61262 predep_objects=$lt_predep_objects
61263 postdep_objects=$lt_postdep_objects
61264 predeps=$lt_predeps
61265 postdeps=$lt_postdeps
61266
61267 # The library search path used internally by the compiler when linking
61268 # a shared library.
61269 compiler_lib_search_path=$lt_compiler_lib_search_path
61270
61271 # ### END LIBTOOL CONFIG
61272
61273 _LT_EOF
61274
61275   case $host_os in
61276   aix3*)
61277     cat <<\_LT_EOF >> "$cfgfile"
61278 # AIX sometimes has problems with the GCC collect2 program.  For some
61279 # reason, if we set the COLLECT_NAMES environment variable, the problems
61280 # vanish in a puff of smoke.
61281 if test "X${COLLECT_NAMES+set}" != Xset; then
61282   COLLECT_NAMES=
61283   export COLLECT_NAMES
61284 fi
61285 _LT_EOF
61286     ;;
61287   esac
61288
61289
61290 ltmain="$ac_aux_dir/ltmain.sh"
61291
61292
61293   # We use sed instead of cat because bash on DJGPP gets confused if
61294   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61295   # text mode, it properly converts lines to CR/LF.  This bash problem
61296   # is reportedly fixed, but why not run on old versions too?
61297   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61298     || (rm -f "$cfgfile"; exit 1)
61299
61300   case $xsi_shell in
61301   yes)
61302     cat << \_LT_EOF >> "$cfgfile"
61303
61304 # func_dirname file append nondir_replacement
61305 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61306 # otherwise set result to NONDIR_REPLACEMENT.
61307 func_dirname ()
61308 {
61309   case ${1} in
61310     */*) func_dirname_result="${1%/*}${2}" ;;
61311     *  ) func_dirname_result="${3}" ;;
61312   esac
61313 }
61314
61315 # func_basename file
61316 func_basename ()
61317 {
61318   func_basename_result="${1##*/}"
61319 }
61320
61321 # func_dirname_and_basename file append nondir_replacement
61322 # perform func_basename and func_dirname in a single function
61323 # call:
61324 #   dirname:  Compute the dirname of FILE.  If nonempty,
61325 #             add APPEND to the result, otherwise set result
61326 #             to NONDIR_REPLACEMENT.
61327 #             value returned in "$func_dirname_result"
61328 #   basename: Compute filename of FILE.
61329 #             value retuned in "$func_basename_result"
61330 # Implementation must be kept synchronized with func_dirname
61331 # and func_basename. For efficiency, we do not delegate to
61332 # those functions but instead duplicate the functionality here.
61333 func_dirname_and_basename ()
61334 {
61335   case ${1} in
61336     */*) func_dirname_result="${1%/*}${2}" ;;
61337     *  ) func_dirname_result="${3}" ;;
61338   esac
61339   func_basename_result="${1##*/}"
61340 }
61341
61342 # func_stripname prefix suffix name
61343 # strip PREFIX and SUFFIX off of NAME.
61344 # PREFIX and SUFFIX must not contain globbing or regex special
61345 # characters, hashes, percent signs, but SUFFIX may contain a leading
61346 # dot (in which case that matches only a dot).
61347 func_stripname ()
61348 {
61349   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61350   # positional parameters, so assign one to ordinary parameter first.
61351   func_stripname_result=${3}
61352   func_stripname_result=${func_stripname_result#"${1}"}
61353   func_stripname_result=${func_stripname_result%"${2}"}
61354 }
61355
61356 # func_opt_split
61357 func_opt_split ()
61358 {
61359   func_opt_split_opt=${1%%=*}
61360   func_opt_split_arg=${1#*=}
61361 }
61362
61363 # func_lo2o object
61364 func_lo2o ()
61365 {
61366   case ${1} in
61367     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61368     *)    func_lo2o_result=${1} ;;
61369   esac
61370 }
61371
61372 # func_xform libobj-or-source
61373 func_xform ()
61374 {
61375   func_xform_result=${1%.*}.lo
61376 }
61377
61378 # func_arith arithmetic-term...
61379 func_arith ()
61380 {
61381   func_arith_result=$(( $* ))
61382 }
61383
61384 # func_len string
61385 # STRING may not start with a hyphen.
61386 func_len ()
61387 {
61388   func_len_result=${#1}
61389 }
61390
61391 _LT_EOF
61392     ;;
61393   *) # Bourne compatible functions.
61394     cat << \_LT_EOF >> "$cfgfile"
61395
61396 # func_dirname file append nondir_replacement
61397 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61398 # otherwise set result to NONDIR_REPLACEMENT.
61399 func_dirname ()
61400 {
61401   # Extract subdirectory from the argument.
61402   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
61403   if test "X$func_dirname_result" = "X${1}"; then
61404     func_dirname_result="${3}"
61405   else
61406     func_dirname_result="$func_dirname_result${2}"
61407   fi
61408 }
61409
61410 # func_basename file
61411 func_basename ()
61412 {
61413   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
61414 }
61415
61416
61417 # func_stripname prefix suffix name
61418 # strip PREFIX and SUFFIX off of NAME.
61419 # PREFIX and SUFFIX must not contain globbing or regex special
61420 # characters, hashes, percent signs, but SUFFIX may contain a leading
61421 # dot (in which case that matches only a dot).
61422 # func_strip_suffix prefix name
61423 func_stripname ()
61424 {
61425   case ${2} in
61426     .*) func_stripname_result=`$ECHO "X${3}" \
61427            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
61428     *)  func_stripname_result=`$ECHO "X${3}" \
61429            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
61430   esac
61431 }
61432
61433 # sed scripts:
61434 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61435 my_sed_long_arg='1s/^-[^=]*=//'
61436
61437 # func_opt_split
61438 func_opt_split ()
61439 {
61440   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
61441   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
61442 }
61443
61444 # func_lo2o object
61445 func_lo2o ()
61446 {
61447   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
61448 }
61449
61450 # func_xform libobj-or-source
61451 func_xform ()
61452 {
61453   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
61454 }
61455
61456 # func_arith arithmetic-term...
61457 func_arith ()
61458 {
61459   func_arith_result=`expr "$@"`
61460 }
61461
61462 # func_len string
61463 # STRING may not start with a hyphen.
61464 func_len ()
61465 {
61466   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61467 }
61468
61469 _LT_EOF
61470 esac
61471
61472 case $lt_shell_append in
61473   yes)
61474     cat << \_LT_EOF >> "$cfgfile"
61475
61476 # func_append var value
61477 # Append VALUE to the end of shell variable VAR.
61478 func_append ()
61479 {
61480   eval "$1+=\$2"
61481 }
61482 _LT_EOF
61483     ;;
61484   *)
61485     cat << \_LT_EOF >> "$cfgfile"
61486
61487 # func_append var value
61488 # Append VALUE to the end of shell variable VAR.
61489 func_append ()
61490 {
61491   eval "$1=\$$1\$2"
61492 }
61493
61494 _LT_EOF
61495     ;;
61496   esac
61497
61498
61499   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61500     || (rm -f "$cfgfile"; exit 1)
61501
61502   mv -f "$cfgfile" "$ofile" ||
61503     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61504   chmod +x "$ofile"
61505
61506
61507     cat <<_LT_EOF >> "$ofile"
61508
61509 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61510
61511 # The linker used to build libraries.
61512 LD=$lt_LD_CXX
61513
61514 # Commands used to build an old-style archive.
61515 old_archive_cmds=$lt_old_archive_cmds_CXX
61516
61517 # A language specific compiler.
61518 CC=$lt_compiler_CXX
61519
61520 # Is the compiler the GNU compiler?
61521 with_gcc=$GCC_CXX
61522
61523 # Compiler flag to turn off builtin functions.
61524 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61525
61526 # How to pass a linker flag through the compiler.
61527 wl=$lt_lt_prog_compiler_wl_CXX
61528
61529 # Additional compiler flags for building library objects.
61530 pic_flag=$lt_lt_prog_compiler_pic_CXX
61531
61532 # Compiler flag to prevent dynamic linking.
61533 link_static_flag=$lt_lt_prog_compiler_static_CXX
61534
61535 # Does compiler simultaneously support -c and -o options?
61536 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61537
61538 # Whether or not to add -lc for building shared libraries.
61539 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61540
61541 # Whether or not to disallow shared libs when runtime libs are static.
61542 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61543
61544 # Compiler flag to allow reflexive dlopens.
61545 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61546
61547 # Compiler flag to generate shared objects directly from archives.
61548 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61549
61550 # Whether the compiler copes with passing no objects directly.
61551 compiler_needs_object=$lt_compiler_needs_object_CXX
61552
61553 # Create an old-style archive from a shared archive.
61554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61555
61556 # Create a temporary old-style archive to link instead of a shared archive.
61557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61558
61559 # Commands used to build a shared archive.
61560 archive_cmds=$lt_archive_cmds_CXX
61561 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61562
61563 # Commands used to build a loadable module if different from building
61564 # a shared archive.
61565 module_cmds=$lt_module_cmds_CXX
61566 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61567
61568 # Whether we are building with GNU ld or not.
61569 with_gnu_ld=$lt_with_gnu_ld_CXX
61570
61571 # Flag that allows shared libraries with undefined symbols to be built.
61572 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61573
61574 # Flag that enforces no undefined symbols.
61575 no_undefined_flag=$lt_no_undefined_flag_CXX
61576
61577 # Flag to hardcode \$libdir into a binary during linking.
61578 # This must work even if \$libdir does not exist
61579 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61580
61581 # If ld is used when linking, flag to hardcode \$libdir into a binary
61582 # during linking.  This must work even if \$libdir does not exist.
61583 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61584
61585 # Whether we need a single "-rpath" flag with a separated argument.
61586 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61587
61588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61589 # DIR into the resulting binary.
61590 hardcode_direct=$hardcode_direct_CXX
61591
61592 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61593 # DIR into the resulting binary and the resulting library dependency is
61594 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61595 # library is relocated.
61596 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61597
61598 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61599 # into the resulting binary.
61600 hardcode_minus_L=$hardcode_minus_L_CXX
61601
61602 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61603 # into the resulting binary.
61604 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61605
61606 # Set to "yes" if building a shared library automatically hardcodes DIR
61607 # into the library and all subsequent libraries and executables linked
61608 # against it.
61609 hardcode_automatic=$hardcode_automatic_CXX
61610
61611 # Set to yes if linker adds runtime paths of dependent libraries
61612 # to runtime path list.
61613 inherit_rpath=$inherit_rpath_CXX
61614
61615 # Whether libtool must link a program against all its dependency libraries.
61616 link_all_deplibs=$link_all_deplibs_CXX
61617
61618 # Fix the shell variable \$srcfile for the compiler.
61619 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61620
61621 # Set to "yes" if exported symbols are required.
61622 always_export_symbols=$always_export_symbols_CXX
61623
61624 # The commands to list exported symbols.
61625 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61626
61627 # Symbols that should not be listed in the preloaded symbols.
61628 exclude_expsyms=$lt_exclude_expsyms_CXX
61629
61630 # Symbols that must always be exported.
61631 include_expsyms=$lt_include_expsyms_CXX
61632
61633 # Commands necessary for linking programs (against libraries) with templates.
61634 prelink_cmds=$lt_prelink_cmds_CXX
61635
61636 # Specify filename containing input files.
61637 file_list_spec=$lt_file_list_spec_CXX
61638
61639 # How to hardcode a shared library path into an executable.
61640 hardcode_action=$hardcode_action_CXX
61641
61642 # The directories searched by this compiler when creating a shared library.
61643 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61644
61645 # Dependencies to place before and after the objects being linked to
61646 # create a shared library.
61647 predep_objects=$lt_predep_objects_CXX
61648 postdep_objects=$lt_postdep_objects_CXX
61649 predeps=$lt_predeps_CXX
61650 postdeps=$lt_postdeps_CXX
61651
61652 # The library search path used internally by the compiler when linking
61653 # a shared library.
61654 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61655
61656 # ### END LIBTOOL TAG CONFIG: CXX
61657 _LT_EOF
61658
61659  ;;
61660     "include/gstdint.h":C)
61661 if test "$GCC" = yes; then
61662   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61663 else
61664   echo "/* generated for $CC */" > tmp-stdint.h
61665 fi
61666
61667 sed 's/^ *//' >> tmp-stdint.h <<EOF
61668
61669   #ifndef GCC_GENERATED_STDINT_H
61670   #define GCC_GENERATED_STDINT_H 1
61671
61672   #include <sys/types.h>
61673 EOF
61674
61675 if test "$acx_cv_header_stdint" != stdint.h; then
61676   echo "#include <stddef.h>" >> tmp-stdint.h
61677 fi
61678 if test "$acx_cv_header_stdint" != stddef.h; then
61679   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61680 fi
61681
61682 sed 's/^ *//' >> tmp-stdint.h <<EOF
61683   /* glibc uses these symbols as guards to prevent redefinitions.  */
61684   #ifdef __int8_t_defined
61685   #define _INT8_T
61686   #define _INT16_T
61687   #define _INT32_T
61688   #endif
61689   #ifdef __uint32_t_defined
61690   #define _UINT32_T
61691   #endif
61692
61693 EOF
61694
61695 # ----------------- done header, emit basic int types -------------
61696 if test "$acx_cv_header_stdint" = stddef.h; then
61697   sed 's/^ *//' >> tmp-stdint.h <<EOF
61698
61699     #ifndef _UINT8_T
61700     #define _UINT8_T
61701     #ifndef __uint8_t_defined
61702     #define __uint8_t_defined
61703     typedef unsigned $acx_cv_type_int8_t uint8_t;
61704     #endif
61705     #endif
61706
61707     #ifndef _UINT16_T
61708     #define _UINT16_T
61709     #ifndef __uint16_t_defined
61710     #define __uint16_t_defined
61711     typedef unsigned $acx_cv_type_int16_t uint16_t;
61712     #endif
61713     #endif
61714
61715     #ifndef _UINT32_T
61716     #define _UINT32_T
61717     #ifndef __uint32_t_defined
61718     #define __uint32_t_defined
61719     typedef unsigned $acx_cv_type_int32_t uint32_t;
61720     #endif
61721     #endif
61722
61723     #ifndef _INT8_T
61724     #define _INT8_T
61725     #ifndef __int8_t_defined
61726     #define __int8_t_defined
61727     typedef $acx_cv_type_int8_t int8_t;
61728     #endif
61729     #endif
61730
61731     #ifndef _INT16_T
61732     #define _INT16_T
61733     #ifndef __int16_t_defined
61734     #define __int16_t_defined
61735     typedef $acx_cv_type_int16_t int16_t;
61736     #endif
61737     #endif
61738
61739     #ifndef _INT32_T
61740     #define _INT32_T
61741     #ifndef __int32_t_defined
61742     #define __int32_t_defined
61743     typedef $acx_cv_type_int32_t int32_t;
61744     #endif
61745     #endif
61746 EOF
61747 elif test "$ac_cv_type_u_int32_t" = yes; then
61748   sed 's/^ *//' >> tmp-stdint.h <<EOF
61749
61750     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61751     #ifndef _INT8_T
61752     #define _INT8_T
61753     #endif
61754     #ifndef _INT16_T
61755     #define _INT16_T
61756     #endif
61757     #ifndef _INT32_T
61758     #define _INT32_T
61759     #endif
61760
61761     #ifndef _UINT8_T
61762     #define _UINT8_T
61763     #ifndef __uint8_t_defined
61764     #define __uint8_t_defined
61765     typedef u_int8_t uint8_t;
61766     #endif
61767     #endif
61768
61769     #ifndef _UINT16_T
61770     #define _UINT16_T
61771     #ifndef __uint16_t_defined
61772     #define __uint16_t_defined
61773     typedef u_int16_t uint16_t;
61774     #endif
61775     #endif
61776
61777     #ifndef _UINT32_T
61778     #define _UINT32_T
61779     #ifndef __uint32_t_defined
61780     #define __uint32_t_defined
61781     typedef u_int32_t uint32_t;
61782     #endif
61783     #endif
61784 EOF
61785 else
61786   sed 's/^ *//' >> tmp-stdint.h <<EOF
61787
61788     /* Some systems have guard macros to prevent redefinitions, define them.  */
61789     #ifndef _INT8_T
61790     #define _INT8_T
61791     #endif
61792     #ifndef _INT16_T
61793     #define _INT16_T
61794     #endif
61795     #ifndef _INT32_T
61796     #define _INT32_T
61797     #endif
61798     #ifndef _UINT8_T
61799     #define _UINT8_T
61800     #endif
61801     #ifndef _UINT16_T
61802     #define _UINT16_T
61803     #endif
61804     #ifndef _UINT32_T
61805     #define _UINT32_T
61806     #endif
61807 EOF
61808 fi
61809
61810 # ------------- done basic int types, emit int64_t types ------------
61811 if test "$ac_cv_type_uint64_t" = yes; then
61812   sed 's/^ *//' >> tmp-stdint.h <<EOF
61813
61814     /* system headers have good uint64_t and int64_t */
61815     #ifndef _INT64_T
61816     #define _INT64_T
61817     #endif
61818     #ifndef _UINT64_T
61819     #define _UINT64_T
61820     #endif
61821 EOF
61822 elif test "$ac_cv_type_u_int64_t" = yes; then
61823   sed 's/^ *//' >> tmp-stdint.h <<EOF
61824
61825     /* system headers have an u_int64_t (and int64_t) */
61826     #ifndef _INT64_T
61827     #define _INT64_T
61828     #endif
61829     #ifndef _UINT64_T
61830     #define _UINT64_T
61831     #ifndef __uint64_t_defined
61832     #define __uint64_t_defined
61833     typedef u_int64_t uint64_t;
61834     #endif
61835     #endif
61836 EOF
61837 elif test -n "$acx_cv_type_int64_t"; then
61838   sed 's/^ *//' >> tmp-stdint.h <<EOF
61839
61840     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61841     #ifndef _INT64_T
61842     #define _INT64_T
61843     typedef $acx_cv_type_int64_t int64_t;
61844     #endif
61845     #ifndef _UINT64_T
61846     #define _UINT64_T
61847     #ifndef __uint64_t_defined
61848     #define __uint64_t_defined
61849     typedef unsigned $acx_cv_type_int64_t uint64_t;
61850     #endif
61851     #endif
61852 EOF
61853 else
61854   sed 's/^ *//' >> tmp-stdint.h <<EOF
61855
61856     /* some common heuristics for int64_t, using compiler-specific tests */
61857     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61858     #ifndef _INT64_T
61859     #define _INT64_T
61860     #ifndef __int64_t_defined
61861     typedef long long int64_t;
61862     #endif
61863     #endif
61864     #ifndef _UINT64_T
61865     #define _UINT64_T
61866     typedef unsigned long long uint64_t;
61867     #endif
61868
61869     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61870     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61871        does not implement __extension__.  But that compiler doesn't define
61872        __GNUC_MINOR__.  */
61873     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61874     # define __extension__
61875     # endif
61876
61877     # ifndef _INT64_T
61878     # define _INT64_T
61879     __extension__ typedef long long int64_t;
61880     # endif
61881     # ifndef _UINT64_T
61882     # define _UINT64_T
61883     __extension__ typedef unsigned long long uint64_t;
61884     # endif
61885
61886     #elif !defined __STRICT_ANSI__
61887     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61888
61889     #  ifndef _INT64_T
61890     #  define _INT64_T
61891     typedef __int64 int64_t;
61892     #  endif
61893     #  ifndef _UINT64_T
61894     #  define _UINT64_T
61895     typedef unsigned __int64 uint64_t;
61896     #  endif
61897     # endif /* compiler */
61898
61899     #endif /* ANSI version */
61900 EOF
61901 fi
61902
61903 # ------------- done int64_t types, emit intptr types ------------
61904 if test "$ac_cv_type_uintptr_t" != yes; then
61905   sed 's/^ *//' >> tmp-stdint.h <<EOF
61906
61907     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61908     #ifndef __uintptr_t_defined
61909     typedef u$acx_cv_type_intptr_t uintptr_t;
61910     #endif
61911     #ifndef __intptr_t_defined
61912     typedef $acx_cv_type_intptr_t  intptr_t;
61913     #endif
61914 EOF
61915 fi
61916
61917 # ------------- done intptr types, emit int_least types ------------
61918 if test "$ac_cv_type_int_least32_t" != yes; then
61919   sed 's/^ *//' >> tmp-stdint.h <<EOF
61920
61921     /* Define int_least types */
61922     typedef int8_t     int_least8_t;
61923     typedef int16_t    int_least16_t;
61924     typedef int32_t    int_least32_t;
61925     #ifdef _INT64_T
61926     typedef int64_t    int_least64_t;
61927     #endif
61928
61929     typedef uint8_t    uint_least8_t;
61930     typedef uint16_t   uint_least16_t;
61931     typedef uint32_t   uint_least32_t;
61932     #ifdef _UINT64_T
61933     typedef uint64_t   uint_least64_t;
61934     #endif
61935 EOF
61936 fi
61937
61938 # ------------- done intptr types, emit int_fast types ------------
61939 if test "$ac_cv_type_int_fast32_t" != yes; then
61940       sed 's/^ *//' >> tmp-stdint.h <<EOF
61941
61942     /* Define int_fast types.  short is often slow */
61943     typedef int8_t       int_fast8_t;
61944     typedef int          int_fast16_t;
61945     typedef int32_t      int_fast32_t;
61946     #ifdef _INT64_T
61947     typedef int64_t      int_fast64_t;
61948     #endif
61949
61950     typedef uint8_t      uint_fast8_t;
61951     typedef unsigned int uint_fast16_t;
61952     typedef uint32_t     uint_fast32_t;
61953     #ifdef _UINT64_T
61954     typedef uint64_t     uint_fast64_t;
61955     #endif
61956 EOF
61957 fi
61958
61959 if test "$ac_cv_type_uintmax_t" != yes; then
61960   sed 's/^ *//' >> tmp-stdint.h <<EOF
61961
61962     /* Define intmax based on what we found */
61963     #ifdef _INT64_T
61964     typedef int64_t       intmax_t;
61965     #else
61966     typedef long          intmax_t;
61967     #endif
61968     #ifdef _UINT64_T
61969     typedef uint64_t      uintmax_t;
61970     #else
61971     typedef unsigned long uintmax_t;
61972     #endif
61973 EOF
61974 fi
61975
61976 sed 's/^ *//' >> tmp-stdint.h <<EOF
61977
61978   #endif /* GCC_GENERATED_STDINT_H */
61979 EOF
61980
61981 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61982   rm -f tmp-stdint.h
61983 else
61984   mv -f tmp-stdint.h include/gstdint.h
61985 fi
61986
61987  ;;
61988     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61989     "include/Makefile":F) cat > vpsed$$ << \_EOF
61990 s!`test -f '$<' || echo '$(srcdir)/'`!!
61991 _EOF
61992    sed -f vpsed$$ $ac_file > tmp$$
61993    mv tmp$$ $ac_file
61994    rm vpsed$$
61995    echo 'MULTISUBDIR =' >> $ac_file
61996    ml_norecursion=yes
61997    . ${multi_basedir}/config-ml.in
61998    { ml_norecursion=; unset ml_norecursion;}
61999  ;;
62000     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62001 s!`test -f '$<' || echo '$(srcdir)/'`!!
62002 _EOF
62003    sed -f vpsed$$ $ac_file > tmp$$
62004    mv tmp$$ $ac_file
62005    rm vpsed$$
62006    echo 'MULTISUBDIR =' >> $ac_file
62007    ml_norecursion=yes
62008    . ${multi_basedir}/config-ml.in
62009    { ml_norecursion=; unset ml_norecursion;}
62010  ;;
62011     "python/Makefile":F) cat > vpsed$$ << \_EOF
62012 s!`test -f '$<' || echo '$(srcdir)/'`!!
62013 _EOF
62014    sed -f vpsed$$ $ac_file > tmp$$
62015    mv tmp$$ $ac_file
62016    rm vpsed$$
62017    echo 'MULTISUBDIR =' >> $ac_file
62018    ml_norecursion=yes
62019    . ${multi_basedir}/config-ml.in
62020    { ml_norecursion=; unset ml_norecursion;}
62021  ;;
62022     "src/Makefile":F) cat > vpsed$$ << \_EOF
62023 s!`test -f '$<' || echo '$(srcdir)/'`!!
62024 _EOF
62025    sed -f vpsed$$ $ac_file > tmp$$
62026    mv tmp$$ $ac_file
62027    rm vpsed$$
62028    echo 'MULTISUBDIR =' >> $ac_file
62029    ml_norecursion=yes
62030    . ${multi_basedir}/config-ml.in
62031    { ml_norecursion=; unset ml_norecursion;}
62032  ;;
62033     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62034 s!`test -f '$<' || echo '$(srcdir)/'`!!
62035 _EOF
62036    sed -f vpsed$$ $ac_file > tmp$$
62037    mv tmp$$ $ac_file
62038    rm vpsed$$
62039    echo 'MULTISUBDIR =' >> $ac_file
62040    ml_norecursion=yes
62041    . ${multi_basedir}/config-ml.in
62042    { ml_norecursion=; unset ml_norecursion;}
62043  ;;
62044     "po/Makefile":F) cat > vpsed$$ << \_EOF
62045 s!`test -f '$<' || echo '$(srcdir)/'`!!
62046 _EOF
62047    sed -f vpsed$$ $ac_file > tmp$$
62048    mv tmp$$ $ac_file
62049    rm vpsed$$
62050    echo 'MULTISUBDIR =' >> $ac_file
62051    ml_norecursion=yes
62052    . ${multi_basedir}/config-ml.in
62053    { ml_norecursion=; unset ml_norecursion;}
62054  ;;
62055     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62056 s!`test -f '$<' || echo '$(srcdir)/'`!!
62057 _EOF
62058    sed -f vpsed$$ $ac_file > tmp$$
62059    mv tmp$$ $ac_file
62060    rm vpsed$$
62061    echo 'MULTISUBDIR =' >> $ac_file
62062    ml_norecursion=yes
62063    . ${multi_basedir}/config-ml.in
62064    { ml_norecursion=; unset ml_norecursion;}
62065  ;;
62066     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62067
62068   esac
62069 done # for ac_tag
62070
62071
62072 as_fn_exit 0
62073 _ACEOF
62074 ac_clean_files=$ac_clean_files_save
62075
62076 test $ac_write_fail = 0 ||
62077   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62078
62079
62080 # configure is writing to config.log, and then calls config.status.
62081 # config.status does its own redirection, appending to config.log.
62082 # Unfortunately, on DOS this fails, as config.log is still kept open
62083 # by configure, so config.status won't be able to write to it; its
62084 # output is simply discarded.  So we exec the FD to /dev/null,
62085 # effectively closing config.log, so it can be properly (re)opened and
62086 # appended to by config.status.  When coming back to configure, we
62087 # need to make the FD available again.
62088 if test "$no_create" != yes; then
62089   ac_cs_success=:
62090   ac_config_status_args=
62091   test "$silent" = yes &&
62092     ac_config_status_args="$ac_config_status_args --quiet"
62093   exec 5>/dev/null
62094   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62095   exec 5>>config.log
62096   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62097   # would make configure fail if this is the last instruction.
62098   $ac_cs_success || as_fn_exit $?
62099 fi
62100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62103 fi
62104