6077e6930584cb10572595e922b1ac9558650188
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
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 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     PATH=/empty FPATH=/empty; export PATH FPATH
206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
674 DOT
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 EH_POOL_FLAGS
679 ENABLE_BACKTRACE_FALSE
680 ENABLE_BACKTRACE_TRUE
681 BACKTRACE_SUPPORTS_THREADS
682 BACKTRACE_USES_MALLOC
683 BACKTRACE_SUPPORTED
684 BACKTRACE_CPPFLAGS
685 ALLOC_FILE
686 VIEW_FILE
687 FORMAT_FILE
688 ENABLE_FILESYSTEM_TS_FALSE
689 ENABLE_FILESYSTEM_TS_TRUE
690 baseline_subdir_switch
691 baseline_dir
692 HWCAP_CFLAGS
693 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
694 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
695 GLIBCXX_LDBL_COMPAT_FALSE
696 GLIBCXX_LDBL_COMPAT_TRUE
697 LONG_DOUBLE_ALT128_COMPAT_FLAGS
698 LONG_DOUBLE_128_FLAGS
699 LONG_DOUBLE_COMPAT_FLAGS
700 ENABLE_CXX11_ABI_FALSE
701 ENABLE_CXX11_ABI_TRUE
702 glibcxx_cxx98_abi
703 ENABLE_DUAL_ABI_FALSE
704 ENABLE_DUAL_ABI_TRUE
705 ENABLE_VISIBILITY_FALSE
706 ENABLE_VISIBILITY_TRUE
707 libtool_VERSION
708 ENABLE_SYMVERS_SUN_FALSE
709 ENABLE_SYMVERS_SUN_TRUE
710 ENABLE_SYMVERS_DARWIN_FALSE
711 ENABLE_SYMVERS_DARWIN_TRUE
712 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
713 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
714 ENABLE_SYMVERS_GNU_FALSE
715 ENABLE_SYMVERS_GNU_TRUE
716 ENABLE_SYMVERS_FALSE
717 ENABLE_SYMVERS_TRUE
718 port_specific_symbol_files
719 SYMVER_FILE
720 CXXFILT
721 LTLIBICONV
722 LIBICONV
723 OPT_LDFLAGS
724 SECTION_LDFLAGS
725 GLIBCXX_LIBS
726 ENABLE_VTABLE_VERIFY_FALSE
727 ENABLE_VTABLE_VERIFY_TRUE
728 VTV_CYGMIN_FALSE
729 VTV_CYGMIN_TRUE
730 VTV_CXXLINKFLAGS
731 VTV_PCH_CXXFLAGS
732 VTV_CXXFLAGS
733 ENABLE_WERROR_FALSE
734 ENABLE_WERROR_TRUE
735 ENABLE_PYTHONDIR_FALSE
736 ENABLE_PYTHONDIR_TRUE
737 python_mod_dir
738 ENABLE_EXTERN_TEMPLATE_FALSE
739 ENABLE_EXTERN_TEMPLATE_TRUE
740 EXTRA_CXX_FLAGS
741 GLIBCXX_BUILD_DEBUG_FALSE
742 GLIBCXX_BUILD_DEBUG_TRUE
743 DEBUG_FLAGS
744 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
745 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
746 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
747 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
748 GLIBCXX_C_HEADERS_C_STD_FALSE
749 GLIBCXX_C_HEADERS_C_STD_TRUE
750 GLIBCXX_C_HEADERS_C_FALSE
751 GLIBCXX_C_HEADERS_C_TRUE
752 C_INCLUDE_DIR
753 ALLOCATOR_NAME
754 ALLOCATOR_H
755 ENABLE_ALLOCATOR_NEW_FALSE
756 ENABLE_ALLOCATOR_NEW_TRUE
757 CLOCALE_INTERNAL_H
758 CLOCALE_CC
759 CTIME_CC
760 CTIME_H
761 CNUMERIC_CC
762 CMONEY_CC
763 CMESSAGES_CC
764 CCTYPE_CC
765 CCOLLATE_CC
766 CCODECVT_CC
767 CMESSAGES_H
768 CLOCALE_H
769 USE_NLS
770 glibcxx_localedir
771 glibcxx_POFILES
772 glibcxx_MOFILES
773 check_msgfmt
774 BASIC_FILE_CC
775 BASIC_FILE_H
776 CSTDIO_H
777 SECTION_FLAGS
778 ENABLE_FLOAT128_FALSE
779 ENABLE_FLOAT128_TRUE
780 thread_header
781 glibcxx_PCHFLAGS
782 GLIBCXX_BUILD_PCH_FALSE
783 GLIBCXX_BUILD_PCH_TRUE
784 FREESTANDING_FLAGS
785 GLIBCXX_HOSTED_FALSE
786 GLIBCXX_HOSTED_TRUE
787 glibcxx_compiler_shared_flag
788 glibcxx_compiler_pic_flag
789 glibcxx_lt_pic_flag
790 enable_static
791 enable_shared
792 lt_host_flags
793 CXXCPP
794 OTOOL64
795 OTOOL
796 LIPO
797 NMEDIT
798 DSYMUTIL
799 OBJDUMP
800 NM
801 ac_ct_DUMPBIN
802 DUMPBIN
803 LD
804 FGREP
805 SED
806 LIBTOOL
807 EGREP
808 GREP
809 CPP
810 MAINT
811 MAINTAINER_MODE_FALSE
812 MAINTAINER_MODE_TRUE
813 RANLIB
814 AR
815 AS
816 LN_S
817 toplevel_srcdir
818 toplevel_builddir
819 glibcxx_srcdir
820 glibcxx_builddir
821 ac_ct_CXX
822 CXXFLAGS
823 CXX
824 OBJEXT
825 EXEEXT
826 ac_ct_CC
827 CPPFLAGS
828 LDFLAGS
829 CFLAGS
830 CC
831 AM_BACKSLASH
832 AM_DEFAULT_VERBOSITY
833 AM_DEFAULT_V
834 AM_V
835 am__untar
836 am__tar
837 AMTAR
838 am__leading_dot
839 SET_MAKE
840 AWK
841 mkdir_p
842 MKDIR_P
843 INSTALL_STRIP_PROGRAM
844 STRIP
845 install_sh
846 MAKEINFO
847 AUTOHEADER
848 AUTOMAKE
849 AUTOCONF
850 ACLOCAL
851 VERSION
852 PACKAGE
853 CYGPATH_W
854 am__isrc
855 INSTALL_DATA
856 INSTALL_SCRIPT
857 INSTALL_PROGRAM
858 target_os
859 target_vendor
860 target_cpu
861 target
862 host_os
863 host_vendor
864 host_cpu
865 host
866 build_os
867 build_vendor
868 build_cpu
869 build
870 multi_basedir
871 target_alias
872 host_alias
873 build_alias
874 LIBS
875 ECHO_T
876 ECHO_N
877 ECHO_C
878 DEFS
879 mandir
880 localedir
881 libdir
882 psdir
883 pdfdir
884 dvidir
885 htmldir
886 infodir
887 docdir
888 oldincludedir
889 includedir
890 localstatedir
891 sharedstatedir
892 sysconfdir
893 datadir
894 datarootdir
895 libexecdir
896 sbindir
897 bindir
898 program_transform_name
899 prefix
900 exec_prefix
901 PACKAGE_URL
902 PACKAGE_BUGREPORT
903 PACKAGE_STRING
904 PACKAGE_VERSION
905 PACKAGE_TARNAME
906 PACKAGE_NAME
907 PATH_SEPARATOR
908 SHELL'
909 ac_subst_files=''
910 ac_user_opts='
911 enable_option_checking
912 enable_multilib
913 enable_silent_rules
914 enable_largefile
915 with_target_subdir
916 with_cross_host
917 with_newlib
918 enable_maintainer_mode
919 enable_shared
920 enable_static
921 with_pic
922 enable_fast_install
923 with_gnu_ld
924 enable_libtool_lock
925 enable_hosted_libstdcxx
926 enable_libstdcxx_hosted
927 enable_libstdcxx_verbose
928 enable_libstdcxx_pch
929 with_libstdcxx_lock_policy
930 enable_cstdio
931 enable_clocale
932 enable_nls
933 enable_libstdcxx_allocator
934 enable_cheaders_obsolete
935 enable_cheaders
936 enable_long_long
937 enable_wchar_t
938 enable_c99
939 enable_concept_checks
940 enable_libstdcxx_debug_flags
941 enable_libstdcxx_debug
942 enable_cxx_flags
943 enable_fully_dynamic_string
944 enable_extern_template
945 with_python_dir
946 enable_werror
947 enable_vtable_verify
948 enable_libstdcxx_time
949 enable_tls
950 enable_rpath
951 with_libiconv_prefix
952 with_libiconv_type
953 with_system_libunwind
954 enable_linux_futex
955 enable_symvers
956 enable_libstdcxx_visibility
957 enable_libstdcxx_dual_abi
958 with_default_libstdcxx_abi
959 enable_libstdcxx_threads
960 enable_libstdcxx_filesystem_ts
961 enable_libstdcxx_backtrace
962 enable_libstdcxx_static_eh_pool
963 with_libstdcxx_eh_pool_obj_count
964 enable_cet
965 with_gxx_include_dir
966 enable_version_specific_runtime_libs
967 with_toolexeclibdir
968 with_gcc_major_version_only
969 '
970       ac_precious_vars='build_alias
971 host_alias
972 target_alias
973 CC
974 CFLAGS
975 LDFLAGS
976 LIBS
977 CPPFLAGS
978 CXX
979 CXXFLAGS
980 CCC
981 CPP
982 CXXCPP
983 CXXFILT'
984
985
986 # Initialize some variables set by options.
987 ac_init_help=
988 ac_init_version=false
989 ac_unrecognized_opts=
990 ac_unrecognized_sep=
991 # The variables have the same names as the options, with
992 # dashes changed to underlines.
993 cache_file=/dev/null
994 exec_prefix=NONE
995 no_create=
996 no_recursion=
997 prefix=NONE
998 program_prefix=NONE
999 program_suffix=NONE
1000 program_transform_name=s,x,x,
1001 silent=
1002 site=
1003 srcdir=
1004 verbose=
1005 x_includes=NONE
1006 x_libraries=NONE
1007
1008 # Installation directory options.
1009 # These are left unexpanded so users can "make install exec_prefix=/foo"
1010 # and all the variables that are supposed to be based on exec_prefix
1011 # by default will actually change.
1012 # Use braces instead of parens because sh, perl, etc. also accept them.
1013 # (The list follows the same order as the GNU Coding Standards.)
1014 bindir='${exec_prefix}/bin'
1015 sbindir='${exec_prefix}/sbin'
1016 libexecdir='${exec_prefix}/libexec'
1017 datarootdir='${prefix}/share'
1018 datadir='${datarootdir}'
1019 sysconfdir='${prefix}/etc'
1020 sharedstatedir='${prefix}/com'
1021 localstatedir='${prefix}/var'
1022 includedir='${prefix}/include'
1023 oldincludedir='/usr/include'
1024 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1025 infodir='${datarootdir}/info'
1026 htmldir='${docdir}'
1027 dvidir='${docdir}'
1028 pdfdir='${docdir}'
1029 psdir='${docdir}'
1030 libdir='${exec_prefix}/lib'
1031 localedir='${datarootdir}/locale'
1032 mandir='${datarootdir}/man'
1033
1034 ac_prev=
1035 ac_dashdash=
1036 for ac_option
1037 do
1038   # If the previous option needs an argument, assign it.
1039   if test -n "$ac_prev"; then
1040     eval $ac_prev=\$ac_option
1041     ac_prev=
1042     continue
1043   fi
1044
1045   case $ac_option in
1046   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1047   *=)   ac_optarg= ;;
1048   *)    ac_optarg=yes ;;
1049   esac
1050
1051   # Accept the important Cygnus configure options, so we can diagnose typos.
1052
1053   case $ac_dashdash$ac_option in
1054   --)
1055     ac_dashdash=yes ;;
1056
1057   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1058     ac_prev=bindir ;;
1059   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1060     bindir=$ac_optarg ;;
1061
1062   -build | --build | --buil | --bui | --bu)
1063     ac_prev=build_alias ;;
1064   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1065     build_alias=$ac_optarg ;;
1066
1067   -cache-file | --cache-file | --cache-fil | --cache-fi \
1068   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1069     ac_prev=cache_file ;;
1070   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1071   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1072     cache_file=$ac_optarg ;;
1073
1074   --config-cache | -C)
1075     cache_file=config.cache ;;
1076
1077   -datadir | --datadir | --datadi | --datad)
1078     ac_prev=datadir ;;
1079   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1080     datadir=$ac_optarg ;;
1081
1082   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1083   | --dataroo | --dataro | --datar)
1084     ac_prev=datarootdir ;;
1085   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1086   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1087     datarootdir=$ac_optarg ;;
1088
1089   -disable-* | --disable-*)
1090     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1091     # Reject names that are not valid shell variable names.
1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093       as_fn_error $? "invalid feature name: $ac_useropt"
1094     ac_useropt_orig=$ac_useropt
1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096     case $ac_user_opts in
1097       *"
1098 "enable_$ac_useropt"
1099 "*) ;;
1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1101          ac_unrecognized_sep=', ';;
1102     esac
1103     eval enable_$ac_useropt=no ;;
1104
1105   -docdir | --docdir | --docdi | --doc | --do)
1106     ac_prev=docdir ;;
1107   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1108     docdir=$ac_optarg ;;
1109
1110   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1111     ac_prev=dvidir ;;
1112   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1113     dvidir=$ac_optarg ;;
1114
1115   -enable-* | --enable-*)
1116     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1117     # Reject names that are not valid shell variable names.
1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119       as_fn_error $? "invalid feature name: $ac_useropt"
1120     ac_useropt_orig=$ac_useropt
1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122     case $ac_user_opts in
1123       *"
1124 "enable_$ac_useropt"
1125 "*) ;;
1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1127          ac_unrecognized_sep=', ';;
1128     esac
1129     eval enable_$ac_useropt=\$ac_optarg ;;
1130
1131   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1132   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1133   | --exec | --exe | --ex)
1134     ac_prev=exec_prefix ;;
1135   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1136   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1137   | --exec=* | --exe=* | --ex=*)
1138     exec_prefix=$ac_optarg ;;
1139
1140   -gas | --gas | --ga | --g)
1141     # Obsolete; use --with-gas.
1142     with_gas=yes ;;
1143
1144   -help | --help | --hel | --he | -h)
1145     ac_init_help=long ;;
1146   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1147     ac_init_help=recursive ;;
1148   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1149     ac_init_help=short ;;
1150
1151   -host | --host | --hos | --ho)
1152     ac_prev=host_alias ;;
1153   -host=* | --host=* | --hos=* | --ho=*)
1154     host_alias=$ac_optarg ;;
1155
1156   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1157     ac_prev=htmldir ;;
1158   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1159   | --ht=*)
1160     htmldir=$ac_optarg ;;
1161
1162   -includedir | --includedir | --includedi | --included | --include \
1163   | --includ | --inclu | --incl | --inc)
1164     ac_prev=includedir ;;
1165   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1166   | --includ=* | --inclu=* | --incl=* | --inc=*)
1167     includedir=$ac_optarg ;;
1168
1169   -infodir | --infodir | --infodi | --infod | --info | --inf)
1170     ac_prev=infodir ;;
1171   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1172     infodir=$ac_optarg ;;
1173
1174   -libdir | --libdir | --libdi | --libd)
1175     ac_prev=libdir ;;
1176   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1177     libdir=$ac_optarg ;;
1178
1179   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1180   | --libexe | --libex | --libe)
1181     ac_prev=libexecdir ;;
1182   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1183   | --libexe=* | --libex=* | --libe=*)
1184     libexecdir=$ac_optarg ;;
1185
1186   -localedir | --localedir | --localedi | --localed | --locale)
1187     ac_prev=localedir ;;
1188   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1189     localedir=$ac_optarg ;;
1190
1191   -localstatedir | --localstatedir | --localstatedi | --localstated \
1192   | --localstate | --localstat | --localsta | --localst | --locals)
1193     ac_prev=localstatedir ;;
1194   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1195   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1196     localstatedir=$ac_optarg ;;
1197
1198   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1199     ac_prev=mandir ;;
1200   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1201     mandir=$ac_optarg ;;
1202
1203   -nfp | --nfp | --nf)
1204     # Obsolete; use --without-fp.
1205     with_fp=no ;;
1206
1207   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1208   | --no-cr | --no-c | -n)
1209     no_create=yes ;;
1210
1211   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1212   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1213     no_recursion=yes ;;
1214
1215   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1216   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1217   | --oldin | --oldi | --old | --ol | --o)
1218     ac_prev=oldincludedir ;;
1219   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1220   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1221   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1222     oldincludedir=$ac_optarg ;;
1223
1224   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1225     ac_prev=prefix ;;
1226   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1227     prefix=$ac_optarg ;;
1228
1229   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1230   | --program-pre | --program-pr | --program-p)
1231     ac_prev=program_prefix ;;
1232   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1233   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1234     program_prefix=$ac_optarg ;;
1235
1236   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1237   | --program-suf | --program-su | --program-s)
1238     ac_prev=program_suffix ;;
1239   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1240   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1241     program_suffix=$ac_optarg ;;
1242
1243   -program-transform-name | --program-transform-name \
1244   | --program-transform-nam | --program-transform-na \
1245   | --program-transform-n | --program-transform- \
1246   | --program-transform | --program-transfor \
1247   | --program-transfo | --program-transf \
1248   | --program-trans | --program-tran \
1249   | --progr-tra | --program-tr | --program-t)
1250     ac_prev=program_transform_name ;;
1251   -program-transform-name=* | --program-transform-name=* \
1252   | --program-transform-nam=* | --program-transform-na=* \
1253   | --program-transform-n=* | --program-transform-=* \
1254   | --program-transform=* | --program-transfor=* \
1255   | --program-transfo=* | --program-transf=* \
1256   | --program-trans=* | --program-tran=* \
1257   | --progr-tra=* | --program-tr=* | --program-t=*)
1258     program_transform_name=$ac_optarg ;;
1259
1260   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1261     ac_prev=pdfdir ;;
1262   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1263     pdfdir=$ac_optarg ;;
1264
1265   -psdir | --psdir | --psdi | --psd | --ps)
1266     ac_prev=psdir ;;
1267   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1268     psdir=$ac_optarg ;;
1269
1270   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271   | -silent | --silent | --silen | --sile | --sil)
1272     silent=yes ;;
1273
1274   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1275     ac_prev=sbindir ;;
1276   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1277   | --sbi=* | --sb=*)
1278     sbindir=$ac_optarg ;;
1279
1280   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1281   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1282   | --sharedst | --shareds | --shared | --share | --shar \
1283   | --sha | --sh)
1284     ac_prev=sharedstatedir ;;
1285   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1286   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1287   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1288   | --sha=* | --sh=*)
1289     sharedstatedir=$ac_optarg ;;
1290
1291   -site | --site | --sit)
1292     ac_prev=site ;;
1293   -site=* | --site=* | --sit=*)
1294     site=$ac_optarg ;;
1295
1296   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1297     ac_prev=srcdir ;;
1298   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1299     srcdir=$ac_optarg ;;
1300
1301   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1302   | --syscon | --sysco | --sysc | --sys | --sy)
1303     ac_prev=sysconfdir ;;
1304   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1305   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1306     sysconfdir=$ac_optarg ;;
1307
1308   -target | --target | --targe | --targ | --tar | --ta | --t)
1309     ac_prev=target_alias ;;
1310   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1311     target_alias=$ac_optarg ;;
1312
1313   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1314     verbose=yes ;;
1315
1316   -version | --version | --versio | --versi | --vers | -V)
1317     ac_init_version=: ;;
1318
1319   -with-* | --with-*)
1320     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1321     # Reject names that are not valid shell variable names.
1322     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1323       as_fn_error $? "invalid package name: $ac_useropt"
1324     ac_useropt_orig=$ac_useropt
1325     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1326     case $ac_user_opts in
1327       *"
1328 "with_$ac_useropt"
1329 "*) ;;
1330       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1331          ac_unrecognized_sep=', ';;
1332     esac
1333     eval with_$ac_useropt=\$ac_optarg ;;
1334
1335   -without-* | --without-*)
1336     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1337     # Reject names that are not valid shell variable names.
1338     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339       as_fn_error $? "invalid package name: $ac_useropt"
1340     ac_useropt_orig=$ac_useropt
1341     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342     case $ac_user_opts in
1343       *"
1344 "with_$ac_useropt"
1345 "*) ;;
1346       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1347          ac_unrecognized_sep=', ';;
1348     esac
1349     eval with_$ac_useropt=no ;;
1350
1351   --x)
1352     # Obsolete; use --with-x.
1353     with_x=yes ;;
1354
1355   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1356   | --x-incl | --x-inc | --x-in | --x-i)
1357     ac_prev=x_includes ;;
1358   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1359   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1360     x_includes=$ac_optarg ;;
1361
1362   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1363   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1364     ac_prev=x_libraries ;;
1365   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1366   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1367     x_libraries=$ac_optarg ;;
1368
1369   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1370 Try \`$0 --help' for more information"
1371     ;;
1372
1373   *=*)
1374     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1375     # Reject names that are not valid shell variable names.
1376     case $ac_envvar in #(
1377       '' | [0-9]* | *[!_$as_cr_alnum]* )
1378       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1379     esac
1380     eval $ac_envvar=\$ac_optarg
1381     export $ac_envvar ;;
1382
1383   *)
1384     # FIXME: should be removed in autoconf 3.0.
1385     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1386     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1387       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1388     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1389     ;;
1390
1391   esac
1392 done
1393
1394 if test -n "$ac_prev"; then
1395   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1396   as_fn_error $? "missing argument to $ac_option"
1397 fi
1398
1399 if test -n "$ac_unrecognized_opts"; then
1400   case $enable_option_checking in
1401     no) ;;
1402     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1403     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1404   esac
1405 fi
1406
1407 # Check all directory arguments for consistency.
1408 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1409                 datadir sysconfdir sharedstatedir localstatedir includedir \
1410                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1411                 libdir localedir mandir
1412 do
1413   eval ac_val=\$$ac_var
1414   # Remove trailing slashes.
1415   case $ac_val in
1416     */ )
1417       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1418       eval $ac_var=\$ac_val;;
1419   esac
1420   # Be sure to have absolute directory names.
1421   case $ac_val in
1422     [\\/$]* | ?:[\\/]* )  continue;;
1423     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1424   esac
1425   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1426 done
1427
1428 # There might be people who depend on the old broken behavior: `$host'
1429 # used to hold the argument of --host etc.
1430 # FIXME: To remove some day.
1431 build=$build_alias
1432 host=$host_alias
1433 target=$target_alias
1434
1435 # FIXME: To remove some day.
1436 if test "x$host_alias" != x; then
1437   if test "x$build_alias" = x; then
1438     cross_compiling=maybe
1439   elif test "x$build_alias" != "x$host_alias"; then
1440     cross_compiling=yes
1441   fi
1442 fi
1443
1444 ac_tool_prefix=
1445 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1446
1447 test "$silent" = yes && exec 6>/dev/null
1448
1449
1450 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1451 ac_ls_di=`ls -di .` &&
1452 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1453   as_fn_error $? "working directory cannot be determined"
1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455   as_fn_error $? "pwd does not report name of working directory"
1456
1457
1458 # Find the source files, if location was not specified.
1459 if test -z "$srcdir"; then
1460   ac_srcdir_defaulted=yes
1461   # Try the directory containing this script, then the parent directory.
1462   ac_confdir=`$as_dirname -- "$as_myself" ||
1463 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1464          X"$as_myself" : 'X\(//\)[^/]' \| \
1465          X"$as_myself" : 'X\(//\)$' \| \
1466          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1467 $as_echo X"$as_myself" |
1468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1469             s//\1/
1470             q
1471           }
1472           /^X\(\/\/\)[^/].*/{
1473             s//\1/
1474             q
1475           }
1476           /^X\(\/\/\)$/{
1477             s//\1/
1478             q
1479           }
1480           /^X\(\/\).*/{
1481             s//\1/
1482             q
1483           }
1484           s/.*/./; q'`
1485   srcdir=$ac_confdir
1486   if test ! -r "$srcdir/$ac_unique_file"; then
1487     srcdir=..
1488   fi
1489 else
1490   ac_srcdir_defaulted=no
1491 fi
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1493   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1494   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1495 fi
1496 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1497 ac_abs_confdir=`(
1498         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1499         pwd)`
1500 # When building in place, set srcdir=.
1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
1502   srcdir=.
1503 fi
1504 # Remove unnecessary trailing slashes from srcdir.
1505 # Double slashes in file names in object file debugging info
1506 # mess up M-x gdb in Emacs.
1507 case $srcdir in
1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1509 esac
1510 for ac_var in $ac_precious_vars; do
1511   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1512   eval ac_env_${ac_var}_value=\$${ac_var}
1513   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1514   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1515 done
1516
1517 #
1518 # Report the --help message.
1519 #
1520 if test "$ac_init_help" = "long"; then
1521   # Omit some internal or obsolete options to make the list less imposing.
1522   # This message is too long to be a string in the A/UX 3.1 sh.
1523   cat <<_ACEOF
1524 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1525
1526 Usage: $0 [OPTION]... [VAR=VALUE]...
1527
1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1529 VAR=VALUE.  See below for descriptions of some of the useful variables.
1530
1531 Defaults for the options are specified in brackets.
1532
1533 Configuration:
1534   -h, --help              display this help and exit
1535       --help=short        display options specific to this package
1536       --help=recursive    display the short help of all the included packages
1537   -V, --version           display version information and exit
1538   -q, --quiet, --silent   do not print \`checking ...' messages
1539       --cache-file=FILE   cache test results in FILE [disabled]
1540   -C, --config-cache      alias for \`--cache-file=config.cache'
1541   -n, --no-create         do not create output files
1542       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1543
1544 Installation directories:
1545   --prefix=PREFIX         install architecture-independent files in PREFIX
1546                           [$ac_default_prefix]
1547   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1548                           [PREFIX]
1549
1550 By default, \`make install' will install all the files in
1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1553 for instance \`--prefix=\$HOME'.
1554
1555 For better control, use the options below.
1556
1557 Fine tuning of the installation directories:
1558   --bindir=DIR            user executables [EPREFIX/bin]
1559   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1560   --libexecdir=DIR        program executables [EPREFIX/libexec]
1561   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1562   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1563   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1564   --libdir=DIR            object code libraries [EPREFIX/lib]
1565   --includedir=DIR        C header files [PREFIX/include]
1566   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1567   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1568   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1569   --infodir=DIR           info documentation [DATAROOTDIR/info]
1570   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1571   --mandir=DIR            man documentation [DATAROOTDIR/man]
1572   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1573   --htmldir=DIR           html documentation [DOCDIR]
1574   --dvidir=DIR            dvi documentation [DOCDIR]
1575   --pdfdir=DIR            pdf documentation [DOCDIR]
1576   --psdir=DIR             ps documentation [DOCDIR]
1577 _ACEOF
1578
1579   cat <<\_ACEOF
1580
1581 Program names:
1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1585
1586 System types:
1587   --build=BUILD     configure for building on BUILD [guessed]
1588   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1589   --target=TARGET   configure for building compilers for TARGET [HOST]
1590 _ACEOF
1591 fi
1592
1593 if test -n "$ac_init_help"; then
1594   case $ac_init_help in
1595      short | recursive ) echo "Configuration of package-unused version-unused:";;
1596    esac
1597   cat <<\_ACEOF
1598
1599 Optional Features:
1600   --disable-option-checking  ignore unrecognized --enable/--with options
1601   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1602   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1603   --enable-multilib       build many library versions (default)
1604   --enable-silent-rules   less verbose build output (undo: "make V=1")
1605   --disable-silent-rules  verbose build output (undo: "make V=0")
1606   --disable-largefile     omit support for large files
1607   --enable-maintainer-mode
1608                           enable make rules and dependencies not useful (and
1609                           sometimes confusing) to the casual installer
1610   --enable-shared[=PKGS]  build shared libraries [default=yes]
1611   --enable-static[=PKGS]  build static libraries [default=yes]
1612   --enable-fast-install[=PKGS]
1613                           optimize for fast installation [default=yes]
1614   --disable-libtool-lock  avoid locking (might break parallel builds)
1615   --disable-hosted-libstdcxx
1616                           only build freestanding C++ runtime support
1617   --disable-libstdcxx-hosted
1618                           alias for --disable-hosted-libstdcxx
1619   --disable-libstdcxx-verbose
1620                           disable termination messages to standard error
1621   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1622                           [default=$is_hosted]
1623   --enable-cstdio[=PACKAGE]
1624                           use target-specific I/O package [default=stdio]
1625   --enable-clocale[=MODEL]
1626                           use MODEL for target locale package [default=auto]
1627   --enable-nls            use Native Language Support (default)
1628   --enable-libstdcxx-allocator[=KIND]
1629                           use KIND for target std::allocator base
1630                           [default=auto]
1631   --enable-cheaders-obsolete
1632                           allow use of obsolete "C" headers for g++
1633                           [default=no]
1634   --enable-cheaders[=KIND]
1635                           construct "C" headers for g++ [default=$c_model]
1636   --enable-long-long      enable template specializations for 'long long'
1637                           [default=yes]
1638   --enable-wchar_t        enable template specializations for 'wchar_t'
1639                           [default=yes]
1640   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1641   --enable-concept-checks use Boost-derived template checks [default=no]
1642   --enable-libstdcxx-debug-flags=FLAGS
1643                           pass compiler FLAGS when building debug library
1644                           [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1645   --enable-libstdcxx-debug
1646                           build extra debug library [default=no]
1647   --enable-cxx-flags=FLAGS
1648                           pass compiler FLAGS when building library [default=]
1649   --enable-fully-dynamic-string
1650                           do not put empty strings in per-process static
1651                           memory [default=no]
1652   --enable-extern-template
1653                           enable extern template [default=yes]
1654   --enable-werror         turns on -Werror [default=no]
1655   --enable-vtable-verify  enable vtable verify [default=no]
1656   --enable-libstdcxx-time[=KIND]
1657                           use KIND for check type [default=auto]
1658   --enable-tls            Use thread-local storage [default=yes]
1659   --disable-rpath         do not hardcode runtime library paths
1660   --enable-linux-futex    use the Linux futex system call [default=default]
1661   --enable-symvers[=STYLE]
1662                           enables symbol versioning of the shared library
1663                           [default=yes]
1664   --enable-libstdcxx-visibility
1665                           enables visibility safe usage [default=yes]
1666   --enable-libstdcxx-dual-abi
1667                           support two versions of std::string [default=yes]
1668   --enable-libstdcxx-threads
1669                           enable C++11 threads support [default=auto]
1670   --enable-libstdcxx-filesystem-ts
1671                           turns on ISO/IEC TS 18822 support [default=auto]
1672   --enable-libstdcxx-backtrace
1673                           turns on libbacktrace support [default=auto]
1674   --enable-libstdcxx-static-eh-pool
1675                           use a fixed-size static buffer for allocating
1676                           exceptions if malloc fails
1677   --enable-cet            enable Intel CET in target libraries [default=auto]
1678   --enable-version-specific-runtime-libs
1679                           Specify that runtime libraries should be installed
1680                           in a compiler-specific directory
1681
1682 Optional Packages:
1683   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1684   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1685   --with-target-subdir=SUBDIR
1686                           configuring in a subdirectory
1687   --with-cross-host=HOST  configuring with a cross compiler
1688   --with-newlib           assume newlib as a system C library
1689   --with-pic              try to use only PIC/non-PIC objects [default=use
1690                           both]
1691   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1692   --with-libstdcxx-lock-policy={atomic,mutex,auto}
1693                           synchronization policy for shared_ptr reference
1694                           counting [default=auto]
1695   --with-python-dir       the location to install Python modules. This path is
1696                           relative starting from the prefix.
1697   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1698   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1699   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1700   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
1701   --with-system-libunwind use installed libunwind
1702   --with-default-libstdcxx-abi
1703                           set the std::string ABI to use by default
1704   --with-libstdcxx-eh-pool-obj-count
1705                           the number of exceptions that can be allocated from
1706                           the pool if malloc fails
1707   --with-gxx-include-dir=DIR
1708                           installation directory for include files
1709   --with-toolexeclibdir=DIR
1710                           install libraries built with a cross compiler within
1711                           DIR
1712   --with-gcc-major-version-only
1713                           use only GCC major number in filesystem paths
1714
1715 Some influential environment variables:
1716   CC          C compiler command
1717   CFLAGS      C compiler flags
1718   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1719               nonstandard directory <lib dir>
1720   LIBS        libraries to pass to the linker, e.g. -l<library>
1721   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1722               you have headers in a nonstandard directory <include dir>
1723   CXX         C++ compiler command
1724   CXXFLAGS    C++ compiler flags
1725   CPP         C preprocessor
1726   CXXCPP      C++ preprocessor
1727   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1728               `c++filt', `gc++filt' on PATH.
1729
1730 Use these variables to override the choices made by `configure' or to help
1731 it to find libraries and programs with nonstandard names/locations.
1732
1733 Report bugs to the package provider.
1734 _ACEOF
1735 ac_status=$?
1736 fi
1737
1738 if test "$ac_init_help" = "recursive"; then
1739   # If there are subdirs, report their specific --help.
1740   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1741     test -d "$ac_dir" ||
1742       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1743       continue
1744     ac_builddir=.
1745
1746 case "$ac_dir" in
1747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1748 *)
1749   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1750   # A ".." for each directory in $ac_dir_suffix.
1751   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1752   case $ac_top_builddir_sub in
1753   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1754   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1755   esac ;;
1756 esac
1757 ac_abs_top_builddir=$ac_pwd
1758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1759 # for backward compatibility:
1760 ac_top_builddir=$ac_top_build_prefix
1761
1762 case $srcdir in
1763   .)  # We are building in place.
1764     ac_srcdir=.
1765     ac_top_srcdir=$ac_top_builddir_sub
1766     ac_abs_top_srcdir=$ac_pwd ;;
1767   [\\/]* | ?:[\\/]* )  # Absolute name.
1768     ac_srcdir=$srcdir$ac_dir_suffix;
1769     ac_top_srcdir=$srcdir
1770     ac_abs_top_srcdir=$srcdir ;;
1771   *) # Relative name.
1772     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1773     ac_top_srcdir=$ac_top_build_prefix$srcdir
1774     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1775 esac
1776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1777
1778     cd "$ac_dir" || { ac_status=$?; continue; }
1779     # Check for guested configure.
1780     if test -f "$ac_srcdir/configure.gnu"; then
1781       echo &&
1782       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1783     elif test -f "$ac_srcdir/configure"; then
1784       echo &&
1785       $SHELL "$ac_srcdir/configure" --help=recursive
1786     else
1787       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1788     fi || ac_status=$?
1789     cd "$ac_pwd" || { ac_status=$?; break; }
1790   done
1791 fi
1792
1793 test -n "$ac_init_help" && exit $ac_status
1794 if $ac_init_version; then
1795   cat <<\_ACEOF
1796 package-unused configure version-unused
1797 generated by GNU Autoconf 2.69
1798
1799 Copyright (C) 2012 Free Software Foundation, Inc.
1800 This configure script is free software; the Free Software Foundation
1801 gives unlimited permission to copy, distribute and modify it.
1802 _ACEOF
1803   exit
1804 fi
1805
1806 ## ------------------------ ##
1807 ## Autoconf initialization. ##
1808 ## ------------------------ ##
1809
1810 # ac_fn_c_try_compile LINENO
1811 # --------------------------
1812 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1813 ac_fn_c_try_compile ()
1814 {
1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816   rm -f conftest.$ac_objext
1817   if { { ac_try="$ac_compile"
1818 case "(($ac_try" in
1819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820   *) ac_try_echo=$ac_try;;
1821 esac
1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823 $as_echo "$ac_try_echo"; } >&5
1824   (eval "$ac_compile") 2>conftest.err
1825   ac_status=$?
1826   if test -s conftest.err; then
1827     grep -v '^ *+' conftest.err >conftest.er1
1828     cat conftest.er1 >&5
1829     mv -f conftest.er1 conftest.err
1830   fi
1831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832   test $ac_status = 0; } && {
1833          test -z "$ac_c_werror_flag" ||
1834          test ! -s conftest.err
1835        } && test -s conftest.$ac_objext; then :
1836   ac_retval=0
1837 else
1838   $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1840
1841         ac_retval=1
1842 fi
1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844   as_fn_set_status $ac_retval
1845
1846 } # ac_fn_c_try_compile
1847
1848 # ac_fn_cxx_try_compile LINENO
1849 # ----------------------------
1850 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_cxx_try_compile ()
1852 {
1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854   rm -f conftest.$ac_objext
1855   if { { ac_try="$ac_compile"
1856 case "(($ac_try" in
1857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858   *) ac_try_echo=$ac_try;;
1859 esac
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862   (eval "$ac_compile") 2>conftest.err
1863   ac_status=$?
1864   if test -s conftest.err; then
1865     grep -v '^ *+' conftest.err >conftest.er1
1866     cat conftest.er1 >&5
1867     mv -f conftest.er1 conftest.err
1868   fi
1869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870   test $ac_status = 0; } && {
1871          test -z "$ac_cxx_werror_flag" ||
1872          test ! -s conftest.err
1873        } && test -s conftest.$ac_objext; then :
1874   ac_retval=0
1875 else
1876   $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1878
1879         ac_retval=1
1880 fi
1881   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882   as_fn_set_status $ac_retval
1883
1884 } # ac_fn_cxx_try_compile
1885
1886 # ac_fn_c_try_cpp LINENO
1887 # ----------------------
1888 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1889 ac_fn_c_try_cpp ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   if { { ac_try="$ac_cpp conftest.$ac_ext"
1893 case "(($ac_try" in
1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895   *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1900   ac_status=$?
1901   if test -s conftest.err; then
1902     grep -v '^ *+' conftest.err >conftest.er1
1903     cat conftest.er1 >&5
1904     mv -f conftest.er1 conftest.err
1905   fi
1906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907   test $ac_status = 0; } > conftest.i && {
1908          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1909          test ! -s conftest.err
1910        }; then :
1911   ac_retval=0
1912 else
1913   $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1916     ac_retval=1
1917 fi
1918   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919   as_fn_set_status $ac_retval
1920
1921 } # ac_fn_c_try_cpp
1922
1923 # ac_fn_c_try_link LINENO
1924 # -----------------------
1925 # Try to link conftest.$ac_ext, and return whether this succeeded.
1926 ac_fn_c_try_link ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   rm -f conftest.$ac_objext conftest$ac_exeext
1930   if { { ac_try="$ac_link"
1931 case "(($ac_try" in
1932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933   *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937   (eval "$ac_link") 2>conftest.err
1938   ac_status=$?
1939   if test -s conftest.err; then
1940     grep -v '^ *+' conftest.err >conftest.er1
1941     cat conftest.er1 >&5
1942     mv -f conftest.er1 conftest.err
1943   fi
1944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945   test $ac_status = 0; } && {
1946          test -z "$ac_c_werror_flag" ||
1947          test ! -s conftest.err
1948        } && test -s conftest$ac_exeext && {
1949          test "$cross_compiling" = yes ||
1950          test -x conftest$ac_exeext
1951        }; then :
1952   ac_retval=0
1953 else
1954   $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1956
1957         ac_retval=1
1958 fi
1959   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961   # interfere with the next link command; also delete a directory that is
1962   # left behind by Apple's compiler.  We do this before executing the actions.
1963   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965   as_fn_set_status $ac_retval
1966
1967 } # ac_fn_c_try_link
1968
1969 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1970 # -------------------------------------------------------
1971 # Tests whether HEADER exists and can be compiled using the include files in
1972 # INCLUDES, setting the cache variable VAR accordingly.
1973 ac_fn_c_check_header_compile ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval \${$3+:} false; then :
1979   $as_echo_n "(cached) " >&6
1980 else
1981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h.  */
1983 $4
1984 #include <$2>
1985 _ACEOF
1986 if ac_fn_c_try_compile "$LINENO"; then :
1987   eval "$3=yes"
1988 else
1989   eval "$3=no"
1990 fi
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 fi
1993 eval ac_res=\$$3
1994                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997
1998 } # ac_fn_c_check_header_compile
1999
2000 # ac_fn_c_try_run LINENO
2001 # ----------------------
2002 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2003 # that executables *can* be run.
2004 ac_fn_c_try_run ()
2005 {
2006   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007   if { { ac_try="$ac_link"
2008 case "(($ac_try" in
2009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010   *) ac_try_echo=$ac_try;;
2011 esac
2012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013 $as_echo "$ac_try_echo"; } >&5
2014   (eval "$ac_link") 2>&5
2015   ac_status=$?
2016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2017   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2018   { { case "(($ac_try" in
2019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020   *) ac_try_echo=$ac_try;;
2021 esac
2022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2023 $as_echo "$ac_try_echo"; } >&5
2024   (eval "$ac_try") 2>&5
2025   ac_status=$?
2026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2027   test $ac_status = 0; }; }; then :
2028   ac_retval=0
2029 else
2030   $as_echo "$as_me: program exited with status $ac_status" >&5
2031        $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2033
2034        ac_retval=$ac_status
2035 fi
2036   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2037   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038   as_fn_set_status $ac_retval
2039
2040 } # ac_fn_c_try_run
2041
2042 # ac_fn_c_check_func LINENO FUNC VAR
2043 # ----------------------------------
2044 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2045 ac_fn_c_check_func ()
2046 {
2047   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051   $as_echo_n "(cached) " >&6
2052 else
2053   if test x$gcc_no_link = xyes; then
2054   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2055 fi
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h.  */
2058 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2060 #define $2 innocuous_$2
2061
2062 /* System header to define __stub macros and hopefully few prototypes,
2063     which can conflict with char $2 (); below.
2064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2065     <limits.h> exists even on freestanding compilers.  */
2066
2067 #ifdef __STDC__
2068 # include <limits.h>
2069 #else
2070 # include <assert.h>
2071 #endif
2072
2073 #undef $2
2074
2075 /* Override any GCC internal prototype to avoid an error.
2076    Use char because int might match the return type of a GCC
2077    builtin and then its argument prototype would still apply.  */
2078 #ifdef __cplusplus
2079 extern "C"
2080 #endif
2081 char $2 ();
2082 /* The GNU C library defines this for functions which it implements
2083     to always fail with ENOSYS.  Some functions are actually named
2084     something starting with __ and the normal name is an alias.  */
2085 #if defined __stub_$2 || defined __stub___$2
2086 choke me
2087 #endif
2088
2089 int
2090 main ()
2091 {
2092 return $2 ();
2093   ;
2094   return 0;
2095 }
2096 _ACEOF
2097 if ac_fn_c_try_link "$LINENO"; then :
2098   eval "$3=yes"
2099 else
2100   eval "$3=no"
2101 fi
2102 rm -f core conftest.err conftest.$ac_objext \
2103     conftest$ac_exeext conftest.$ac_ext
2104 fi
2105 eval ac_res=\$$3
2106                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109
2110 } # ac_fn_c_check_func
2111
2112 # ac_fn_cxx_try_cpp LINENO
2113 # ------------------------
2114 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2115 ac_fn_cxx_try_cpp ()
2116 {
2117   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118   if { { ac_try="$ac_cpp conftest.$ac_ext"
2119 case "(($ac_try" in
2120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2121   *) ac_try_echo=$ac_try;;
2122 esac
2123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2124 $as_echo "$ac_try_echo"; } >&5
2125   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2126   ac_status=$?
2127   if test -s conftest.err; then
2128     grep -v '^ *+' conftest.err >conftest.er1
2129     cat conftest.er1 >&5
2130     mv -f conftest.er1 conftest.err
2131   fi
2132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2133   test $ac_status = 0; } > conftest.i && {
2134          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2135          test ! -s conftest.err
2136        }; then :
2137   ac_retval=0
2138 else
2139   $as_echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2141
2142     ac_retval=1
2143 fi
2144   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145   as_fn_set_status $ac_retval
2146
2147 } # ac_fn_cxx_try_cpp
2148
2149 # ac_fn_cxx_try_link LINENO
2150 # -------------------------
2151 # Try to link conftest.$ac_ext, and return whether this succeeded.
2152 ac_fn_cxx_try_link ()
2153 {
2154   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155   rm -f conftest.$ac_objext conftest$ac_exeext
2156   if { { ac_try="$ac_link"
2157 case "(($ac_try" in
2158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2159   *) ac_try_echo=$ac_try;;
2160 esac
2161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2162 $as_echo "$ac_try_echo"; } >&5
2163   (eval "$ac_link") 2>conftest.err
2164   ac_status=$?
2165   if test -s conftest.err; then
2166     grep -v '^ *+' conftest.err >conftest.er1
2167     cat conftest.er1 >&5
2168     mv -f conftest.er1 conftest.err
2169   fi
2170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2171   test $ac_status = 0; } && {
2172          test -z "$ac_cxx_werror_flag" ||
2173          test ! -s conftest.err
2174        } && test -s conftest$ac_exeext && {
2175          test "$cross_compiling" = yes ||
2176          test -x conftest$ac_exeext
2177        }; then :
2178   ac_retval=0
2179 else
2180   $as_echo "$as_me: failed program was:" >&5
2181 sed 's/^/| /' conftest.$ac_ext >&5
2182
2183         ac_retval=1
2184 fi
2185   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2186   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2187   # interfere with the next link command; also delete a directory that is
2188   # left behind by Apple's compiler.  We do this before executing the actions.
2189   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2190   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191   as_fn_set_status $ac_retval
2192
2193 } # ac_fn_cxx_try_link
2194
2195 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2196 # -------------------------------------------------------
2197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198 # the include files in INCLUDES and setting the cache variable VAR
2199 # accordingly.
2200 ac_fn_c_check_header_mongrel ()
2201 {
2202   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203   if eval \${$3+:} false; then :
2204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205 $as_echo_n "checking for $2... " >&6; }
2206 if eval \${$3+:} false; then :
2207   $as_echo_n "(cached) " >&6
2208 fi
2209 eval ac_res=\$$3
2210                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211 $as_echo "$ac_res" >&6; }
2212 else
2213   # Is the header compilable?
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215 $as_echo_n "checking $2 usability... " >&6; }
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h.  */
2218 $4
2219 #include <$2>
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222   ac_header_compiler=yes
2223 else
2224   ac_header_compiler=no
2225 fi
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228 $as_echo "$ac_header_compiler" >&6; }
2229
2230 # Is the header present?
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232 $as_echo_n "checking $2 presence... " >&6; }
2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234 /* end confdefs.h.  */
2235 #include <$2>
2236 _ACEOF
2237 if ac_fn_c_try_cpp "$LINENO"; then :
2238   ac_header_preproc=yes
2239 else
2240   ac_header_preproc=no
2241 fi
2242 rm -f conftest.err conftest.i conftest.$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244 $as_echo "$ac_header_preproc" >&6; }
2245
2246 # So?  What about this header?
2247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2248   yes:no: )
2249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253     ;;
2254   no:yes:* )
2255     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2258 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2259     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2262 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2263     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2265     ;;
2266 esac
2267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2268 $as_echo_n "checking for $2... " >&6; }
2269 if eval \${$3+:} false; then :
2270   $as_echo_n "(cached) " >&6
2271 else
2272   eval "$3=\$ac_header_compiler"
2273 fi
2274 eval ac_res=\$$3
2275                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2276 $as_echo "$ac_res" >&6; }
2277 fi
2278   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279
2280 } # ac_fn_c_check_header_mongrel
2281
2282 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2283 # ---------------------------------------------------------
2284 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2285 # the include files in INCLUDES and setting the cache variable VAR
2286 # accordingly.
2287 ac_fn_cxx_check_header_mongrel ()
2288 {
2289   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290   if eval \${$3+:} false; then :
2291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2292 $as_echo_n "checking for $2... " >&6; }
2293 if eval \${$3+:} false; then :
2294   $as_echo_n "(cached) " >&6
2295 fi
2296 eval ac_res=\$$3
2297                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2298 $as_echo "$ac_res" >&6; }
2299 else
2300   # Is the header compilable?
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2302 $as_echo_n "checking $2 usability... " >&6; }
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h.  */
2305 $4
2306 #include <$2>
2307 _ACEOF
2308 if ac_fn_cxx_try_compile "$LINENO"; then :
2309   ac_header_compiler=yes
2310 else
2311   ac_header_compiler=no
2312 fi
2313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2315 $as_echo "$ac_header_compiler" >&6; }
2316
2317 # Is the header present?
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2319 $as_echo_n "checking $2 presence... " >&6; }
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h.  */
2322 #include <$2>
2323 _ACEOF
2324 if ac_fn_cxx_try_cpp "$LINENO"; then :
2325   ac_header_preproc=yes
2326 else
2327   ac_header_preproc=no
2328 fi
2329 rm -f conftest.err conftest.i conftest.$ac_ext
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2331 $as_echo "$ac_header_preproc" >&6; }
2332
2333 # So?  What about this header?
2334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2335   yes:no: )
2336     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2337 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2338     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2340     ;;
2341   no:yes:* )
2342     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2343 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2344     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2345 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2346     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2347 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2348     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2349 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2350     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2351 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2352     ;;
2353 esac
2354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2355 $as_echo_n "checking for $2... " >&6; }
2356 if eval \${$3+:} false; then :
2357   $as_echo_n "(cached) " >&6
2358 else
2359   eval "$3=\$ac_header_compiler"
2360 fi
2361 eval ac_res=\$$3
2362                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2363 $as_echo "$ac_res" >&6; }
2364 fi
2365   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2366
2367 } # ac_fn_cxx_check_header_mongrel
2368
2369 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2370 # --------------------------------------------
2371 # Tries to find the compile-time value of EXPR in a program that includes
2372 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2373 # computed
2374 ac_fn_c_compute_int ()
2375 {
2376   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377   if test "$cross_compiling" = yes; then
2378     # Depending upon the size, compute the lo and hi bounds.
2379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2380 /* end confdefs.h.  */
2381 $4
2382 int
2383 main ()
2384 {
2385 static int test_array [1 - 2 * !(($2) >= 0)];
2386 test_array [0] = 0;
2387 return test_array [0];
2388
2389   ;
2390   return 0;
2391 }
2392 _ACEOF
2393 if ac_fn_c_try_compile "$LINENO"; then :
2394   ac_lo=0 ac_mid=0
2395   while :; do
2396     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2397 /* end confdefs.h.  */
2398 $4
2399 int
2400 main ()
2401 {
2402 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2403 test_array [0] = 0;
2404 return test_array [0];
2405
2406   ;
2407   return 0;
2408 }
2409 _ACEOF
2410 if ac_fn_c_try_compile "$LINENO"; then :
2411   ac_hi=$ac_mid; break
2412 else
2413   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2414                         if test $ac_lo -le $ac_mid; then
2415                           ac_lo= ac_hi=
2416                           break
2417                         fi
2418                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2419 fi
2420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2421   done
2422 else
2423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h.  */
2425 $4
2426 int
2427 main ()
2428 {
2429 static int test_array [1 - 2 * !(($2) < 0)];
2430 test_array [0] = 0;
2431 return test_array [0];
2432
2433   ;
2434   return 0;
2435 }
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438   ac_hi=-1 ac_mid=-1
2439   while :; do
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) >= $ac_mid)];
2447 test_array [0] = 0;
2448 return test_array [0];
2449
2450   ;
2451   return 0;
2452 }
2453 _ACEOF
2454 if ac_fn_c_try_compile "$LINENO"; then :
2455   ac_lo=$ac_mid; break
2456 else
2457   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2458                         if test $ac_mid -le $ac_hi; then
2459                           ac_lo= ac_hi=
2460                           break
2461                         fi
2462                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465   done
2466 else
2467   ac_lo= ac_hi=
2468 fi
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 # Binary search between lo and hi bounds.
2473 while test "x$ac_lo" != "x$ac_hi"; do
2474   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h.  */
2477 $4
2478 int
2479 main ()
2480 {
2481 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2482 test_array [0] = 0;
2483 return test_array [0];
2484
2485   ;
2486   return 0;
2487 }
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490   ac_hi=$ac_mid
2491 else
2492   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 done
2496 case $ac_lo in #((
2497 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2498 '') ac_retval=1 ;;
2499 esac
2500   else
2501     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h.  */
2503 $4
2504 static long int longval () { return $2; }
2505 static unsigned long int ulongval () { return $2; }
2506 #include <stdio.h>
2507 #include <stdlib.h>
2508 int
2509 main ()
2510 {
2511
2512   FILE *f = fopen ("conftest.val", "w");
2513   if (! f)
2514     return 1;
2515   if (($2) < 0)
2516     {
2517       long int i = longval ();
2518       if (i != ($2))
2519         return 1;
2520       fprintf (f, "%ld", i);
2521     }
2522   else
2523     {
2524       unsigned long int i = ulongval ();
2525       if (i != ($2))
2526         return 1;
2527       fprintf (f, "%lu", i);
2528     }
2529   /* Do not output a trailing newline, as this causes \r\n confusion
2530      on some platforms.  */
2531   return ferror (f) || fclose (f) != 0;
2532
2533   ;
2534   return 0;
2535 }
2536 _ACEOF
2537 if ac_fn_c_try_run "$LINENO"; then :
2538   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2539 else
2540   ac_retval=1
2541 fi
2542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2543   conftest.$ac_objext conftest.beam conftest.$ac_ext
2544 rm -f conftest.val
2545
2546   fi
2547   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2548   as_fn_set_status $ac_retval
2549
2550 } # ac_fn_c_compute_int
2551
2552 # ac_fn_cxx_check_func LINENO FUNC VAR
2553 # ------------------------------------
2554 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2555 ac_fn_cxx_check_func ()
2556 {
2557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2559 $as_echo_n "checking for $2... " >&6; }
2560 if eval \${$3+:} false; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   if test x$gcc_no_link = xyes; then
2564   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2565 fi
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h.  */
2568 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2570 #define $2 innocuous_$2
2571
2572 /* System header to define __stub macros and hopefully few prototypes,
2573     which can conflict with char $2 (); below.
2574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2575     <limits.h> exists even on freestanding compilers.  */
2576
2577 #ifdef __STDC__
2578 # include <limits.h>
2579 #else
2580 # include <assert.h>
2581 #endif
2582
2583 #undef $2
2584
2585 /* Override any GCC internal prototype to avoid an error.
2586    Use char because int might match the return type of a GCC
2587    builtin and then its argument prototype would still apply.  */
2588 #ifdef __cplusplus
2589 extern "C"
2590 #endif
2591 char $2 ();
2592 /* The GNU C library defines this for functions which it implements
2593     to always fail with ENOSYS.  Some functions are actually named
2594     something starting with __ and the normal name is an alias.  */
2595 #if defined __stub_$2 || defined __stub___$2
2596 choke me
2597 #endif
2598
2599 int
2600 main ()
2601 {
2602 return $2 ();
2603   ;
2604   return 0;
2605 }
2606 _ACEOF
2607 if ac_fn_cxx_try_link "$LINENO"; then :
2608   eval "$3=yes"
2609 else
2610   eval "$3=no"
2611 fi
2612 rm -f core conftest.err conftest.$ac_objext \
2613     conftest$ac_exeext conftest.$ac_ext
2614 fi
2615 eval ac_res=\$$3
2616                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2619
2620 } # ac_fn_cxx_check_func
2621
2622 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2623 # -------------------------------------------
2624 # Tests whether TYPE exists after having included INCLUDES, setting cache
2625 # variable VAR accordingly.
2626 ac_fn_c_check_type ()
2627 {
2628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2630 $as_echo_n "checking for $2... " >&6; }
2631 if eval \${$3+:} false; then :
2632   $as_echo_n "(cached) " >&6
2633 else
2634   eval "$3=no"
2635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2636 /* end confdefs.h.  */
2637 $4
2638 int
2639 main ()
2640 {
2641 if (sizeof ($2))
2642          return 0;
2643   ;
2644   return 0;
2645 }
2646 _ACEOF
2647 if ac_fn_c_try_compile "$LINENO"; then :
2648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2649 /* end confdefs.h.  */
2650 $4
2651 int
2652 main ()
2653 {
2654 if (sizeof (($2)))
2655             return 0;
2656   ;
2657   return 0;
2658 }
2659 _ACEOF
2660 if ac_fn_c_try_compile "$LINENO"; then :
2661
2662 else
2663   eval "$3=yes"
2664 fi
2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2666 fi
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 fi
2669 eval ac_res=\$$3
2670                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2671 $as_echo "$ac_res" >&6; }
2672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673
2674 } # ac_fn_c_check_type
2675
2676 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2677 # ---------------------------------------------
2678 # Tests whether TYPE exists after having included INCLUDES, setting cache
2679 # variable VAR accordingly.
2680 ac_fn_cxx_check_type ()
2681 {
2682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2684 $as_echo_n "checking for $2... " >&6; }
2685 if eval \${$3+:} false; then :
2686   $as_echo_n "(cached) " >&6
2687 else
2688   eval "$3=no"
2689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h.  */
2691 $4
2692 int
2693 main ()
2694 {
2695 if (sizeof ($2))
2696          return 0;
2697   ;
2698   return 0;
2699 }
2700 _ACEOF
2701 if ac_fn_cxx_try_compile "$LINENO"; then :
2702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h.  */
2704 $4
2705 int
2706 main ()
2707 {
2708 if (sizeof (($2)))
2709             return 0;
2710   ;
2711   return 0;
2712 }
2713 _ACEOF
2714 if ac_fn_cxx_try_compile "$LINENO"; then :
2715
2716 else
2717   eval "$3=yes"
2718 fi
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 fi
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 fi
2723 eval ac_res=\$$3
2724                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2725 $as_echo "$ac_res" >&6; }
2726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2727
2728 } # ac_fn_cxx_check_type
2729
2730 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2731 # ---------------------------------------------
2732 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2733 # accordingly.
2734 ac_fn_c_check_decl ()
2735 {
2736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2737   as_decl_name=`echo $2|sed 's/ *(.*//'`
2738   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2740 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2741 if eval \${$3+:} false; then :
2742   $as_echo_n "(cached) " >&6
2743 else
2744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h.  */
2746 $4
2747 int
2748 main ()
2749 {
2750 #ifndef $as_decl_name
2751 #ifdef __cplusplus
2752   (void) $as_decl_use;
2753 #else
2754   (void) $as_decl_name;
2755 #endif
2756 #endif
2757
2758   ;
2759   return 0;
2760 }
2761 _ACEOF
2762 if ac_fn_c_try_compile "$LINENO"; then :
2763   eval "$3=yes"
2764 else
2765   eval "$3=no"
2766 fi
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 fi
2769 eval ac_res=\$$3
2770                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773
2774 } # ac_fn_c_check_decl
2775 cat >config.log <<_ACEOF
2776 This file contains any messages produced by compilers while
2777 running configure, to aid debugging if configure makes a mistake.
2778
2779 It was created by package-unused $as_me version-unused, which was
2780 generated by GNU Autoconf 2.69.  Invocation command line was
2781
2782   $ $0 $@
2783
2784 _ACEOF
2785 exec 5>>config.log
2786 {
2787 cat <<_ASUNAME
2788 ## --------- ##
2789 ## Platform. ##
2790 ## --------- ##
2791
2792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2793 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2794 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2795 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2796 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2797
2798 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2799 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2800
2801 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2802 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2804 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2805 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2806 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2807 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2808
2809 _ASUNAME
2810
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 for as_dir in $PATH
2813 do
2814   IFS=$as_save_IFS
2815   test -z "$as_dir" && as_dir=.
2816     $as_echo "PATH: $as_dir"
2817   done
2818 IFS=$as_save_IFS
2819
2820 } >&5
2821
2822 cat >&5 <<_ACEOF
2823
2824
2825 ## ----------- ##
2826 ## Core tests. ##
2827 ## ----------- ##
2828
2829 _ACEOF
2830
2831
2832 # Keep a trace of the command line.
2833 # Strip out --no-create and --no-recursion so they do not pile up.
2834 # Strip out --silent because we don't want to record it for future runs.
2835 # Also quote any args containing shell meta-characters.
2836 # Make two passes to allow for proper duplicate-argument suppression.
2837 ac_configure_args=
2838 ac_configure_args0=
2839 ac_configure_args1=
2840 ac_must_keep_next=false
2841 for ac_pass in 1 2
2842 do
2843   for ac_arg
2844   do
2845     case $ac_arg in
2846     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2847     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2848     | -silent | --silent | --silen | --sile | --sil)
2849       continue ;;
2850     *\'*)
2851       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2852     esac
2853     case $ac_pass in
2854     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2855     2)
2856       as_fn_append ac_configure_args1 " '$ac_arg'"
2857       if test $ac_must_keep_next = true; then
2858         ac_must_keep_next=false # Got value, back to normal.
2859       else
2860         case $ac_arg in
2861           *=* | --config-cache | -C | -disable-* | --disable-* \
2862           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2863           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2864           | -with-* | --with-* | -without-* | --without-* | --x)
2865             case "$ac_configure_args0 " in
2866               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2867             esac
2868             ;;
2869           -* ) ac_must_keep_next=true ;;
2870         esac
2871       fi
2872       as_fn_append ac_configure_args " '$ac_arg'"
2873       ;;
2874     esac
2875   done
2876 done
2877 { ac_configure_args0=; unset ac_configure_args0;}
2878 { ac_configure_args1=; unset ac_configure_args1;}
2879
2880 # When interrupted or exit'd, cleanup temporary files, and complete
2881 # config.log.  We remove comments because anyway the quotes in there
2882 # would cause problems or look ugly.
2883 # WARNING: Use '\'' to represent an apostrophe within the trap.
2884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2885 trap 'exit_status=$?
2886   # Save into config.log some information that might help in debugging.
2887   {
2888     echo
2889
2890     $as_echo "## ---------------- ##
2891 ## Cache variables. ##
2892 ## ---------------- ##"
2893     echo
2894     # The following way of writing the cache mishandles newlines in values,
2895 (
2896   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2897     eval ac_val=\$$ac_var
2898     case $ac_val in #(
2899     *${as_nl}*)
2900       case $ac_var in #(
2901       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2903       esac
2904       case $ac_var in #(
2905       _ | IFS | as_nl) ;; #(
2906       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2907       *) { eval $ac_var=; unset $ac_var;} ;;
2908       esac ;;
2909     esac
2910   done
2911   (set) 2>&1 |
2912     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2913     *${as_nl}ac_space=\ *)
2914       sed -n \
2915         "s/'\''/'\''\\\\'\'''\''/g;
2916           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2917       ;; #(
2918     *)
2919       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2920       ;;
2921     esac |
2922     sort
2923 )
2924     echo
2925
2926     $as_echo "## ----------------- ##
2927 ## Output variables. ##
2928 ## ----------------- ##"
2929     echo
2930     for ac_var in $ac_subst_vars
2931     do
2932       eval ac_val=\$$ac_var
2933       case $ac_val in
2934       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2935       esac
2936       $as_echo "$ac_var='\''$ac_val'\''"
2937     done | sort
2938     echo
2939
2940     if test -n "$ac_subst_files"; then
2941       $as_echo "## ------------------- ##
2942 ## File substitutions. ##
2943 ## ------------------- ##"
2944       echo
2945       for ac_var in $ac_subst_files
2946       do
2947         eval ac_val=\$$ac_var
2948         case $ac_val in
2949         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2950         esac
2951         $as_echo "$ac_var='\''$ac_val'\''"
2952       done | sort
2953       echo
2954     fi
2955
2956     if test -s confdefs.h; then
2957       $as_echo "## ----------- ##
2958 ## confdefs.h. ##
2959 ## ----------- ##"
2960       echo
2961       cat confdefs.h
2962       echo
2963     fi
2964     test "$ac_signal" != 0 &&
2965       $as_echo "$as_me: caught signal $ac_signal"
2966     $as_echo "$as_me: exit $exit_status"
2967   } >&5
2968   rm -f core *.core core.conftest.* &&
2969     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2970     exit $exit_status
2971 ' 0
2972 for ac_signal in 1 2 13 15; do
2973   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2974 done
2975 ac_signal=0
2976
2977 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2978 rm -f -r conftest* confdefs.h
2979
2980 $as_echo "/* confdefs.h */" > confdefs.h
2981
2982 # Predefined preprocessor variables.
2983
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_NAME "$PACKAGE_NAME"
2986 _ACEOF
2987
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2990 _ACEOF
2991
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2994 _ACEOF
2995
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_STRING "$PACKAGE_STRING"
2998 _ACEOF
2999
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3002 _ACEOF
3003
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_URL "$PACKAGE_URL"
3006 _ACEOF
3007
3008
3009 # Let the site file select an alternate cache file if it wants to.
3010 # Prefer an explicitly selected file to automatically selected ones.
3011 ac_site_file1=NONE
3012 ac_site_file2=NONE
3013 if test -n "$CONFIG_SITE"; then
3014   # We do not want a PATH search for config.site.
3015   case $CONFIG_SITE in #((
3016     -*)  ac_site_file1=./$CONFIG_SITE;;
3017     */*) ac_site_file1=$CONFIG_SITE;;
3018     *)   ac_site_file1=./$CONFIG_SITE;;
3019   esac
3020 elif test "x$prefix" != xNONE; then
3021   ac_site_file1=$prefix/share/config.site
3022   ac_site_file2=$prefix/etc/config.site
3023 else
3024   ac_site_file1=$ac_default_prefix/share/config.site
3025   ac_site_file2=$ac_default_prefix/etc/config.site
3026 fi
3027 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3028 do
3029   test "x$ac_site_file" = xNONE && continue
3030   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3031     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3033     sed 's/^/| /' "$ac_site_file" >&5
3034     . "$ac_site_file" \
3035       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 as_fn_error $? "failed to load site script $ac_site_file
3038 See \`config.log' for more details" "$LINENO" 5; }
3039   fi
3040 done
3041
3042 if test -r "$cache_file"; then
3043   # Some versions of bash will fail to source /dev/null (special files
3044   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3045   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3046     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3047 $as_echo "$as_me: loading cache $cache_file" >&6;}
3048     case $cache_file in
3049       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3050       *)                      . "./$cache_file";;
3051     esac
3052   fi
3053 else
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3055 $as_echo "$as_me: creating cache $cache_file" >&6;}
3056   >$cache_file
3057 fi
3058
3059 # Check that the precious variables saved in the cache have kept the same
3060 # value.
3061 ac_cache_corrupted=false
3062 for ac_var in $ac_precious_vars; do
3063   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3064   eval ac_new_set=\$ac_env_${ac_var}_set
3065   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3066   eval ac_new_val=\$ac_env_${ac_var}_value
3067   case $ac_old_set,$ac_new_set in
3068     set,)
3069       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3071       ac_cache_corrupted=: ;;
3072     ,set)
3073       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3075       ac_cache_corrupted=: ;;
3076     ,);;
3077     *)
3078       if test "x$ac_old_val" != "x$ac_new_val"; then
3079         # differences in whitespace do not lead to failure.
3080         ac_old_val_w=`echo x $ac_old_val`
3081         ac_new_val_w=`echo x $ac_new_val`
3082         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3083           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3085           ac_cache_corrupted=:
3086         else
3087           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3089           eval $ac_var=\$ac_old_val
3090         fi
3091         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3092 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3093         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3094 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3095       fi;;
3096   esac
3097   # Pass precious variables to config.status.
3098   if test "$ac_new_set" = set; then
3099     case $ac_new_val in
3100     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3101     *) ac_arg=$ac_var=$ac_new_val ;;
3102     esac
3103     case " $ac_configure_args " in
3104       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3105       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3106     esac
3107   fi
3108 done
3109 if $ac_cache_corrupted; then
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3114   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3115 fi
3116 ## -------------------- ##
3117 ## Main body of script. ##
3118 ## -------------------- ##
3119
3120 ac_ext=c
3121 ac_cpp='$CPP $CPPFLAGS'
3122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3125
3126
3127
3128
3129
3130
3131 ac_config_headers="$ac_config_headers config.h"
3132
3133
3134 # This works around the fact that libtool configuration may change LD
3135 # for this particular configuration, but some shells, instead of
3136 # keeping the changes in LD private, export them just because LD is
3137 # exported.  Only used at the end of this file.
3138 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
3139
3140 # Find the rest of the source tree framework.
3141 # Default to --enable-multilib
3142 # Check whether --enable-multilib was given.
3143 if test "${enable_multilib+set}" = set; then :
3144   enableval=$enable_multilib; case "$enableval" in
3145   yes) multilib=yes ;;
3146   no)  multilib=no ;;
3147   *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3148  esac
3149 else
3150   multilib=yes
3151 fi
3152
3153
3154 # We may get other options which we leave undocumented:
3155 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3156 # See config-ml.in if you want the gory details.
3157
3158 if test "$srcdir" = "."; then
3159   if test "$with_target_subdir" != "."; then
3160     multi_basedir="$srcdir/$with_multisrctop../.."
3161   else
3162     multi_basedir="$srcdir/$with_multisrctop.."
3163   fi
3164 else
3165   multi_basedir="$srcdir/.."
3166 fi
3167
3168
3169 # Even if the default multilib is not a cross compilation,
3170 # it may be that some of the other multilibs are.
3171 if test $cross_compiling = no && test $multilib = yes \
3172    && test "x${with_multisubdir}" != x ; then
3173    cross_compiling=maybe
3174 fi
3175
3176 ac_config_commands="$ac_config_commands default-1"
3177
3178
3179 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3180 #
3181 # You will slowly go insane if you do not grok the following fact:  when
3182 # building v3 as part of the compiler, the top-level /target/ becomes the
3183 # library's /host/.  configure then causes --target to default to --host,
3184 # exactly like any other package using autoconf.  Therefore, 'target' and
3185 # 'host' will always be the same.  This makes sense both for native and
3186 # cross compilers, just think about it for a little while.  :-)
3187 #
3188 # Also, if v3 is being configured as part of a cross compiler, the top-level
3189 # configure script will pass the "real" host as $with_cross_host.
3190 #
3191 # Do not delete or change the following two lines.  For why, see
3192 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3193 ac_aux_dir=
3194 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3195   if test -f "$ac_dir/install-sh"; then
3196     ac_aux_dir=$ac_dir
3197     ac_install_sh="$ac_aux_dir/install-sh -c"
3198     break
3199   elif test -f "$ac_dir/install.sh"; then
3200     ac_aux_dir=$ac_dir
3201     ac_install_sh="$ac_aux_dir/install.sh -c"
3202     break
3203   elif test -f "$ac_dir/shtool"; then
3204     ac_aux_dir=$ac_dir
3205     ac_install_sh="$ac_aux_dir/shtool install -c"
3206     break
3207   fi
3208 done
3209 if test -z "$ac_aux_dir"; then
3210   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3211 fi
3212
3213 # These three variables are undocumented and unsupported,
3214 # and are intended to be withdrawn in a future Autoconf release.
3215 # They can cause serious problems if a builder's source tree is in a directory
3216 # whose full name contains unusual characters.
3217 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3218 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3219 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3220
3221
3222 # Make sure we can run config.sub.
3223 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3224   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3225
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3227 $as_echo_n "checking build system type... " >&6; }
3228 if ${ac_cv_build+:} false; then :
3229   $as_echo_n "(cached) " >&6
3230 else
3231   ac_build_alias=$build_alias
3232 test "x$ac_build_alias" = x &&
3233   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3234 test "x$ac_build_alias" = x &&
3235   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3236 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3237   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3238
3239 fi
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3241 $as_echo "$ac_cv_build" >&6; }
3242 case $ac_cv_build in
3243 *-*-*) ;;
3244 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3245 esac
3246 build=$ac_cv_build
3247 ac_save_IFS=$IFS; IFS='-'
3248 set x $ac_cv_build
3249 shift
3250 build_cpu=$1
3251 build_vendor=$2
3252 shift; shift
3253 # Remember, the first character of IFS is used to create $*,
3254 # except with old shells:
3255 build_os=$*
3256 IFS=$ac_save_IFS
3257 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3258
3259
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3261 $as_echo_n "checking host system type... " >&6; }
3262 if ${ac_cv_host+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265   if test "x$host_alias" = x; then
3266   ac_cv_host=$ac_cv_build
3267 else
3268   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3269     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3270 fi
3271
3272 fi
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3274 $as_echo "$ac_cv_host" >&6; }
3275 case $ac_cv_host in
3276 *-*-*) ;;
3277 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3278 esac
3279 host=$ac_cv_host
3280 ac_save_IFS=$IFS; IFS='-'
3281 set x $ac_cv_host
3282 shift
3283 host_cpu=$1
3284 host_vendor=$2
3285 shift; shift
3286 # Remember, the first character of IFS is used to create $*,
3287 # except with old shells:
3288 host_os=$*
3289 IFS=$ac_save_IFS
3290 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3291
3292
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3294 $as_echo_n "checking target system type... " >&6; }
3295 if ${ac_cv_target+:} false; then :
3296   $as_echo_n "(cached) " >&6
3297 else
3298   if test "x$target_alias" = x; then
3299   ac_cv_target=$ac_cv_host
3300 else
3301   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3302     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3303 fi
3304
3305 fi
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3307 $as_echo "$ac_cv_target" >&6; }
3308 case $ac_cv_target in
3309 *-*-*) ;;
3310 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3311 esac
3312 target=$ac_cv_target
3313 ac_save_IFS=$IFS; IFS='-'
3314 set x $ac_cv_target
3315 shift
3316 target_cpu=$1
3317 target_vendor=$2
3318 shift; shift
3319 # Remember, the first character of IFS is used to create $*,
3320 # except with old shells:
3321 target_os=$*
3322 IFS=$ac_save_IFS
3323 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3324
3325
3326 # The aliases save the names the user supplied, while $host etc.
3327 # will get canonicalized.
3328 test -n "$target_alias" &&
3329   test "$program_prefix$program_suffix$program_transform_name" = \
3330     NONENONEs,x,x, &&
3331   program_prefix=${target_alias}-
3332
3333 target_alias=${target_alias-$host_alias}
3334
3335 # Handy for debugging:
3336 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3337
3338 if test "$build" != "$host"; then
3339   # We are being configured with some form of cross compiler.
3340   GLIBCXX_IS_NATIVE=false
3341   case "$host","$target" in
3342     # Darwin crosses can use the host system's libraries and headers,
3343     # because of the fat library support.  Of course, it must be the
3344     # same version of Darwin on both sides.  Allow the user to
3345     # just say --target=foo-darwin without a version number to mean
3346     # "the version on this system".
3347       *-*-darwin*,*-*-darwin*)
3348         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3349         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3350         if test $hostos = $targetos -o $targetos = darwin ; then
3351           GLIBCXX_IS_NATIVE=true
3352         fi
3353         ;;
3354
3355       *)
3356
3357         ;;
3358   esac
3359 else
3360   GLIBCXX_IS_NATIVE=true
3361 fi
3362
3363 # In the case that we're building without headers, we won't have <stdio.h>
3364 # available. In these cases, we have to instruct autotools to never include
3365 # <stdio.h> as a part of default headers.
3366
3367 if test "x$with_headers" = "xno"; then
3368   ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3369 fi
3370
3371
3372 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3373 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3374 #  1.x:  minimum required version
3375 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3376 #              of other PACKAGE_* variables will, however, and there's nothing
3377 #              we can do about that; they come from AC_INIT).
3378 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3379 #            file in the top srcdir, etc, etc), so stop complaining.
3380 #  no-dependencies:  turns off auto dependency generation (just for now)
3381 #  no-dist:  we don't want 'dist' and related rules.
3382 #  -Wall:  turns on all automake warnings...
3383 #  -Wno-portability:  ...except this one, since GNU make is now required.
3384 am__api_version='1.15'
3385
3386 # Find a good install program.  We prefer a C program (faster),
3387 # so one script is as good as another.  But avoid the broken or
3388 # incompatible versions:
3389 # SysV /etc/install, /usr/sbin/install
3390 # SunOS /usr/etc/install
3391 # IRIX /sbin/install
3392 # AIX /bin/install
3393 # AmigaOS /C/install, which installs bootblocks on floppy discs
3394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3397 # OS/2's system install, which has a completely different semantic
3398 # ./install, which can be erroneously created by make from ./install.sh.
3399 # Reject install programs that cannot install multiple files.
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3401 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3402 if test -z "$INSTALL"; then
3403 if ${ac_cv_path_install+:} false; then :
3404   $as_echo_n "(cached) " >&6
3405 else
3406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3408 do
3409   IFS=$as_save_IFS
3410   test -z "$as_dir" && as_dir=.
3411     # Account for people who put trailing slashes in PATH elements.
3412 case $as_dir/ in #((
3413   ./ | .// | /[cC]/* | \
3414   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3415   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3416   /usr/ucb/* ) ;;
3417   *)
3418     # OSF1 and SCO ODT 3.0 have their own names for install.
3419     # Don't use installbsd from OSF since it installs stuff as root
3420     # by default.
3421     for ac_prog in ginstall scoinst install; do
3422       for ac_exec_ext in '' $ac_executable_extensions; do
3423         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3424           if test $ac_prog = install &&
3425             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3426             # AIX install.  It has an incompatible calling convention.
3427             :
3428           elif test $ac_prog = install &&
3429             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3430             # program-specific install script used by HP pwplus--don't use.
3431             :
3432           else
3433             rm -rf conftest.one conftest.two conftest.dir
3434             echo one > conftest.one
3435             echo two > conftest.two
3436             mkdir conftest.dir
3437             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3438               test -s conftest.one && test -s conftest.two &&
3439               test -s conftest.dir/conftest.one &&
3440               test -s conftest.dir/conftest.two
3441             then
3442               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3443               break 3
3444             fi
3445           fi
3446         fi
3447       done
3448     done
3449     ;;
3450 esac
3451
3452   done
3453 IFS=$as_save_IFS
3454
3455 rm -rf conftest.one conftest.two conftest.dir
3456
3457 fi
3458   if test "${ac_cv_path_install+set}" = set; then
3459     INSTALL=$ac_cv_path_install
3460   else
3461     # As a last resort, use the slow shell script.  Don't cache a
3462     # value for INSTALL within a source directory, because that will
3463     # break other packages using the cache if that directory is
3464     # removed, or if the value is a relative name.
3465     INSTALL=$ac_install_sh
3466   fi
3467 fi
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3469 $as_echo "$INSTALL" >&6; }
3470
3471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3472 # It thinks the first close brace ends the variable substitution.
3473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3474
3475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3476
3477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3478
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3480 $as_echo_n "checking whether build environment is sane... " >&6; }
3481 # Reject unsafe characters in $srcdir or the absolute working directory
3482 # name.  Accept space and tab only in the latter.
3483 am_lf='
3484 '
3485 case `pwd` in
3486   *[\\\"\#\$\&\'\`$am_lf]*)
3487     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3488 esac
3489 case $srcdir in
3490   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3491     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3492 esac
3493
3494 # Do 'set' in a subshell so we don't clobber the current shell's
3495 # arguments.  Must try -L first in case configure is actually a
3496 # symlink; some systems play weird games with the mod time of symlinks
3497 # (eg FreeBSD returns the mod time of the symlink's containing
3498 # directory).
3499 if (
3500    am_has_slept=no
3501    for am_try in 1 2; do
3502      echo "timestamp, slept: $am_has_slept" > conftest.file
3503      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3504      if test "$*" = "X"; then
3505         # -L didn't work.
3506         set X `ls -t "$srcdir/configure" conftest.file`
3507      fi
3508      if test "$*" != "X $srcdir/configure conftest.file" \
3509         && test "$*" != "X conftest.file $srcdir/configure"; then
3510
3511         # If neither matched, then we have a broken ls.  This can happen
3512         # if, for instance, CONFIG_SHELL is bash and it inherits a
3513         # broken ls alias from the environment.  This has actually
3514         # happened.  Such a system could not be considered "sane".
3515         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3516   alias in your environment" "$LINENO" 5
3517      fi
3518      if test "$2" = conftest.file || test $am_try -eq 2; then
3519        break
3520      fi
3521      # Just in case.
3522      sleep 1
3523      am_has_slept=yes
3524    done
3525    test "$2" = conftest.file
3526    )
3527 then
3528    # Ok.
3529    :
3530 else
3531    as_fn_error $? "newly created file is older than distributed files!
3532 Check your system clock" "$LINENO" 5
3533 fi
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3535 $as_echo "yes" >&6; }
3536 # If we didn't sleep, we still need to ensure time stamps of config.status and
3537 # generated files are strictly newer.
3538 am_sleep_pid=
3539 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3540   ( sleep 1 ) &
3541   am_sleep_pid=$!
3542 fi
3543
3544 rm -f conftest.file
3545
3546 test "$program_prefix" != NONE &&
3547   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3548 # Use a double $ so make ignores it.
3549 test "$program_suffix" != NONE &&
3550   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3551 # Double any \ or $.
3552 # By default was `s,x,x', remove it if useless.
3553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3555
3556 # Expand $ac_aux_dir to an absolute path.
3557 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3558
3559 if test x"${MISSING+set}" != xset; then
3560   case $am_aux_dir in
3561   *\ * | *\     *)
3562     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3563   *)
3564     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3565   esac
3566 fi
3567 # Use eval to expand $SHELL
3568 if eval "$MISSING --is-lightweight"; then
3569   am_missing_run="$MISSING "
3570 else
3571   am_missing_run=
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3573 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3574 fi
3575
3576 if test x"${install_sh+set}" != xset; then
3577   case $am_aux_dir in
3578   *\ * | *\     *)
3579     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3580   *)
3581     install_sh="\${SHELL} $am_aux_dir/install-sh"
3582   esac
3583 fi
3584
3585 # Installed binaries are usually stripped using 'strip' when the user
3586 # run "make install-strip".  However 'strip' might not be the right
3587 # tool to use in cross-compilation environments, therefore Automake
3588 # will honor the 'STRIP' environment variable to overrule this program.
3589 if test "$cross_compiling" != no; then
3590   if test -n "$ac_tool_prefix"; then
3591   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3592 set dummy ${ac_tool_prefix}strip; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_STRIP+:} false; then :
3596   $as_echo_n "(cached) " >&6
3597 else
3598   if test -n "$STRIP"; then
3599   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604   IFS=$as_save_IFS
3605   test -z "$as_dir" && as_dir=.
3606     for ac_exec_ext in '' $ac_executable_extensions; do
3607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610     break 2
3611   fi
3612 done
3613   done
3614 IFS=$as_save_IFS
3615
3616 fi
3617 fi
3618 STRIP=$ac_cv_prog_STRIP
3619 if test -n "$STRIP"; then
3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3621 $as_echo "$STRIP" >&6; }
3622 else
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 fi
3626
3627
3628 fi
3629 if test -z "$ac_cv_prog_STRIP"; then
3630   ac_ct_STRIP=$STRIP
3631   # Extract the first word of "strip", so it can be a program name with args.
3632 set dummy strip; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3636   $as_echo_n "(cached) " >&6
3637 else
3638   if test -n "$ac_ct_STRIP"; then
3639   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3643 do
3644   IFS=$as_save_IFS
3645   test -z "$as_dir" && as_dir=.
3646     for ac_exec_ext in '' $ac_executable_extensions; do
3647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648     ac_cv_prog_ac_ct_STRIP="strip"
3649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650     break 2
3651   fi
3652 done
3653   done
3654 IFS=$as_save_IFS
3655
3656 fi
3657 fi
3658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3659 if test -n "$ac_ct_STRIP"; then
3660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3661 $as_echo "$ac_ct_STRIP" >&6; }
3662 else
3663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3665 fi
3666
3667   if test "x$ac_ct_STRIP" = x; then
3668     STRIP=":"
3669   else
3670     case $cross_compiling:$ac_tool_warned in
3671 yes:)
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3674 ac_tool_warned=yes ;;
3675 esac
3676     STRIP=$ac_ct_STRIP
3677   fi
3678 else
3679   STRIP="$ac_cv_prog_STRIP"
3680 fi
3681
3682 fi
3683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3684
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3687 if test -z "$MKDIR_P"; then
3688   if ${ac_cv_path_mkdir+:} false; then :
3689   $as_echo_n "(cached) " >&6
3690 else
3691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3693 do
3694   IFS=$as_save_IFS
3695   test -z "$as_dir" && as_dir=.
3696     for ac_prog in mkdir gmkdir; do
3697          for ac_exec_ext in '' $ac_executable_extensions; do
3698            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3699            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3700              'mkdir (GNU coreutils) '* | \
3701              'mkdir (coreutils) '* | \
3702              'mkdir (fileutils) '4.1*)
3703                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3704                break 3;;
3705            esac
3706          done
3707        done
3708   done
3709 IFS=$as_save_IFS
3710
3711 fi
3712
3713   test -d ./--version && rmdir ./--version
3714   if test "${ac_cv_path_mkdir+set}" = set; then
3715     MKDIR_P="$ac_cv_path_mkdir -p"
3716   else
3717     # As a last resort, use the slow shell script.  Don't cache a
3718     # value for MKDIR_P within a source directory, because that will
3719     # break other packages using the cache if that directory is
3720     # removed, or if the value is a relative name.
3721     MKDIR_P="$ac_install_sh -d"
3722   fi
3723 fi
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3725 $as_echo "$MKDIR_P" >&6; }
3726
3727 for ac_prog in gawk mawk nawk awk
3728 do
3729   # Extract the first word of "$ac_prog", so it can be a program name with args.
3730 set dummy $ac_prog; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_AWK+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   if test -n "$AWK"; then
3737   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3741 do
3742   IFS=$as_save_IFS
3743   test -z "$as_dir" && as_dir=.
3744     for ac_exec_ext in '' $ac_executable_extensions; do
3745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746     ac_cv_prog_AWK="$ac_prog"
3747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748     break 2
3749   fi
3750 done
3751   done
3752 IFS=$as_save_IFS
3753
3754 fi
3755 fi
3756 AWK=$ac_cv_prog_AWK
3757 if test -n "$AWK"; then
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3759 $as_echo "$AWK" >&6; }
3760 else
3761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3763 fi
3764
3765
3766   test -n "$AWK" && break
3767 done
3768
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3770 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3771 set x ${MAKE-make}
3772 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3773 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3774   $as_echo_n "(cached) " >&6
3775 else
3776   cat >conftest.make <<\_ACEOF
3777 SHELL = /bin/sh
3778 all:
3779         @echo '@@@%%%=$(MAKE)=@@@%%%'
3780 _ACEOF
3781 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3783   *@@@%%%=?*=@@@%%%*)
3784     eval ac_cv_prog_make_${ac_make}_set=yes;;
3785   *)
3786     eval ac_cv_prog_make_${ac_make}_set=no;;
3787 esac
3788 rm -f conftest.make
3789 fi
3790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3792 $as_echo "yes" >&6; }
3793   SET_MAKE=
3794 else
3795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3797   SET_MAKE="MAKE=${MAKE-make}"
3798 fi
3799
3800 rm -rf .tst 2>/dev/null
3801 mkdir .tst 2>/dev/null
3802 if test -d .tst; then
3803   am__leading_dot=.
3804 else
3805   am__leading_dot=_
3806 fi
3807 rmdir .tst 2>/dev/null
3808
3809 # Check whether --enable-silent-rules was given.
3810 if test "${enable_silent_rules+set}" = set; then :
3811   enableval=$enable_silent_rules;
3812 fi
3813
3814 case $enable_silent_rules in # (((
3815   yes) AM_DEFAULT_VERBOSITY=0;;
3816    no) AM_DEFAULT_VERBOSITY=1;;
3817     *) AM_DEFAULT_VERBOSITY=1;;
3818 esac
3819 am_make=${MAKE-make}
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3821 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3822 if ${am_cv_make_support_nested_variables+:} false; then :
3823   $as_echo_n "(cached) " >&6
3824 else
3825   if $as_echo 'TRUE=$(BAR$(V))
3826 BAR0=false
3827 BAR1=true
3828 V=1
3829 am__doit:
3830         @$(TRUE)
3831 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3832   am_cv_make_support_nested_variables=yes
3833 else
3834   am_cv_make_support_nested_variables=no
3835 fi
3836 fi
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3838 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3839 if test $am_cv_make_support_nested_variables = yes; then
3840     AM_V='$(V)'
3841   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3842 else
3843   AM_V=$AM_DEFAULT_VERBOSITY
3844   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3845 fi
3846 AM_BACKSLASH='\'
3847
3848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3849   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3850   # is not polluted with repeated "-I."
3851   am__isrc=' -I$(srcdir)'
3852   # test to see if srcdir already configured
3853   if test -f $srcdir/config.status; then
3854     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3855   fi
3856 fi
3857
3858 # test whether we have cygpath
3859 if test -z "$CYGPATH_W"; then
3860   if (cygpath --version) >/dev/null 2>/dev/null; then
3861     CYGPATH_W='cygpath -w'
3862   else
3863     CYGPATH_W=echo
3864   fi
3865 fi
3866
3867
3868 # Define the identity of the package.
3869  PACKAGE='libstdc++'
3870  VERSION='version-unused'
3871
3872
3873 # Some tools Automake needs.
3874
3875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3876
3877
3878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3879
3880
3881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3882
3883
3884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3885
3886
3887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3888
3889 # For better backward compatibility.  To be removed once Automake 1.9.x
3890 # dies out for good.  For more background, see:
3891 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3892 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3893 mkdir_p='$(MKDIR_P)'
3894
3895 # We need awk for the "check" target (and possibly the TAP driver).  The
3896 # system "awk" is bad on some platforms.
3897 # Always define AMTAR for backward compatibility.  Yes, it's still used
3898 # in the wild :-(  We should find a proper way to deprecate it ...
3899 AMTAR='$${TAR-tar}'
3900
3901
3902 # We'll loop over all known methods to create a tar archive until one works.
3903 _am_tools='gnutar  pax cpio none'
3904
3905 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3906
3907
3908
3909
3910
3911
3912 # POSIX will say in a future version that running "rm -f" with no argument
3913 # is OK; and we want to be able to make that assumption in our Makefile
3914 # recipes.  So use an aggressive probe to check that the usage we want is
3915 # actually supported "in the wild" to an acceptable degree.
3916 # See automake bug#10828.
3917 # To make any issue more visible, cause the running configure to be aborted
3918 # by default if the 'rm' program in use doesn't match our expectations; the
3919 # user can still override this though.
3920 if rm -f && rm -fr && rm -rf; then : OK; else
3921   cat >&2 <<'END'
3922 Oops!
3923
3924 Your 'rm' program seems unable to run without file operands specified
3925 on the command line, even when the '-f' option is present.  This is contrary
3926 to the behaviour of most rm programs out there, and not conforming with
3927 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3928
3929 Please tell bug-automake@gnu.org about your system, including the value
3930 of your $PATH and any error possibly output before this message.  This
3931 can help us improve future automake versions.
3932
3933 END
3934   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3935     echo 'Configuration will proceed anyway, since you have set the' >&2
3936     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3937     echo >&2
3938   else
3939     cat >&2 <<'END'
3940 Aborting the configuration process, to ensure you take notice of the issue.
3941
3942 You can download and install GNU coreutils to get an 'rm' implementation
3943 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3944
3945 If you want to complete the configuration process using your problematic
3946 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3947 to "yes", and re-run configure.
3948
3949 END
3950     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3951   fi
3952 fi
3953
3954
3955
3956
3957 # -fno-builtin must be present here so that a non-conflicting form of
3958 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3959
3960 save_CXXFLAGS="$CXXFLAGS"
3961 CXXFLAGS="$CXXFLAGS -fno-builtin"
3962 ac_ext=c
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967 if test -n "$ac_tool_prefix"; then
3968   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if ${ac_cv_prog_CC+:} false; then :
3973   $as_echo_n "(cached) " >&6
3974 else
3975   if test -n "$CC"; then
3976   ac_cv_prog_CC="$CC" # Let the user override the test.
3977 else
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH
3980 do
3981   IFS=$as_save_IFS
3982   test -z "$as_dir" && as_dir=.
3983     for ac_exec_ext in '' $ac_executable_extensions; do
3984   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3985     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987     break 2
3988   fi
3989 done
3990   done
3991 IFS=$as_save_IFS
3992
3993 fi
3994 fi
3995 CC=$ac_cv_prog_CC
3996 if test -n "$CC"; then
3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3998 $as_echo "$CC" >&6; }
3999 else
4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 fi
4003
4004
4005 fi
4006 if test -z "$ac_cv_prog_CC"; then
4007   ac_ct_CC=$CC
4008   # Extract the first word of "gcc", so it can be a program name with args.
4009 set dummy gcc; ac_word=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4013   $as_echo_n "(cached) " >&6
4014 else
4015   if test -n "$ac_ct_CC"; then
4016   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4017 else
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 for as_dir in $PATH
4020 do
4021   IFS=$as_save_IFS
4022   test -z "$as_dir" && as_dir=.
4023     for ac_exec_ext in '' $ac_executable_extensions; do
4024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025     ac_cv_prog_ac_ct_CC="gcc"
4026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027     break 2
4028   fi
4029 done
4030   done
4031 IFS=$as_save_IFS
4032
4033 fi
4034 fi
4035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4036 if test -n "$ac_ct_CC"; then
4037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4038 $as_echo "$ac_ct_CC" >&6; }
4039 else
4040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4042 fi
4043
4044   if test "x$ac_ct_CC" = x; then
4045     CC=""
4046   else
4047     case $cross_compiling:$ac_tool_warned in
4048 yes:)
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4051 ac_tool_warned=yes ;;
4052 esac
4053     CC=$ac_ct_CC
4054   fi
4055 else
4056   CC="$ac_cv_prog_CC"
4057 fi
4058
4059 if test -z "$CC"; then
4060           if test -n "$ac_tool_prefix"; then
4061     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}cc; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_CC+:} false; then :
4066   $as_echo_n "(cached) " >&6
4067 else
4068   if test -n "$CC"; then
4069   ac_cv_prog_CC="$CC" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4073 do
4074   IFS=$as_save_IFS
4075   test -z "$as_dir" && as_dir=.
4076     for ac_exec_ext in '' $ac_executable_extensions; do
4077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078     ac_cv_prog_CC="${ac_tool_prefix}cc"
4079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080     break 2
4081   fi
4082 done
4083   done
4084 IFS=$as_save_IFS
4085
4086 fi
4087 fi
4088 CC=$ac_cv_prog_CC
4089 if test -n "$CC"; then
4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4091 $as_echo "$CC" >&6; }
4092 else
4093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4095 fi
4096
4097
4098   fi
4099 fi
4100 if test -z "$CC"; then
4101   # Extract the first word of "cc", so it can be a program name with args.
4102 set dummy cc; ac_word=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_CC+:} false; then :
4106   $as_echo_n "(cached) " >&6
4107 else
4108   if test -n "$CC"; then
4109   ac_cv_prog_CC="$CC" # Let the user override the test.
4110 else
4111   ac_prog_rejected=no
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 for as_dir in $PATH
4114 do
4115   IFS=$as_save_IFS
4116   test -z "$as_dir" && as_dir=.
4117     for ac_exec_ext in '' $ac_executable_extensions; do
4118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4119     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4120        ac_prog_rejected=yes
4121        continue
4122      fi
4123     ac_cv_prog_CC="cc"
4124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125     break 2
4126   fi
4127 done
4128   done
4129 IFS=$as_save_IFS
4130
4131 if test $ac_prog_rejected = yes; then
4132   # We found a bogon in the path, so make sure we never use it.
4133   set dummy $ac_cv_prog_CC
4134   shift
4135   if test $# != 0; then
4136     # We chose a different compiler from the bogus one.
4137     # However, it has the same basename, so the bogon will be chosen
4138     # first if we set CC to just the basename; use the full file name.
4139     shift
4140     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4141   fi
4142 fi
4143 fi
4144 fi
4145 CC=$ac_cv_prog_CC
4146 if test -n "$CC"; then
4147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4148 $as_echo "$CC" >&6; }
4149 else
4150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4152 fi
4153
4154
4155 fi
4156 if test -z "$CC"; then
4157   if test -n "$ac_tool_prefix"; then
4158   for ac_prog in cl.exe
4159   do
4160     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if ${ac_cv_prog_CC+:} false; then :
4165   $as_echo_n "(cached) " >&6
4166 else
4167   if test -n "$CC"; then
4168   ac_cv_prog_CC="$CC" # Let the user override the test.
4169 else
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 for as_dir in $PATH
4172 do
4173   IFS=$as_save_IFS
4174   test -z "$as_dir" && as_dir=.
4175     for ac_exec_ext in '' $ac_executable_extensions; do
4176   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179     break 2
4180   fi
4181 done
4182   done
4183 IFS=$as_save_IFS
4184
4185 fi
4186 fi
4187 CC=$ac_cv_prog_CC
4188 if test -n "$CC"; then
4189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4190 $as_echo "$CC" >&6; }
4191 else
4192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4194 fi
4195
4196
4197     test -n "$CC" && break
4198   done
4199 fi
4200 if test -z "$CC"; then
4201   ac_ct_CC=$CC
4202   for ac_prog in cl.exe
4203 do
4204   # Extract the first word of "$ac_prog", so it can be a program name with args.
4205 set dummy $ac_prog; ac_word=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4209   $as_echo_n "(cached) " >&6
4210 else
4211   if test -n "$ac_ct_CC"; then
4212   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4213 else
4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 for as_dir in $PATH
4216 do
4217   IFS=$as_save_IFS
4218   test -z "$as_dir" && as_dir=.
4219     for ac_exec_ext in '' $ac_executable_extensions; do
4220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221     ac_cv_prog_ac_ct_CC="$ac_prog"
4222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4223     break 2
4224   fi
4225 done
4226   done
4227 IFS=$as_save_IFS
4228
4229 fi
4230 fi
4231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4232 if test -n "$ac_ct_CC"; then
4233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4234 $as_echo "$ac_ct_CC" >&6; }
4235 else
4236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4238 fi
4239
4240
4241   test -n "$ac_ct_CC" && break
4242 done
4243
4244   if test "x$ac_ct_CC" = x; then
4245     CC=""
4246   else
4247     case $cross_compiling:$ac_tool_warned in
4248 yes:)
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4251 ac_tool_warned=yes ;;
4252 esac
4253     CC=$ac_ct_CC
4254   fi
4255 fi
4256
4257 fi
4258
4259
4260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error $? "no acceptable C compiler found in \$PATH
4263 See \`config.log' for more details" "$LINENO" 5; }
4264
4265 # Provide some information about the compiler.
4266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4267 set X $ac_compile
4268 ac_compiler=$2
4269 for ac_option in --version -v -V -qversion; do
4270   { { ac_try="$ac_compiler $ac_option >&5"
4271 case "(($ac_try" in
4272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273   *) ac_try_echo=$ac_try;;
4274 esac
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4278   ac_status=$?
4279   if test -s conftest.err; then
4280     sed '10a\
4281 ... rest of stderr output deleted ...
4282          10q' conftest.err >conftest.er1
4283     cat conftest.er1 >&5
4284   fi
4285   rm -f conftest.er1 conftest.err
4286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287   test $ac_status = 0; }
4288 done
4289
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h.  */
4292 #include <stdio.h>
4293 int
4294 main ()
4295 {
4296 printf ("hello world\n");
4297   ;
4298   return 0;
4299 }
4300 _ACEOF
4301 # FIXME: Cleanup?
4302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4303   (eval $ac_link) 2>&5
4304   ac_status=$?
4305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4306   test $ac_status = 0; }; then :
4307   gcc_no_link=no
4308 else
4309   gcc_no_link=yes
4310 fi
4311 if test x$gcc_no_link = xyes; then
4312   # Setting cross_compile will disable run tests; it will
4313   # also disable AC_CHECK_FILE but that's generally
4314   # correct if we can't link.
4315   cross_compiling=yes
4316   EXEEXT=
4317 else
4318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h.  */
4320
4321 int
4322 main ()
4323 {
4324
4325   ;
4326   return 0;
4327 }
4328 _ACEOF
4329 ac_clean_files_save=$ac_clean_files
4330 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4331 # Try to create an executable without -o first, disregard a.out.
4332 # It will help us diagnose broken compilers, and finding out an intuition
4333 # of exeext.
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4335 $as_echo_n "checking whether the C compiler works... " >&6; }
4336 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4337
4338 # The possible output files:
4339 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4340
4341 ac_rmfiles=
4342 for ac_file in $ac_files
4343 do
4344   case $ac_file in
4345     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4346     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4347   esac
4348 done
4349 rm -f $ac_rmfiles
4350
4351 if { { ac_try="$ac_link_default"
4352 case "(($ac_try" in
4353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354   *) ac_try_echo=$ac_try;;
4355 esac
4356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 $as_echo "$ac_try_echo"; } >&5
4358   (eval "$ac_link_default") 2>&5
4359   ac_status=$?
4360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361   test $ac_status = 0; }; then :
4362   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4364 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4365 # so that the user can short-circuit this test for compilers unknown to
4366 # Autoconf.
4367 for ac_file in $ac_files ''
4368 do
4369   test -f "$ac_file" || continue
4370   case $ac_file in
4371     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4372         ;;
4373     [ab].out )
4374         # We found the default executable, but exeext='' is most
4375         # certainly right.
4376         break;;
4377     *.* )
4378         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4379         then :; else
4380            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4381         fi
4382         # We set ac_cv_exeext here because the later test for it is not
4383         # safe: cross compilers may not add the suffix if given an `-o'
4384         # argument, so we may need to know it at that point already.
4385         # Even if this section looks crufty: it has the advantage of
4386         # actually working.
4387         break;;
4388     * )
4389         break;;
4390   esac
4391 done
4392 test "$ac_cv_exeext" = no && ac_cv_exeext=
4393
4394 else
4395   ac_file=''
4396 fi
4397 if test -z "$ac_file"; then :
4398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4400 $as_echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4402
4403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 as_fn_error 77 "C compiler cannot create executables
4406 See \`config.log' for more details" "$LINENO" 5; }
4407 else
4408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4409 $as_echo "yes" >&6; }
4410 fi
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4412 $as_echo_n "checking for C compiler default output file name... " >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4414 $as_echo "$ac_file" >&6; }
4415 ac_exeext=$ac_cv_exeext
4416
4417 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4418 ac_clean_files=$ac_clean_files_save
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4420 $as_echo_n "checking for suffix of executables... " >&6; }
4421 if { { ac_try="$ac_link"
4422 case "(($ac_try" in
4423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424   *) ac_try_echo=$ac_try;;
4425 esac
4426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4427 $as_echo "$ac_try_echo"; } >&5
4428   (eval "$ac_link") 2>&5
4429   ac_status=$?
4430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4431   test $ac_status = 0; }; then :
4432   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4433 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4434 # work properly (i.e., refer to `conftest.exe'), while it won't with
4435 # `rm'.
4436 for ac_file in conftest.exe conftest conftest.*; do
4437   test -f "$ac_file" || continue
4438   case $ac_file in
4439     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4440     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4441           break;;
4442     * ) break;;
4443   esac
4444 done
4445 else
4446   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4449 See \`config.log' for more details" "$LINENO" 5; }
4450 fi
4451 rm -f conftest conftest$ac_cv_exeext
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4453 $as_echo "$ac_cv_exeext" >&6; }
4454
4455 rm -f conftest.$ac_ext
4456 EXEEXT=$ac_cv_exeext
4457 ac_exeext=$EXEEXT
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h.  */
4460 #include <stdio.h>
4461 int
4462 main ()
4463 {
4464 FILE *f = fopen ("conftest.out", "w");
4465  return ferror (f) || fclose (f) != 0;
4466
4467   ;
4468   return 0;
4469 }
4470 _ACEOF
4471 ac_clean_files="$ac_clean_files conftest.out"
4472 # Check that the compiler produces executables we can run.  If not, either
4473 # the compiler is broken, or we cross compile.
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4475 $as_echo_n "checking whether we are cross compiling... " >&6; }
4476 if test "$cross_compiling" != yes; then
4477   { { ac_try="$ac_link"
4478 case "(($ac_try" in
4479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480   *) ac_try_echo=$ac_try;;
4481 esac
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484   (eval "$ac_link") 2>&5
4485   ac_status=$?
4486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487   test $ac_status = 0; }
4488   if { ac_try='./conftest$ac_cv_exeext'
4489   { { case "(($ac_try" in
4490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4491   *) ac_try_echo=$ac_try;;
4492 esac
4493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4494 $as_echo "$ac_try_echo"; } >&5
4495   (eval "$ac_try") 2>&5
4496   ac_status=$?
4497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498   test $ac_status = 0; }; }; then
4499     cross_compiling=no
4500   else
4501     if test "$cross_compiling" = maybe; then
4502         cross_compiling=yes
4503     else
4504         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4506 as_fn_error $? "cannot run C compiled programs.
4507 If you meant to cross compile, use \`--host'.
4508 See \`config.log' for more details" "$LINENO" 5; }
4509     fi
4510   fi
4511 fi
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4513 $as_echo "$cross_compiling" >&6; }
4514
4515 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4516 ac_clean_files=$ac_clean_files_save
4517 fi
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4519 $as_echo_n "checking for suffix of object files... " >&6; }
4520 if ${ac_cv_objext+:} false; then :
4521   $as_echo_n "(cached) " >&6
4522 else
4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h.  */
4525
4526 int
4527 main ()
4528 {
4529
4530   ;
4531   return 0;
4532 }
4533 _ACEOF
4534 rm -f conftest.o conftest.obj
4535 if { { ac_try="$ac_compile"
4536 case "(($ac_try" in
4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538   *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542   (eval "$ac_compile") 2>&5
4543   ac_status=$?
4544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4545   test $ac_status = 0; }; then :
4546   for ac_file in conftest.o conftest.obj conftest.*; do
4547   test -f "$ac_file" || continue;
4548   case $ac_file in
4549     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4550     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4551        break;;
4552   esac
4553 done
4554 else
4555   $as_echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4557
4558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4560 as_fn_error $? "cannot compute suffix of object files: cannot compile
4561 See \`config.log' for more details" "$LINENO" 5; }
4562 fi
4563 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4564 fi
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4566 $as_echo "$ac_cv_objext" >&6; }
4567 OBJEXT=$ac_cv_objext
4568 ac_objext=$OBJEXT
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4571 if ${ac_cv_c_compiler_gnu+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h.  */
4576
4577 int
4578 main ()
4579 {
4580 #ifndef __GNUC__
4581        choke me
4582 #endif
4583
4584   ;
4585   return 0;
4586 }
4587 _ACEOF
4588 if ac_fn_c_try_compile "$LINENO"; then :
4589   ac_compiler_gnu=yes
4590 else
4591   ac_compiler_gnu=no
4592 fi
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4598 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600   GCC=yes
4601 else
4602   GCC=
4603 fi
4604 ac_test_CFLAGS=${CFLAGS+set}
4605 ac_save_CFLAGS=$CFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4607 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4608 if ${ac_cv_prog_cc_g+:} false; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611   ac_save_c_werror_flag=$ac_c_werror_flag
4612    ac_c_werror_flag=yes
4613    ac_cv_prog_cc_g=no
4614    CFLAGS="-g"
4615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h.  */
4617
4618 int
4619 main ()
4620 {
4621
4622   ;
4623   return 0;
4624 }
4625 _ACEOF
4626 if ac_fn_c_try_compile "$LINENO"; then :
4627   ac_cv_prog_cc_g=yes
4628 else
4629   CFLAGS=""
4630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h.  */
4632
4633 int
4634 main ()
4635 {
4636
4637   ;
4638   return 0;
4639 }
4640 _ACEOF
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642
4643 else
4644   ac_c_werror_flag=$ac_save_c_werror_flag
4645          CFLAGS="-g"
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_c_try_compile "$LINENO"; then :
4658   ac_cv_prog_cc_g=yes
4659 fi
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 fi
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 fi
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665    ac_c_werror_flag=$ac_save_c_werror_flag
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4668 $as_echo "$ac_cv_prog_cc_g" >&6; }
4669 if test "$ac_test_CFLAGS" = set; then
4670   CFLAGS=$ac_save_CFLAGS
4671 elif test $ac_cv_prog_cc_g = yes; then
4672   if test "$GCC" = yes; then
4673     CFLAGS="-g -O2"
4674   else
4675     CFLAGS="-g"
4676   fi
4677 else
4678   if test "$GCC" = yes; then
4679     CFLAGS="-O2"
4680   else
4681     CFLAGS=
4682   fi
4683 fi
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4685 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4686 if ${ac_cv_prog_cc_c89+:} false; then :
4687   $as_echo_n "(cached) " >&6
4688 else
4689   ac_cv_prog_cc_c89=no
4690 ac_save_CC=$CC
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h.  */
4693 #include <stdarg.h>
4694 #include <stdio.h>
4695 struct stat;
4696 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4697 struct buf { int x; };
4698 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4699 static char *e (p, i)
4700      char **p;
4701      int i;
4702 {
4703   return p[i];
4704 }
4705 static char *f (char * (*g) (char **, int), char **p, ...)
4706 {
4707   char *s;
4708   va_list v;
4709   va_start (v,p);
4710   s = g (p, va_arg (v,int));
4711   va_end (v);
4712   return s;
4713 }
4714
4715 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4716    function prototypes and stuff, but not '\xHH' hex character constants.
4717    These don't provoke an error unfortunately, instead are silently treated
4718    as 'x'.  The following induces an error, until -std is added to get
4719    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4720    array size at least.  It's necessary to write '\x00'==0 to get something
4721    that's true only with -std.  */
4722 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4723
4724 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4725    inside strings and character constants.  */
4726 #define FOO(x) 'x'
4727 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4728
4729 int test (int i, double x);
4730 struct s1 {int (*f) (int a);};
4731 struct s2 {int (*f) (double a);};
4732 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4733 int argc;
4734 char **argv;
4735 int
4736 main ()
4737 {
4738 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4739   ;
4740   return 0;
4741 }
4742 _ACEOF
4743 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4744         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4745 do
4746   CC="$ac_save_CC $ac_arg"
4747   if ac_fn_c_try_compile "$LINENO"; then :
4748   ac_cv_prog_cc_c89=$ac_arg
4749 fi
4750 rm -f core conftest.err conftest.$ac_objext
4751   test "x$ac_cv_prog_cc_c89" != "xno" && break
4752 done
4753 rm -f conftest.$ac_ext
4754 CC=$ac_save_CC
4755
4756 fi
4757 # AC_CACHE_VAL
4758 case "x$ac_cv_prog_cc_c89" in
4759   x)
4760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4761 $as_echo "none needed" >&6; } ;;
4762   xno)
4763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4764 $as_echo "unsupported" >&6; } ;;
4765   *)
4766     CC="$CC $ac_cv_prog_cc_c89"
4767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4768 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4769 esac
4770 if test "x$ac_cv_prog_cc_c89" != xno; then :
4771
4772 fi
4773
4774 ac_ext=c
4775 ac_cpp='$CPP $CPPFLAGS'
4776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4779
4780 ac_ext=c
4781 ac_cpp='$CPP $CPPFLAGS'
4782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4786 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4787 if ${am_cv_prog_cc_c_o+:} false; then :
4788   $as_echo_n "(cached) " >&6
4789 else
4790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h.  */
4792
4793 int
4794 main ()
4795 {
4796
4797   ;
4798   return 0;
4799 }
4800 _ACEOF
4801   # Make sure it works both with $CC and with simple cc.
4802   # Following AC_PROG_CC_C_O, we do the test twice because some
4803   # compilers refuse to overwrite an existing .o file with -o,
4804   # though they will create one.
4805   am_cv_prog_cc_c_o=yes
4806   for am_i in 1 2; do
4807     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4808    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4809    ac_status=$?
4810    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811    (exit $ac_status); } \
4812          && test -f conftest2.$ac_objext; then
4813       : OK
4814     else
4815       am_cv_prog_cc_c_o=no
4816       break
4817     fi
4818   done
4819   rm -f core conftest*
4820   unset am_i
4821 fi
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4823 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4824 if test "$am_cv_prog_cc_c_o" != yes; then
4825    # Losing compiler, so override with the script.
4826    # FIXME: It is wrong to rewrite CC.
4827    # But if we don't then we get into trouble of one sort or another.
4828    # A longer-term fix would be to have automake use am__CC in this case,
4829    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4830    CC="$am_aux_dir/compile $CC"
4831 fi
4832 ac_ext=c
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4837
4838
4839 ac_ext=cpp
4840 ac_cpp='$CXXCPP $CPPFLAGS'
4841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4844 if test -z "$CXX"; then
4845   if test -n "$CCC"; then
4846     CXX=$CCC
4847   else
4848     if test -n "$ac_tool_prefix"; then
4849   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4850   do
4851     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_CXX+:} false; then :
4856   $as_echo_n "(cached) " >&6
4857 else
4858   if test -n "$CXX"; then
4859   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4860 else
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 for as_dir in $PATH
4863 do
4864   IFS=$as_save_IFS
4865   test -z "$as_dir" && as_dir=.
4866     for ac_exec_ext in '' $ac_executable_extensions; do
4867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870     break 2
4871   fi
4872 done
4873   done
4874 IFS=$as_save_IFS
4875
4876 fi
4877 fi
4878 CXX=$ac_cv_prog_CXX
4879 if test -n "$CXX"; then
4880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4881 $as_echo "$CXX" >&6; }
4882 else
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 fi
4886
4887
4888     test -n "$CXX" && break
4889   done
4890 fi
4891 if test -z "$CXX"; then
4892   ac_ct_CXX=$CXX
4893   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4894 do
4895   # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy $ac_prog; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4900   $as_echo_n "(cached) " >&6
4901 else
4902   if test -n "$ac_ct_CXX"; then
4903   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4907 do
4908   IFS=$as_save_IFS
4909   test -z "$as_dir" && as_dir=.
4910     for ac_exec_ext in '' $ac_executable_extensions; do
4911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912     ac_cv_prog_ac_ct_CXX="$ac_prog"
4913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914     break 2
4915   fi
4916 done
4917   done
4918 IFS=$as_save_IFS
4919
4920 fi
4921 fi
4922 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4923 if test -n "$ac_ct_CXX"; then
4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4925 $as_echo "$ac_ct_CXX" >&6; }
4926 else
4927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4929 fi
4930
4931
4932   test -n "$ac_ct_CXX" && break
4933 done
4934
4935   if test "x$ac_ct_CXX" = x; then
4936     CXX="g++"
4937   else
4938     case $cross_compiling:$ac_tool_warned in
4939 yes:)
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4943 esac
4944     CXX=$ac_ct_CXX
4945   fi
4946 fi
4947
4948   fi
4949 fi
4950 # Provide some information about the compiler.
4951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4952 set X $ac_compile
4953 ac_compiler=$2
4954 for ac_option in --version -v -V -qversion; do
4955   { { ac_try="$ac_compiler $ac_option >&5"
4956 case "(($ac_try" in
4957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958   *) ac_try_echo=$ac_try;;
4959 esac
4960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4961 $as_echo "$ac_try_echo"; } >&5
4962   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4963   ac_status=$?
4964   if test -s conftest.err; then
4965     sed '10a\
4966 ... rest of stderr output deleted ...
4967          10q' conftest.err >conftest.er1
4968     cat conftest.er1 >&5
4969   fi
4970   rm -f conftest.er1 conftest.err
4971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4972   test $ac_status = 0; }
4973 done
4974
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4976 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4977 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4978   $as_echo_n "(cached) " >&6
4979 else
4980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h.  */
4982
4983 int
4984 main ()
4985 {
4986 #ifndef __GNUC__
4987        choke me
4988 #endif
4989
4990   ;
4991   return 0;
4992 }
4993 _ACEOF
4994 if ac_fn_cxx_try_compile "$LINENO"; then :
4995   ac_compiler_gnu=yes
4996 else
4997   ac_compiler_gnu=no
4998 fi
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5001
5002 fi
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5004 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5005 if test $ac_compiler_gnu = yes; then
5006   GXX=yes
5007 else
5008   GXX=
5009 fi
5010 ac_test_CXXFLAGS=${CXXFLAGS+set}
5011 ac_save_CXXFLAGS=$CXXFLAGS
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5013 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5014 if ${ac_cv_prog_cxx_g+:} false; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5018    ac_cxx_werror_flag=yes
5019    ac_cv_prog_cxx_g=no
5020    CXXFLAGS="-g"
5021    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h.  */
5023
5024 int
5025 main ()
5026 {
5027
5028   ;
5029   return 0;
5030 }
5031 _ACEOF
5032 if ac_fn_cxx_try_compile "$LINENO"; then :
5033   ac_cv_prog_cxx_g=yes
5034 else
5035   CXXFLAGS=""
5036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h.  */
5038
5039 int
5040 main ()
5041 {
5042
5043   ;
5044   return 0;
5045 }
5046 _ACEOF
5047 if ac_fn_cxx_try_compile "$LINENO"; then :
5048
5049 else
5050   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5051          CXXFLAGS="-g"
5052          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h.  */
5054
5055 int
5056 main ()
5057 {
5058
5059   ;
5060   return 0;
5061 }
5062 _ACEOF
5063 if ac_fn_cxx_try_compile "$LINENO"; then :
5064   ac_cv_prog_cxx_g=yes
5065 fi
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 fi
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5069 fi
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5072 fi
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5074 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5075 if test "$ac_test_CXXFLAGS" = set; then
5076   CXXFLAGS=$ac_save_CXXFLAGS
5077 elif test $ac_cv_prog_cxx_g = yes; then
5078   if test "$GXX" = yes; then
5079     CXXFLAGS="-g -O2"
5080   else
5081     CXXFLAGS="-g"
5082   fi
5083 else
5084   if test "$GXX" = yes; then
5085     CXXFLAGS="-O2"
5086   else
5087     CXXFLAGS=
5088   fi
5089 fi
5090 ac_ext=c
5091 ac_cpp='$CPP $CPPFLAGS'
5092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5095
5096 CXXFLAGS="$save_CXXFLAGS"
5097
5098
5099 # Check whether --enable-largefile was given.
5100 if test "${enable_largefile+set}" = set; then :
5101   enableval=$enable_largefile;
5102 fi
5103
5104 if test "$enable_largefile" != no; then
5105
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5107 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5108 if ${ac_cv_sys_largefile_CC+:} false; then :
5109   $as_echo_n "(cached) " >&6
5110 else
5111   ac_cv_sys_largefile_CC=no
5112      if test "$GCC" != yes; then
5113        ac_save_CC=$CC
5114        while :; do
5115          # IRIX 6.2 and later do not support large files by default,
5116          # so use the C compiler's -n32 option if that helps.
5117          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h.  */
5119 #include <sys/types.h>
5120  /* Check that off_t can represent 2**63 - 1 correctly.
5121     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5122     since some C++ compilers masquerading as C compilers
5123     incorrectly reject 9223372036854775807.  */
5124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5125   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5126                        && LARGE_OFF_T % 2147483647 == 1)
5127                       ? 1 : -1];
5128 int
5129 main ()
5130 {
5131
5132   ;
5133   return 0;
5134 }
5135 _ACEOF
5136          if ac_fn_c_try_compile "$LINENO"; then :
5137   break
5138 fi
5139 rm -f core conftest.err conftest.$ac_objext
5140          CC="$CC -n32"
5141          if ac_fn_c_try_compile "$LINENO"; then :
5142   ac_cv_sys_largefile_CC=' -n32'; break
5143 fi
5144 rm -f core conftest.err conftest.$ac_objext
5145          break
5146        done
5147        CC=$ac_save_CC
5148        rm -f conftest.$ac_ext
5149     fi
5150 fi
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5152 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5153   if test "$ac_cv_sys_largefile_CC" != no; then
5154     CC=$CC$ac_cv_sys_largefile_CC
5155   fi
5156
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5158 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5159 if ${ac_cv_sys_file_offset_bits+:} false; then :
5160   $as_echo_n "(cached) " >&6
5161 else
5162   while :; do
5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h.  */
5165 #include <sys/types.h>
5166  /* Check that off_t can represent 2**63 - 1 correctly.
5167     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5168     since some C++ compilers masquerading as C compilers
5169     incorrectly reject 9223372036854775807.  */
5170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5171   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5172                        && LARGE_OFF_T % 2147483647 == 1)
5173                       ? 1 : -1];
5174 int
5175 main ()
5176 {
5177
5178   ;
5179   return 0;
5180 }
5181 _ACEOF
5182 if ac_fn_c_try_compile "$LINENO"; then :
5183   ac_cv_sys_file_offset_bits=no; break
5184 fi
5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h.  */
5188 #define _FILE_OFFSET_BITS 64
5189 #include <sys/types.h>
5190  /* Check that off_t can represent 2**63 - 1 correctly.
5191     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5192     since some C++ compilers masquerading as C compilers
5193     incorrectly reject 9223372036854775807.  */
5194 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5195   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5196                        && LARGE_OFF_T % 2147483647 == 1)
5197                       ? 1 : -1];
5198 int
5199 main ()
5200 {
5201
5202   ;
5203   return 0;
5204 }
5205 _ACEOF
5206 if ac_fn_c_try_compile "$LINENO"; then :
5207   ac_cv_sys_file_offset_bits=64; break
5208 fi
5209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5210   ac_cv_sys_file_offset_bits=unknown
5211   break
5212 done
5213 fi
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5215 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5216 case $ac_cv_sys_file_offset_bits in #(
5217   no | unknown) ;;
5218   *)
5219 cat >>confdefs.h <<_ACEOF
5220 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5221 _ACEOF
5222 ;;
5223 esac
5224 rm -rf conftest*
5225   if test $ac_cv_sys_file_offset_bits = unknown; then
5226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5227 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5228 if ${ac_cv_sys_large_files+:} false; then :
5229   $as_echo_n "(cached) " >&6
5230 else
5231   while :; do
5232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h.  */
5234 #include <sys/types.h>
5235  /* Check that off_t can represent 2**63 - 1 correctly.
5236     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5237     since some C++ compilers masquerading as C compilers
5238     incorrectly reject 9223372036854775807.  */
5239 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5240   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5241                        && LARGE_OFF_T % 2147483647 == 1)
5242                       ? 1 : -1];
5243 int
5244 main ()
5245 {
5246
5247   ;
5248   return 0;
5249 }
5250 _ACEOF
5251 if ac_fn_c_try_compile "$LINENO"; then :
5252   ac_cv_sys_large_files=no; break
5253 fi
5254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h.  */
5257 #define _LARGE_FILES 1
5258 #include <sys/types.h>
5259  /* Check that off_t can represent 2**63 - 1 correctly.
5260     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5261     since some C++ compilers masquerading as C compilers
5262     incorrectly reject 9223372036854775807.  */
5263 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5264   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5265                        && LARGE_OFF_T % 2147483647 == 1)
5266                       ? 1 : -1];
5267 int
5268 main ()
5269 {
5270
5271   ;
5272   return 0;
5273 }
5274 _ACEOF
5275 if ac_fn_c_try_compile "$LINENO"; then :
5276   ac_cv_sys_large_files=1; break
5277 fi
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279   ac_cv_sys_large_files=unknown
5280   break
5281 done
5282 fi
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5284 $as_echo "$ac_cv_sys_large_files" >&6; }
5285 case $ac_cv_sys_large_files in #(
5286   no | unknown) ;;
5287   *)
5288 cat >>confdefs.h <<_ACEOF
5289 #define _LARGE_FILES $ac_cv_sys_large_files
5290 _ACEOF
5291 ;;
5292 esac
5293 rm -rf conftest*
5294   fi
5295
5296
5297 fi
5298
5299
5300 # Runs configure.host, and assorted other critical bits.  Sets
5301 # up critical shell variables.
5302 ac_ext=c
5303 ac_cpp='$CPP $CPPFLAGS'
5304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5308 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5309 # On Suns, sometimes $CPP names a directory.
5310 if test -n "$CPP" && test -d "$CPP"; then
5311   CPP=
5312 fi
5313 if test -z "$CPP"; then
5314   if ${ac_cv_prog_CPP+:} false; then :
5315   $as_echo_n "(cached) " >&6
5316 else
5317       # Double quotes because CPP needs to be expanded
5318     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5319     do
5320       ac_preproc_ok=false
5321 for ac_c_preproc_warn_flag in '' yes
5322 do
5323   # Use a header file that comes with gcc, so configuring glibc
5324   # with a fresh cross-compiler works.
5325   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326   # <limits.h> exists even on freestanding compilers.
5327   # On the NeXT, cc -E runs the code through the compiler's parser,
5328   # not just through cpp. "Syntax error" is here to catch this case.
5329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h.  */
5331 #ifdef __STDC__
5332 # include <limits.h>
5333 #else
5334 # include <assert.h>
5335 #endif
5336                      Syntax error
5337 _ACEOF
5338 if ac_fn_c_try_cpp "$LINENO"; then :
5339
5340 else
5341   # Broken: fails on valid input.
5342 continue
5343 fi
5344 rm -f conftest.err conftest.i conftest.$ac_ext
5345
5346   # OK, works on sane cases.  Now check whether nonexistent headers
5347   # can be detected and how.
5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h.  */
5350 #include <ac_nonexistent.h>
5351 _ACEOF
5352 if ac_fn_c_try_cpp "$LINENO"; then :
5353   # Broken: success on invalid input.
5354 continue
5355 else
5356   # Passes both tests.
5357 ac_preproc_ok=:
5358 break
5359 fi
5360 rm -f conftest.err conftest.i conftest.$ac_ext
5361
5362 done
5363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5364 rm -f conftest.i conftest.err conftest.$ac_ext
5365 if $ac_preproc_ok; then :
5366   break
5367 fi
5368
5369     done
5370     ac_cv_prog_CPP=$CPP
5371
5372 fi
5373   CPP=$ac_cv_prog_CPP
5374 else
5375   ac_cv_prog_CPP=$CPP
5376 fi
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5378 $as_echo "$CPP" >&6; }
5379 ac_preproc_ok=false
5380 for ac_c_preproc_warn_flag in '' yes
5381 do
5382   # Use a header file that comes with gcc, so configuring glibc
5383   # with a fresh cross-compiler works.
5384   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5385   # <limits.h> exists even on freestanding compilers.
5386   # On the NeXT, cc -E runs the code through the compiler's parser,
5387   # not just through cpp. "Syntax error" is here to catch this case.
5388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h.  */
5390 #ifdef __STDC__
5391 # include <limits.h>
5392 #else
5393 # include <assert.h>
5394 #endif
5395                      Syntax error
5396 _ACEOF
5397 if ac_fn_c_try_cpp "$LINENO"; then :
5398
5399 else
5400   # Broken: fails on valid input.
5401 continue
5402 fi
5403 rm -f conftest.err conftest.i conftest.$ac_ext
5404
5405   # OK, works on sane cases.  Now check whether nonexistent headers
5406   # can be detected and how.
5407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h.  */
5409 #include <ac_nonexistent.h>
5410 _ACEOF
5411 if ac_fn_c_try_cpp "$LINENO"; then :
5412   # Broken: success on invalid input.
5413 continue
5414 else
5415   # Passes both tests.
5416 ac_preproc_ok=:
5417 break
5418 fi
5419 rm -f conftest.err conftest.i conftest.$ac_ext
5420
5421 done
5422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5423 rm -f conftest.i conftest.err conftest.$ac_ext
5424 if $ac_preproc_ok; then :
5425
5426 else
5427   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5429 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5430 See \`config.log' for more details" "$LINENO" 5; }
5431 fi
5432
5433 ac_ext=c
5434 ac_cpp='$CPP $CPPFLAGS'
5435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5438
5439
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5441 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5442 if ${ac_cv_path_GREP+:} false; then :
5443   $as_echo_n "(cached) " >&6
5444 else
5445   if test -z "$GREP"; then
5446   ac_path_GREP_found=false
5447   # Loop through the user's path and test for each of PROGNAME-LIST
5448   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5450 do
5451   IFS=$as_save_IFS
5452   test -z "$as_dir" && as_dir=.
5453     for ac_prog in grep ggrep; do
5454     for ac_exec_ext in '' $ac_executable_extensions; do
5455       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5456       as_fn_executable_p "$ac_path_GREP" || continue
5457 # Check for GNU ac_path_GREP and select it if it is found.
5458   # Check for GNU $ac_path_GREP
5459 case `"$ac_path_GREP" --version 2>&1` in
5460 *GNU*)
5461   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5462 *)
5463   ac_count=0
5464   $as_echo_n 0123456789 >"conftest.in"
5465   while :
5466   do
5467     cat "conftest.in" "conftest.in" >"conftest.tmp"
5468     mv "conftest.tmp" "conftest.in"
5469     cp "conftest.in" "conftest.nl"
5470     $as_echo 'GREP' >> "conftest.nl"
5471     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5472     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5473     as_fn_arith $ac_count + 1 && ac_count=$as_val
5474     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5475       # Best one so far, save it but keep looking for a better one
5476       ac_cv_path_GREP="$ac_path_GREP"
5477       ac_path_GREP_max=$ac_count
5478     fi
5479     # 10*(2^10) chars as input seems more than enough
5480     test $ac_count -gt 10 && break
5481   done
5482   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5483 esac
5484
5485       $ac_path_GREP_found && break 3
5486     done
5487   done
5488   done
5489 IFS=$as_save_IFS
5490   if test -z "$ac_cv_path_GREP"; then
5491     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5492   fi
5493 else
5494   ac_cv_path_GREP=$GREP
5495 fi
5496
5497 fi
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5499 $as_echo "$ac_cv_path_GREP" >&6; }
5500  GREP="$ac_cv_path_GREP"
5501
5502
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5504 $as_echo_n "checking for egrep... " >&6; }
5505 if ${ac_cv_path_EGREP+:} false; then :
5506   $as_echo_n "(cached) " >&6
5507 else
5508   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5509    then ac_cv_path_EGREP="$GREP -E"
5510    else
5511      if test -z "$EGREP"; then
5512   ac_path_EGREP_found=false
5513   # Loop through the user's path and test for each of PROGNAME-LIST
5514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5516 do
5517   IFS=$as_save_IFS
5518   test -z "$as_dir" && as_dir=.
5519     for ac_prog in egrep; do
5520     for ac_exec_ext in '' $ac_executable_extensions; do
5521       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5522       as_fn_executable_p "$ac_path_EGREP" || continue
5523 # Check for GNU ac_path_EGREP and select it if it is found.
5524   # Check for GNU $ac_path_EGREP
5525 case `"$ac_path_EGREP" --version 2>&1` in
5526 *GNU*)
5527   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5528 *)
5529   ac_count=0
5530   $as_echo_n 0123456789 >"conftest.in"
5531   while :
5532   do
5533     cat "conftest.in" "conftest.in" >"conftest.tmp"
5534     mv "conftest.tmp" "conftest.in"
5535     cp "conftest.in" "conftest.nl"
5536     $as_echo 'EGREP' >> "conftest.nl"
5537     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5538     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5539     as_fn_arith $ac_count + 1 && ac_count=$as_val
5540     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5541       # Best one so far, save it but keep looking for a better one
5542       ac_cv_path_EGREP="$ac_path_EGREP"
5543       ac_path_EGREP_max=$ac_count
5544     fi
5545     # 10*(2^10) chars as input seems more than enough
5546     test $ac_count -gt 10 && break
5547   done
5548   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5549 esac
5550
5551       $ac_path_EGREP_found && break 3
5552     done
5553   done
5554   done
5555 IFS=$as_save_IFS
5556   if test -z "$ac_cv_path_EGREP"; then
5557     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5558   fi
5559 else
5560   ac_cv_path_EGREP=$EGREP
5561 fi
5562
5563    fi
5564 fi
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5566 $as_echo "$ac_cv_path_EGREP" >&6; }
5567  EGREP="$ac_cv_path_EGREP"
5568
5569
5570
5571   # Keep these sync'd with the list in Makefile.am.  The first provides an
5572   # expandable list at autoconf time; the second provides an expandable list
5573   # (i.e., shell variable) at configure time.
5574
5575   SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5576
5577   # These need to be absolute paths, yet at the same time need to
5578   # canonicalize only relative paths, because then amd will not unmount
5579   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5580   glibcxx_builddir=`${PWDCMD-pwd}`
5581   case $srcdir in
5582     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5583     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5584   esac
5585   toplevel_builddir=${glibcxx_builddir}/..
5586   toplevel_srcdir=${glibcxx_srcdir}/..
5587
5588
5589
5590
5591
5592   # We use these options to decide which functions to include.  They are
5593   # set from the top level.
5594
5595 # Check whether --with-target-subdir was given.
5596 if test "${with_target_subdir+set}" = set; then :
5597   withval=$with_target_subdir;
5598 fi
5599
5600
5601
5602 # Check whether --with-cross-host was given.
5603 if test "${with_cross_host+set}" = set; then :
5604   withval=$with_cross_host;
5605 fi
5606
5607
5608
5609 # Check whether --with-newlib was given.
5610 if test "${with_newlib+set}" = set; then :
5611   withval=$with_newlib;
5612 fi
5613
5614
5615   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5616   # available).  Uncomment the next line to force a particular method.
5617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5618 $as_echo_n "checking whether ln -s works... " >&6; }
5619 LN_S=$as_ln_s
5620 if test "$LN_S" = "ln -s"; then
5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5622 $as_echo "yes" >&6; }
5623 else
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5625 $as_echo "no, using $LN_S" >&6; }
5626 fi
5627
5628   #LN_S='cp -p'
5629
5630   if test -n "$ac_tool_prefix"; then
5631   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5632 set dummy ${ac_tool_prefix}as; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_AS+:} false; then :
5636   $as_echo_n "(cached) " >&6
5637 else
5638   if test -n "$AS"; then
5639   ac_cv_prog_AS="$AS" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5643 do
5644   IFS=$as_save_IFS
5645   test -z "$as_dir" && as_dir=.
5646     for ac_exec_ext in '' $ac_executable_extensions; do
5647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648     ac_cv_prog_AS="${ac_tool_prefix}as"
5649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650     break 2
5651   fi
5652 done
5653   done
5654 IFS=$as_save_IFS
5655
5656 fi
5657 fi
5658 AS=$ac_cv_prog_AS
5659 if test -n "$AS"; then
5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5661 $as_echo "$AS" >&6; }
5662 else
5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5665 fi
5666
5667
5668 fi
5669 if test -z "$ac_cv_prog_AS"; then
5670   ac_ct_AS=$AS
5671   # Extract the first word of "as", so it can be a program name with args.
5672 set dummy as; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5676   $as_echo_n "(cached) " >&6
5677 else
5678   if test -n "$ac_ct_AS"; then
5679   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     for ac_exec_ext in '' $ac_executable_extensions; do
5687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688     ac_cv_prog_ac_ct_AS="as"
5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690     break 2
5691   fi
5692 done
5693   done
5694 IFS=$as_save_IFS
5695
5696 fi
5697 fi
5698 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5699 if test -n "$ac_ct_AS"; then
5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5701 $as_echo "$ac_ct_AS" >&6; }
5702 else
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5705 fi
5706
5707   if test "x$ac_ct_AS" = x; then
5708     AS=""
5709   else
5710     case $cross_compiling:$ac_tool_warned in
5711 yes:)
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5715 esac
5716     AS=$ac_ct_AS
5717   fi
5718 else
5719   AS="$ac_cv_prog_AS"
5720 fi
5721
5722   if test -n "$ac_tool_prefix"; then
5723   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}ar; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_AR+:} false; then :
5728   $as_echo_n "(cached) " >&6
5729 else
5730   if test -n "$AR"; then
5731   ac_cv_prog_AR="$AR" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5735 do
5736   IFS=$as_save_IFS
5737   test -z "$as_dir" && as_dir=.
5738     for ac_exec_ext in '' $ac_executable_extensions; do
5739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740     ac_cv_prog_AR="${ac_tool_prefix}ar"
5741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742     break 2
5743   fi
5744 done
5745   done
5746 IFS=$as_save_IFS
5747
5748 fi
5749 fi
5750 AR=$ac_cv_prog_AR
5751 if test -n "$AR"; then
5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5753 $as_echo "$AR" >&6; }
5754 else
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5757 fi
5758
5759
5760 fi
5761 if test -z "$ac_cv_prog_AR"; then
5762   ac_ct_AR=$AR
5763   # Extract the first word of "ar", so it can be a program name with args.
5764 set dummy ar; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   if test -n "$ac_ct_AR"; then
5771   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776   IFS=$as_save_IFS
5777   test -z "$as_dir" && as_dir=.
5778     for ac_exec_ext in '' $ac_executable_extensions; do
5779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780     ac_cv_prog_ac_ct_AR="ar"
5781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782     break 2
5783   fi
5784 done
5785   done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5791 if test -n "$ac_ct_AR"; then
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5793 $as_echo "$ac_ct_AR" >&6; }
5794 else
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5797 fi
5798
5799   if test "x$ac_ct_AR" = x; then
5800     AR=""
5801   else
5802     case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808     AR=$ac_ct_AR
5809   fi
5810 else
5811   AR="$ac_cv_prog_AR"
5812 fi
5813
5814   if test -n "$ac_tool_prefix"; then
5815   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_RANLIB+:} false; then :
5820   $as_echo_n "(cached) " >&6
5821 else
5822   if test -n "$RANLIB"; then
5823   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5827 do
5828   IFS=$as_save_IFS
5829   test -z "$as_dir" && as_dir=.
5830     for ac_exec_ext in '' $ac_executable_extensions; do
5831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834     break 2
5835   fi
5836 done
5837   done
5838 IFS=$as_save_IFS
5839
5840 fi
5841 fi
5842 RANLIB=$ac_cv_prog_RANLIB
5843 if test -n "$RANLIB"; then
5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5845 $as_echo "$RANLIB" >&6; }
5846 else
5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5849 fi
5850
5851
5852 fi
5853 if test -z "$ac_cv_prog_RANLIB"; then
5854   ac_ct_RANLIB=$RANLIB
5855   # Extract the first word of "ranlib", so it can be a program name with args.
5856 set dummy ranlib; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$ac_ct_RANLIB"; then
5863   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868   IFS=$as_save_IFS
5869   test -z "$as_dir" && as_dir=.
5870     for ac_exec_ext in '' $ac_executable_extensions; do
5871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872     ac_cv_prog_ac_ct_RANLIB="ranlib"
5873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874     break 2
5875   fi
5876 done
5877   done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5883 if test -n "$ac_ct_RANLIB"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5885 $as_echo "$ac_ct_RANLIB" >&6; }
5886 else
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891   if test "x$ac_ct_RANLIB" = x; then
5892     RANLIB="ranlib-not-found-in-path-error"
5893   else
5894     case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900     RANLIB=$ac_ct_RANLIB
5901   fi
5902 else
5903   RANLIB="$ac_cv_prog_RANLIB"
5904 fi
5905
5906
5907
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5909 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5910     # Check whether --enable-maintainer-mode was given.
5911 if test "${enable_maintainer_mode+set}" = set; then :
5912   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5913 else
5914   USE_MAINTAINER_MODE=no
5915 fi
5916
5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5918 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5919    if test $USE_MAINTAINER_MODE = yes; then
5920   MAINTAINER_MODE_TRUE=
5921   MAINTAINER_MODE_FALSE='#'
5922 else
5923   MAINTAINER_MODE_TRUE='#'
5924   MAINTAINER_MODE_FALSE=
5925 fi
5926
5927   MAINT=$MAINTAINER_MODE_TRUE
5928
5929
5930
5931   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5932   # which are themselves conditionally expanded.
5933   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5934   ## other macros from doing the same.  This should be automated.)  -pme
5935
5936   # Check for C library flavor since GNU/Linux platforms use different
5937   # configuration directories depending on the C library in use.
5938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h.  */
5940
5941   #include <stdio.h>
5942   #if __UCLIBC__
5943     _using_uclibc
5944   #endif
5945
5946 _ACEOF
5947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5948   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5949   uclibc=yes
5950 else
5951   uclibc=no
5952 fi
5953 rm -f conftest*
5954
5955
5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h.  */
5958
5959   #include <stdio.h>
5960   #if __BIONIC__
5961     _using_bionic
5962   #endif
5963
5964 _ACEOF
5965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5966   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5967   bionic=yes
5968 else
5969   bionic=no
5970 fi
5971 rm -f conftest*
5972
5973
5974   # Find platform-specific directories containing configuration info.
5975   # Also possibly modify flags used elsewhere, as needed by the platform.
5976
5977   . $glibcxx_srcdir/configure.host
5978   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5979 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5980   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5981 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5982
5983
5984
5985 # Libtool setup.
5986 if test "x${with_newlib}" != "xyes" &&
5987     test "x${with_avrlibc}" != "xyes" &&
5988     test "x$with_headers" != "xno"; then
5989   enable_dlopen=yes
5990
5991
5992
5993 fi
5994 case `pwd` in
5995   *\ * | *\     *)
5996     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5997 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5998 esac
5999
6000
6001
6002 macro_version='2.2.7a'
6003 macro_revision='1.3134'
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017 ltmain="$ac_aux_dir/ltmain.sh"
6018
6019 # Backslashify metacharacters that are still active within
6020 # double-quoted strings.
6021 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6022
6023 # Same as above, but do not quote variable references.
6024 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6025
6026 # Sed substitution to delay expansion of an escaped shell variable in a
6027 # double_quote_subst'ed string.
6028 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6029
6030 # Sed substitution to delay expansion of an escaped single quote.
6031 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6032
6033 # Sed substitution to avoid accidental globbing in evaled expressions
6034 no_glob_subst='s/\*/\\\*/g'
6035
6036 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6037 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6038 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6039
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6041 $as_echo_n "checking how to print strings... " >&6; }
6042 # Test print first, because it will be a builtin if present.
6043 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6044    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6045   ECHO='print -r --'
6046 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6047   ECHO='printf %s\n'
6048 else
6049   # Use this function as a fallback that always works.
6050   func_fallback_echo ()
6051   {
6052     eval 'cat <<_LTECHO_EOF
6053 $1
6054 _LTECHO_EOF'
6055   }
6056   ECHO='func_fallback_echo'
6057 fi
6058
6059 # func_echo_all arg...
6060 # Invoke $ECHO with all args, space-separated.
6061 func_echo_all ()
6062 {
6063     $ECHO ""
6064 }
6065
6066 case "$ECHO" in
6067   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6068 $as_echo "printf" >&6; } ;;
6069   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6070 $as_echo "print -r" >&6; } ;;
6071   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6072 $as_echo "cat" >&6; } ;;
6073 esac
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6089 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6090 if ${ac_cv_path_SED+:} false; then :
6091   $as_echo_n "(cached) " >&6
6092 else
6093             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6094      for ac_i in 1 2 3 4 5 6 7; do
6095        ac_script="$ac_script$as_nl$ac_script"
6096      done
6097      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6098      { ac_script=; unset ac_script;}
6099      if test -z "$SED"; then
6100   ac_path_SED_found=false
6101   # Loop through the user's path and test for each of PROGNAME-LIST
6102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105   IFS=$as_save_IFS
6106   test -z "$as_dir" && as_dir=.
6107     for ac_prog in sed gsed; do
6108     for ac_exec_ext in '' $ac_executable_extensions; do
6109       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6110       as_fn_executable_p "$ac_path_SED" || continue
6111 # Check for GNU ac_path_SED and select it if it is found.
6112   # Check for GNU $ac_path_SED
6113 case `"$ac_path_SED" --version 2>&1` in
6114 *GNU*)
6115   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6116 *)
6117   ac_count=0
6118   $as_echo_n 0123456789 >"conftest.in"
6119   while :
6120   do
6121     cat "conftest.in" "conftest.in" >"conftest.tmp"
6122     mv "conftest.tmp" "conftest.in"
6123     cp "conftest.in" "conftest.nl"
6124     $as_echo '' >> "conftest.nl"
6125     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6126     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6127     as_fn_arith $ac_count + 1 && ac_count=$as_val
6128     if test $ac_count -gt ${ac_path_SED_max-0}; then
6129       # Best one so far, save it but keep looking for a better one
6130       ac_cv_path_SED="$ac_path_SED"
6131       ac_path_SED_max=$ac_count
6132     fi
6133     # 10*(2^10) chars as input seems more than enough
6134     test $ac_count -gt 10 && break
6135   done
6136   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6137 esac
6138
6139       $ac_path_SED_found && break 3
6140     done
6141   done
6142   done
6143 IFS=$as_save_IFS
6144   if test -z "$ac_cv_path_SED"; then
6145     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6146   fi
6147 else
6148   ac_cv_path_SED=$SED
6149 fi
6150
6151 fi
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6153 $as_echo "$ac_cv_path_SED" >&6; }
6154  SED="$ac_cv_path_SED"
6155   rm -f conftest.sed
6156
6157 test -z "$SED" && SED=sed
6158 Xsed="$SED -e 1s/^X//"
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6171 $as_echo_n "checking for fgrep... " >&6; }
6172 if ${ac_cv_path_FGREP+:} false; then :
6173   $as_echo_n "(cached) " >&6
6174 else
6175   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6176    then ac_cv_path_FGREP="$GREP -F"
6177    else
6178      if test -z "$FGREP"; then
6179   ac_path_FGREP_found=false
6180   # Loop through the user's path and test for each of PROGNAME-LIST
6181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6183 do
6184   IFS=$as_save_IFS
6185   test -z "$as_dir" && as_dir=.
6186     for ac_prog in fgrep; do
6187     for ac_exec_ext in '' $ac_executable_extensions; do
6188       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6189       as_fn_executable_p "$ac_path_FGREP" || continue
6190 # Check for GNU ac_path_FGREP and select it if it is found.
6191   # Check for GNU $ac_path_FGREP
6192 case `"$ac_path_FGREP" --version 2>&1` in
6193 *GNU*)
6194   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6195 *)
6196   ac_count=0
6197   $as_echo_n 0123456789 >"conftest.in"
6198   while :
6199   do
6200     cat "conftest.in" "conftest.in" >"conftest.tmp"
6201     mv "conftest.tmp" "conftest.in"
6202     cp "conftest.in" "conftest.nl"
6203     $as_echo 'FGREP' >> "conftest.nl"
6204     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6205     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6206     as_fn_arith $ac_count + 1 && ac_count=$as_val
6207     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6208       # Best one so far, save it but keep looking for a better one
6209       ac_cv_path_FGREP="$ac_path_FGREP"
6210       ac_path_FGREP_max=$ac_count
6211     fi
6212     # 10*(2^10) chars as input seems more than enough
6213     test $ac_count -gt 10 && break
6214   done
6215   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6216 esac
6217
6218       $ac_path_FGREP_found && break 3
6219     done
6220   done
6221   done
6222 IFS=$as_save_IFS
6223   if test -z "$ac_cv_path_FGREP"; then
6224     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6225   fi
6226 else
6227   ac_cv_path_FGREP=$FGREP
6228 fi
6229
6230    fi
6231 fi
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6233 $as_echo "$ac_cv_path_FGREP" >&6; }
6234  FGREP="$ac_cv_path_FGREP"
6235
6236
6237 test -z "$GREP" && GREP=grep
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257 # Check whether --with-gnu-ld was given.
6258 if test "${with_gnu_ld+set}" = set; then :
6259   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6260 else
6261   with_gnu_ld=no
6262 fi
6263
6264 ac_prog=ld
6265 if test "$GCC" = yes; then
6266   # Check if gcc -print-prog-name=ld gives a path.
6267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6268 $as_echo_n "checking for ld used by $CC... " >&6; }
6269   case $host in
6270   *-*-mingw*)
6271     # gcc leaves a trailing carriage return which upsets mingw
6272     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6273   *)
6274     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6275   esac
6276   case $ac_prog in
6277     # Accept absolute paths.
6278     [\\/]* | ?:[\\/]*)
6279       re_direlt='/[^/][^/]*/\.\./'
6280       # Canonicalize the pathname of ld
6281       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6282       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6283         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6284       done
6285       test -z "$LD" && LD="$ac_prog"
6286       ;;
6287   "")
6288     # If it fails, then pretend we aren't using GCC.
6289     ac_prog=ld
6290     ;;
6291   *)
6292     # If it is relative, then search for the first ld in PATH.
6293     with_gnu_ld=unknown
6294     ;;
6295   esac
6296 elif test "$with_gnu_ld" = yes; then
6297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6298 $as_echo_n "checking for GNU ld... " >&6; }
6299 else
6300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6301 $as_echo_n "checking for non-GNU ld... " >&6; }
6302 fi
6303 if ${lt_cv_path_LD+:} false; then :
6304   $as_echo_n "(cached) " >&6
6305 else
6306   if test -z "$LD"; then
6307   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6308   for ac_dir in $PATH; do
6309     IFS="$lt_save_ifs"
6310     test -z "$ac_dir" && ac_dir=.
6311     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6312       lt_cv_path_LD="$ac_dir/$ac_prog"
6313       # Check to see if the program is GNU ld.  I'd rather use --version,
6314       # but apparently some variants of GNU ld only accept -v.
6315       # Break only if it was the GNU/non-GNU ld that we prefer.
6316       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6317       *GNU* | *'with BFD'*)
6318         test "$with_gnu_ld" != no && break
6319         ;;
6320       *)
6321         test "$with_gnu_ld" != yes && break
6322         ;;
6323       esac
6324     fi
6325   done
6326   IFS="$lt_save_ifs"
6327 else
6328   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6329 fi
6330 fi
6331
6332 LD="$lt_cv_path_LD"
6333 if test -n "$LD"; then
6334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6335 $as_echo "$LD" >&6; }
6336 else
6337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6339 fi
6340 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6342 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6343 if ${lt_cv_prog_gnu_ld+:} false; then :
6344   $as_echo_n "(cached) " >&6
6345 else
6346   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6347 case `$LD -v 2>&1 </dev/null` in
6348 *GNU* | *'with BFD'*)
6349   lt_cv_prog_gnu_ld=yes
6350   ;;
6351 *)
6352   lt_cv_prog_gnu_ld=no
6353   ;;
6354 esac
6355 fi
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6357 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6358 with_gnu_ld=$lt_cv_prog_gnu_ld
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6369 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6370 if ${lt_cv_path_NM+:} false; then :
6371   $as_echo_n "(cached) " >&6
6372 else
6373   if test -n "$NM"; then
6374   # Let the user override the test.
6375   lt_cv_path_NM="$NM"
6376 else
6377   lt_nm_to_check="${ac_tool_prefix}nm"
6378   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6379     lt_nm_to_check="$lt_nm_to_check nm"
6380   fi
6381   for lt_tmp_nm in $lt_nm_to_check; do
6382     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6383     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6384       IFS="$lt_save_ifs"
6385       test -z "$ac_dir" && ac_dir=.
6386       tmp_nm="$ac_dir/$lt_tmp_nm"
6387       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6388         # Check to see if the nm accepts a BSD-compat flag.
6389         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6390         #   nm: unknown option "B" ignored
6391         # Tru64's nm complains that /dev/null is an invalid object file
6392         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6393         */dev/null* | *'Invalid file or object type'*)
6394           lt_cv_path_NM="$tmp_nm -B"
6395           break
6396           ;;
6397         *)
6398           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6399           */dev/null*)
6400             lt_cv_path_NM="$tmp_nm -p"
6401             break
6402             ;;
6403           *)
6404             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6405             continue # so that we can try to find one that supports BSD flags
6406             ;;
6407           esac
6408           ;;
6409         esac
6410       fi
6411     done
6412     IFS="$lt_save_ifs"
6413   done
6414   : ${lt_cv_path_NM=no}
6415 fi
6416 fi
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6418 $as_echo "$lt_cv_path_NM" >&6; }
6419 if test "$lt_cv_path_NM" != "no"; then
6420   NM="$lt_cv_path_NM"
6421 else
6422   # Didn't find any BSD compatible name lister, look for dumpbin.
6423   if test -n "$DUMPBIN"; then :
6424     # Let the user override the test.
6425   else
6426     if test -n "$ac_tool_prefix"; then
6427   for ac_prog in dumpbin "link -dump"
6428   do
6429     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if ${ac_cv_prog_DUMPBIN+:} false; then :
6434   $as_echo_n "(cached) " >&6
6435 else
6436   if test -n "$DUMPBIN"; then
6437   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6438 else
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in $PATH
6441 do
6442   IFS=$as_save_IFS
6443   test -z "$as_dir" && as_dir=.
6444     for ac_exec_ext in '' $ac_executable_extensions; do
6445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6446     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448     break 2
6449   fi
6450 done
6451   done
6452 IFS=$as_save_IFS
6453
6454 fi
6455 fi
6456 DUMPBIN=$ac_cv_prog_DUMPBIN
6457 if test -n "$DUMPBIN"; then
6458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6459 $as_echo "$DUMPBIN" >&6; }
6460 else
6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6463 fi
6464
6465
6466     test -n "$DUMPBIN" && break
6467   done
6468 fi
6469 if test -z "$DUMPBIN"; then
6470   ac_ct_DUMPBIN=$DUMPBIN
6471   for ac_prog in dumpbin "link -dump"
6472 do
6473   # Extract the first word of "$ac_prog", so it can be a program name with args.
6474 set dummy $ac_prog; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6478   $as_echo_n "(cached) " >&6
6479 else
6480   if test -n "$ac_ct_DUMPBIN"; then
6481   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6482 else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 for as_dir in $PATH
6485 do
6486   IFS=$as_save_IFS
6487   test -z "$as_dir" && as_dir=.
6488     for ac_exec_ext in '' $ac_executable_extensions; do
6489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6490     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6492     break 2
6493   fi
6494 done
6495   done
6496 IFS=$as_save_IFS
6497
6498 fi
6499 fi
6500 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6501 if test -n "$ac_ct_DUMPBIN"; then
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6503 $as_echo "$ac_ct_DUMPBIN" >&6; }
6504 else
6505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6507 fi
6508
6509
6510   test -n "$ac_ct_DUMPBIN" && break
6511 done
6512
6513   if test "x$ac_ct_DUMPBIN" = x; then
6514     DUMPBIN=":"
6515   else
6516     case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522     DUMPBIN=$ac_ct_DUMPBIN
6523   fi
6524 fi
6525
6526     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6527     *COFF*)
6528       DUMPBIN="$DUMPBIN -symbols"
6529       ;;
6530     *)
6531       DUMPBIN=:
6532       ;;
6533     esac
6534   fi
6535
6536   if test "$DUMPBIN" != ":"; then
6537     NM="$DUMPBIN"
6538   fi
6539 fi
6540 test -z "$NM" && NM=nm
6541
6542
6543
6544
6545
6546
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6548 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6549 if ${lt_cv_nm_interface+:} false; then :
6550   $as_echo_n "(cached) " >&6
6551 else
6552   lt_cv_nm_interface="BSD nm"
6553   echo "int some_variable = 0;" > conftest.$ac_ext
6554   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6555   (eval "$ac_compile" 2>conftest.err)
6556   cat conftest.err >&5
6557   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6558   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6559   cat conftest.err >&5
6560   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6561   cat conftest.out >&5
6562   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6563     lt_cv_nm_interface="MS dumpbin"
6564   fi
6565   rm -f conftest*
6566 fi
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6568 $as_echo "$lt_cv_nm_interface" >&6; }
6569
6570 # find the maximum length of command line arguments
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6572 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6573 if ${lt_cv_sys_max_cmd_len+:} false; then :
6574   $as_echo_n "(cached) " >&6
6575 else
6576     i=0
6577   teststring="ABCD"
6578
6579   case $build_os in
6580   msdosdjgpp*)
6581     # On DJGPP, this test can blow up pretty badly due to problems in libc
6582     # (any single argument exceeding 2000 bytes causes a buffer overrun
6583     # during glob expansion).  Even if it were fixed, the result of this
6584     # check would be larger than it should be.
6585     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6586     ;;
6587
6588   gnu*)
6589     # Under GNU Hurd, this test is not required because there is
6590     # no limit to the length of command line arguments.
6591     # Libtool will interpret -1 as no limit whatsoever
6592     lt_cv_sys_max_cmd_len=-1;
6593     ;;
6594
6595   cygwin* | mingw* | cegcc*)
6596     # On Win9x/ME, this test blows up -- it succeeds, but takes
6597     # about 5 minutes as the teststring grows exponentially.
6598     # Worse, since 9x/ME are not pre-emptively multitasking,
6599     # you end up with a "frozen" computer, even though with patience
6600     # the test eventually succeeds (with a max line length of 256k).
6601     # Instead, let's just punt: use the minimum linelength reported by
6602     # all of the supported platforms: 8192 (on NT/2K/XP).
6603     lt_cv_sys_max_cmd_len=8192;
6604     ;;
6605
6606   mint*)
6607     # On MiNT this can take a long time and run out of memory.
6608     lt_cv_sys_max_cmd_len=8192;
6609     ;;
6610
6611   amigaos*)
6612     # On AmigaOS with pdksh, this test takes hours, literally.
6613     # So we just punt and use a minimum line length of 8192.
6614     lt_cv_sys_max_cmd_len=8192;
6615     ;;
6616
6617   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6618     # This has been around since 386BSD, at least.  Likely further.
6619     if test -x /sbin/sysctl; then
6620       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6621     elif test -x /usr/sbin/sysctl; then
6622       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6623     else
6624       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6625     fi
6626     # And add a safety zone
6627     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6629     ;;
6630
6631   interix*)
6632     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6633     lt_cv_sys_max_cmd_len=196608
6634     ;;
6635
6636   osf*)
6637     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6638     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6639     # nice to cause kernel panics so lets avoid the loop below.
6640     # First set a reasonable default.
6641     lt_cv_sys_max_cmd_len=16384
6642     #
6643     if test -x /sbin/sysconfig; then
6644       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6645         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6646       esac
6647     fi
6648     ;;
6649   sco3.2v5*)
6650     lt_cv_sys_max_cmd_len=102400
6651     ;;
6652   sysv5* | sco5v6* | sysv4.2uw2*)
6653     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6654     if test -n "$kargmax"; then
6655       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6656     else
6657       lt_cv_sys_max_cmd_len=32768
6658     fi
6659     ;;
6660   *)
6661     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6662     if test -n "$lt_cv_sys_max_cmd_len"; then
6663       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6664       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6665     else
6666       # Make teststring a little bigger before we do anything with it.
6667       # a 1K string should be a reasonable start.
6668       for i in 1 2 3 4 5 6 7 8 ; do
6669         teststring=$teststring$teststring
6670       done
6671       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6672       # If test is not a shell built-in, we'll probably end up computing a
6673       # maximum length that is only half of the actual maximum length, but
6674       # we can't tell.
6675       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6676                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6677               test $i != 17 # 1/2 MB should be enough
6678       do
6679         i=`expr $i + 1`
6680         teststring=$teststring$teststring
6681       done
6682       # Only check the string length outside the loop.
6683       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6684       teststring=
6685       # Add a significant safety factor because C++ compilers can tack on
6686       # massive amounts of additional arguments before passing them to the
6687       # linker.  It appears as though 1/2 is a usable value.
6688       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6689     fi
6690     ;;
6691   esac
6692
6693 fi
6694
6695 if test -n $lt_cv_sys_max_cmd_len ; then
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6697 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6698 else
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6700 $as_echo "none" >&6; }
6701 fi
6702 max_cmd_len=$lt_cv_sys_max_cmd_len
6703
6704
6705
6706
6707
6708
6709 : ${CP="cp -f"}
6710 : ${MV="mv -f"}
6711 : ${RM="rm -f"}
6712
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6714 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6715 # Try some XSI features
6716 xsi_shell=no
6717 ( _lt_dummy="a/b/c"
6718   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6719       = c,a/b,, \
6720     && eval 'test $(( 1 + 1 )) -eq 2 \
6721     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6722   && xsi_shell=yes
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6724 $as_echo "$xsi_shell" >&6; }
6725
6726
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6728 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6729 lt_shell_append=no
6730 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6731     >/dev/null 2>&1 \
6732   && lt_shell_append=yes
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6734 $as_echo "$lt_shell_append" >&6; }
6735
6736
6737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6738   lt_unset=unset
6739 else
6740   lt_unset=false
6741 fi
6742
6743
6744
6745
6746
6747 # test EBCDIC or ASCII
6748 case `echo X|tr X '\101'` in
6749  A) # ASCII based system
6750     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6751   lt_SP2NL='tr \040 \012'
6752   lt_NL2SP='tr \015\012 \040\040'
6753   ;;
6754  *) # EBCDIC based system
6755   lt_SP2NL='tr \100 \n'
6756   lt_NL2SP='tr \r\n \100\100'
6757   ;;
6758 esac
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6769 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6770 if ${lt_cv_ld_reload_flag+:} false; then :
6771   $as_echo_n "(cached) " >&6
6772 else
6773   lt_cv_ld_reload_flag='-r'
6774 fi
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6776 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6777 reload_flag=$lt_cv_ld_reload_flag
6778 case $reload_flag in
6779 "" | " "*) ;;
6780 *) reload_flag=" $reload_flag" ;;
6781 esac
6782 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6783 case $host_os in
6784   darwin*)
6785     if test "$GCC" = yes; then
6786       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6787     else
6788       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6789     fi
6790     ;;
6791 esac
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801 if test -n "$ac_tool_prefix"; then
6802   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_OBJDUMP+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$OBJDUMP"; then
6810   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 OBJDUMP=$ac_cv_prog_OBJDUMP
6830 if test -n "$OBJDUMP"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6832 $as_echo "$OBJDUMP" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839 fi
6840 if test -z "$ac_cv_prog_OBJDUMP"; then
6841   ac_ct_OBJDUMP=$OBJDUMP
6842   # Extract the first word of "objdump", so it can be a program name with args.
6843 set dummy objdump; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6847   $as_echo_n "(cached) " >&6
6848 else
6849   if test -n "$ac_ct_OBJDUMP"; then
6850   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6851 else
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 for as_dir in $PATH
6854 do
6855   IFS=$as_save_IFS
6856   test -z "$as_dir" && as_dir=.
6857     for ac_exec_ext in '' $ac_executable_extensions; do
6858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861     break 2
6862   fi
6863 done
6864   done
6865 IFS=$as_save_IFS
6866
6867 fi
6868 fi
6869 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6870 if test -n "$ac_ct_OBJDUMP"; then
6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6872 $as_echo "$ac_ct_OBJDUMP" >&6; }
6873 else
6874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6876 fi
6877
6878   if test "x$ac_ct_OBJDUMP" = x; then
6879     OBJDUMP="false"
6880   else
6881     case $cross_compiling:$ac_tool_warned in
6882 yes:)
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6886 esac
6887     OBJDUMP=$ac_ct_OBJDUMP
6888   fi
6889 else
6890   OBJDUMP="$ac_cv_prog_OBJDUMP"
6891 fi
6892
6893 test -z "$OBJDUMP" && OBJDUMP=objdump
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6904 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6905 if ${lt_cv_deplibs_check_method+:} false; then :
6906   $as_echo_n "(cached) " >&6
6907 else
6908   lt_cv_file_magic_cmd='$MAGIC_CMD'
6909 lt_cv_file_magic_test_file=
6910 lt_cv_deplibs_check_method='unknown'
6911 # Need to set the preceding variable on all platforms that support
6912 # interlibrary dependencies.
6913 # 'none' -- dependencies not supported.
6914 # `unknown' -- same as none, but documents that we really don't know.
6915 # 'pass_all' -- all dependencies passed with no checks.
6916 # 'test_compile' -- check by making test program.
6917 # 'file_magic [[regex]]' -- check by looking for files in library path
6918 # which responds to the $file_magic_cmd with a given extended regex.
6919 # If you have `file' or equivalent on your system and you're not sure
6920 # whether `pass_all' will *always* work, you probably want this one.
6921
6922 case $host_os in
6923 aix[4-9]*)
6924   lt_cv_deplibs_check_method=pass_all
6925   ;;
6926
6927 beos*)
6928   lt_cv_deplibs_check_method=pass_all
6929   ;;
6930
6931 bsdi[45]*)
6932   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6933   lt_cv_file_magic_cmd='/usr/bin/file -L'
6934   lt_cv_file_magic_test_file=/shlib/libc.so
6935   ;;
6936
6937 cygwin*)
6938   # func_win32_libid is a shell function defined in ltmain.sh
6939   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6940   lt_cv_file_magic_cmd='func_win32_libid'
6941   ;;
6942
6943 mingw* | pw32*)
6944   # Base MSYS/MinGW do not provide the 'file' command needed by
6945   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6946   # unless we find 'file', for example because we are cross-compiling.
6947   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6948   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6949     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6950     lt_cv_file_magic_cmd='func_win32_libid'
6951   else
6952     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6953     lt_cv_file_magic_cmd='$OBJDUMP -f'
6954   fi
6955   ;;
6956
6957 cegcc*)
6958   # use the weaker test based on 'objdump'. See mingw*.
6959   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6960   lt_cv_file_magic_cmd='$OBJDUMP -f'
6961   ;;
6962
6963 darwin* | rhapsody*)
6964   lt_cv_deplibs_check_method=pass_all
6965   ;;
6966
6967 freebsd* | dragonfly*)
6968   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6969     case $host_cpu in
6970     i*86 )
6971       # Not sure whether the presence of OpenBSD here was a mistake.
6972       # Let's accept both of them until this is cleared up.
6973       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6974       lt_cv_file_magic_cmd=/usr/bin/file
6975       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6976       ;;
6977     esac
6978   else
6979     lt_cv_deplibs_check_method=pass_all
6980   fi
6981   ;;
6982
6983 gnu*)
6984   lt_cv_deplibs_check_method=pass_all
6985   ;;
6986
6987 haiku*)
6988   lt_cv_deplibs_check_method=pass_all
6989   ;;
6990
6991 hpux10.20* | hpux11*)
6992   lt_cv_file_magic_cmd=/usr/bin/file
6993   case $host_cpu in
6994   ia64*)
6995     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6996     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6997     ;;
6998   hppa*64*)
6999     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7000     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7001     ;;
7002   *)
7003     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7004     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7005     ;;
7006   esac
7007   ;;
7008
7009 interix[3-9]*)
7010   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7011   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7012   ;;
7013
7014 irix5* | irix6* | nonstopux*)
7015   case $LD in
7016   *-32|*"-32 ") libmagic=32-bit;;
7017   *-n32|*"-n32 ") libmagic=N32;;
7018   *-64|*"-64 ") libmagic=64-bit;;
7019   *) libmagic=never-match;;
7020   esac
7021   lt_cv_deplibs_check_method=pass_all
7022   ;;
7023
7024 # This must be Linux ELF.
7025 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7026   lt_cv_deplibs_check_method=pass_all
7027   ;;
7028
7029 netbsd*)
7030   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7031     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7032   else
7033     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7034   fi
7035   ;;
7036
7037 newos6*)
7038   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7039   lt_cv_file_magic_cmd=/usr/bin/file
7040   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7041   ;;
7042
7043 *nto* | *qnx*)
7044   lt_cv_deplibs_check_method=pass_all
7045   ;;
7046
7047 openbsd*)
7048   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7049     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7050   else
7051     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7052   fi
7053   ;;
7054
7055 osf3* | osf4* | osf5*)
7056   lt_cv_deplibs_check_method=pass_all
7057   ;;
7058
7059 rdos*)
7060   lt_cv_deplibs_check_method=pass_all
7061   ;;
7062
7063 solaris*)
7064   lt_cv_deplibs_check_method=pass_all
7065   ;;
7066
7067 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7068   lt_cv_deplibs_check_method=pass_all
7069   ;;
7070
7071 sysv4 | sysv4.3*)
7072   case $host_vendor in
7073   motorola)
7074     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]'
7075     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7076     ;;
7077   ncr)
7078     lt_cv_deplibs_check_method=pass_all
7079     ;;
7080   sequent)
7081     lt_cv_file_magic_cmd='/bin/file'
7082     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7083     ;;
7084   sni)
7085     lt_cv_file_magic_cmd='/bin/file'
7086     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7087     lt_cv_file_magic_test_file=/lib/libc.so
7088     ;;
7089   siemens)
7090     lt_cv_deplibs_check_method=pass_all
7091     ;;
7092   pc)
7093     lt_cv_deplibs_check_method=pass_all
7094     ;;
7095   esac
7096   ;;
7097
7098 tpf*)
7099   lt_cv_deplibs_check_method=pass_all
7100   ;;
7101 vxworks*)
7102   # Assume VxWorks cross toolchains are built on Linux, possibly
7103   # as canadian for Windows hosts.
7104   lt_cv_deplibs_check_method=pass_all
7105   ;;
7106 esac
7107
7108 fi
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7110 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7111 file_magic_cmd=$lt_cv_file_magic_cmd
7112 deplibs_check_method=$lt_cv_deplibs_check_method
7113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126 if test -n "$ac_tool_prefix"; then
7127   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}ar; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_prog_AR+:} false; then :
7132   $as_echo_n "(cached) " >&6
7133 else
7134   if test -n "$AR"; then
7135   ac_cv_prog_AR="$AR" # Let the user override the test.
7136 else
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 for as_dir in $PATH
7139 do
7140   IFS=$as_save_IFS
7141   test -z "$as_dir" && as_dir=.
7142     for ac_exec_ext in '' $ac_executable_extensions; do
7143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144     ac_cv_prog_AR="${ac_tool_prefix}ar"
7145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146     break 2
7147   fi
7148 done
7149   done
7150 IFS=$as_save_IFS
7151
7152 fi
7153 fi
7154 AR=$ac_cv_prog_AR
7155 if test -n "$AR"; then
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7157 $as_echo "$AR" >&6; }
7158 else
7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7161 fi
7162
7163
7164 fi
7165 if test -z "$ac_cv_prog_AR"; then
7166   ac_ct_AR=$AR
7167   # Extract the first word of "ar", so it can be a program name with args.
7168 set dummy ar; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7172   $as_echo_n "(cached) " >&6
7173 else
7174   if test -n "$ac_ct_AR"; then
7175   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7176 else
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 for as_dir in $PATH
7179 do
7180   IFS=$as_save_IFS
7181   test -z "$as_dir" && as_dir=.
7182     for ac_exec_ext in '' $ac_executable_extensions; do
7183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184     ac_cv_prog_ac_ct_AR="ar"
7185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186     break 2
7187   fi
7188 done
7189   done
7190 IFS=$as_save_IFS
7191
7192 fi
7193 fi
7194 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7195 if test -n "$ac_ct_AR"; then
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7197 $as_echo "$ac_ct_AR" >&6; }
7198 else
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7201 fi
7202
7203   if test "x$ac_ct_AR" = x; then
7204     AR="false"
7205   else
7206     case $cross_compiling:$ac_tool_warned in
7207 yes:)
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210 ac_tool_warned=yes ;;
7211 esac
7212     AR=$ac_ct_AR
7213   fi
7214 else
7215   AR="$ac_cv_prog_AR"
7216 fi
7217
7218 test -z "$AR" && AR=ar
7219 test -z "$AR_FLAGS" && AR_FLAGS=cru
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231 if test -n "$ac_tool_prefix"; then
7232   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}strip; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_STRIP+:} false; then :
7237   $as_echo_n "(cached) " >&6
7238 else
7239   if test -n "$STRIP"; then
7240   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245   IFS=$as_save_IFS
7246   test -z "$as_dir" && as_dir=.
7247     for ac_exec_ext in '' $ac_executable_extensions; do
7248   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251     break 2
7252   fi
7253 done
7254   done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 STRIP=$ac_cv_prog_STRIP
7260 if test -n "$STRIP"; then
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7262 $as_echo "$STRIP" >&6; }
7263 else
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268
7269 fi
7270 if test -z "$ac_cv_prog_STRIP"; then
7271   ac_ct_STRIP=$STRIP
7272   # Extract the first word of "strip", so it can be a program name with args.
7273 set dummy strip; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   if test -n "$ac_ct_STRIP"; then
7280   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7284 do
7285   IFS=$as_save_IFS
7286   test -z "$as_dir" && as_dir=.
7287     for ac_exec_ext in '' $ac_executable_extensions; do
7288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289     ac_cv_prog_ac_ct_STRIP="strip"
7290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291     break 2
7292   fi
7293 done
7294   done
7295 IFS=$as_save_IFS
7296
7297 fi
7298 fi
7299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7300 if test -n "$ac_ct_STRIP"; then
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7302 $as_echo "$ac_ct_STRIP" >&6; }
7303 else
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 fi
7307
7308   if test "x$ac_ct_STRIP" = x; then
7309     STRIP=":"
7310   else
7311     case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317     STRIP=$ac_ct_STRIP
7318   fi
7319 else
7320   STRIP="$ac_cv_prog_STRIP"
7321 fi
7322
7323 test -z "$STRIP" && STRIP=:
7324
7325
7326
7327
7328
7329
7330 if test -n "$ac_tool_prefix"; then
7331   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7332 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if ${ac_cv_prog_RANLIB+:} false; then :
7336   $as_echo_n "(cached) " >&6
7337 else
7338   if test -n "$RANLIB"; then
7339   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7340 else
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 for as_dir in $PATH
7343 do
7344   IFS=$as_save_IFS
7345   test -z "$as_dir" && as_dir=.
7346     for ac_exec_ext in '' $ac_executable_extensions; do
7347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7348     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350     break 2
7351   fi
7352 done
7353   done
7354 IFS=$as_save_IFS
7355
7356 fi
7357 fi
7358 RANLIB=$ac_cv_prog_RANLIB
7359 if test -n "$RANLIB"; then
7360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7361 $as_echo "$RANLIB" >&6; }
7362 else
7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7365 fi
7366
7367
7368 fi
7369 if test -z "$ac_cv_prog_RANLIB"; then
7370   ac_ct_RANLIB=$RANLIB
7371   # Extract the first word of "ranlib", so it can be a program name with args.
7372 set dummy ranlib; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7376   $as_echo_n "(cached) " >&6
7377 else
7378   if test -n "$ac_ct_RANLIB"; then
7379   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7383 do
7384   IFS=$as_save_IFS
7385   test -z "$as_dir" && as_dir=.
7386     for ac_exec_ext in '' $ac_executable_extensions; do
7387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388     ac_cv_prog_ac_ct_RANLIB="ranlib"
7389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390     break 2
7391   fi
7392 done
7393   done
7394 IFS=$as_save_IFS
7395
7396 fi
7397 fi
7398 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7399 if test -n "$ac_ct_RANLIB"; then
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7401 $as_echo "$ac_ct_RANLIB" >&6; }
7402 else
7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7405 fi
7406
7407   if test "x$ac_ct_RANLIB" = x; then
7408     RANLIB=":"
7409   else
7410     case $cross_compiling:$ac_tool_warned in
7411 yes:)
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7414 ac_tool_warned=yes ;;
7415 esac
7416     RANLIB=$ac_ct_RANLIB
7417   fi
7418 else
7419   RANLIB="$ac_cv_prog_RANLIB"
7420 fi
7421
7422 test -z "$RANLIB" && RANLIB=:
7423
7424
7425
7426
7427
7428
7429 # Determine commands to create old-style static archives.
7430 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7431 old_postinstall_cmds='chmod 644 $oldlib'
7432 old_postuninstall_cmds=
7433
7434 if test -n "$RANLIB"; then
7435   case $host_os in
7436   openbsd*)
7437     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7438     ;;
7439   *)
7440     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7441     ;;
7442   esac
7443   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7444 fi
7445
7446 case $host_os in
7447   darwin*)
7448     lock_old_archive_extraction=yes ;;
7449   *)
7450     lock_old_archive_extraction=no ;;
7451 esac
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491 # If no C compiler was specified, use CC.
7492 LTCC=${LTCC-"$CC"}
7493
7494 # If no C compiler flags were specified, use CFLAGS.
7495 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7496
7497 # Allow CC to be a program name with arguments.
7498 compiler=$CC
7499
7500
7501 # Check for command to grab the raw symbol name followed by C symbol from nm.
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7503 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7504 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7505   $as_echo_n "(cached) " >&6
7506 else
7507
7508 # These are sane defaults that work on at least a few old systems.
7509 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7510
7511 # Character class describing NM global symbol codes.
7512 symcode='[BCDEGRST]'
7513
7514 # Regexp to match symbols that can be accessed directly from C.
7515 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7516
7517 # Define system-specific variables.
7518 case $host_os in
7519 aix*)
7520   symcode='[BCDT]'
7521   ;;
7522 cygwin* | mingw* | pw32* | cegcc*)
7523   symcode='[ABCDGISTW]'
7524   ;;
7525 hpux*)
7526   if test "$host_cpu" = ia64; then
7527     symcode='[ABCDEGRST]'
7528   fi
7529   ;;
7530 irix* | nonstopux*)
7531   symcode='[BCDEGRST]'
7532   ;;
7533 osf*)
7534   symcode='[BCDEGQRST]'
7535   ;;
7536 solaris*)
7537   symcode='[BDRT]'
7538   ;;
7539 sco3.2v5*)
7540   symcode='[DT]'
7541   ;;
7542 sysv4.2uw2*)
7543   symcode='[DT]'
7544   ;;
7545 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7546   symcode='[ABDT]'
7547   ;;
7548 sysv4)
7549   symcode='[DFNSTU]'
7550   ;;
7551 esac
7552
7553 # If we're using GNU nm, then use its standard symbol codes.
7554 case `$NM -V 2>&1` in
7555 *GNU* | *'with BFD'*)
7556   symcode='[ABCDGIRSTW]' ;;
7557 esac
7558
7559 # Transform an extracted symbol line into a proper C declaration.
7560 # Some systems (esp. on ia64) link data and code symbols differently,
7561 # so use this general approach.
7562 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7563
7564 # Transform an extracted symbol line into symbol name and symbol address
7565 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7566 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'"
7567
7568 # Handle CRLF in mingw tool chain
7569 opt_cr=
7570 case $build_os in
7571 mingw*)
7572   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7573   ;;
7574 esac
7575
7576 # Try without a prefix underscore, then with it.
7577 for ac_symprfx in "" "_"; do
7578
7579   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7580   symxfrm="\\1 $ac_symprfx\\2 \\2"
7581
7582   # Write the raw and C identifiers.
7583   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7584     # Fake it for dumpbin and say T for any non-static function
7585     # and D for any global variable.
7586     # Also find C++ and __fastcall symbols from MSVC++,
7587     # which start with @ or ?.
7588     lt_cv_sys_global_symbol_pipe="$AWK '"\
7589 "     {last_section=section; section=\$ 3};"\
7590 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7591 "     \$ 0!~/External *\|/{next};"\
7592 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7593 "     {if(hide[section]) next};"\
7594 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7595 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7596 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7597 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7598 "     ' prfx=^$ac_symprfx"
7599   else
7600     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7601   fi
7602
7603   # Check to see that the pipe works correctly.
7604   pipe_works=no
7605
7606   rm -f conftest*
7607   cat > conftest.$ac_ext <<_LT_EOF
7608 #ifdef __cplusplus
7609 extern "C" {
7610 #endif
7611 char nm_test_var;
7612 void nm_test_func(void);
7613 void nm_test_func(void){}
7614 #ifdef __cplusplus
7615 }
7616 #endif
7617 int main(){nm_test_var='a';nm_test_func();return(0);}
7618 _LT_EOF
7619
7620   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7621   (eval $ac_compile) 2>&5
7622   ac_status=$?
7623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7624   test $ac_status = 0; }; then
7625     # Now try to grab the symbols.
7626     nlist=conftest.nm
7627     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7628   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7629   ac_status=$?
7630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7631   test $ac_status = 0; } && test -s "$nlist"; then
7632       # Try sorting and uniquifying the output.
7633       if sort "$nlist" | uniq > "$nlist"T; then
7634         mv -f "$nlist"T "$nlist"
7635       else
7636         rm -f "$nlist"T
7637       fi
7638
7639       # Make sure that we snagged all the symbols we need.
7640       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7641         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7642           cat <<_LT_EOF > conftest.$ac_ext
7643 #ifdef __cplusplus
7644 extern "C" {
7645 #endif
7646
7647 _LT_EOF
7648           # Now generate the symbol file.
7649           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7650
7651           cat <<_LT_EOF >> conftest.$ac_ext
7652
7653 /* The mapping between symbol names and symbols.  */
7654 const struct {
7655   const char *name;
7656   void       *address;
7657 }
7658 lt__PROGRAM__LTX_preloaded_symbols[] =
7659 {
7660   { "@PROGRAM@", (void *) 0 },
7661 _LT_EOF
7662           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7663           cat <<\_LT_EOF >> conftest.$ac_ext
7664   {0, (void *) 0}
7665 };
7666
7667 /* This works around a problem in FreeBSD linker */
7668 #ifdef FREEBSD_WORKAROUND
7669 static const void *lt_preloaded_setup() {
7670   return lt__PROGRAM__LTX_preloaded_symbols;
7671 }
7672 #endif
7673
7674 #ifdef __cplusplus
7675 }
7676 #endif
7677 _LT_EOF
7678           # Now try linking the two files.
7679           mv conftest.$ac_objext conftstm.$ac_objext
7680           lt_save_LIBS="$LIBS"
7681           lt_save_CFLAGS="$CFLAGS"
7682           LIBS="conftstm.$ac_objext"
7683           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7684           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7685   (eval $ac_link) 2>&5
7686   ac_status=$?
7687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7688   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7689             pipe_works=yes
7690           fi
7691           LIBS="$lt_save_LIBS"
7692           CFLAGS="$lt_save_CFLAGS"
7693         else
7694           echo "cannot find nm_test_func in $nlist" >&5
7695         fi
7696       else
7697         echo "cannot find nm_test_var in $nlist" >&5
7698       fi
7699     else
7700       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7701     fi
7702   else
7703     echo "$progname: failed program was:" >&5
7704     cat conftest.$ac_ext >&5
7705   fi
7706   rm -rf conftest* conftst*
7707
7708   # Do not use the global_symbol_pipe unless it works.
7709   if test "$pipe_works" = yes; then
7710     break
7711   else
7712     lt_cv_sys_global_symbol_pipe=
7713   fi
7714 done
7715
7716 fi
7717
7718 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7719   lt_cv_sys_global_symbol_to_cdecl=
7720 fi
7721 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7723 $as_echo "failed" >&6; }
7724 else
7725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7726 $as_echo "ok" >&6; }
7727 fi
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750 # Check whether --enable-libtool-lock was given.
7751 if test "${enable_libtool_lock+set}" = set; then :
7752   enableval=$enable_libtool_lock;
7753 fi
7754
7755 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7756
7757 # Some flags need to be propagated to the compiler or linker for good
7758 # libtool support.
7759 case $host in
7760 ia64-*-hpux*)
7761   # Find out which ABI we are using.
7762   echo 'int i;' > conftest.$ac_ext
7763   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7764   (eval $ac_compile) 2>&5
7765   ac_status=$?
7766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7767   test $ac_status = 0; }; then
7768     case `/usr/bin/file conftest.$ac_objext` in
7769       *ELF-32*)
7770         HPUX_IA64_MODE="32"
7771         ;;
7772       *ELF-64*)
7773         HPUX_IA64_MODE="64"
7774         ;;
7775     esac
7776   fi
7777   rm -rf conftest*
7778   ;;
7779 *-*-irix6*)
7780   # Find out which ABI we are using.
7781   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7783   (eval $ac_compile) 2>&5
7784   ac_status=$?
7785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786   test $ac_status = 0; }; then
7787     if test "$lt_cv_prog_gnu_ld" = yes; then
7788       case `/usr/bin/file conftest.$ac_objext` in
7789         *32-bit*)
7790           LD="${LD-ld} -melf32bsmip"
7791           ;;
7792         *N32*)
7793           LD="${LD-ld} -melf32bmipn32"
7794           ;;
7795         *64-bit*)
7796           LD="${LD-ld} -melf64bmip"
7797         ;;
7798       esac
7799     else
7800       case `/usr/bin/file conftest.$ac_objext` in
7801         *32-bit*)
7802           LD="${LD-ld} -32"
7803           ;;
7804         *N32*)
7805           LD="${LD-ld} -n32"
7806           ;;
7807         *64-bit*)
7808           LD="${LD-ld} -64"
7809           ;;
7810       esac
7811     fi
7812   fi
7813   rm -rf conftest*
7814   ;;
7815
7816 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7817 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7818   # Find out which ABI we are using.
7819   echo 'int i;' > conftest.$ac_ext
7820   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7821   (eval $ac_compile) 2>&5
7822   ac_status=$?
7823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7824   test $ac_status = 0; }; then
7825     case `/usr/bin/file conftest.o` in
7826       *32-bit*)
7827         case $host in
7828           x86_64-*kfreebsd*-gnu)
7829             LD="${LD-ld} -m elf_i386_fbsd"
7830             ;;
7831           x86_64-*linux*)
7832             case `/usr/bin/file conftest.o` in
7833               *x86-64*)
7834                 LD="${LD-ld} -m elf32_x86_64"
7835                 ;;
7836               *)
7837                 LD="${LD-ld} -m elf_i386"
7838                 ;;
7839             esac
7840             ;;
7841           powerpc64le-*linux*)
7842             LD="${LD-ld} -m elf32lppclinux"
7843             ;;
7844           powerpc64-*linux*)
7845             LD="${LD-ld} -m elf32ppclinux"
7846             ;;
7847           s390x-*linux*)
7848             LD="${LD-ld} -m elf_s390"
7849             ;;
7850           sparc64-*linux*)
7851             LD="${LD-ld} -m elf32_sparc"
7852             ;;
7853         esac
7854         ;;
7855       *64-bit*)
7856         case $host in
7857           x86_64-*kfreebsd*-gnu)
7858             LD="${LD-ld} -m elf_x86_64_fbsd"
7859             ;;
7860           x86_64-*linux*)
7861             LD="${LD-ld} -m elf_x86_64"
7862             ;;
7863           powerpcle-*linux*)
7864             LD="${LD-ld} -m elf64lppc"
7865             ;;
7866           powerpc-*linux*)
7867             LD="${LD-ld} -m elf64ppc"
7868             ;;
7869           s390*-*linux*|s390*-*tpf*)
7870             LD="${LD-ld} -m elf64_s390"
7871             ;;
7872           sparc*-*linux*)
7873             LD="${LD-ld} -m elf64_sparc"
7874             ;;
7875         esac
7876         ;;
7877     esac
7878   fi
7879   rm -rf conftest*
7880   ;;
7881
7882 *-*-sco3.2v5*)
7883   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7884   SAVE_CFLAGS="$CFLAGS"
7885   CFLAGS="$CFLAGS -belf"
7886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7887 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7888 if ${lt_cv_cc_needs_belf+:} false; then :
7889   $as_echo_n "(cached) " >&6
7890 else
7891   ac_ext=c
7892 ac_cpp='$CPP $CPPFLAGS'
7893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7896
7897      if test x$gcc_no_link = xyes; then
7898   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7899 fi
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h.  */
7902
7903 int
7904 main ()
7905 {
7906
7907   ;
7908   return 0;
7909 }
7910 _ACEOF
7911 if ac_fn_c_try_link "$LINENO"; then :
7912   lt_cv_cc_needs_belf=yes
7913 else
7914   lt_cv_cc_needs_belf=no
7915 fi
7916 rm -f core conftest.err conftest.$ac_objext \
7917     conftest$ac_exeext conftest.$ac_ext
7918      ac_ext=c
7919 ac_cpp='$CPP $CPPFLAGS'
7920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7923
7924 fi
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7926 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7927   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7928     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7929     CFLAGS="$SAVE_CFLAGS"
7930   fi
7931   ;;
7932 sparc*-*solaris*)
7933   # Find out which ABI we are using.
7934   echo 'int i;' > conftest.$ac_ext
7935   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7936   (eval $ac_compile) 2>&5
7937   ac_status=$?
7938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7939   test $ac_status = 0; }; then
7940     case `/usr/bin/file conftest.o` in
7941     *64-bit*)
7942       case $lt_cv_prog_gnu_ld in
7943       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7944       *)
7945         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7946           LD="${LD-ld} -64"
7947         fi
7948         ;;
7949       esac
7950       ;;
7951     esac
7952   fi
7953   rm -rf conftest*
7954   ;;
7955 esac
7956
7957 need_locks="$enable_libtool_lock"
7958
7959
7960   case $host_os in
7961     rhapsody* | darwin*)
7962     if test -n "$ac_tool_prefix"; then
7963   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7964 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966 $as_echo_n "checking for $ac_word... " >&6; }
7967 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7968   $as_echo_n "(cached) " >&6
7969 else
7970   if test -n "$DSYMUTIL"; then
7971   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7972 else
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 for as_dir in $PATH
7975 do
7976   IFS=$as_save_IFS
7977   test -z "$as_dir" && as_dir=.
7978     for ac_exec_ext in '' $ac_executable_extensions; do
7979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982     break 2
7983   fi
7984 done
7985   done
7986 IFS=$as_save_IFS
7987
7988 fi
7989 fi
7990 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7991 if test -n "$DSYMUTIL"; then
7992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7993 $as_echo "$DSYMUTIL" >&6; }
7994 else
7995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
7997 fi
7998
7999
8000 fi
8001 if test -z "$ac_cv_prog_DSYMUTIL"; then
8002   ac_ct_DSYMUTIL=$DSYMUTIL
8003   # Extract the first word of "dsymutil", so it can be a program name with args.
8004 set dummy dsymutil; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8008   $as_echo_n "(cached) " >&6
8009 else
8010   if test -n "$ac_ct_DSYMUTIL"; then
8011   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8015 do
8016   IFS=$as_save_IFS
8017   test -z "$as_dir" && as_dir=.
8018     for ac_exec_ext in '' $ac_executable_extensions; do
8019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8020     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022     break 2
8023   fi
8024 done
8025   done
8026 IFS=$as_save_IFS
8027
8028 fi
8029 fi
8030 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8031 if test -n "$ac_ct_DSYMUTIL"; then
8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8033 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8034 else
8035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8037 fi
8038
8039   if test "x$ac_ct_DSYMUTIL" = x; then
8040     DSYMUTIL=":"
8041   else
8042     case $cross_compiling:$ac_tool_warned in
8043 yes:)
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8046 ac_tool_warned=yes ;;
8047 esac
8048     DSYMUTIL=$ac_ct_DSYMUTIL
8049   fi
8050 else
8051   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8052 fi
8053
8054     if test -n "$ac_tool_prefix"; then
8055   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8056 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_NMEDIT+:} false; then :
8060   $as_echo_n "(cached) " >&6
8061 else
8062   if test -n "$NMEDIT"; then
8063   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8064 else
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 for as_dir in $PATH
8067 do
8068   IFS=$as_save_IFS
8069   test -z "$as_dir" && as_dir=.
8070     for ac_exec_ext in '' $ac_executable_extensions; do
8071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074     break 2
8075   fi
8076 done
8077   done
8078 IFS=$as_save_IFS
8079
8080 fi
8081 fi
8082 NMEDIT=$ac_cv_prog_NMEDIT
8083 if test -n "$NMEDIT"; then
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8085 $as_echo "$NMEDIT" >&6; }
8086 else
8087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8089 fi
8090
8091
8092 fi
8093 if test -z "$ac_cv_prog_NMEDIT"; then
8094   ac_ct_NMEDIT=$NMEDIT
8095   # Extract the first word of "nmedit", so it can be a program name with args.
8096 set dummy nmedit; ac_word=$2
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098 $as_echo_n "checking for $ac_word... " >&6; }
8099 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8100   $as_echo_n "(cached) " >&6
8101 else
8102   if test -n "$ac_ct_NMEDIT"; then
8103   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8104 else
8105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 for as_dir in $PATH
8107 do
8108   IFS=$as_save_IFS
8109   test -z "$as_dir" && as_dir=.
8110     for ac_exec_ext in '' $ac_executable_extensions; do
8111   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8112     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8114     break 2
8115   fi
8116 done
8117   done
8118 IFS=$as_save_IFS
8119
8120 fi
8121 fi
8122 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8123 if test -n "$ac_ct_NMEDIT"; then
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8125 $as_echo "$ac_ct_NMEDIT" >&6; }
8126 else
8127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8129 fi
8130
8131   if test "x$ac_ct_NMEDIT" = x; then
8132     NMEDIT=":"
8133   else
8134     case $cross_compiling:$ac_tool_warned in
8135 yes:)
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8138 ac_tool_warned=yes ;;
8139 esac
8140     NMEDIT=$ac_ct_NMEDIT
8141   fi
8142 else
8143   NMEDIT="$ac_cv_prog_NMEDIT"
8144 fi
8145
8146     if test -n "$ac_tool_prefix"; then
8147   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8148 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_LIPO+:} false; then :
8152   $as_echo_n "(cached) " >&6
8153 else
8154   if test -n "$LIPO"; then
8155   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8159 do
8160   IFS=$as_save_IFS
8161   test -z "$as_dir" && as_dir=.
8162     for ac_exec_ext in '' $ac_executable_extensions; do
8163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166     break 2
8167   fi
8168 done
8169   done
8170 IFS=$as_save_IFS
8171
8172 fi
8173 fi
8174 LIPO=$ac_cv_prog_LIPO
8175 if test -n "$LIPO"; then
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8177 $as_echo "$LIPO" >&6; }
8178 else
8179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 fi
8182
8183
8184 fi
8185 if test -z "$ac_cv_prog_LIPO"; then
8186   ac_ct_LIPO=$LIPO
8187   # Extract the first word of "lipo", so it can be a program name with args.
8188 set dummy lipo; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190 $as_echo_n "checking for $ac_word... " >&6; }
8191 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8192   $as_echo_n "(cached) " >&6
8193 else
8194   if test -n "$ac_ct_LIPO"; then
8195   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8196 else
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 for as_dir in $PATH
8199 do
8200   IFS=$as_save_IFS
8201   test -z "$as_dir" && as_dir=.
8202     for ac_exec_ext in '' $ac_executable_extensions; do
8203   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8204     ac_cv_prog_ac_ct_LIPO="lipo"
8205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206     break 2
8207   fi
8208 done
8209   done
8210 IFS=$as_save_IFS
8211
8212 fi
8213 fi
8214 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8215 if test -n "$ac_ct_LIPO"; then
8216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8217 $as_echo "$ac_ct_LIPO" >&6; }
8218 else
8219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8221 fi
8222
8223   if test "x$ac_ct_LIPO" = x; then
8224     LIPO=":"
8225   else
8226     case $cross_compiling:$ac_tool_warned in
8227 yes:)
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8230 ac_tool_warned=yes ;;
8231 esac
8232     LIPO=$ac_ct_LIPO
8233   fi
8234 else
8235   LIPO="$ac_cv_prog_LIPO"
8236 fi
8237
8238     if test -n "$ac_tool_prefix"; then
8239   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8240 set dummy ${ac_tool_prefix}otool; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_OTOOL+:} false; then :
8244   $as_echo_n "(cached) " >&6
8245 else
8246   if test -n "$OTOOL"; then
8247   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8251 do
8252   IFS=$as_save_IFS
8253   test -z "$as_dir" && as_dir=.
8254     for ac_exec_ext in '' $ac_executable_extensions; do
8255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258     break 2
8259   fi
8260 done
8261   done
8262 IFS=$as_save_IFS
8263
8264 fi
8265 fi
8266 OTOOL=$ac_cv_prog_OTOOL
8267 if test -n "$OTOOL"; then
8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8269 $as_echo "$OTOOL" >&6; }
8270 else
8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 fi
8274
8275
8276 fi
8277 if test -z "$ac_cv_prog_OTOOL"; then
8278   ac_ct_OTOOL=$OTOOL
8279   # Extract the first word of "otool", so it can be a program name with args.
8280 set dummy otool; ac_word=$2
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8282 $as_echo_n "checking for $ac_word... " >&6; }
8283 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8284   $as_echo_n "(cached) " >&6
8285 else
8286   if test -n "$ac_ct_OTOOL"; then
8287   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8288 else
8289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 for as_dir in $PATH
8291 do
8292   IFS=$as_save_IFS
8293   test -z "$as_dir" && as_dir=.
8294     for ac_exec_ext in '' $ac_executable_extensions; do
8295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8296     ac_cv_prog_ac_ct_OTOOL="otool"
8297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8298     break 2
8299   fi
8300 done
8301   done
8302 IFS=$as_save_IFS
8303
8304 fi
8305 fi
8306 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8307 if test -n "$ac_ct_OTOOL"; then
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8309 $as_echo "$ac_ct_OTOOL" >&6; }
8310 else
8311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8313 fi
8314
8315   if test "x$ac_ct_OTOOL" = x; then
8316     OTOOL=":"
8317   else
8318     case $cross_compiling:$ac_tool_warned in
8319 yes:)
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8322 ac_tool_warned=yes ;;
8323 esac
8324     OTOOL=$ac_ct_OTOOL
8325   fi
8326 else
8327   OTOOL="$ac_cv_prog_OTOOL"
8328 fi
8329
8330     if test -n "$ac_tool_prefix"; then
8331   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8332 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_OTOOL64+:} false; then :
8336   $as_echo_n "(cached) " >&6
8337 else
8338   if test -n "$OTOOL64"; then
8339   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8343 do
8344   IFS=$as_save_IFS
8345   test -z "$as_dir" && as_dir=.
8346     for ac_exec_ext in '' $ac_executable_extensions; do
8347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350     break 2
8351   fi
8352 done
8353   done
8354 IFS=$as_save_IFS
8355
8356 fi
8357 fi
8358 OTOOL64=$ac_cv_prog_OTOOL64
8359 if test -n "$OTOOL64"; then
8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8361 $as_echo "$OTOOL64" >&6; }
8362 else
8363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367
8368 fi
8369 if test -z "$ac_cv_prog_OTOOL64"; then
8370   ac_ct_OTOOL64=$OTOOL64
8371   # Extract the first word of "otool64", so it can be a program name with args.
8372 set dummy otool64; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8376   $as_echo_n "(cached) " >&6
8377 else
8378   if test -n "$ac_ct_OTOOL64"; then
8379   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8380 else
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in $PATH
8383 do
8384   IFS=$as_save_IFS
8385   test -z "$as_dir" && as_dir=.
8386     for ac_exec_ext in '' $ac_executable_extensions; do
8387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388     ac_cv_prog_ac_ct_OTOOL64="otool64"
8389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390     break 2
8391   fi
8392 done
8393   done
8394 IFS=$as_save_IFS
8395
8396 fi
8397 fi
8398 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8399 if test -n "$ac_ct_OTOOL64"; then
8400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8401 $as_echo "$ac_ct_OTOOL64" >&6; }
8402 else
8403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8405 fi
8406
8407   if test "x$ac_ct_OTOOL64" = x; then
8408     OTOOL64=":"
8409   else
8410     case $cross_compiling:$ac_tool_warned in
8411 yes:)
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8414 ac_tool_warned=yes ;;
8415 esac
8416     OTOOL64=$ac_ct_OTOOL64
8417   fi
8418 else
8419   OTOOL64="$ac_cv_prog_OTOOL64"
8420 fi
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8449 $as_echo_n "checking for -single_module linker flag... " >&6; }
8450 if ${lt_cv_apple_cc_single_mod+:} false; then :
8451   $as_echo_n "(cached) " >&6
8452 else
8453   lt_cv_apple_cc_single_mod=no
8454       if test -z "${LT_MULTI_MODULE}"; then
8455         # By default we will add the -single_module flag. You can override
8456         # by either setting the environment variable LT_MULTI_MODULE
8457         # non-empty at configure time, or by adding -multi_module to the
8458         # link flags.
8459         rm -rf libconftest.dylib*
8460         echo "int foo(void){return 1;}" > conftest.c
8461         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8462 -dynamiclib -Wl,-single_module conftest.c" >&5
8463         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8464           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8465         _lt_result=$?
8466         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8467           lt_cv_apple_cc_single_mod=yes
8468         else
8469           cat conftest.err >&5
8470         fi
8471         rm -rf libconftest.dylib*
8472         rm -f conftest.*
8473       fi
8474 fi
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8476 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8477     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8478 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8479 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8480   $as_echo_n "(cached) " >&6
8481 else
8482   lt_cv_ld_exported_symbols_list=no
8483       save_LDFLAGS=$LDFLAGS
8484       echo "_main" > conftest.sym
8485       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8486       if test x$gcc_no_link = xyes; then
8487   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8488 fi
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h.  */
8491
8492 int
8493 main ()
8494 {
8495
8496   ;
8497   return 0;
8498 }
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501   lt_cv_ld_exported_symbols_list=yes
8502 else
8503   lt_cv_ld_exported_symbols_list=no
8504 fi
8505 rm -f core conftest.err conftest.$ac_objext \
8506     conftest$ac_exeext conftest.$ac_ext
8507         LDFLAGS="$save_LDFLAGS"
8508
8509 fi
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8511 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8513 $as_echo_n "checking for -force_load linker flag... " >&6; }
8514 if ${lt_cv_ld_force_load+:} false; then :
8515   $as_echo_n "(cached) " >&6
8516 else
8517   lt_cv_ld_force_load=no
8518       cat > conftest.c << _LT_EOF
8519 int forced_loaded() { return 2;}
8520 _LT_EOF
8521       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8522       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8523       echo "$AR cru libconftest.a conftest.o" >&5
8524       $AR cru libconftest.a conftest.o 2>&5
8525       cat > conftest.c << _LT_EOF
8526 int main() { return 0;}
8527 _LT_EOF
8528       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8529       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8530       _lt_result=$?
8531       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8532         lt_cv_ld_force_load=yes
8533       else
8534         cat conftest.err >&5
8535       fi
8536         rm -f conftest.err libconftest.a conftest conftest.c
8537         rm -rf conftest.dSYM
8538
8539 fi
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8541 $as_echo "$lt_cv_ld_force_load" >&6; }
8542     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8543     # build without first building modern cctools / linker.
8544     case $host_cpu-$host_os in
8545     *-rhapsody* | *-darwin1.[012])
8546       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8547     *-darwin1.*)
8548       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8549     *-darwin*)
8550       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8551       # deployment target is forced to an earlier version.
8552       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8553         UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8554           ;;
8555         10.[012][,.]*)
8556           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8557           ;;
8558         *)
8559           ;;
8560      esac
8561     ;;
8562   esac
8563     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8564       _lt_dar_single_mod='$single_module'
8565     fi
8566     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8567       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8568     else
8569       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8570     fi
8571     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8572       _lt_dsymutil='~$DSYMUTIL $lib || :'
8573     else
8574       _lt_dsymutil=
8575     fi
8576     ;;
8577   esac
8578
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8580 $as_echo_n "checking for ANSI C header files... " >&6; }
8581 if ${ac_cv_header_stdc+:} false; then :
8582   $as_echo_n "(cached) " >&6
8583 else
8584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h.  */
8586 #include <stdlib.h>
8587 #include <stdarg.h>
8588 #include <string.h>
8589 #include <float.h>
8590
8591 int
8592 main ()
8593 {
8594
8595   ;
8596   return 0;
8597 }
8598 _ACEOF
8599 if ac_fn_c_try_compile "$LINENO"; then :
8600   ac_cv_header_stdc=yes
8601 else
8602   ac_cv_header_stdc=no
8603 fi
8604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8605
8606 if test $ac_cv_header_stdc = yes; then
8607   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h.  */
8610 #include <string.h>
8611
8612 _ACEOF
8613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8614   $EGREP "memchr" >/dev/null 2>&1; then :
8615
8616 else
8617   ac_cv_header_stdc=no
8618 fi
8619 rm -f conftest*
8620
8621 fi
8622
8623 if test $ac_cv_header_stdc = yes; then
8624   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h.  */
8627 #include <stdlib.h>
8628
8629 _ACEOF
8630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8631   $EGREP "free" >/dev/null 2>&1; then :
8632
8633 else
8634   ac_cv_header_stdc=no
8635 fi
8636 rm -f conftest*
8637
8638 fi
8639
8640 if test $ac_cv_header_stdc = yes; then
8641   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8642   if test "$cross_compiling" = yes; then :
8643   :
8644 else
8645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h.  */
8647 #include <ctype.h>
8648 #include <stdlib.h>
8649 #if ((' ' & 0x0FF) == 0x020)
8650 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8651 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8652 #else
8653 # define ISLOWER(c) \
8654                    (('a' <= (c) && (c) <= 'i') \
8655                      || ('j' <= (c) && (c) <= 'r') \
8656                      || ('s' <= (c) && (c) <= 'z'))
8657 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8658 #endif
8659
8660 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8661 int
8662 main ()
8663 {
8664   int i;
8665   for (i = 0; i < 256; i++)
8666     if (XOR (islower (i), ISLOWER (i))
8667         || toupper (i) != TOUPPER (i))
8668       return 2;
8669   return 0;
8670 }
8671 _ACEOF
8672 if ac_fn_c_try_run "$LINENO"; then :
8673
8674 else
8675   ac_cv_header_stdc=no
8676 fi
8677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8678   conftest.$ac_objext conftest.beam conftest.$ac_ext
8679 fi
8680
8681 fi
8682 fi
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8684 $as_echo "$ac_cv_header_stdc" >&6; }
8685 if test $ac_cv_header_stdc = yes; then
8686
8687 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8688
8689 fi
8690
8691 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8692 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8693                   inttypes.h stdint.h unistd.h
8694 do :
8695   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8696 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8697 "
8698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8699   cat >>confdefs.h <<_ACEOF
8700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701 _ACEOF
8702
8703 fi
8704
8705 done
8706
8707
8708 for ac_header in dlfcn.h
8709 do :
8710   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8711 "
8712 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8713   cat >>confdefs.h <<_ACEOF
8714 #define HAVE_DLFCN_H 1
8715 _ACEOF
8716
8717 fi
8718
8719 done
8720
8721
8722
8723
8724
8725
8726 # Set options
8727
8728
8729
8730
8731   enable_win32_dll=no
8732
8733
8734             # Check whether --enable-shared was given.
8735 if test "${enable_shared+set}" = set; then :
8736   enableval=$enable_shared; p=${PACKAGE-default}
8737     case $enableval in
8738     yes) enable_shared=yes ;;
8739     no) enable_shared=no ;;
8740     *)
8741       enable_shared=no
8742       # Look at the argument we got.  We use all the common list separators.
8743       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8744       for pkg in $enableval; do
8745         IFS="$lt_save_ifs"
8746         if test "X$pkg" = "X$p"; then
8747           enable_shared=yes
8748         fi
8749       done
8750       IFS="$lt_save_ifs"
8751       ;;
8752     esac
8753 else
8754   enable_shared=yes
8755 fi
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765   # Check whether --enable-static was given.
8766 if test "${enable_static+set}" = set; then :
8767   enableval=$enable_static; p=${PACKAGE-default}
8768     case $enableval in
8769     yes) enable_static=yes ;;
8770     no) enable_static=no ;;
8771     *)
8772      enable_static=no
8773       # Look at the argument we got.  We use all the common list separators.
8774       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8775       for pkg in $enableval; do
8776         IFS="$lt_save_ifs"
8777         if test "X$pkg" = "X$p"; then
8778           enable_static=yes
8779         fi
8780       done
8781       IFS="$lt_save_ifs"
8782       ;;
8783     esac
8784 else
8785   enable_static=yes
8786 fi
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797 # Check whether --with-pic was given.
8798 if test "${with_pic+set}" = set; then :
8799   withval=$with_pic; pic_mode="$withval"
8800 else
8801   pic_mode=default
8802 fi
8803
8804
8805 test -z "$pic_mode" && pic_mode=default
8806
8807
8808
8809
8810
8811
8812
8813   # Check whether --enable-fast-install was given.
8814 if test "${enable_fast_install+set}" = set; then :
8815   enableval=$enable_fast_install; p=${PACKAGE-default}
8816     case $enableval in
8817     yes) enable_fast_install=yes ;;
8818     no) enable_fast_install=no ;;
8819     *)
8820       enable_fast_install=no
8821       # Look at the argument we got.  We use all the common list separators.
8822       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8823       for pkg in $enableval; do
8824         IFS="$lt_save_ifs"
8825         if test "X$pkg" = "X$p"; then
8826           enable_fast_install=yes
8827         fi
8828       done
8829       IFS="$lt_save_ifs"
8830       ;;
8831     esac
8832 else
8833   enable_fast_install=yes
8834 fi
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846 # This can be used to rebuild libtool when needed
8847 LIBTOOL_DEPS="$ltmain"
8848
8849 # Always use our own libtool.
8850 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877 test -z "$LN_S" && LN_S="ln -s"
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892 if test -n "${ZSH_VERSION+set}" ; then
8893    setopt NO_GLOB_SUBST
8894 fi
8895
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8897 $as_echo_n "checking for objdir... " >&6; }
8898 if ${lt_cv_objdir+:} false; then :
8899   $as_echo_n "(cached) " >&6
8900 else
8901   rm -f .libs 2>/dev/null
8902 mkdir .libs 2>/dev/null
8903 if test -d .libs; then
8904   lt_cv_objdir=.libs
8905 else
8906   # MS-DOS does not allow filenames that begin with a dot.
8907   lt_cv_objdir=_libs
8908 fi
8909 rmdir .libs 2>/dev/null
8910 fi
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8912 $as_echo "$lt_cv_objdir" >&6; }
8913 objdir=$lt_cv_objdir
8914
8915
8916
8917
8918
8919 cat >>confdefs.h <<_ACEOF
8920 #define LT_OBJDIR "$lt_cv_objdir/"
8921 _ACEOF
8922
8923
8924
8925
8926 case $host_os in
8927 aix3*)
8928   # AIX sometimes has problems with the GCC collect2 program.  For some
8929   # reason, if we set the COLLECT_NAMES environment variable, the problems
8930   # vanish in a puff of smoke.
8931   if test "X${COLLECT_NAMES+set}" != Xset; then
8932     COLLECT_NAMES=
8933     export COLLECT_NAMES
8934   fi
8935   ;;
8936 esac
8937
8938 # Global variables:
8939 ofile=libtool
8940 can_build_shared=yes
8941
8942 # All known linkers require a `.a' archive for static linking (except MSVC,
8943 # which needs '.lib').
8944 libext=a
8945
8946 with_gnu_ld="$lt_cv_prog_gnu_ld"
8947
8948 old_CC="$CC"
8949 old_CFLAGS="$CFLAGS"
8950
8951 # Set sane defaults for various variables
8952 test -z "$CC" && CC=cc
8953 test -z "$LTCC" && LTCC=$CC
8954 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8955 test -z "$LD" && LD=ld
8956 test -z "$ac_objext" && ac_objext=o
8957
8958 for cc_temp in $compiler""; do
8959   case $cc_temp in
8960     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8961     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8962     \-*) ;;
8963     *) break;;
8964   esac
8965 done
8966 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8967
8968
8969 # Only perform the check for file, if the check method requires it
8970 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8971 case $deplibs_check_method in
8972 file_magic*)
8973   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8975 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8976 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8977   $as_echo_n "(cached) " >&6
8978 else
8979   case $MAGIC_CMD in
8980 [\\/*] |  ?:[\\/]*)
8981   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8982   ;;
8983 *)
8984   lt_save_MAGIC_CMD="$MAGIC_CMD"
8985   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8986   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8987   for ac_dir in $ac_dummy; do
8988     IFS="$lt_save_ifs"
8989     test -z "$ac_dir" && ac_dir=.
8990     if test -f $ac_dir/${ac_tool_prefix}file; then
8991       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8992       if test -n "$file_magic_test_file"; then
8993         case $deplibs_check_method in
8994         "file_magic "*)
8995           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8996           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8997           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8998             $EGREP "$file_magic_regex" > /dev/null; then
8999             :
9000           else
9001             cat <<_LT_EOF 1>&2
9002
9003 *** Warning: the command libtool uses to detect shared libraries,
9004 *** $file_magic_cmd, produces output that libtool cannot recognize.
9005 *** The result is that libtool may fail to recognize shared libraries
9006 *** as such.  This will affect the creation of libtool libraries that
9007 *** depend on shared libraries, but programs linked with such libtool
9008 *** libraries will work regardless of this problem.  Nevertheless, you
9009 *** may want to report the problem to your system manager and/or to
9010 *** bug-libtool@gnu.org
9011
9012 _LT_EOF
9013           fi ;;
9014         esac
9015       fi
9016       break
9017     fi
9018   done
9019   IFS="$lt_save_ifs"
9020   MAGIC_CMD="$lt_save_MAGIC_CMD"
9021   ;;
9022 esac
9023 fi
9024
9025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9026 if test -n "$MAGIC_CMD"; then
9027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9028 $as_echo "$MAGIC_CMD" >&6; }
9029 else
9030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9032 fi
9033
9034
9035
9036
9037
9038 if test -z "$lt_cv_path_MAGIC_CMD"; then
9039   if test -n "$ac_tool_prefix"; then
9040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9041 $as_echo_n "checking for file... " >&6; }
9042 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9043   $as_echo_n "(cached) " >&6
9044 else
9045   case $MAGIC_CMD in
9046 [\\/*] |  ?:[\\/]*)
9047   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9048   ;;
9049 *)
9050   lt_save_MAGIC_CMD="$MAGIC_CMD"
9051   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9052   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9053   for ac_dir in $ac_dummy; do
9054     IFS="$lt_save_ifs"
9055     test -z "$ac_dir" && ac_dir=.
9056     if test -f $ac_dir/file; then
9057       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9058       if test -n "$file_magic_test_file"; then
9059         case $deplibs_check_method in
9060         "file_magic "*)
9061           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9062           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9063           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9064             $EGREP "$file_magic_regex" > /dev/null; then
9065             :
9066           else
9067             cat <<_LT_EOF 1>&2
9068
9069 *** Warning: the command libtool uses to detect shared libraries,
9070 *** $file_magic_cmd, produces output that libtool cannot recognize.
9071 *** The result is that libtool may fail to recognize shared libraries
9072 *** as such.  This will affect the creation of libtool libraries that
9073 *** depend on shared libraries, but programs linked with such libtool
9074 *** libraries will work regardless of this problem.  Nevertheless, you
9075 *** may want to report the problem to your system manager and/or to
9076 *** bug-libtool@gnu.org
9077
9078 _LT_EOF
9079           fi ;;
9080         esac
9081       fi
9082       break
9083     fi
9084   done
9085   IFS="$lt_save_ifs"
9086   MAGIC_CMD="$lt_save_MAGIC_CMD"
9087   ;;
9088 esac
9089 fi
9090
9091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9092 if test -n "$MAGIC_CMD"; then
9093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9094 $as_echo "$MAGIC_CMD" >&6; }
9095 else
9096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9098 fi
9099
9100
9101   else
9102     MAGIC_CMD=:
9103   fi
9104 fi
9105
9106   fi
9107   ;;
9108 esac
9109
9110 # Use C for the default configuration in the libtool script
9111
9112 lt_save_CC="$CC"
9113 ac_ext=c
9114 ac_cpp='$CPP $CPPFLAGS'
9115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9118
9119
9120 # Source file extension for C test sources.
9121 ac_ext=c
9122
9123 # Object file extension for compiled C test sources.
9124 objext=o
9125 objext=$objext
9126
9127 # Code to be used in simple compile tests
9128 lt_simple_compile_test_code="int some_variable = 0;"
9129
9130 # Code to be used in simple link tests
9131 lt_simple_link_test_code='int main(){return(0);}'
9132
9133
9134
9135
9136
9137
9138
9139 # If no C compiler was specified, use CC.
9140 LTCC=${LTCC-"$CC"}
9141
9142 # If no C compiler flags were specified, use CFLAGS.
9143 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9144
9145 # Allow CC to be a program name with arguments.
9146 compiler=$CC
9147
9148 # Save the default compiler, since it gets overwritten when the other
9149 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9150 compiler_DEFAULT=$CC
9151
9152 # save warnings/boilerplate of simple test code
9153 ac_outfile=conftest.$ac_objext
9154 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9155 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9156 _lt_compiler_boilerplate=`cat conftest.err`
9157 $RM conftest*
9158
9159 ac_outfile=conftest.$ac_objext
9160 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9161 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9162 _lt_linker_boilerplate=`cat conftest.err`
9163 $RM -r conftest*
9164
9165
9166 ## CAVEAT EMPTOR:
9167 ## There is no encapsulation within the following macros, do not change
9168 ## the running order or otherwise move them around unless you know exactly
9169 ## what you are doing...
9170 if test -n "$compiler"; then
9171
9172 lt_prog_compiler_no_builtin_flag=
9173
9174 if test "$GCC" = yes; then
9175   case $cc_basename in
9176   nvcc*)
9177     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9178   *)
9179     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9180   esac
9181
9182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9183 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9184 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9185   $as_echo_n "(cached) " >&6
9186 else
9187   lt_cv_prog_compiler_rtti_exceptions=no
9188    ac_outfile=conftest.$ac_objext
9189    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9190    lt_compiler_flag="-fno-rtti -fno-exceptions"
9191    # Insert the option either (1) after the last *FLAGS variable, or
9192    # (2) before a word containing "conftest.", or (3) at the end.
9193    # Note that $ac_compile itself does not contain backslashes and begins
9194    # with a dollar sign (not a hyphen), so the echo should work correctly.
9195    # The option is referenced via a variable to avoid confusing sed.
9196    lt_compile=`echo "$ac_compile" | $SED \
9197    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9198    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9199    -e 's:$: $lt_compiler_flag:'`
9200    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9201    (eval "$lt_compile" 2>conftest.err)
9202    ac_status=$?
9203    cat conftest.err >&5
9204    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205    if (exit $ac_status) && test -s "$ac_outfile"; then
9206      # The compiler can only warn and ignore the option if not recognized
9207      # So say no if there are warnings other than the usual output.
9208      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9209      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9210      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9211        lt_cv_prog_compiler_rtti_exceptions=yes
9212      fi
9213    fi
9214    $RM conftest*
9215
9216 fi
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9218 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9219
9220 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9221     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9222 else
9223     :
9224 fi
9225
9226 fi
9227
9228
9229
9230
9231
9232
9233   lt_prog_compiler_wl=
9234 lt_prog_compiler_pic=
9235 lt_prog_compiler_static=
9236
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9238 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9239
9240   if test "$GCC" = yes; then
9241     lt_prog_compiler_wl='-Wl,'
9242     lt_prog_compiler_static='-static'
9243
9244     case $host_os in
9245       aix*)
9246       # All AIX code is PIC.
9247       if test "$host_cpu" = ia64; then
9248         # AIX 5 now supports IA64 processor
9249         lt_prog_compiler_static='-Bstatic'
9250       fi
9251       lt_prog_compiler_pic='-fPIC'
9252       ;;
9253
9254     amigaos*)
9255       case $host_cpu in
9256       powerpc)
9257             # see comment about AmigaOS4 .so support
9258             lt_prog_compiler_pic='-fPIC'
9259         ;;
9260       m68k)
9261             # FIXME: we need at least 68020 code to build shared libraries, but
9262             # adding the `-m68020' flag to GCC prevents building anything better,
9263             # like `-m68040'.
9264             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9265         ;;
9266       esac
9267       ;;
9268
9269     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9270       # PIC is the default for these OSes.
9271       ;;
9272
9273     mingw* | cygwin* | pw32* | os2* | cegcc*)
9274       # This hack is so that the source file can tell whether it is being
9275       # built for inclusion in a dll (and should export symbols for example).
9276       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9277       # (--disable-auto-import) libraries
9278       lt_prog_compiler_pic='-DDLL_EXPORT'
9279       ;;
9280
9281     darwin* | rhapsody*)
9282       # PIC is the default on this platform
9283       # Common symbols not allowed in MH_DYLIB files
9284       lt_prog_compiler_pic='-fno-common'
9285       ;;
9286
9287     haiku*)
9288       # PIC is the default for Haiku.
9289       # The "-static" flag exists, but is broken.
9290       lt_prog_compiler_static=
9291       ;;
9292
9293     hpux*)
9294       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9295       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9296       # sets the default TLS model and affects inlining.
9297       case $host_cpu in
9298       hppa*64*)
9299         # +Z the default
9300         ;;
9301       *)
9302         lt_prog_compiler_pic='-fPIC'
9303         ;;
9304       esac
9305       ;;
9306
9307     interix[3-9]*)
9308       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9309       # Instead, we relocate shared libraries at runtime.
9310       ;;
9311
9312     msdosdjgpp*)
9313       # Just because we use GCC doesn't mean we suddenly get shared libraries
9314       # on systems that don't support them.
9315       lt_prog_compiler_can_build_shared=no
9316       enable_shared=no
9317       ;;
9318
9319     *nto* | *qnx*)
9320       # QNX uses GNU C++, but need to define -shared option too, otherwise
9321       # it will coredump.
9322       lt_prog_compiler_pic='-fPIC -shared'
9323       ;;
9324
9325     sysv4*MP*)
9326       if test -d /usr/nec; then
9327         lt_prog_compiler_pic=-Kconform_pic
9328       fi
9329       ;;
9330
9331     *)
9332       lt_prog_compiler_pic='-fPIC'
9333       ;;
9334     esac
9335
9336     case $cc_basename in
9337     nvcc*) # Cuda Compiler Driver 2.2
9338       lt_prog_compiler_wl='-Xlinker '
9339       lt_prog_compiler_pic='-Xcompiler -fPIC'
9340       ;;
9341     esac
9342   else
9343     # PORTME Check for flag to pass linker flags through the system compiler.
9344     case $host_os in
9345     aix*)
9346       lt_prog_compiler_wl='-Wl,'
9347       if test "$host_cpu" = ia64; then
9348         # AIX 5 now supports IA64 processor
9349         lt_prog_compiler_static='-Bstatic'
9350       else
9351         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9352       fi
9353       ;;
9354
9355     mingw* | cygwin* | pw32* | os2* | cegcc*)
9356       # This hack is so that the source file can tell whether it is being
9357       # built for inclusion in a dll (and should export symbols for example).
9358       lt_prog_compiler_pic='-DDLL_EXPORT'
9359       ;;
9360
9361     hpux9* | hpux10* | hpux11*)
9362       lt_prog_compiler_wl='-Wl,'
9363       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9364       # not for PA HP-UX.
9365       case $host_cpu in
9366       hppa*64*|ia64*)
9367         # +Z the default
9368         ;;
9369       *)
9370         lt_prog_compiler_pic='+Z'
9371         ;;
9372       esac
9373       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9374       lt_prog_compiler_static='${wl}-a ${wl}archive'
9375       ;;
9376
9377     irix5* | irix6* | nonstopux*)
9378       lt_prog_compiler_wl='-Wl,'
9379       # PIC (with -KPIC) is the default.
9380       lt_prog_compiler_static='-non_shared'
9381       ;;
9382
9383     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9384       case $cc_basename in
9385       # old Intel for x86_64 which still supported -KPIC.
9386       ecc*)
9387         lt_prog_compiler_wl='-Wl,'
9388         lt_prog_compiler_pic='-KPIC'
9389         lt_prog_compiler_static='-static'
9390         ;;
9391       # icc used to be incompatible with GCC.
9392       # ICC 10 doesn't accept -KPIC any more.
9393       icc* | ifort*)
9394         lt_prog_compiler_wl='-Wl,'
9395         lt_prog_compiler_pic='-fPIC'
9396         lt_prog_compiler_static='-static'
9397         ;;
9398       # Lahey Fortran 8.1.
9399       lf95*)
9400         lt_prog_compiler_wl='-Wl,'
9401         lt_prog_compiler_pic='--shared'
9402         lt_prog_compiler_static='--static'
9403         ;;
9404       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9405         # Portland Group compilers (*not* the Pentium gcc compiler,
9406         # which looks to be a dead project)
9407         lt_prog_compiler_wl='-Wl,'
9408         lt_prog_compiler_pic='-fpic'
9409         lt_prog_compiler_static='-Bstatic'
9410         ;;
9411       ccc*)
9412         lt_prog_compiler_wl='-Wl,'
9413         # All Alpha code is PIC.
9414         lt_prog_compiler_static='-non_shared'
9415         ;;
9416       xl* | bgxl* | bgf* | mpixl*)
9417         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9418         lt_prog_compiler_wl='-Wl,'
9419         lt_prog_compiler_pic='-qpic'
9420         lt_prog_compiler_static='-qstaticlink'
9421         ;;
9422       *)
9423         case `$CC -V 2>&1 | sed 5q` in
9424         *Sun\ F* | *Sun*Fortran*)
9425           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9426           lt_prog_compiler_pic='-KPIC'
9427           lt_prog_compiler_static='-Bstatic'
9428           lt_prog_compiler_wl=''
9429           ;;
9430         *Sun\ C*)
9431           # Sun C 5.9
9432           lt_prog_compiler_pic='-KPIC'
9433           lt_prog_compiler_static='-Bstatic'
9434           lt_prog_compiler_wl='-Wl,'
9435           ;;
9436         esac
9437         ;;
9438       esac
9439       ;;
9440
9441     newsos6)
9442       lt_prog_compiler_pic='-KPIC'
9443       lt_prog_compiler_static='-Bstatic'
9444       ;;
9445
9446     *nto* | *qnx*)
9447       # QNX uses GNU C++, but need to define -shared option too, otherwise
9448       # it will coredump.
9449       lt_prog_compiler_pic='-fPIC -shared'
9450       ;;
9451
9452     osf3* | osf4* | osf5*)
9453       lt_prog_compiler_wl='-Wl,'
9454       # All OSF/1 code is PIC.
9455       lt_prog_compiler_static='-non_shared'
9456       ;;
9457
9458     rdos*)
9459       lt_prog_compiler_static='-non_shared'
9460       ;;
9461
9462     solaris*)
9463       lt_prog_compiler_pic='-KPIC'
9464       lt_prog_compiler_static='-Bstatic'
9465       case $cc_basename in
9466       f77* | f90* | f95*)
9467         lt_prog_compiler_wl='-Qoption ld ';;
9468       *)
9469         lt_prog_compiler_wl='-Wl,';;
9470       esac
9471       ;;
9472
9473     sunos4*)
9474       lt_prog_compiler_wl='-Qoption ld '
9475       lt_prog_compiler_pic='-PIC'
9476       lt_prog_compiler_static='-Bstatic'
9477       ;;
9478
9479     sysv4 | sysv4.2uw2* | sysv4.3*)
9480       lt_prog_compiler_wl='-Wl,'
9481       lt_prog_compiler_pic='-KPIC'
9482       lt_prog_compiler_static='-Bstatic'
9483       ;;
9484
9485     sysv4*MP*)
9486       if test -d /usr/nec ;then
9487         lt_prog_compiler_pic='-Kconform_pic'
9488         lt_prog_compiler_static='-Bstatic'
9489       fi
9490       ;;
9491
9492     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9493       lt_prog_compiler_wl='-Wl,'
9494       lt_prog_compiler_pic='-KPIC'
9495       lt_prog_compiler_static='-Bstatic'
9496       ;;
9497
9498     unicos*)
9499       lt_prog_compiler_wl='-Wl,'
9500       lt_prog_compiler_can_build_shared=no
9501       ;;
9502
9503     uts4*)
9504       lt_prog_compiler_pic='-pic'
9505       lt_prog_compiler_static='-Bstatic'
9506       ;;
9507
9508     *)
9509       lt_prog_compiler_can_build_shared=no
9510       ;;
9511     esac
9512   fi
9513
9514 case $host_os in
9515   # For platforms which do not support PIC, -DPIC is meaningless:
9516   *djgpp*)
9517     lt_prog_compiler_pic=
9518     ;;
9519   *)
9520     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9521     ;;
9522 esac
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9524 $as_echo "$lt_prog_compiler_pic" >&6; }
9525
9526
9527
9528
9529
9530
9531 #
9532 # Check to make sure the PIC flag actually works.
9533 #
9534 if test -n "$lt_prog_compiler_pic"; then
9535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9536 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9537 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9538   $as_echo_n "(cached) " >&6
9539 else
9540   lt_cv_prog_compiler_pic_works=no
9541    ac_outfile=conftest.$ac_objext
9542    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9543    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9544    # Insert the option either (1) after the last *FLAGS variable, or
9545    # (2) before a word containing "conftest.", or (3) at the end.
9546    # Note that $ac_compile itself does not contain backslashes and begins
9547    # with a dollar sign (not a hyphen), so the echo should work correctly.
9548    # The option is referenced via a variable to avoid confusing sed.
9549    lt_compile=`echo "$ac_compile" | $SED \
9550    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9551    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9552    -e 's:$: $lt_compiler_flag:'`
9553    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9554    (eval "$lt_compile" 2>conftest.err)
9555    ac_status=$?
9556    cat conftest.err >&5
9557    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558    if (exit $ac_status) && test -s "$ac_outfile"; then
9559      # The compiler can only warn and ignore the option if not recognized
9560      # So say no if there are warnings other than the usual output.
9561      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9562      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9563      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9564        lt_cv_prog_compiler_pic_works=yes
9565      fi
9566    fi
9567    $RM conftest*
9568
9569 fi
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9571 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9572
9573 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9574     case $lt_prog_compiler_pic in
9575      "" | " "*) ;;
9576      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9577      esac
9578 else
9579     lt_prog_compiler_pic=
9580      lt_prog_compiler_can_build_shared=no
9581 fi
9582
9583 fi
9584
9585
9586
9587
9588
9589
9590 #
9591 # Check to make sure the static flag actually works.
9592 #
9593 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9595 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9596 if ${lt_cv_prog_compiler_static_works+:} false; then :
9597   $as_echo_n "(cached) " >&6
9598 else
9599   lt_cv_prog_compiler_static_works=no
9600    save_LDFLAGS="$LDFLAGS"
9601    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9602    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9603    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9604      # The linker can only warn and ignore the option if not recognized
9605      # So say no if there are warnings
9606      if test -s conftest.err; then
9607        # Append any errors to the config.log.
9608        cat conftest.err 1>&5
9609        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9610        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9611        if diff conftest.exp conftest.er2 >/dev/null; then
9612          lt_cv_prog_compiler_static_works=yes
9613        fi
9614      else
9615        lt_cv_prog_compiler_static_works=yes
9616      fi
9617    fi
9618    $RM -r conftest*
9619    LDFLAGS="$save_LDFLAGS"
9620
9621 fi
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9623 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9624
9625 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9626     :
9627 else
9628     lt_prog_compiler_static=
9629 fi
9630
9631
9632
9633
9634
9635
9636
9637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9638 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9639 if ${lt_cv_prog_compiler_c_o+:} false; then :
9640   $as_echo_n "(cached) " >&6
9641 else
9642   lt_cv_prog_compiler_c_o=no
9643    $RM -r conftest 2>/dev/null
9644    mkdir conftest
9645    cd conftest
9646    mkdir out
9647    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9648
9649    lt_compiler_flag="-o out/conftest2.$ac_objext"
9650    # Insert the option either (1) after the last *FLAGS variable, or
9651    # (2) before a word containing "conftest.", or (3) at the end.
9652    # Note that $ac_compile itself does not contain backslashes and begins
9653    # with a dollar sign (not a hyphen), so the echo should work correctly.
9654    lt_compile=`echo "$ac_compile" | $SED \
9655    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9656    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9657    -e 's:$: $lt_compiler_flag:'`
9658    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9659    (eval "$lt_compile" 2>out/conftest.err)
9660    ac_status=$?
9661    cat out/conftest.err >&5
9662    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9664    then
9665      # The compiler can only warn and ignore the option if not recognized
9666      # So say no if there are warnings
9667      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9668      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9669      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9670        lt_cv_prog_compiler_c_o=yes
9671      fi
9672    fi
9673    chmod u+w . 2>&5
9674    $RM conftest*
9675    # SGI C++ compiler will create directory out/ii_files/ for
9676    # template instantiation
9677    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9678    $RM out/* && rmdir out
9679    cd ..
9680    $RM -r conftest
9681    $RM conftest*
9682
9683 fi
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9685 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9686
9687
9688
9689
9690
9691
9692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9693 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9694 if ${lt_cv_prog_compiler_c_o+:} false; then :
9695   $as_echo_n "(cached) " >&6
9696 else
9697   lt_cv_prog_compiler_c_o=no
9698    $RM -r conftest 2>/dev/null
9699    mkdir conftest
9700    cd conftest
9701    mkdir out
9702    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9703
9704    lt_compiler_flag="-o out/conftest2.$ac_objext"
9705    # Insert the option either (1) after the last *FLAGS variable, or
9706    # (2) before a word containing "conftest.", or (3) at the end.
9707    # Note that $ac_compile itself does not contain backslashes and begins
9708    # with a dollar sign (not a hyphen), so the echo should work correctly.
9709    lt_compile=`echo "$ac_compile" | $SED \
9710    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9711    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9712    -e 's:$: $lt_compiler_flag:'`
9713    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9714    (eval "$lt_compile" 2>out/conftest.err)
9715    ac_status=$?
9716    cat out/conftest.err >&5
9717    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9719    then
9720      # The compiler can only warn and ignore the option if not recognized
9721      # So say no if there are warnings
9722      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9723      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9724      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9725        lt_cv_prog_compiler_c_o=yes
9726      fi
9727    fi
9728    chmod u+w . 2>&5
9729    $RM conftest*
9730    # SGI C++ compiler will create directory out/ii_files/ for
9731    # template instantiation
9732    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9733    $RM out/* && rmdir out
9734    cd ..
9735    $RM -r conftest
9736    $RM conftest*
9737
9738 fi
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9740 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9741
9742
9743
9744
9745 hard_links="nottested"
9746 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9747   # do not overwrite the value of need_locks provided by the user
9748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9749 $as_echo_n "checking if we can lock with hard links... " >&6; }
9750   hard_links=yes
9751   $RM conftest*
9752   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9753   touch conftest.a
9754   ln conftest.a conftest.b 2>&5 || hard_links=no
9755   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9757 $as_echo "$hard_links" >&6; }
9758   if test "$hard_links" = no; then
9759     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9760 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9761     need_locks=warn
9762   fi
9763 else
9764   need_locks=no
9765 fi
9766
9767
9768
9769
9770
9771
9772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9773 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9774
9775   runpath_var=
9776   allow_undefined_flag=
9777   always_export_symbols=no
9778   archive_cmds=
9779   archive_expsym_cmds=
9780   compiler_needs_object=no
9781   enable_shared_with_static_runtimes=no
9782   export_dynamic_flag_spec=
9783   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9784   hardcode_automatic=no
9785   hardcode_direct=no
9786   hardcode_direct_absolute=no
9787   hardcode_libdir_flag_spec=
9788   hardcode_libdir_flag_spec_ld=
9789   hardcode_libdir_separator=
9790   hardcode_minus_L=no
9791   hardcode_shlibpath_var=unsupported
9792   inherit_rpath=no
9793   link_all_deplibs=unknown
9794   module_cmds=
9795   module_expsym_cmds=
9796   old_archive_from_new_cmds=
9797   old_archive_from_expsyms_cmds=
9798   thread_safe_flag_spec=
9799   whole_archive_flag_spec=
9800   # include_expsyms should be a list of space-separated symbols to be *always*
9801   # included in the symbol list
9802   include_expsyms=
9803   # exclude_expsyms can be an extended regexp of symbols to exclude
9804   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9805   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9806   # as well as any symbol that contains `d'.
9807   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9808   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9809   # platforms (ab)use it in PIC code, but their linkers get confused if
9810   # the symbol is explicitly referenced.  Since portable code cannot
9811   # rely on this symbol name, it's probably fine to never include it in
9812   # preloaded symbol tables.
9813   # Exclude shared library initialization/finalization symbols.
9814   extract_expsyms_cmds=
9815
9816   case $host_os in
9817   cygwin* | mingw* | pw32* | cegcc*)
9818     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9819     # When not using gcc, we currently assume that we are using
9820     # Microsoft Visual C++.
9821     if test "$GCC" != yes; then
9822       with_gnu_ld=no
9823     fi
9824     ;;
9825   interix*)
9826     # we just hope/assume this is gcc and not c89 (= MSVC++)
9827     with_gnu_ld=yes
9828     ;;
9829   openbsd*)
9830     with_gnu_ld=no
9831     ;;
9832   esac
9833
9834   ld_shlibs=yes
9835
9836   # On some targets, GNU ld is compatible enough with the native linker
9837   # that we're better off using the native interface for both.
9838   lt_use_gnu_ld_interface=no
9839   if test "$with_gnu_ld" = yes; then
9840     case $host_os in
9841       aix*)
9842         # The AIX port of GNU ld has always aspired to compatibility
9843         # with the native linker.  However, as the warning in the GNU ld
9844         # block says, versions before 2.19.5* couldn't really create working
9845         # shared libraries, regardless of the interface used.
9846         case `$LD -v 2>&1` in
9847           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9848           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9849           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9850           *)
9851             lt_use_gnu_ld_interface=yes
9852             ;;
9853         esac
9854         ;;
9855       *)
9856         lt_use_gnu_ld_interface=yes
9857         ;;
9858     esac
9859   fi
9860
9861   if test "$lt_use_gnu_ld_interface" = yes; then
9862     # If archive_cmds runs LD, not CC, wlarc should be empty
9863     wlarc='${wl}'
9864
9865     # Set some defaults for GNU ld with shared library support. These
9866     # are reset later if shared libraries are not supported. Putting them
9867     # here allows them to be overridden if necessary.
9868     runpath_var=LD_RUN_PATH
9869     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870     export_dynamic_flag_spec='${wl}--export-dynamic'
9871     # ancient GNU ld didn't support --whole-archive et. al.
9872     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9873       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9874     else
9875       whole_archive_flag_spec=
9876     fi
9877     supports_anon_versioning=no
9878     case `$LD -v 2>&1` in
9879       *GNU\ gold*) supports_anon_versioning=yes ;;
9880       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9881       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9882       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9883       *\ 2.11.*) ;; # other 2.11 versions
9884       *) supports_anon_versioning=yes ;;
9885     esac
9886
9887     # See if GNU ld supports shared libraries.
9888     case $host_os in
9889     aix[3-9]*)
9890       # On AIX/PPC, the GNU linker is very broken
9891       if test "$host_cpu" != ia64; then
9892         ld_shlibs=no
9893         cat <<_LT_EOF 1>&2
9894
9895 *** Warning: the GNU linker, at least up to release 2.19, is reported
9896 *** to be unable to reliably create shared libraries on AIX.
9897 *** Therefore, libtool is disabling shared libraries support.  If you
9898 *** really care for shared libraries, you may want to install binutils
9899 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9900 *** You will then need to restart the configuration process.
9901
9902 _LT_EOF
9903       fi
9904       ;;
9905
9906     amigaos*)
9907       case $host_cpu in
9908       powerpc)
9909             # see comment about AmigaOS4 .so support
9910             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911             archive_expsym_cmds=''
9912         ;;
9913       m68k)
9914             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)'
9915             hardcode_libdir_flag_spec='-L$libdir'
9916             hardcode_minus_L=yes
9917         ;;
9918       esac
9919       ;;
9920
9921     beos*)
9922       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9923         allow_undefined_flag=unsupported
9924         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9925         # support --undefined.  This deserves some investigation.  FIXME
9926         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9927       else
9928         ld_shlibs=no
9929       fi
9930       ;;
9931
9932     cygwin* | mingw* | pw32* | cegcc*)
9933       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9934       # as there is no search path for DLLs.
9935       hardcode_libdir_flag_spec='-L$libdir'
9936       export_dynamic_flag_spec='${wl}--export-all-symbols'
9937       allow_undefined_flag=unsupported
9938       always_export_symbols=no
9939       enable_shared_with_static_runtimes=yes
9940       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9941
9942       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9943         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9944         # If the export-symbols file already is a .def file (1st line
9945         # is EXPORTS), use it as is; otherwise, prepend...
9946         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9947           cp $export_symbols $output_objdir/$soname.def;
9948         else
9949           echo EXPORTS > $output_objdir/$soname.def;
9950           cat $export_symbols >> $output_objdir/$soname.def;
9951         fi~
9952         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9953       else
9954         ld_shlibs=no
9955       fi
9956       ;;
9957
9958     haiku*)
9959       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960       link_all_deplibs=yes
9961       ;;
9962
9963     interix[3-9]*)
9964       hardcode_direct=no
9965       hardcode_shlibpath_var=no
9966       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9967       export_dynamic_flag_spec='${wl}-E'
9968       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9969       # Instead, shared libraries are loaded at an image base (0x10000000 by
9970       # default) and relocated if they conflict, which is a slow very memory
9971       # consuming and fragmenting process.  To avoid this, we pick a random,
9972       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9973       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9974       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9975       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'
9976       ;;
9977
9978     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9979       tmp_diet=no
9980       if test "$host_os" = linux-dietlibc; then
9981         case $cc_basename in
9982           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9983         esac
9984       fi
9985       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9986          && test "$tmp_diet" = no
9987       then
9988         tmp_addflag=' $pic_flag'
9989         tmp_sharedflag='-shared'
9990         case $cc_basename,$host_cpu in
9991         pgcc*)                          # Portland Group C compiler
9992           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9993           tmp_addflag=' $pic_flag'
9994           ;;
9995         pgf77* | pgf90* | pgf95* | pgfortran*)
9996                                         # Portland Group f77 and f90 compilers
9997           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9998           tmp_addflag=' $pic_flag -Mnomain' ;;
9999         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10000           tmp_addflag=' -i_dynamic' ;;
10001         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10002           tmp_addflag=' -i_dynamic -nofor_main' ;;
10003         ifc* | ifort*)                  # Intel Fortran compiler
10004           tmp_addflag=' -nofor_main' ;;
10005         lf95*)                          # Lahey Fortran 8.1
10006           whole_archive_flag_spec=
10007           tmp_sharedflag='--shared' ;;
10008         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10009           tmp_sharedflag='-qmkshrobj'
10010           tmp_addflag= ;;
10011         nvcc*)  # Cuda Compiler Driver 2.2
10012           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10013           compiler_needs_object=yes
10014           ;;
10015         esac
10016         case `$CC -V 2>&1 | sed 5q` in
10017         *Sun\ C*)                       # Sun C 5.9
10018           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10019           compiler_needs_object=yes
10020           tmp_sharedflag='-G' ;;
10021         *Sun\ F*)                       # Sun Fortran 8.3
10022           tmp_sharedflag='-G' ;;
10023         esac
10024         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10025
10026         if test "x$supports_anon_versioning" = xyes; then
10027           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10028             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10029             echo "local: *; };" >> $output_objdir/$libname.ver~
10030             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10031         fi
10032
10033         case $cc_basename in
10034         xlf* | bgf* | bgxlf* | mpixlf*)
10035           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10036           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10037           hardcode_libdir_flag_spec=
10038           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10039           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10040           if test "x$supports_anon_versioning" = xyes; then
10041             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10042               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10043               echo "local: *; };" >> $output_objdir/$libname.ver~
10044               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10045           fi
10046           ;;
10047         esac
10048       else
10049         ld_shlibs=no
10050       fi
10051       ;;
10052
10053     netbsd*)
10054       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10055         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10056         wlarc=
10057       else
10058         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10060       fi
10061       ;;
10062
10063     solaris*)
10064       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10065         ld_shlibs=no
10066         cat <<_LT_EOF 1>&2
10067
10068 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10069 *** create shared libraries on Solaris systems.  Therefore, libtool
10070 *** is disabling shared libraries support.  We urge you to upgrade GNU
10071 *** binutils to release 2.9.1 or newer.  Another option is to modify
10072 *** your PATH or compiler configuration so that the native linker is
10073 *** used, and then restart.
10074
10075 _LT_EOF
10076       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10077         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10079       else
10080         ld_shlibs=no
10081       fi
10082       ;;
10083
10084     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10085       case `$LD -v 2>&1` in
10086         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10087         ld_shlibs=no
10088         cat <<_LT_EOF 1>&2
10089
10090 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10091 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10092 *** is disabling shared libraries support.  We urge you to upgrade GNU
10093 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10094 *** your PATH or compiler configuration so that the native linker is
10095 *** used, and then restart.
10096
10097 _LT_EOF
10098         ;;
10099         *)
10100           # For security reasons, it is highly recommended that you always
10101           # use absolute paths for naming shared libraries, and exclude the
10102           # DT_RUNPATH tag from executables and libraries.  But doing so
10103           # requires that you compile everything twice, which is a pain.
10104           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10105             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10106             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10107             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10108           else
10109             ld_shlibs=no
10110           fi
10111         ;;
10112       esac
10113       ;;
10114
10115     sunos4*)
10116       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10117       wlarc=
10118       hardcode_direct=yes
10119       hardcode_shlibpath_var=no
10120       ;;
10121
10122     *)
10123       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10124         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10125         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10126       else
10127         ld_shlibs=no
10128       fi
10129       ;;
10130     esac
10131
10132     if test "$ld_shlibs" = no; then
10133       runpath_var=
10134       hardcode_libdir_flag_spec=
10135       export_dynamic_flag_spec=
10136       whole_archive_flag_spec=
10137     fi
10138   else
10139     # PORTME fill in a description of your system's linker (not GNU ld)
10140     case $host_os in
10141     aix3*)
10142       allow_undefined_flag=unsupported
10143       always_export_symbols=yes
10144       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'
10145       # Note: this linker hardcodes the directories in LIBPATH if there
10146       # are no directories specified by -L.
10147       hardcode_minus_L=yes
10148       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10149         # Neither direct hardcoding nor static linking is supported with a
10150         # broken collect2.
10151         hardcode_direct=unsupported
10152       fi
10153       ;;
10154
10155     aix[4-9]*)
10156       if test "$host_cpu" = ia64; then
10157         # On IA64, the linker does run time linking by default, so we don't
10158         # have to do anything special.
10159         aix_use_runtimelinking=no
10160         exp_sym_flag='-Bexport'
10161         no_entry_flag=""
10162       else
10163         # If we're using GNU nm, then we don't want the "-C" option.
10164         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10165         # Also, AIX nm treats weak defined symbols like other global
10166         # defined symbols, whereas GNU nm marks them as "W".
10167         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10168           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10169         else
10170           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10171         fi
10172         aix_use_runtimelinking=no
10173
10174         # Test if we are trying to use run time linking or normal
10175         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10176         # need to do runtime linking.
10177         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10178           for ld_flag in $LDFLAGS; do
10179           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10180             aix_use_runtimelinking=yes
10181             break
10182           fi
10183           done
10184           ;;
10185         esac
10186
10187         exp_sym_flag='-bexport'
10188         no_entry_flag='-bnoentry'
10189       fi
10190
10191       # When large executables or shared objects are built, AIX ld can
10192       # have problems creating the table of contents.  If linking a library
10193       # or program results in "error TOC overflow" add -mminimal-toc to
10194       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10195       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10196
10197       archive_cmds=''
10198       hardcode_direct=yes
10199       hardcode_direct_absolute=yes
10200       hardcode_libdir_separator=':'
10201       link_all_deplibs=yes
10202       file_list_spec='${wl}-f,'
10203
10204       if test "$GCC" = yes; then
10205         case $host_os in aix4.[012]|aix4.[012].*)
10206         # We only want to do this on AIX 4.2 and lower, the check
10207         # below for broken collect2 doesn't work under 4.3+
10208           collect2name=`${CC} -print-prog-name=collect2`
10209           if test -f "$collect2name" &&
10210            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10211           then
10212           # We have reworked collect2
10213           :
10214           else
10215           # We have old collect2
10216           hardcode_direct=unsupported
10217           # It fails to find uninstalled libraries when the uninstalled
10218           # path is not listed in the libpath.  Setting hardcode_minus_L
10219           # to unsupported forces relinking
10220           hardcode_minus_L=yes
10221           hardcode_libdir_flag_spec='-L$libdir'
10222           hardcode_libdir_separator=
10223           fi
10224           ;;
10225         esac
10226         shared_flag='-shared'
10227         if test "$aix_use_runtimelinking" = yes; then
10228           shared_flag="$shared_flag "'${wl}-G'
10229         fi
10230       else
10231         # not using gcc
10232         if test "$host_cpu" = ia64; then
10233         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10234         # chokes on -Wl,-G. The following line is correct:
10235           shared_flag='-G'
10236         else
10237           if test "$aix_use_runtimelinking" = yes; then
10238             shared_flag='${wl}-G'
10239           else
10240             shared_flag='${wl}-bM:SRE'
10241           fi
10242         fi
10243       fi
10244
10245       export_dynamic_flag_spec='${wl}-bexpall'
10246       # It seems that -bexpall does not export symbols beginning with
10247       # underscore (_), so it is better to generate a list of symbols to export.
10248       always_export_symbols=yes
10249       if test "$aix_use_runtimelinking" = yes; then
10250         # Warning - without using the other runtime loading flags (-brtl),
10251         # -berok will link without error, but may produce a broken library.
10252         allow_undefined_flag='-berok'
10253         # Determine the default libpath from the value encoded in an
10254         # empty executable.
10255         if test x$gcc_no_link = xyes; then
10256   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10257 fi
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h.  */
10260
10261 int
10262 main ()
10263 {
10264
10265   ;
10266   return 0;
10267 }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270
10271 lt_aix_libpath_sed='
10272     /Import File Strings/,/^$/ {
10273         /^0/ {
10274             s/^0  *\(.*\)$/\1/
10275             p
10276         }
10277     }'
10278 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10279 # Check for a 64-bit object if we didn't find anything.
10280 if test -z "$aix_libpath"; then
10281   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282 fi
10283 fi
10284 rm -f core conftest.err conftest.$ac_objext \
10285     conftest$ac_exeext conftest.$ac_ext
10286 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10287
10288         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10289         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10290       else
10291         if test "$host_cpu" = ia64; then
10292           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10293           allow_undefined_flag="-z nodefs"
10294           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"
10295         else
10296          # Determine the default libpath from the value encoded in an
10297          # empty executable.
10298          if test x$gcc_no_link = xyes; then
10299   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10300 fi
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h.  */
10303
10304 int
10305 main ()
10306 {
10307
10308   ;
10309   return 0;
10310 }
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313
10314 lt_aix_libpath_sed='
10315     /Import File Strings/,/^$/ {
10316         /^0/ {
10317             s/^0  *\(.*\)$/\1/
10318             p
10319         }
10320     }'
10321 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10322 # Check for a 64-bit object if we didn't find anything.
10323 if test -z "$aix_libpath"; then
10324   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10325 fi
10326 fi
10327 rm -f core conftest.err conftest.$ac_objext \
10328     conftest$ac_exeext conftest.$ac_ext
10329 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10330
10331          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10332           # Warning - without using the other run time loading flags,
10333           # -berok will link without error, but may produce a broken library.
10334           no_undefined_flag=' ${wl}-bernotok'
10335           allow_undefined_flag=' ${wl}-berok'
10336           if test "$with_gnu_ld" = yes; then
10337             # We only use this code for GNU lds that support --whole-archive.
10338             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10339           else
10340             # Exported symbols can be pulled into shared objects from archives
10341             whole_archive_flag_spec='$convenience'
10342           fi
10343           archive_cmds_need_lc=yes
10344           # This is similar to how AIX traditionally builds its shared libraries.
10345           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'
10346         fi
10347       fi
10348       ;;
10349
10350     amigaos*)
10351       case $host_cpu in
10352       powerpc)
10353             # see comment about AmigaOS4 .so support
10354             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10355             archive_expsym_cmds=''
10356         ;;
10357       m68k)
10358             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)'
10359             hardcode_libdir_flag_spec='-L$libdir'
10360             hardcode_minus_L=yes
10361         ;;
10362       esac
10363       ;;
10364
10365     bsdi[45]*)
10366       export_dynamic_flag_spec=-rdynamic
10367       ;;
10368
10369     cygwin* | mingw* | pw32* | cegcc*)
10370       # When not using gcc, we currently assume that we are using
10371       # Microsoft Visual C++.
10372       # hardcode_libdir_flag_spec is actually meaningless, as there is
10373       # no search path for DLLs.
10374       hardcode_libdir_flag_spec=' '
10375       allow_undefined_flag=unsupported
10376       # Tell ltmain to make .lib files, not .a files.
10377       libext=lib
10378       # Tell ltmain to make .dll files, not .so files.
10379       shrext_cmds=".dll"
10380       # FIXME: Setting linknames here is a bad hack.
10381       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10382       # The linker will automatically build a .lib file if we build a DLL.
10383       old_archive_from_new_cmds='true'
10384       # FIXME: Should let the user specify the lib program.
10385       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10386       fix_srcfile_path='`cygpath -w "$srcfile"`'
10387       enable_shared_with_static_runtimes=yes
10388       ;;
10389
10390     darwin* | rhapsody*)
10391
10392
10393   archive_cmds_need_lc=no
10394   hardcode_direct=no
10395   hardcode_automatic=yes
10396   hardcode_shlibpath_var=unsupported
10397   if test "$lt_cv_ld_force_load" = "yes"; then
10398     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10399   else
10400     whole_archive_flag_spec=''
10401   fi
10402   link_all_deplibs=yes
10403   allow_undefined_flag="$_lt_dar_allow_undefined"
10404   case $cc_basename in
10405      ifort*) _lt_dar_can_shared=yes ;;
10406      *) _lt_dar_can_shared=$GCC ;;
10407   esac
10408   if test "$_lt_dar_can_shared" = "yes"; then
10409     output_verbose_link_cmd=func_echo_all
10410     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10411     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10412     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}"
10413     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}"
10414
10415   else
10416   ld_shlibs=no
10417   fi
10418
10419       ;;
10420
10421     dgux*)
10422       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10423       hardcode_libdir_flag_spec='-L$libdir'
10424       hardcode_shlibpath_var=no
10425       ;;
10426
10427     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10428     # support.  Future versions do this automatically, but an explicit c++rt0.o
10429     # does not break anything, and helps significantly (at the cost of a little
10430     # extra space).
10431     freebsd2.2*)
10432       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10433       hardcode_libdir_flag_spec='-R$libdir'
10434       hardcode_direct=yes
10435       hardcode_shlibpath_var=no
10436       ;;
10437
10438     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10439     freebsd2.*)
10440       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10441       hardcode_direct=yes
10442       hardcode_minus_L=yes
10443       hardcode_shlibpath_var=no
10444       ;;
10445
10446     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10447     freebsd* | dragonfly*)
10448       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10449       hardcode_libdir_flag_spec='-R$libdir'
10450       hardcode_direct=yes
10451       hardcode_shlibpath_var=no
10452       ;;
10453
10454     hpux9*)
10455       if test "$GCC" = yes; then
10456         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'
10457       else
10458         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'
10459       fi
10460       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10461       hardcode_libdir_separator=:
10462       hardcode_direct=yes
10463
10464       # hardcode_minus_L: Not really in the search PATH,
10465       # but as the default location of the library.
10466       hardcode_minus_L=yes
10467       export_dynamic_flag_spec='${wl}-E'
10468       ;;
10469
10470     hpux10*)
10471       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10472         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10473       else
10474         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10475       fi
10476       if test "$with_gnu_ld" = no; then
10477         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10478         hardcode_libdir_flag_spec_ld='+b $libdir'
10479         hardcode_libdir_separator=:
10480         hardcode_direct=yes
10481         hardcode_direct_absolute=yes
10482         export_dynamic_flag_spec='${wl}-E'
10483         # hardcode_minus_L: Not really in the search PATH,
10484         # but as the default location of the library.
10485         hardcode_minus_L=yes
10486       fi
10487       ;;
10488
10489     hpux11*)
10490       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10491         case $host_cpu in
10492         hppa*64*)
10493           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10494           ;;
10495         ia64*)
10496           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10497           ;;
10498         *)
10499           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10500           ;;
10501         esac
10502       else
10503         case $host_cpu in
10504         hppa*64*)
10505           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10506           ;;
10507         ia64*)
10508           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10509           ;;
10510         *)
10511
10512           # Older versions of the 11.00 compiler do not understand -b yet
10513           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10514           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10515 $as_echo_n "checking if $CC understands -b... " >&6; }
10516 if ${lt_cv_prog_compiler__b+:} false; then :
10517   $as_echo_n "(cached) " >&6
10518 else
10519   lt_cv_prog_compiler__b=no
10520    save_LDFLAGS="$LDFLAGS"
10521    LDFLAGS="$LDFLAGS -b"
10522    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10523    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10524      # The linker can only warn and ignore the option if not recognized
10525      # So say no if there are warnings
10526      if test -s conftest.err; then
10527        # Append any errors to the config.log.
10528        cat conftest.err 1>&5
10529        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10530        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10531        if diff conftest.exp conftest.er2 >/dev/null; then
10532          lt_cv_prog_compiler__b=yes
10533        fi
10534      else
10535        lt_cv_prog_compiler__b=yes
10536      fi
10537    fi
10538    $RM -r conftest*
10539    LDFLAGS="$save_LDFLAGS"
10540
10541 fi
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10543 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10544
10545 if test x"$lt_cv_prog_compiler__b" = xyes; then
10546     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10547 else
10548     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10549 fi
10550
10551           ;;
10552         esac
10553       fi
10554       if test "$with_gnu_ld" = no; then
10555         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10556         hardcode_libdir_separator=:
10557
10558         case $host_cpu in
10559         hppa*64*|ia64*)
10560           hardcode_direct=no
10561           hardcode_shlibpath_var=no
10562           ;;
10563         *)
10564           hardcode_direct=yes
10565           hardcode_direct_absolute=yes
10566           export_dynamic_flag_spec='${wl}-E'
10567
10568           # hardcode_minus_L: Not really in the search PATH,
10569           # but as the default location of the library.
10570           hardcode_minus_L=yes
10571           ;;
10572         esac
10573       fi
10574       ;;
10575
10576     irix5* | irix6* | nonstopux*)
10577       if test "$GCC" = yes; then
10578         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10579         # Try to use the -exported_symbol ld option, if it does not
10580         # work, assume that -exports_file does not work either and
10581         # implicitly export all symbols.
10582         save_LDFLAGS="$LDFLAGS"
10583         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10584         if test x$gcc_no_link = xyes; then
10585   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10586 fi
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h.  */
10589 int foo(void) {}
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10593
10594 fi
10595 rm -f core conftest.err conftest.$ac_objext \
10596     conftest$ac_exeext conftest.$ac_ext
10597         LDFLAGS="$save_LDFLAGS"
10598       else
10599         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10600         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10601       fi
10602       archive_cmds_need_lc='no'
10603       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10604       hardcode_libdir_separator=:
10605       inherit_rpath=yes
10606       link_all_deplibs=yes
10607       ;;
10608
10609     netbsd*)
10610       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10611         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10612       else
10613         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10614       fi
10615       hardcode_libdir_flag_spec='-R$libdir'
10616       hardcode_direct=yes
10617       hardcode_shlibpath_var=no
10618       ;;
10619
10620     newsos6)
10621       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622       hardcode_direct=yes
10623       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10624       hardcode_libdir_separator=:
10625       hardcode_shlibpath_var=no
10626       ;;
10627
10628     *nto* | *qnx*)
10629       ;;
10630
10631     openbsd*)
10632       if test -f /usr/libexec/ld.so; then
10633         hardcode_direct=yes
10634         hardcode_shlibpath_var=no
10635         hardcode_direct_absolute=yes
10636         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10637           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10638           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10639           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10640           export_dynamic_flag_spec='${wl}-E'
10641         else
10642           case $host_os in
10643            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10644              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10645              hardcode_libdir_flag_spec='-R$libdir'
10646              ;;
10647            *)
10648              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10649              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10650              ;;
10651           esac
10652         fi
10653       else
10654         ld_shlibs=no
10655       fi
10656       ;;
10657
10658     os2*)
10659       hardcode_libdir_flag_spec='-L$libdir'
10660       hardcode_minus_L=yes
10661       allow_undefined_flag=unsupported
10662       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'
10663       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10664       ;;
10665
10666     osf3*)
10667       if test "$GCC" = yes; then
10668         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10669         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10670       else
10671         allow_undefined_flag=' -expect_unresolved \*'
10672         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10673       fi
10674       archive_cmds_need_lc='no'
10675       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10676       hardcode_libdir_separator=:
10677       ;;
10678
10679     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10680       if test "$GCC" = yes; then
10681         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10682         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10683         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10684       else
10685         allow_undefined_flag=' -expect_unresolved \*'
10686         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10687         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~
10688         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10689
10690         # Both c and cxx compiler support -rpath directly
10691         hardcode_libdir_flag_spec='-rpath $libdir'
10692       fi
10693       archive_cmds_need_lc='no'
10694       hardcode_libdir_separator=:
10695       ;;
10696
10697     solaris*)
10698       no_undefined_flag=' -z defs'
10699       if test "$GCC" = yes; then
10700         wlarc='${wl}'
10701         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10702         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10703           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10704       else
10705         case `$CC -V 2>&1` in
10706         *"Compilers 5.0"*)
10707           wlarc=''
10708           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10709           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10710           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10711           ;;
10712         *)
10713           wlarc='${wl}'
10714           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10715           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10716           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10717           ;;
10718         esac
10719       fi
10720       hardcode_libdir_flag_spec='-R$libdir'
10721       hardcode_shlibpath_var=no
10722       case $host_os in
10723       solaris2.[0-5] | solaris2.[0-5].*) ;;
10724       *)
10725         # The compiler driver will combine and reorder linker options,
10726         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10727         # but is careful enough not to reorder.
10728         # Supported since Solaris 2.6 (maybe 2.5.1?)
10729         if test "$GCC" = yes; then
10730           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10731         else
10732           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10733         fi
10734         ;;
10735       esac
10736       link_all_deplibs=yes
10737       ;;
10738
10739     sunos4*)
10740       if test "x$host_vendor" = xsequent; then
10741         # Use $CC to link under sequent, because it throws in some extra .o
10742         # files that make .init and .fini sections work.
10743         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10744       else
10745         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10746       fi
10747       hardcode_libdir_flag_spec='-L$libdir'
10748       hardcode_direct=yes
10749       hardcode_minus_L=yes
10750       hardcode_shlibpath_var=no
10751       ;;
10752
10753     sysv4)
10754       case $host_vendor in
10755         sni)
10756           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757           hardcode_direct=yes # is this really true???
10758         ;;
10759         siemens)
10760           ## LD is ld it makes a PLAMLIB
10761           ## CC just makes a GrossModule.
10762           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10763           reload_cmds='$CC -r -o $output$reload_objs'
10764           hardcode_direct=no
10765         ;;
10766         motorola)
10767           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10769         ;;
10770       esac
10771       runpath_var='LD_RUN_PATH'
10772       hardcode_shlibpath_var=no
10773       ;;
10774
10775     sysv4.3*)
10776       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10777       hardcode_shlibpath_var=no
10778       export_dynamic_flag_spec='-Bexport'
10779       ;;
10780
10781     sysv4*MP*)
10782       if test -d /usr/nec; then
10783         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10784         hardcode_shlibpath_var=no
10785         runpath_var=LD_RUN_PATH
10786         hardcode_runpath_var=yes
10787         ld_shlibs=yes
10788       fi
10789       ;;
10790
10791     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10792       no_undefined_flag='${wl}-z,text'
10793       archive_cmds_need_lc=no
10794       hardcode_shlibpath_var=no
10795       runpath_var='LD_RUN_PATH'
10796
10797       if test "$GCC" = yes; then
10798         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10799         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10800       else
10801         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10803       fi
10804       ;;
10805
10806     sysv5* | sco3.2v5* | sco5v6*)
10807       # Note: We can NOT use -z defs as we might desire, because we do not
10808       # link with -lc, and that would cause any symbols used from libc to
10809       # always be unresolved, which means just about no library would
10810       # ever link correctly.  If we're not using GNU ld we use -z text
10811       # though, which does catch some bad symbols but isn't as heavy-handed
10812       # as -z defs.
10813       no_undefined_flag='${wl}-z,text'
10814       allow_undefined_flag='${wl}-z,nodefs'
10815       archive_cmds_need_lc=no
10816       hardcode_shlibpath_var=no
10817       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10818       hardcode_libdir_separator=':'
10819       link_all_deplibs=yes
10820       export_dynamic_flag_spec='${wl}-Bexport'
10821       runpath_var='LD_RUN_PATH'
10822
10823       if test "$GCC" = yes; then
10824         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10825         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10826       else
10827         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10828         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10829       fi
10830       ;;
10831
10832     uts4*)
10833       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10834       hardcode_libdir_flag_spec='-L$libdir'
10835       hardcode_shlibpath_var=no
10836       ;;
10837
10838     *)
10839       ld_shlibs=no
10840       ;;
10841     esac
10842
10843     if test x$host_vendor = xsni; then
10844       case $host in
10845       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10846         export_dynamic_flag_spec='${wl}-Blargedynsym'
10847         ;;
10848       esac
10849     fi
10850   fi
10851
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10853 $as_echo "$ld_shlibs" >&6; }
10854 test "$ld_shlibs" = no && can_build_shared=no
10855
10856 with_gnu_ld=$with_gnu_ld
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872 #
10873 # Do we need to explicitly link libc?
10874 #
10875 case "x$archive_cmds_need_lc" in
10876 x|xyes)
10877   # Assume -lc should be added
10878   archive_cmds_need_lc=yes
10879
10880   if test "$enable_shared" = yes && test "$GCC" = yes; then
10881     case $archive_cmds in
10882     *'~'*)
10883       # FIXME: we may have to deal with multi-command sequences.
10884       ;;
10885     '$CC '*)
10886       # Test whether the compiler implicitly links with -lc since on some
10887       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10888       # to ld, don't add -lc before -lgcc.
10889       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10890 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10891 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10892   $as_echo_n "(cached) " >&6
10893 else
10894   $RM conftest*
10895         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10896
10897         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10898   (eval $ac_compile) 2>&5
10899   ac_status=$?
10900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10901   test $ac_status = 0; } 2>conftest.err; then
10902           soname=conftest
10903           lib=conftest
10904           libobjs=conftest.$ac_objext
10905           deplibs=
10906           wl=$lt_prog_compiler_wl
10907           pic_flag=$lt_prog_compiler_pic
10908           compiler_flags=-v
10909           linker_flags=-v
10910           verstring=
10911           output_objdir=.
10912           libname=conftest
10913           lt_save_allow_undefined_flag=$allow_undefined_flag
10914           allow_undefined_flag=
10915           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10916   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10917   ac_status=$?
10918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10919   test $ac_status = 0; }
10920           then
10921             lt_cv_archive_cmds_need_lc=no
10922           else
10923             lt_cv_archive_cmds_need_lc=yes
10924           fi
10925           allow_undefined_flag=$lt_save_allow_undefined_flag
10926         else
10927           cat conftest.err 1>&5
10928         fi
10929         $RM conftest*
10930
10931 fi
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10933 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10934       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10935       ;;
10936     esac
10937   fi
10938   ;;
10939 esac
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11098 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11099
11100 if test "$GCC" = yes; then
11101   case $host_os in
11102     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11103     *) lt_awk_arg="/^libraries:/" ;;
11104   esac
11105   case $host_os in
11106     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11107     *) lt_sed_strip_eq="s,=/,/,g" ;;
11108   esac
11109   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11110   case $lt_search_path_spec in
11111   *\;*)
11112     # if the path contains ";" then we assume it to be the separator
11113     # otherwise default to the standard path separator (i.e. ":") - it is
11114     # assumed that no part of a normal pathname contains ";" but that should
11115     # okay in the real world where ";" in dirpaths is itself problematic.
11116     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11117     ;;
11118   *)
11119     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11120     ;;
11121   esac
11122   # Ok, now we have the path, separated by spaces, we can step through it
11123   # and add multilib dir if necessary.
11124   lt_tmp_lt_search_path_spec=
11125   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11126   for lt_sys_path in $lt_search_path_spec; do
11127     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11128       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11129     else
11130       test -d "$lt_sys_path" && \
11131         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11132     fi
11133   done
11134   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11135 BEGIN {RS=" "; FS="/|\n";} {
11136   lt_foo="";
11137   lt_count=0;
11138   for (lt_i = NF; lt_i > 0; lt_i--) {
11139     if ($lt_i != "" && $lt_i != ".") {
11140       if ($lt_i == "..") {
11141         lt_count++;
11142       } else {
11143         if (lt_count == 0) {
11144           lt_foo="/" $lt_i lt_foo;
11145         } else {
11146           lt_count--;
11147         }
11148       }
11149     }
11150   }
11151   if (lt_foo != "") { lt_freq[lt_foo]++; }
11152   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11153 }'`
11154   # AWK program above erroneously prepends '/' to C:/dos/paths
11155   # for these hosts.
11156   case $host_os in
11157     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11158       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11159   esac
11160   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11161 else
11162   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11163 fi
11164 library_names_spec=
11165 libname_spec='lib$name'
11166 soname_spec=
11167 shrext_cmds=".so"
11168 postinstall_cmds=
11169 postuninstall_cmds=
11170 finish_cmds=
11171 finish_eval=
11172 shlibpath_var=
11173 shlibpath_overrides_runpath=unknown
11174 version_type=none
11175 dynamic_linker="$host_os ld.so"
11176 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11177 need_lib_prefix=unknown
11178 hardcode_into_libs=no
11179
11180 # when you set need_version to no, make sure it does not cause -set_version
11181 # flags to be left without arguments
11182 need_version=unknown
11183
11184 case $host_os in
11185 aix3*)
11186   version_type=linux
11187   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11188   shlibpath_var=LIBPATH
11189
11190   # AIX 3 has no versioning support, so we append a major version to the name.
11191   soname_spec='${libname}${release}${shared_ext}$major'
11192   ;;
11193
11194 aix[4-9]*)
11195   version_type=linux
11196   need_lib_prefix=no
11197   need_version=no
11198   hardcode_into_libs=yes
11199   if test "$host_cpu" = ia64; then
11200     # AIX 5 supports IA64
11201     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11202     shlibpath_var=LD_LIBRARY_PATH
11203   else
11204     # With GCC up to 2.95.x, collect2 would create an import file
11205     # for dependence libraries.  The import file would start with
11206     # the line `#! .'.  This would cause the generated library to
11207     # depend on `.', always an invalid library.  This was fixed in
11208     # development snapshots of GCC prior to 3.0.
11209     case $host_os in
11210       aix4 | aix4.[01] | aix4.[01].*)
11211       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11212            echo ' yes '
11213            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11214         :
11215       else
11216         can_build_shared=no
11217       fi
11218       ;;
11219     esac
11220     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11221     # soname into executable. Probably we can add versioning support to
11222     # collect2, so additional links can be useful in future.
11223     if test "$aix_use_runtimelinking" = yes; then
11224       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11225       # instead of lib<name>.a to let people know that these are not
11226       # typical AIX shared libraries.
11227       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11228     else
11229       # We preserve .a as extension for shared libraries through AIX4.2
11230       # and later when we are not doing run time linking.
11231       library_names_spec='${libname}${release}.a $libname.a'
11232       soname_spec='${libname}${release}${shared_ext}$major'
11233     fi
11234     shlibpath_var=LIBPATH
11235   fi
11236   ;;
11237
11238 amigaos*)
11239   case $host_cpu in
11240   powerpc)
11241     # Since July 2007 AmigaOS4 officially supports .so libraries.
11242     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11243     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11244     ;;
11245   m68k)
11246     library_names_spec='$libname.ixlibrary $libname.a'
11247     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11248     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11249     ;;
11250   esac
11251   ;;
11252
11253 beos*)
11254   library_names_spec='${libname}${shared_ext}'
11255   dynamic_linker="$host_os ld.so"
11256   shlibpath_var=LIBRARY_PATH
11257   ;;
11258
11259 bsdi[45]*)
11260   version_type=linux
11261   need_version=no
11262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263   soname_spec='${libname}${release}${shared_ext}$major'
11264   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11265   shlibpath_var=LD_LIBRARY_PATH
11266   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11267   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11268   # the default ld.so.conf also contains /usr/contrib/lib and
11269   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11270   # libtool to hard-code these into programs
11271   ;;
11272
11273 cygwin* | mingw* | pw32* | cegcc*)
11274   version_type=windows
11275   shrext_cmds=".dll"
11276   need_version=no
11277   need_lib_prefix=no
11278
11279   case $GCC,$host_os in
11280   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11281     library_names_spec='$libname.dll.a'
11282     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11283     postinstall_cmds='base_file=`basename \${file}`~
11284       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11285       dldir=$destdir/`dirname \$dlpath`~
11286       test -d \$dldir || mkdir -p \$dldir~
11287       $install_prog $dir/$dlname \$dldir/$dlname~
11288       chmod a+x \$dldir/$dlname~
11289       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11290         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11291       fi'
11292     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11293       dlpath=$dir/\$dldll~
11294        $RM \$dlpath'
11295     shlibpath_overrides_runpath=yes
11296
11297     case $host_os in
11298     cygwin*)
11299       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11300       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11301
11302       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11303       ;;
11304     mingw* | cegcc*)
11305       # MinGW DLLs use traditional 'lib' prefix
11306       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11307       ;;
11308     pw32*)
11309       # pw32 DLLs use 'pw' prefix rather than 'lib'
11310       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11311       ;;
11312     esac
11313     ;;
11314
11315   *)
11316     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11317     ;;
11318   esac
11319   dynamic_linker='Win32 ld.exe'
11320   # FIXME: first we should search . and the directory the executable is in
11321   shlibpath_var=PATH
11322   ;;
11323
11324 darwin* | rhapsody*)
11325   dynamic_linker="$host_os dyld"
11326   version_type=darwin
11327   need_lib_prefix=no
11328   need_version=no
11329   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11330   soname_spec='${libname}${release}${major}$shared_ext'
11331   shlibpath_overrides_runpath=yes
11332   shlibpath_var=DYLD_LIBRARY_PATH
11333   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11334
11335   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11336   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11337   ;;
11338
11339 dgux*)
11340   version_type=linux
11341   need_lib_prefix=no
11342   need_version=no
11343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11344   soname_spec='${libname}${release}${shared_ext}$major'
11345   shlibpath_var=LD_LIBRARY_PATH
11346   ;;
11347
11348 freebsd* | dragonfly*)
11349   # DragonFly does not have aout.  When/if they implement a new
11350   # versioning mechanism, adjust this.
11351   if test -x /usr/bin/objformat; then
11352     objformat=`/usr/bin/objformat`
11353   else
11354     case $host_os in
11355     freebsd[23].*) objformat=aout ;;
11356     *) objformat=elf ;;
11357     esac
11358   fi
11359   version_type=freebsd-$objformat
11360   case $version_type in
11361     freebsd-elf*)
11362       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11363       need_version=no
11364       need_lib_prefix=no
11365       ;;
11366     freebsd-*)
11367       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11368       need_version=yes
11369       ;;
11370   esac
11371   shlibpath_var=LD_LIBRARY_PATH
11372   case $host_os in
11373   freebsd2.*)
11374     shlibpath_overrides_runpath=yes
11375     ;;
11376   freebsd3.[01]* | freebsdelf3.[01]*)
11377     shlibpath_overrides_runpath=yes
11378     hardcode_into_libs=yes
11379     ;;
11380   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11381   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11382     shlibpath_overrides_runpath=no
11383     hardcode_into_libs=yes
11384     ;;
11385   *) # from 4.6 on, and DragonFly
11386     shlibpath_overrides_runpath=yes
11387     hardcode_into_libs=yes
11388     ;;
11389   esac
11390   ;;
11391
11392 haiku*)
11393   version_type=linux
11394   need_lib_prefix=no
11395   need_version=no
11396   dynamic_linker="$host_os runtime_loader"
11397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11398   soname_spec='${libname}${release}${shared_ext}$major'
11399   shlibpath_var=LIBRARY_PATH
11400   shlibpath_overrides_runpath=yes
11401   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11402   hardcode_into_libs=yes
11403   ;;
11404
11405 hpux9* | hpux10* | hpux11*)
11406   # Give a soname corresponding to the major version so that dld.sl refuses to
11407   # link against other versions.
11408   version_type=sunos
11409   need_lib_prefix=no
11410   need_version=no
11411   case $host_cpu in
11412   ia64*)
11413     shrext_cmds='.so'
11414     hardcode_into_libs=yes
11415     dynamic_linker="$host_os dld.so"
11416     shlibpath_var=LD_LIBRARY_PATH
11417     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419     soname_spec='${libname}${release}${shared_ext}$major'
11420     if test "X$HPUX_IA64_MODE" = X32; then
11421       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11422     else
11423       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11424     fi
11425     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11426     ;;
11427   hppa*64*)
11428     shrext_cmds='.sl'
11429     hardcode_into_libs=yes
11430     dynamic_linker="$host_os dld.sl"
11431     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11432     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434     soname_spec='${libname}${release}${shared_ext}$major'
11435     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11436     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11437     ;;
11438   *)
11439     shrext_cmds='.sl'
11440     dynamic_linker="$host_os dld.sl"
11441     shlibpath_var=SHLIB_PATH
11442     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11443     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444     soname_spec='${libname}${release}${shared_ext}$major'
11445     ;;
11446   esac
11447   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11448   postinstall_cmds='chmod 555 $lib'
11449   # or fails outright, so override atomically:
11450   install_override_mode=555
11451   ;;
11452
11453 interix[3-9]*)
11454   version_type=linux
11455   need_lib_prefix=no
11456   need_version=no
11457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11458   soname_spec='${libname}${release}${shared_ext}$major'
11459   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11460   shlibpath_var=LD_LIBRARY_PATH
11461   shlibpath_overrides_runpath=no
11462   hardcode_into_libs=yes
11463   ;;
11464
11465 irix5* | irix6* | nonstopux*)
11466   case $host_os in
11467     nonstopux*) version_type=nonstopux ;;
11468     *)
11469         if test "$lt_cv_prog_gnu_ld" = yes; then
11470                 version_type=linux
11471         else
11472                 version_type=irix
11473         fi ;;
11474   esac
11475   need_lib_prefix=no
11476   need_version=no
11477   soname_spec='${libname}${release}${shared_ext}$major'
11478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11479   case $host_os in
11480   irix5* | nonstopux*)
11481     libsuff= shlibsuff=
11482     ;;
11483   *)
11484     case $LD in # libtool.m4 will add one of these switches to LD
11485     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11486       libsuff= shlibsuff= libmagic=32-bit;;
11487     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11488       libsuff=32 shlibsuff=N32 libmagic=N32;;
11489     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11490       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11491     *) libsuff= shlibsuff= libmagic=never-match;;
11492     esac
11493     ;;
11494   esac
11495   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11496   shlibpath_overrides_runpath=no
11497   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11498   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11499   hardcode_into_libs=yes
11500   ;;
11501
11502 # No shared lib support for Linux oldld, aout, or coff.
11503 linux*oldld* | linux*aout* | linux*coff*)
11504   dynamic_linker=no
11505   ;;
11506
11507 # This must be Linux ELF.
11508
11509 # uclinux* changes (here and below) have been submitted to the libtool
11510 # project, but have not yet been accepted: they are GCC-local changes
11511 # for the time being.  (See
11512 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11513 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11514   version_type=linux
11515   need_lib_prefix=no
11516   need_version=no
11517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518   soname_spec='${libname}${release}${shared_ext}$major'
11519   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11520   shlibpath_var=LD_LIBRARY_PATH
11521   shlibpath_overrides_runpath=no
11522
11523   # Some binutils ld are patched to set DT_RUNPATH
11524   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11525   $as_echo_n "(cached) " >&6
11526 else
11527   lt_cv_shlibpath_overrides_runpath=no
11528     save_LDFLAGS=$LDFLAGS
11529     save_libdir=$libdir
11530     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11531          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11532     if test x$gcc_no_link = xyes; then
11533   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11534 fi
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h.  */
11537
11538 int
11539 main ()
11540 {
11541
11542   ;
11543   return 0;
11544 }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"; then :
11547   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11548   lt_cv_shlibpath_overrides_runpath=yes
11549 fi
11550 fi
11551 rm -f core conftest.err conftest.$ac_objext \
11552     conftest$ac_exeext conftest.$ac_ext
11553     LDFLAGS=$save_LDFLAGS
11554     libdir=$save_libdir
11555
11556 fi
11557
11558   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11559
11560   # This implies no fast_install, which is unacceptable.
11561   # Some rework will be needed to allow for fast_install
11562   # before this can be enabled.
11563   hardcode_into_libs=yes
11564
11565   # Append ld.so.conf contents to the search path
11566   if test -f /etc/ld.so.conf; then
11567     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;s/"//g;/^$/d' | tr '\n' ' '`
11568     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11569   fi
11570
11571   # We used to test for /lib/ld.so.1 and disable shared libraries on
11572   # powerpc, because MkLinux only supported shared libraries with the
11573   # GNU dynamic linker.  Since this was broken with cross compilers,
11574   # most powerpc-linux boxes support dynamic linking these days and
11575   # people can always --disable-shared, the test was removed, and we
11576   # assume the GNU/Linux dynamic linker is in use.
11577   dynamic_linker='GNU/Linux ld.so'
11578   ;;
11579
11580 netbsd*)
11581   version_type=sunos
11582   need_lib_prefix=no
11583   need_version=no
11584   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11586     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11587     dynamic_linker='NetBSD (a.out) ld.so'
11588   else
11589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11590     soname_spec='${libname}${release}${shared_ext}$major'
11591     dynamic_linker='NetBSD ld.elf_so'
11592   fi
11593   shlibpath_var=LD_LIBRARY_PATH
11594   shlibpath_overrides_runpath=yes
11595   hardcode_into_libs=yes
11596   ;;
11597
11598 newsos6)
11599   version_type=linux
11600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11601   shlibpath_var=LD_LIBRARY_PATH
11602   shlibpath_overrides_runpath=yes
11603   ;;
11604
11605 *nto* | *qnx*)
11606   version_type=qnx
11607   need_lib_prefix=no
11608   need_version=no
11609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11610   soname_spec='${libname}${release}${shared_ext}$major'
11611   shlibpath_var=LD_LIBRARY_PATH
11612   shlibpath_overrides_runpath=no
11613   hardcode_into_libs=yes
11614   dynamic_linker='ldqnx.so'
11615   ;;
11616
11617 openbsd*)
11618   version_type=sunos
11619   sys_lib_dlsearch_path_spec="/usr/lib"
11620   need_lib_prefix=no
11621   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11622   case $host_os in
11623     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11624     *)                          need_version=no  ;;
11625   esac
11626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11627   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11628   shlibpath_var=LD_LIBRARY_PATH
11629   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11630     case $host_os in
11631       openbsd2.[89] | openbsd2.[89].*)
11632         shlibpath_overrides_runpath=no
11633         ;;
11634       *)
11635         shlibpath_overrides_runpath=yes
11636         ;;
11637       esac
11638   else
11639     shlibpath_overrides_runpath=yes
11640   fi
11641   ;;
11642
11643 os2*)
11644   libname_spec='$name'
11645   shrext_cmds=".dll"
11646   need_lib_prefix=no
11647   library_names_spec='$libname${shared_ext} $libname.a'
11648   dynamic_linker='OS/2 ld.exe'
11649   shlibpath_var=LIBPATH
11650   ;;
11651
11652 osf3* | osf4* | osf5*)
11653   version_type=osf
11654   need_lib_prefix=no
11655   need_version=no
11656   soname_spec='${libname}${release}${shared_ext}$major'
11657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658   shlibpath_var=LD_LIBRARY_PATH
11659   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11660   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11661   ;;
11662
11663 rdos*)
11664   dynamic_linker=no
11665   ;;
11666
11667 solaris*)
11668   version_type=linux
11669   need_lib_prefix=no
11670   need_version=no
11671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672   soname_spec='${libname}${release}${shared_ext}$major'
11673   shlibpath_var=LD_LIBRARY_PATH
11674   shlibpath_overrides_runpath=yes
11675   hardcode_into_libs=yes
11676   # ldd complains unless libraries are executable
11677   postinstall_cmds='chmod +x $lib'
11678   ;;
11679
11680 sunos4*)
11681   version_type=sunos
11682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11683   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11684   shlibpath_var=LD_LIBRARY_PATH
11685   shlibpath_overrides_runpath=yes
11686   if test "$with_gnu_ld" = yes; then
11687     need_lib_prefix=no
11688   fi
11689   need_version=yes
11690   ;;
11691
11692 sysv4 | sysv4.3*)
11693   version_type=linux
11694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695   soname_spec='${libname}${release}${shared_ext}$major'
11696   shlibpath_var=LD_LIBRARY_PATH
11697   case $host_vendor in
11698     sni)
11699       shlibpath_overrides_runpath=no
11700       need_lib_prefix=no
11701       runpath_var=LD_RUN_PATH
11702       ;;
11703     siemens)
11704       need_lib_prefix=no
11705       ;;
11706     motorola)
11707       need_lib_prefix=no
11708       need_version=no
11709       shlibpath_overrides_runpath=no
11710       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11711       ;;
11712   esac
11713   ;;
11714
11715 sysv4*MP*)
11716   if test -d /usr/nec ;then
11717     version_type=linux
11718     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11719     soname_spec='$libname${shared_ext}.$major'
11720     shlibpath_var=LD_LIBRARY_PATH
11721   fi
11722   ;;
11723
11724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11725   version_type=freebsd-elf
11726   need_lib_prefix=no
11727   need_version=no
11728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11729   soname_spec='${libname}${release}${shared_ext}$major'
11730   shlibpath_var=LD_LIBRARY_PATH
11731   shlibpath_overrides_runpath=yes
11732   hardcode_into_libs=yes
11733   if test "$with_gnu_ld" = yes; then
11734     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11735   else
11736     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11737     case $host_os in
11738       sco3.2v5*)
11739         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11740         ;;
11741     esac
11742   fi
11743   sys_lib_dlsearch_path_spec='/usr/lib'
11744   ;;
11745
11746 tpf*)
11747   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11748   version_type=linux
11749   need_lib_prefix=no
11750   need_version=no
11751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11752   shlibpath_var=LD_LIBRARY_PATH
11753   shlibpath_overrides_runpath=no
11754   hardcode_into_libs=yes
11755   ;;
11756
11757 uts4*)
11758   version_type=linux
11759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11760   soname_spec='${libname}${release}${shared_ext}$major'
11761   shlibpath_var=LD_LIBRARY_PATH
11762   ;;
11763
11764 # Shared libraries for VwWorks, >= 7 only at this stage
11765 # and (fpic) still incompatible with "large" code models
11766 # in a few configurations. Only for RTP mode in any case,
11767 # and upon explicit request at configure time.
11768 vxworks7*)
11769   dynamic_linker=no
11770   case ${with_multisubdir}-${enable_shared} in
11771     *large*)
11772       ;;
11773     *mrtp*-yes)
11774       version_type=linux
11775       need_lib_prefix=no
11776       need_version=no
11777       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778       soname_spec='${libname}${release}${shared_ext}$major'
11779       dynamic_linker="$host_os module_loader"
11780       ;;
11781   esac
11782   ;;
11783 *)
11784   dynamic_linker=no
11785   ;;
11786 esac
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11788 $as_echo "$dynamic_linker" >&6; }
11789 test "$dynamic_linker" = no && can_build_shared=no
11790
11791 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11792 if test "$GCC" = yes; then
11793   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11794 fi
11795
11796 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11797   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11798 fi
11799 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11800   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11801 fi
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11895 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11896 hardcode_action=
11897 if test -n "$hardcode_libdir_flag_spec" ||
11898    test -n "$runpath_var" ||
11899    test "X$hardcode_automatic" = "Xyes" ; then
11900
11901   # We can hardcode non-existent directories.
11902   if test "$hardcode_direct" != no &&
11903      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11904      # have to relink, otherwise we might link with an installed library
11905      # when we should be linking with a yet-to-be-installed one
11906      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11907      test "$hardcode_minus_L" != no; then
11908     # Linking always hardcodes the temporary library directory.
11909     hardcode_action=relink
11910   else
11911     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11912     hardcode_action=immediate
11913   fi
11914 else
11915   # We cannot hardcode anything, or else we can only hardcode existing
11916   # directories.
11917   hardcode_action=unsupported
11918 fi
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11920 $as_echo "$hardcode_action" >&6; }
11921
11922 if test "$hardcode_action" = relink ||
11923    test "$inherit_rpath" = yes; then
11924   # Fast installation is not supported
11925   enable_fast_install=no
11926 elif test "$shlibpath_overrides_runpath" = yes ||
11927      test "$enable_shared" = no; then
11928   # Fast installation is not necessary
11929   enable_fast_install=needless
11930 fi
11931
11932
11933
11934
11935
11936
11937   if test "x$enable_dlopen" != xyes; then
11938   enable_dlopen=unknown
11939   enable_dlopen_self=unknown
11940   enable_dlopen_self_static=unknown
11941 else
11942   lt_cv_dlopen=no
11943   lt_cv_dlopen_libs=
11944
11945   case $host_os in
11946   beos*)
11947     lt_cv_dlopen="load_add_on"
11948     lt_cv_dlopen_libs=
11949     lt_cv_dlopen_self=yes
11950     ;;
11951
11952   mingw* | pw32* | cegcc*)
11953     lt_cv_dlopen="LoadLibrary"
11954     lt_cv_dlopen_libs=
11955     ;;
11956
11957   cygwin*)
11958     lt_cv_dlopen="dlopen"
11959     lt_cv_dlopen_libs=
11960     ;;
11961
11962   darwin*)
11963   # if libdl is installed we need to link against it
11964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11965 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11966 if ${ac_cv_lib_dl_dlopen+:} false; then :
11967   $as_echo_n "(cached) " >&6
11968 else
11969   ac_check_lib_save_LIBS=$LIBS
11970 LIBS="-ldl  $LIBS"
11971 if test x$gcc_no_link = xyes; then
11972   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11973 fi
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h.  */
11976
11977 /* Override any GCC internal prototype to avoid an error.
11978    Use char because int might match the return type of a GCC
11979    builtin and then its argument prototype would still apply.  */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char dlopen ();
11984 int
11985 main ()
11986 {
11987 return dlopen ();
11988   ;
11989   return 0;
11990 }
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993   ac_cv_lib_dl_dlopen=yes
11994 else
11995   ac_cv_lib_dl_dlopen=no
11996 fi
11997 rm -f core conftest.err conftest.$ac_objext \
11998     conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12000 fi
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12002 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12003 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12004   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12005 else
12006
12007     lt_cv_dlopen="dyld"
12008     lt_cv_dlopen_libs=
12009     lt_cv_dlopen_self=yes
12010
12011 fi
12012
12013     ;;
12014
12015   *)
12016     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12017 if test "x$ac_cv_func_shl_load" = xyes; then :
12018   lt_cv_dlopen="shl_load"
12019 else
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12021 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12022 if ${ac_cv_lib_dld_shl_load+:} false; then :
12023   $as_echo_n "(cached) " >&6
12024 else
12025   ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-ldld  $LIBS"
12027 if test x$gcc_no_link = xyes; then
12028   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12029 fi
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h.  */
12032
12033 /* Override any GCC internal prototype to avoid an error.
12034    Use char because int might match the return type of a GCC
12035    builtin and then its argument prototype would still apply.  */
12036 #ifdef __cplusplus
12037 extern "C"
12038 #endif
12039 char shl_load ();
12040 int
12041 main ()
12042 {
12043 return shl_load ();
12044   ;
12045   return 0;
12046 }
12047 _ACEOF
12048 if ac_fn_c_try_link "$LINENO"; then :
12049   ac_cv_lib_dld_shl_load=yes
12050 else
12051   ac_cv_lib_dld_shl_load=no
12052 fi
12053 rm -f core conftest.err conftest.$ac_objext \
12054     conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12056 fi
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12058 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12059 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12060   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12061 else
12062   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12063 if test "x$ac_cv_func_dlopen" = xyes; then :
12064   lt_cv_dlopen="dlopen"
12065 else
12066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12067 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12068 if ${ac_cv_lib_dl_dlopen+:} false; then :
12069   $as_echo_n "(cached) " >&6
12070 else
12071   ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-ldl  $LIBS"
12073 if test x$gcc_no_link = xyes; then
12074   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12075 fi
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h.  */
12078
12079 /* Override any GCC internal prototype to avoid an error.
12080    Use char because int might match the return type of a GCC
12081    builtin and then its argument prototype would still apply.  */
12082 #ifdef __cplusplus
12083 extern "C"
12084 #endif
12085 char dlopen ();
12086 int
12087 main ()
12088 {
12089 return dlopen ();
12090   ;
12091   return 0;
12092 }
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"; then :
12095   ac_cv_lib_dl_dlopen=yes
12096 else
12097   ac_cv_lib_dl_dlopen=no
12098 fi
12099 rm -f core conftest.err conftest.$ac_objext \
12100     conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_lib_save_LIBS
12102 fi
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12104 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12105 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12106   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12107 else
12108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12109 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12110 if ${ac_cv_lib_svld_dlopen+:} false; then :
12111   $as_echo_n "(cached) " >&6
12112 else
12113   ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lsvld  $LIBS"
12115 if test x$gcc_no_link = xyes; then
12116   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12117 fi
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h.  */
12120
12121 /* Override any GCC internal prototype to avoid an error.
12122    Use char because int might match the return type of a GCC
12123    builtin and then its argument prototype would still apply.  */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char dlopen ();
12128 int
12129 main ()
12130 {
12131 return dlopen ();
12132   ;
12133   return 0;
12134 }
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137   ac_cv_lib_svld_dlopen=yes
12138 else
12139   ac_cv_lib_svld_dlopen=no
12140 fi
12141 rm -f core conftest.err conftest.$ac_objext \
12142     conftest$ac_exeext conftest.$ac_ext
12143 LIBS=$ac_check_lib_save_LIBS
12144 fi
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12146 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12147 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12148   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12149 else
12150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12151 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12152 if ${ac_cv_lib_dld_dld_link+:} false; then :
12153   $as_echo_n "(cached) " >&6
12154 else
12155   ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-ldld  $LIBS"
12157 if test x$gcc_no_link = xyes; then
12158   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12159 fi
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h.  */
12162
12163 /* Override any GCC internal prototype to avoid an error.
12164    Use char because int might match the return type of a GCC
12165    builtin and then its argument prototype would still apply.  */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char dld_link ();
12170 int
12171 main ()
12172 {
12173 return dld_link ();
12174   ;
12175   return 0;
12176 }
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179   ac_cv_lib_dld_dld_link=yes
12180 else
12181   ac_cv_lib_dld_dld_link=no
12182 fi
12183 rm -f core conftest.err conftest.$ac_objext \
12184     conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12186 fi
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12188 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12189 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12190   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12191 fi
12192
12193
12194 fi
12195
12196
12197 fi
12198
12199
12200 fi
12201
12202
12203 fi
12204
12205
12206 fi
12207
12208     ;;
12209   esac
12210
12211   if test "x$lt_cv_dlopen" != xno; then
12212     enable_dlopen=yes
12213   else
12214     enable_dlopen=no
12215   fi
12216
12217   case $lt_cv_dlopen in
12218   dlopen)
12219     save_CPPFLAGS="$CPPFLAGS"
12220     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12221
12222     save_LDFLAGS="$LDFLAGS"
12223     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12224
12225     save_LIBS="$LIBS"
12226     LIBS="$lt_cv_dlopen_libs $LIBS"
12227
12228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12229 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12230 if ${lt_cv_dlopen_self+:} false; then :
12231   $as_echo_n "(cached) " >&6
12232 else
12233           if test "$cross_compiling" = yes; then :
12234   lt_cv_dlopen_self=cross
12235 else
12236   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12237   lt_status=$lt_dlunknown
12238   cat > conftest.$ac_ext <<_LT_EOF
12239 #line 12239 "configure"
12240 #include "confdefs.h"
12241
12242 #if HAVE_DLFCN_H
12243 #include <dlfcn.h>
12244 #endif
12245
12246 #include <stdio.h>
12247
12248 #ifdef RTLD_GLOBAL
12249 #  define LT_DLGLOBAL           RTLD_GLOBAL
12250 #else
12251 #  ifdef DL_GLOBAL
12252 #    define LT_DLGLOBAL         DL_GLOBAL
12253 #  else
12254 #    define LT_DLGLOBAL         0
12255 #  endif
12256 #endif
12257
12258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12259    find out it does not work in some platform. */
12260 #ifndef LT_DLLAZY_OR_NOW
12261 #  ifdef RTLD_LAZY
12262 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12263 #  else
12264 #    ifdef DL_LAZY
12265 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12266 #    else
12267 #      ifdef RTLD_NOW
12268 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12269 #      else
12270 #        ifdef DL_NOW
12271 #          define LT_DLLAZY_OR_NOW      DL_NOW
12272 #        else
12273 #          define LT_DLLAZY_OR_NOW      0
12274 #        endif
12275 #      endif
12276 #    endif
12277 #  endif
12278 #endif
12279
12280 /* When -fvisbility=hidden is used, assume the code has been annotated
12281    correspondingly for the symbols needed.  */
12282 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12283 void fnord () __attribute__((visibility("default")));
12284 #endif
12285
12286 void fnord () { int i=42; }
12287 int main ()
12288 {
12289   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290   int status = $lt_dlunknown;
12291
12292   if (self)
12293     {
12294       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12295       else
12296         {
12297           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12298           else puts (dlerror ());
12299         }
12300       /* dlclose (self); */
12301     }
12302   else
12303     puts (dlerror ());
12304
12305   return status;
12306 }
12307 _LT_EOF
12308   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12309   (eval $ac_link) 2>&5
12310   ac_status=$?
12311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12312   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12313     (./conftest; exit; ) >&5 2>/dev/null
12314     lt_status=$?
12315     case x$lt_status in
12316       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12317       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12318       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12319     esac
12320   else :
12321     # compilation failed
12322     lt_cv_dlopen_self=no
12323   fi
12324 fi
12325 rm -fr conftest*
12326
12327
12328 fi
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12330 $as_echo "$lt_cv_dlopen_self" >&6; }
12331
12332     if test "x$lt_cv_dlopen_self" = xyes; then
12333       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12334       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12335 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12336 if ${lt_cv_dlopen_self_static+:} false; then :
12337   $as_echo_n "(cached) " >&6
12338 else
12339           if test "$cross_compiling" = yes; then :
12340   lt_cv_dlopen_self_static=cross
12341 else
12342   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12343   lt_status=$lt_dlunknown
12344   cat > conftest.$ac_ext <<_LT_EOF
12345 #line 12345 "configure"
12346 #include "confdefs.h"
12347
12348 #if HAVE_DLFCN_H
12349 #include <dlfcn.h>
12350 #endif
12351
12352 #include <stdio.h>
12353
12354 #ifdef RTLD_GLOBAL
12355 #  define LT_DLGLOBAL           RTLD_GLOBAL
12356 #else
12357 #  ifdef DL_GLOBAL
12358 #    define LT_DLGLOBAL         DL_GLOBAL
12359 #  else
12360 #    define LT_DLGLOBAL         0
12361 #  endif
12362 #endif
12363
12364 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12365    find out it does not work in some platform. */
12366 #ifndef LT_DLLAZY_OR_NOW
12367 #  ifdef RTLD_LAZY
12368 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12369 #  else
12370 #    ifdef DL_LAZY
12371 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12372 #    else
12373 #      ifdef RTLD_NOW
12374 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12375 #      else
12376 #        ifdef DL_NOW
12377 #          define LT_DLLAZY_OR_NOW      DL_NOW
12378 #        else
12379 #          define LT_DLLAZY_OR_NOW      0
12380 #        endif
12381 #      endif
12382 #    endif
12383 #  endif
12384 #endif
12385
12386 /* When -fvisbility=hidden is used, assume the code has been annotated
12387    correspondingly for the symbols needed.  */
12388 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12389 void fnord () __attribute__((visibility("default")));
12390 #endif
12391
12392 void fnord () { int i=42; }
12393 int main ()
12394 {
12395   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12396   int status = $lt_dlunknown;
12397
12398   if (self)
12399     {
12400       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12401       else
12402         {
12403           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12404           else puts (dlerror ());
12405         }
12406       /* dlclose (self); */
12407     }
12408   else
12409     puts (dlerror ());
12410
12411   return status;
12412 }
12413 _LT_EOF
12414   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12415   (eval $ac_link) 2>&5
12416   ac_status=$?
12417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12419     (./conftest; exit; ) >&5 2>/dev/null
12420     lt_status=$?
12421     case x$lt_status in
12422       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12423       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12424       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12425     esac
12426   else :
12427     # compilation failed
12428     lt_cv_dlopen_self_static=no
12429   fi
12430 fi
12431 rm -fr conftest*
12432
12433
12434 fi
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12436 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12437     fi
12438
12439     CPPFLAGS="$save_CPPFLAGS"
12440     LDFLAGS="$save_LDFLAGS"
12441     LIBS="$save_LIBS"
12442     ;;
12443   esac
12444
12445   case $lt_cv_dlopen_self in
12446   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12447   *) enable_dlopen_self=unknown ;;
12448   esac
12449
12450   case $lt_cv_dlopen_self_static in
12451   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12452   *) enable_dlopen_self_static=unknown ;;
12453   esac
12454 fi
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472 striplib=
12473 old_striplib=
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12475 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12476 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12477   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12478   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12480 $as_echo "yes" >&6; }
12481 else
12482 # FIXME - insert some real tests, host_os isn't really good enough
12483   case $host_os in
12484   darwin*)
12485     if test -n "$STRIP" ; then
12486       striplib="$STRIP -x"
12487       old_striplib="$STRIP -S"
12488       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12489 $as_echo "yes" >&6; }
12490     else
12491       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12493     fi
12494     ;;
12495   *)
12496     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12498     ;;
12499   esac
12500 fi
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513   # Report which library types will actually be built
12514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12515 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12517 $as_echo "$can_build_shared" >&6; }
12518
12519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12520 $as_echo_n "checking whether to build shared libraries... " >&6; }
12521   test "$can_build_shared" = "no" && enable_shared=no
12522
12523   # On AIX, shared libraries and static libraries use the same namespace, and
12524   # are all built from PIC.
12525   case $host_os in
12526   aix3*)
12527     test "$enable_shared" = yes && enable_static=no
12528     if test -n "$RANLIB"; then
12529       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12530       postinstall_cmds='$RANLIB $lib'
12531     fi
12532     ;;
12533
12534   aix[4-9]*)
12535     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12536       test "$enable_shared" = yes && enable_static=no
12537     fi
12538     ;;
12539   esac
12540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12541 $as_echo "$enable_shared" >&6; }
12542
12543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12544 $as_echo_n "checking whether to build static libraries... " >&6; }
12545   # Make sure either enable_shared or enable_static is yes.
12546   test "$enable_shared" = yes || enable_static=yes
12547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12548 $as_echo "$enable_static" >&6; }
12549
12550
12551
12552
12553 fi
12554 ac_ext=c
12555 ac_cpp='$CPP $CPPFLAGS'
12556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12559
12560 CC="$lt_save_CC"
12561
12562       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12563     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12564     (test "X$CXX" != "Xg++"))) ; then
12565   ac_ext=cpp
12566 ac_cpp='$CXXCPP $CPPFLAGS'
12567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12571 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12572 if test -z "$CXXCPP"; then
12573   if ${ac_cv_prog_CXXCPP+:} false; then :
12574   $as_echo_n "(cached) " >&6
12575 else
12576       # Double quotes because CXXCPP needs to be expanded
12577     for CXXCPP in "$CXX -E" "/lib/cpp"
12578     do
12579       ac_preproc_ok=false
12580 for ac_cxx_preproc_warn_flag in '' yes
12581 do
12582   # Use a header file that comes with gcc, so configuring glibc
12583   # with a fresh cross-compiler works.
12584   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12585   # <limits.h> exists even on freestanding compilers.
12586   # On the NeXT, cc -E runs the code through the compiler's parser,
12587   # not just through cpp. "Syntax error" is here to catch this case.
12588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h.  */
12590 #ifdef __STDC__
12591 # include <limits.h>
12592 #else
12593 # include <assert.h>
12594 #endif
12595                      Syntax error
12596 _ACEOF
12597 if ac_fn_cxx_try_cpp "$LINENO"; then :
12598
12599 else
12600   # Broken: fails on valid input.
12601 continue
12602 fi
12603 rm -f conftest.err conftest.i conftest.$ac_ext
12604
12605   # OK, works on sane cases.  Now check whether nonexistent headers
12606   # can be detected and how.
12607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h.  */
12609 #include <ac_nonexistent.h>
12610 _ACEOF
12611 if ac_fn_cxx_try_cpp "$LINENO"; then :
12612   # Broken: success on invalid input.
12613 continue
12614 else
12615   # Passes both tests.
12616 ac_preproc_ok=:
12617 break
12618 fi
12619 rm -f conftest.err conftest.i conftest.$ac_ext
12620
12621 done
12622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12623 rm -f conftest.i conftest.err conftest.$ac_ext
12624 if $ac_preproc_ok; then :
12625   break
12626 fi
12627
12628     done
12629     ac_cv_prog_CXXCPP=$CXXCPP
12630
12631 fi
12632   CXXCPP=$ac_cv_prog_CXXCPP
12633 else
12634   ac_cv_prog_CXXCPP=$CXXCPP
12635 fi
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12637 $as_echo "$CXXCPP" >&6; }
12638 ac_preproc_ok=false
12639 for ac_cxx_preproc_warn_flag in '' yes
12640 do
12641   # Use a header file that comes with gcc, so configuring glibc
12642   # with a fresh cross-compiler works.
12643   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12644   # <limits.h> exists even on freestanding compilers.
12645   # On the NeXT, cc -E runs the code through the compiler's parser,
12646   # not just through cpp. "Syntax error" is here to catch this case.
12647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h.  */
12649 #ifdef __STDC__
12650 # include <limits.h>
12651 #else
12652 # include <assert.h>
12653 #endif
12654                      Syntax error
12655 _ACEOF
12656 if ac_fn_cxx_try_cpp "$LINENO"; then :
12657
12658 else
12659   # Broken: fails on valid input.
12660 continue
12661 fi
12662 rm -f conftest.err conftest.i conftest.$ac_ext
12663
12664   # OK, works on sane cases.  Now check whether nonexistent headers
12665   # can be detected and how.
12666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h.  */
12668 #include <ac_nonexistent.h>
12669 _ACEOF
12670 if ac_fn_cxx_try_cpp "$LINENO"; then :
12671   # Broken: success on invalid input.
12672 continue
12673 else
12674   # Passes both tests.
12675 ac_preproc_ok=:
12676 break
12677 fi
12678 rm -f conftest.err conftest.i conftest.$ac_ext
12679
12680 done
12681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12682 rm -f conftest.i conftest.err conftest.$ac_ext
12683 if $ac_preproc_ok; then :
12684
12685 else
12686   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12688 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12689 See \`config.log' for more details" "$LINENO" 5; }
12690 fi
12691
12692 ac_ext=c
12693 ac_cpp='$CPP $CPPFLAGS'
12694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12697
12698 else
12699   _lt_caught_CXX_error=yes
12700 fi
12701
12702 ac_ext=cpp
12703 ac_cpp='$CXXCPP $CPPFLAGS'
12704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12707
12708 archive_cmds_need_lc_CXX=no
12709 allow_undefined_flag_CXX=
12710 always_export_symbols_CXX=no
12711 archive_expsym_cmds_CXX=
12712 compiler_needs_object_CXX=no
12713 export_dynamic_flag_spec_CXX=
12714 hardcode_direct_CXX=no
12715 hardcode_direct_absolute_CXX=no
12716 hardcode_libdir_flag_spec_CXX=
12717 hardcode_libdir_flag_spec_ld_CXX=
12718 hardcode_libdir_separator_CXX=
12719 hardcode_minus_L_CXX=no
12720 hardcode_shlibpath_var_CXX=unsupported
12721 hardcode_automatic_CXX=no
12722 inherit_rpath_CXX=no
12723 module_cmds_CXX=
12724 module_expsym_cmds_CXX=
12725 link_all_deplibs_CXX=unknown
12726 old_archive_cmds_CXX=$old_archive_cmds
12727 reload_flag_CXX=$reload_flag
12728 reload_cmds_CXX=$reload_cmds
12729 no_undefined_flag_CXX=
12730 whole_archive_flag_spec_CXX=
12731 enable_shared_with_static_runtimes_CXX=no
12732
12733 # Source file extension for C++ test sources.
12734 ac_ext=cpp
12735
12736 # Object file extension for compiled C++ test sources.
12737 objext=o
12738 objext_CXX=$objext
12739
12740 # No sense in running all these tests if we already determined that
12741 # the CXX compiler isn't working.  Some variables (like enable_shared)
12742 # are currently assumed to apply to all compilers on this platform,
12743 # and will be corrupted by setting them based on a non-working compiler.
12744 if test "$_lt_caught_CXX_error" != yes; then
12745   # Code to be used in simple compile tests
12746   lt_simple_compile_test_code="int some_variable = 0;"
12747
12748   # Code to be used in simple link tests
12749   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12750
12751   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12752
12753
12754
12755
12756
12757
12758 # If no C compiler was specified, use CC.
12759 LTCC=${LTCC-"$CC"}
12760
12761 # If no C compiler flags were specified, use CFLAGS.
12762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12763
12764 # Allow CC to be a program name with arguments.
12765 compiler=$CC
12766
12767
12768   # save warnings/boilerplate of simple test code
12769   ac_outfile=conftest.$ac_objext
12770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12772 _lt_compiler_boilerplate=`cat conftest.err`
12773 $RM conftest*
12774
12775   ac_outfile=conftest.$ac_objext
12776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12778 _lt_linker_boilerplate=`cat conftest.err`
12779 $RM -r conftest*
12780
12781
12782   # Allow CC to be a program name with arguments.
12783   lt_save_CC=$CC
12784   lt_save_LD=$LD
12785   lt_save_GCC=$GCC
12786   GCC=$GXX
12787   lt_save_with_gnu_ld=$with_gnu_ld
12788   lt_save_path_LD=$lt_cv_path_LD
12789   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12790     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12791   else
12792     $as_unset lt_cv_prog_gnu_ld
12793   fi
12794   if test -n "${lt_cv_path_LDCXX+set}"; then
12795     lt_cv_path_LD=$lt_cv_path_LDCXX
12796   else
12797     $as_unset lt_cv_path_LD
12798   fi
12799   test -z "${LDCXX+set}" || LD=$LDCXX
12800   CC=${CXX-"c++"}
12801   compiler=$CC
12802   compiler_CXX=$CC
12803   for cc_temp in $compiler""; do
12804   case $cc_temp in
12805     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12806     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12807     \-*) ;;
12808     *) break;;
12809   esac
12810 done
12811 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12812
12813
12814   if test -n "$compiler"; then
12815     # We don't want -fno-exception when compiling C++ code, so set the
12816     # no_builtin_flag separately
12817     if test "$GXX" = yes; then
12818       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12819     else
12820       lt_prog_compiler_no_builtin_flag_CXX=
12821     fi
12822
12823     if test "$GXX" = yes; then
12824       # Set up default GNU C++ configuration
12825
12826
12827
12828 # Check whether --with-gnu-ld was given.
12829 if test "${with_gnu_ld+set}" = set; then :
12830   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12831 else
12832   with_gnu_ld=no
12833 fi
12834
12835 ac_prog=ld
12836 if test "$GCC" = yes; then
12837   # Check if gcc -print-prog-name=ld gives a path.
12838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12839 $as_echo_n "checking for ld used by $CC... " >&6; }
12840   case $host in
12841   *-*-mingw*)
12842     # gcc leaves a trailing carriage return which upsets mingw
12843     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12844   *)
12845     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12846   esac
12847   case $ac_prog in
12848     # Accept absolute paths.
12849     [\\/]* | ?:[\\/]*)
12850       re_direlt='/[^/][^/]*/\.\./'
12851       # Canonicalize the pathname of ld
12852       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12853       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12854         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12855       done
12856       test -z "$LD" && LD="$ac_prog"
12857       ;;
12858   "")
12859     # If it fails, then pretend we aren't using GCC.
12860     ac_prog=ld
12861     ;;
12862   *)
12863     # If it is relative, then search for the first ld in PATH.
12864     with_gnu_ld=unknown
12865     ;;
12866   esac
12867 elif test "$with_gnu_ld" = yes; then
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12869 $as_echo_n "checking for GNU ld... " >&6; }
12870 else
12871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12872 $as_echo_n "checking for non-GNU ld... " >&6; }
12873 fi
12874 if ${lt_cv_path_LD+:} false; then :
12875   $as_echo_n "(cached) " >&6
12876 else
12877   if test -z "$LD"; then
12878   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12879   for ac_dir in $PATH; do
12880     IFS="$lt_save_ifs"
12881     test -z "$ac_dir" && ac_dir=.
12882     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12883       lt_cv_path_LD="$ac_dir/$ac_prog"
12884       # Check to see if the program is GNU ld.  I'd rather use --version,
12885       # but apparently some variants of GNU ld only accept -v.
12886       # Break only if it was the GNU/non-GNU ld that we prefer.
12887       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12888       *GNU* | *'with BFD'*)
12889         test "$with_gnu_ld" != no && break
12890         ;;
12891       *)
12892         test "$with_gnu_ld" != yes && break
12893         ;;
12894       esac
12895     fi
12896   done
12897   IFS="$lt_save_ifs"
12898 else
12899   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12900 fi
12901 fi
12902
12903 LD="$lt_cv_path_LD"
12904 if test -n "$LD"; then
12905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12906 $as_echo "$LD" >&6; }
12907 else
12908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909 $as_echo "no" >&6; }
12910 fi
12911 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12913 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12914 if ${lt_cv_prog_gnu_ld+:} false; then :
12915   $as_echo_n "(cached) " >&6
12916 else
12917   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12918 case `$LD -v 2>&1 </dev/null` in
12919 *GNU* | *'with BFD'*)
12920   lt_cv_prog_gnu_ld=yes
12921   ;;
12922 *)
12923   lt_cv_prog_gnu_ld=no
12924   ;;
12925 esac
12926 fi
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12928 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12929 with_gnu_ld=$lt_cv_prog_gnu_ld
12930
12931
12932
12933
12934
12935
12936
12937       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12938       # archiving commands below assume that GNU ld is being used.
12939       if test "$with_gnu_ld" = yes; then
12940         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12941         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12942
12943         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12945
12946         # If archive_cmds runs LD, not CC, wlarc should be empty
12947         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12948         #     investigate it a little bit more. (MM)
12949         wlarc='${wl}'
12950
12951         # ancient GNU ld didn't support --whole-archive et. al.
12952         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12953           $GREP 'no-whole-archive' > /dev/null; then
12954           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12955         else
12956           whole_archive_flag_spec_CXX=
12957         fi
12958       else
12959         with_gnu_ld=no
12960         wlarc=
12961
12962         # A generic and very simple default shared library creation
12963         # command for GNU C++ for the case where it uses the native
12964         # linker, instead of GNU ld.  If possible, this setting should
12965         # overridden to take advantage of the native linker features on
12966         # the platform it is being used on.
12967         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12968       fi
12969
12970       # Commands to make compiler produce verbose output that lists
12971       # what "hidden" libraries, object files and flags are used when
12972       # linking a shared library.
12973       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12974
12975     else
12976       GXX=no
12977       with_gnu_ld=no
12978       wlarc=
12979     fi
12980
12981     # PORTME: fill in a description of your system's C++ link characteristics
12982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12983 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12984     ld_shlibs_CXX=yes
12985     case $host_os in
12986       aix3*)
12987         # FIXME: insert proper C++ library support
12988         ld_shlibs_CXX=no
12989         ;;
12990       aix[4-9]*)
12991         if test "$host_cpu" = ia64; then
12992           # On IA64, the linker does run time linking by default, so we don't
12993           # have to do anything special.
12994           aix_use_runtimelinking=no
12995           exp_sym_flag='-Bexport'
12996           no_entry_flag=""
12997         else
12998           aix_use_runtimelinking=no
12999
13000           # Test if we are trying to use run time linking or normal
13001           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13002           # need to do runtime linking.
13003           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13004             for ld_flag in $LDFLAGS; do
13005               case $ld_flag in
13006               *-brtl*)
13007                 aix_use_runtimelinking=yes
13008                 break
13009                 ;;
13010               esac
13011             done
13012             ;;
13013           esac
13014
13015           exp_sym_flag='-bexport'
13016           no_entry_flag='-bnoentry'
13017         fi
13018
13019         # When large executables or shared objects are built, AIX ld can
13020         # have problems creating the table of contents.  If linking a library
13021         # or program results in "error TOC overflow" add -mminimal-toc to
13022         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13023         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13024
13025         archive_cmds_CXX=''
13026         hardcode_direct_CXX=yes
13027         hardcode_direct_absolute_CXX=yes
13028         hardcode_libdir_separator_CXX=':'
13029         link_all_deplibs_CXX=yes
13030         file_list_spec_CXX='${wl}-f,'
13031
13032         if test "$GXX" = yes; then
13033           case $host_os in aix4.[012]|aix4.[012].*)
13034           # We only want to do this on AIX 4.2 and lower, the check
13035           # below for broken collect2 doesn't work under 4.3+
13036           collect2name=`${CC} -print-prog-name=collect2`
13037           if test -f "$collect2name" &&
13038              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13039           then
13040             # We have reworked collect2
13041             :
13042           else
13043             # We have old collect2
13044             hardcode_direct_CXX=unsupported
13045             # It fails to find uninstalled libraries when the uninstalled
13046             # path is not listed in the libpath.  Setting hardcode_minus_L
13047             # to unsupported forces relinking
13048             hardcode_minus_L_CXX=yes
13049             hardcode_libdir_flag_spec_CXX='-L$libdir'
13050             hardcode_libdir_separator_CXX=
13051           fi
13052           esac
13053           shared_flag='-shared'
13054           if test "$aix_use_runtimelinking" = yes; then
13055             shared_flag="$shared_flag "'${wl}-G'
13056           fi
13057         else
13058           # not using gcc
13059           if test "$host_cpu" = ia64; then
13060           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13061           # chokes on -Wl,-G. The following line is correct:
13062           shared_flag='-G'
13063           else
13064             if test "$aix_use_runtimelinking" = yes; then
13065               shared_flag='${wl}-G'
13066             else
13067               shared_flag='${wl}-bM:SRE'
13068             fi
13069           fi
13070         fi
13071
13072         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13073         # It seems that -bexpall does not export symbols beginning with
13074         # underscore (_), so it is better to generate a list of symbols to
13075         # export.
13076         always_export_symbols_CXX=yes
13077         if test "$aix_use_runtimelinking" = yes; then
13078           # Warning - without using the other runtime loading flags (-brtl),
13079           # -berok will link without error, but may produce a broken library.
13080           allow_undefined_flag_CXX='-berok'
13081           # Determine the default libpath from the value encoded in an empty
13082           # executable.
13083           if test x$gcc_no_link = xyes; then
13084   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13085 fi
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h.  */
13088
13089 int
13090 main ()
13091 {
13092
13093   ;
13094   return 0;
13095 }
13096 _ACEOF
13097 if ac_fn_cxx_try_link "$LINENO"; then :
13098
13099 lt_aix_libpath_sed='
13100     /Import File Strings/,/^$/ {
13101         /^0/ {
13102             s/^0  *\(.*\)$/\1/
13103             p
13104         }
13105     }'
13106 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13107 # Check for a 64-bit object if we didn't find anything.
13108 if test -z "$aix_libpath"; then
13109   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13110 fi
13111 fi
13112 rm -f core conftest.err conftest.$ac_objext \
13113     conftest$ac_exeext conftest.$ac_ext
13114 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13115
13116           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13117
13118           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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13119         else
13120           if test "$host_cpu" = ia64; then
13121             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13122             allow_undefined_flag_CXX="-z nodefs"
13123             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"
13124           else
13125             # Determine the default libpath from the value encoded in an
13126             # empty executable.
13127             if test x$gcc_no_link = xyes; then
13128   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13129 fi
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h.  */
13132
13133 int
13134 main ()
13135 {
13136
13137   ;
13138   return 0;
13139 }
13140 _ACEOF
13141 if ac_fn_cxx_try_link "$LINENO"; then :
13142
13143 lt_aix_libpath_sed='
13144     /Import File Strings/,/^$/ {
13145         /^0/ {
13146             s/^0  *\(.*\)$/\1/
13147             p
13148         }
13149     }'
13150 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13151 # Check for a 64-bit object if we didn't find anything.
13152 if test -z "$aix_libpath"; then
13153   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13154 fi
13155 fi
13156 rm -f core conftest.err conftest.$ac_objext \
13157     conftest$ac_exeext conftest.$ac_ext
13158 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13159
13160             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13161             # Warning - without using the other run time loading flags,
13162             # -berok will link without error, but may produce a broken library.
13163             no_undefined_flag_CXX=' ${wl}-bernotok'
13164             allow_undefined_flag_CXX=' ${wl}-berok'
13165             if test "$with_gnu_ld" = yes; then
13166               # We only use this code for GNU lds that support --whole-archive.
13167               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13168             else
13169               # Exported symbols can be pulled into shared objects from archives
13170               whole_archive_flag_spec_CXX='$convenience'
13171             fi
13172             archive_cmds_need_lc_CXX=yes
13173             # This is similar to how AIX traditionally builds its shared
13174             # libraries.
13175             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'
13176           fi
13177         fi
13178         ;;
13179
13180       beos*)
13181         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13182           allow_undefined_flag_CXX=unsupported
13183           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13184           # support --undefined.  This deserves some investigation.  FIXME
13185           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13186         else
13187           ld_shlibs_CXX=no
13188         fi
13189         ;;
13190
13191       chorus*)
13192         case $cc_basename in
13193           *)
13194           # FIXME: insert proper C++ library support
13195           ld_shlibs_CXX=no
13196           ;;
13197         esac
13198         ;;
13199
13200       cygwin* | mingw* | pw32* | cegcc*)
13201         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13202         # as there is no search path for DLLs.
13203         hardcode_libdir_flag_spec_CXX='-L$libdir'
13204         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13205         allow_undefined_flag_CXX=unsupported
13206         always_export_symbols_CXX=no
13207         enable_shared_with_static_runtimes_CXX=yes
13208
13209         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13210           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'
13211           # If the export-symbols file already is a .def file (1st line
13212           # is EXPORTS), use it as is; otherwise, prepend...
13213           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13214             cp $export_symbols $output_objdir/$soname.def;
13215           else
13216             echo EXPORTS > $output_objdir/$soname.def;
13217             cat $export_symbols >> $output_objdir/$soname.def;
13218           fi~
13219           $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'
13220         else
13221           ld_shlibs_CXX=no
13222         fi
13223         ;;
13224       darwin* | rhapsody*)
13225
13226
13227   archive_cmds_need_lc_CXX=no
13228   hardcode_direct_CXX=no
13229   hardcode_automatic_CXX=yes
13230   hardcode_shlibpath_var_CXX=unsupported
13231   if test "$lt_cv_ld_force_load" = "yes"; then
13232     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13233   else
13234     whole_archive_flag_spec_CXX=''
13235   fi
13236   link_all_deplibs_CXX=yes
13237   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13238   case $cc_basename in
13239      ifort*) _lt_dar_can_shared=yes ;;
13240      *) _lt_dar_can_shared=$GCC ;;
13241   esac
13242   if test "$_lt_dar_can_shared" = "yes"; then
13243     output_verbose_link_cmd=func_echo_all
13244     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}"
13245     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13246     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}"
13247     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}"
13248        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13249       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}"
13250       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}"
13251     fi
13252
13253   else
13254   ld_shlibs_CXX=no
13255   fi
13256
13257         ;;
13258
13259       dgux*)
13260         case $cc_basename in
13261           ec++*)
13262             # FIXME: insert proper C++ library support
13263             ld_shlibs_CXX=no
13264             ;;
13265           ghcx*)
13266             # Green Hills C++ Compiler
13267             # FIXME: insert proper C++ library support
13268             ld_shlibs_CXX=no
13269             ;;
13270           *)
13271             # FIXME: insert proper C++ library support
13272             ld_shlibs_CXX=no
13273             ;;
13274         esac
13275         ;;
13276
13277       freebsd2.*)
13278         # C++ shared libraries reported to be fairly broken before
13279         # switch to ELF
13280         ld_shlibs_CXX=no
13281         ;;
13282
13283       freebsd-elf*)
13284         archive_cmds_need_lc_CXX=no
13285         ;;
13286
13287       freebsd* | dragonfly*)
13288         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13289         # conventions
13290         ld_shlibs_CXX=yes
13291         ;;
13292
13293       gnu*)
13294         ;;
13295
13296       haiku*)
13297         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13298         link_all_deplibs_CXX=yes
13299         ;;
13300
13301       hpux9*)
13302         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13303         hardcode_libdir_separator_CXX=:
13304         export_dynamic_flag_spec_CXX='${wl}-E'
13305         hardcode_direct_CXX=yes
13306         hardcode_minus_L_CXX=yes # Not in the search PATH,
13307                                              # but as the default
13308                                              # location of the library.
13309
13310         case $cc_basename in
13311           CC*)
13312             # FIXME: insert proper C++ library support
13313             ld_shlibs_CXX=no
13314             ;;
13315           aCC*)
13316             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'
13317             # Commands to make compiler produce verbose output that lists
13318             # what "hidden" libraries, object files and flags are used when
13319             # linking a shared library.
13320             #
13321             # There doesn't appear to be a way to prevent this compiler from
13322             # explicitly linking system object files so we need to strip them
13323             # from the output so that they don't get included in the library
13324             # dependencies.
13325             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13326             ;;
13327           *)
13328             if test "$GXX" = yes; then
13329               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'
13330             else
13331               # FIXME: insert proper C++ library support
13332               ld_shlibs_CXX=no
13333             fi
13334             ;;
13335         esac
13336         ;;
13337
13338       hpux10*|hpux11*)
13339         if test $with_gnu_ld = no; then
13340           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13341           hardcode_libdir_separator_CXX=:
13342
13343           case $host_cpu in
13344             hppa*64*|ia64*)
13345               ;;
13346             *)
13347               export_dynamic_flag_spec_CXX='${wl}-E'
13348               ;;
13349           esac
13350         fi
13351         case $host_cpu in
13352           hppa*64*|ia64*)
13353             hardcode_direct_CXX=no
13354             hardcode_shlibpath_var_CXX=no
13355             ;;
13356           *)
13357             hardcode_direct_CXX=yes
13358             hardcode_direct_absolute_CXX=yes
13359             hardcode_minus_L_CXX=yes # Not in the search PATH,
13360                                                  # but as the default
13361                                                  # location of the library.
13362             ;;
13363         esac
13364
13365         case $cc_basename in
13366           CC*)
13367             # FIXME: insert proper C++ library support
13368             ld_shlibs_CXX=no
13369             ;;
13370           aCC*)
13371             case $host_cpu in
13372               hppa*64*)
13373                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13374                 ;;
13375               ia64*)
13376                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13377                 ;;
13378               *)
13379                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13380                 ;;
13381             esac
13382             # Commands to make compiler produce verbose output that lists
13383             # what "hidden" libraries, object files and flags are used when
13384             # linking a shared library.
13385             #
13386             # There doesn't appear to be a way to prevent this compiler from
13387             # explicitly linking system object files so we need to strip them
13388             # from the output so that they don't get included in the library
13389             # dependencies.
13390             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; func_echo_all "$list"'
13391             ;;
13392           *)
13393             if test "$GXX" = yes; then
13394               if test $with_gnu_ld = no; then
13395                 case $host_cpu in
13396                   hppa*64*)
13397                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13398                     ;;
13399                   ia64*)
13400                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13401                     ;;
13402                   *)
13403                     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'
13404                     ;;
13405                 esac
13406               fi
13407             else
13408               # FIXME: insert proper C++ library support
13409               ld_shlibs_CXX=no
13410             fi
13411             ;;
13412         esac
13413         ;;
13414
13415       interix[3-9]*)
13416         hardcode_direct_CXX=no
13417         hardcode_shlibpath_var_CXX=no
13418         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13419         export_dynamic_flag_spec_CXX='${wl}-E'
13420         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13421         # Instead, shared libraries are loaded at an image base (0x10000000 by
13422         # default) and relocated if they conflict, which is a slow very memory
13423         # consuming and fragmenting process.  To avoid this, we pick a random,
13424         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13425         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13426         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'
13427         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'
13428         ;;
13429       irix5* | irix6*)
13430         case $cc_basename in
13431           CC*)
13432             # SGI C++
13433             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13434
13435             # Archives containing C++ object files must be created using
13436             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13437             # necessary to make sure instantiated templates are included
13438             # in the archive.
13439             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13440             ;;
13441           *)
13442             if test "$GXX" = yes; then
13443               if test "$with_gnu_ld" = no; then
13444                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13445               else
13446                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13447               fi
13448             fi
13449             link_all_deplibs_CXX=yes
13450             ;;
13451         esac
13452         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13453         hardcode_libdir_separator_CXX=:
13454         inherit_rpath_CXX=yes
13455         ;;
13456
13457       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13458         case $cc_basename in
13459           KCC*)
13460             # Kuck and Associates, Inc. (KAI) C++ Compiler
13461
13462             # KCC will only create a shared library if the output file
13463             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13464             # to its proper name (with version) after linking.
13465             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'
13466             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'
13467             # Commands to make compiler produce verbose output that lists
13468             # what "hidden" libraries, object files and flags are used when
13469             # linking a shared library.
13470             #
13471             # There doesn't appear to be a way to prevent this compiler from
13472             # explicitly linking system object files so we need to strip them
13473             # from the output so that they don't get included in the library
13474             # dependencies.
13475             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; func_echo_all "$list"'
13476
13477             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13478             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13479
13480             # Archives containing C++ object files must be created using
13481             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13482             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13483             ;;
13484           icpc* | ecpc* )
13485             # Intel C++
13486             with_gnu_ld=yes
13487             # version 8.0 and above of icpc choke on multiply defined symbols
13488             # if we add $predep_objects and $postdep_objects, however 7.1 and
13489             # earlier do not add the objects themselves.
13490             case `$CC -V 2>&1` in
13491               *"Version 7."*)
13492                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13493                 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'
13494                 ;;
13495               *)  # Version 8.0 or newer
13496                 tmp_idyn=
13497                 case $host_cpu in
13498                   ia64*) tmp_idyn=' -i_dynamic';;
13499                 esac
13500                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13501                 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'
13502                 ;;
13503             esac
13504             archive_cmds_need_lc_CXX=no
13505             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13506             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13507             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13508             ;;
13509           pgCC* | pgcpp*)
13510             # Portland Group C++ compiler
13511             case `$CC -V` in
13512             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13513               prelink_cmds_CXX='tpldir=Template.dir~
13514                 rm -rf $tpldir~
13515                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13516                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13517               old_archive_cmds_CXX='tpldir=Template.dir~
13518                 rm -rf $tpldir~
13519                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13520                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13521                 $RANLIB $oldlib'
13522               archive_cmds_CXX='tpldir=Template.dir~
13523                 rm -rf $tpldir~
13524                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13525                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13526               archive_expsym_cmds_CXX='tpldir=Template.dir~
13527                 rm -rf $tpldir~
13528                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13529                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13530               ;;
13531             *) # Version 6 and above use weak symbols
13532               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13533               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'
13534               ;;
13535             esac
13536
13537             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13538             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13539             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13540             ;;
13541           cxx*)
13542             # Compaq C++
13543             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13544             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'
13545
13546             runpath_var=LD_RUN_PATH
13547             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13548             hardcode_libdir_separator_CXX=:
13549
13550             # Commands to make compiler produce verbose output that lists
13551             # what "hidden" libraries, object files and flags are used when
13552             # linking a shared library.
13553             #
13554             # There doesn't appear to be a way to prevent this compiler from
13555             # explicitly linking system object files so we need to strip them
13556             # from the output so that they don't get included in the library
13557             # dependencies.
13558             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13559             ;;
13560           xl* | mpixl* | bgxl*)
13561             # IBM XL 8.0 on PPC, with GNU ld
13562             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13563             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13564             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13565             if test "x$supports_anon_versioning" = xyes; then
13566               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13567                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13568                 echo "local: *; };" >> $output_objdir/$libname.ver~
13569                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13570             fi
13571             ;;
13572           *)
13573             case `$CC -V 2>&1 | sed 5q` in
13574             *Sun\ C*)
13575               # Sun C++ 5.9
13576               no_undefined_flag_CXX=' -zdefs'
13577               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13578               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'
13579               hardcode_libdir_flag_spec_CXX='-R$libdir'
13580               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13581               compiler_needs_object_CXX=yes
13582
13583               # Not sure whether something based on
13584               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13585               # would be better.
13586               output_verbose_link_cmd='func_echo_all'
13587
13588               # Archives containing C++ object files must be created using
13589               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13590               # necessary to make sure instantiated templates are included
13591               # in the archive.
13592               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13593               ;;
13594             esac
13595             ;;
13596         esac
13597         ;;
13598
13599       lynxos*)
13600         # FIXME: insert proper C++ library support
13601         ld_shlibs_CXX=no
13602         ;;
13603
13604       m88k*)
13605         # FIXME: insert proper C++ library support
13606         ld_shlibs_CXX=no
13607         ;;
13608
13609       mvs*)
13610         case $cc_basename in
13611           cxx*)
13612             # FIXME: insert proper C++ library support
13613             ld_shlibs_CXX=no
13614             ;;
13615           *)
13616             # FIXME: insert proper C++ library support
13617             ld_shlibs_CXX=no
13618             ;;
13619         esac
13620         ;;
13621
13622       netbsd*)
13623         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13624           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13625           wlarc=
13626           hardcode_libdir_flag_spec_CXX='-R$libdir'
13627           hardcode_direct_CXX=yes
13628           hardcode_shlibpath_var_CXX=no
13629         fi
13630         # Workaround some broken pre-1.5 toolchains
13631         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13632         ;;
13633
13634       *nto* | *qnx*)
13635         ld_shlibs_CXX=yes
13636         ;;
13637
13638       openbsd2*)
13639         # C++ shared libraries are fairly broken
13640         ld_shlibs_CXX=no
13641         ;;
13642
13643       openbsd*)
13644         if test -f /usr/libexec/ld.so; then
13645           hardcode_direct_CXX=yes
13646           hardcode_shlibpath_var_CXX=no
13647           hardcode_direct_absolute_CXX=yes
13648           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13649           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13650           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13651             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13652             export_dynamic_flag_spec_CXX='${wl}-E'
13653             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13654           fi
13655           output_verbose_link_cmd=func_echo_all
13656         else
13657           ld_shlibs_CXX=no
13658         fi
13659         ;;
13660
13661       osf3* | osf4* | osf5*)
13662         case $cc_basename in
13663           KCC*)
13664             # Kuck and Associates, Inc. (KAI) C++ Compiler
13665
13666             # KCC will only create a shared library if the output file
13667             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13668             # to its proper name (with version) after linking.
13669             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'
13670
13671             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13672             hardcode_libdir_separator_CXX=:
13673
13674             # Archives containing C++ object files must be created using
13675             # the KAI C++ compiler.
13676             case $host in
13677               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13678               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13679             esac
13680             ;;
13681           RCC*)
13682             # Rational C++ 2.4.1
13683             # FIXME: insert proper C++ library support
13684             ld_shlibs_CXX=no
13685             ;;
13686           cxx*)
13687             case $host in
13688               osf3*)
13689                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13690                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13691                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13692                 ;;
13693               *)
13694                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13695                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13696                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13697                   echo "-hidden">> $lib.exp~
13698                   $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13699                   $RM $lib.exp'
13700                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13701                 ;;
13702             esac
13703
13704             hardcode_libdir_separator_CXX=:
13705
13706             # Commands to make compiler produce verbose output that lists
13707             # what "hidden" libraries, object files and flags are used when
13708             # linking a shared library.
13709             #
13710             # There doesn't appear to be a way to prevent this compiler from
13711             # explicitly linking system object files so we need to strip them
13712             # from the output so that they don't get included in the library
13713             # dependencies.
13714             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13715             ;;
13716           *)
13717             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13718               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13719               case $host in
13720                 osf3*)
13721                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13722                   ;;
13723                 *)
13724                   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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13725                   ;;
13726               esac
13727
13728               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13729               hardcode_libdir_separator_CXX=:
13730
13731               # Commands to make compiler produce verbose output that lists
13732               # what "hidden" libraries, object files and flags are used when
13733               # linking a shared library.
13734               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13735
13736             else
13737               # FIXME: insert proper C++ library support
13738               ld_shlibs_CXX=no
13739             fi
13740             ;;
13741         esac
13742         ;;
13743
13744       psos*)
13745         # FIXME: insert proper C++ library support
13746         ld_shlibs_CXX=no
13747         ;;
13748
13749       sunos4*)
13750         case $cc_basename in
13751           CC*)
13752             # Sun C++ 4.x
13753             # FIXME: insert proper C++ library support
13754             ld_shlibs_CXX=no
13755             ;;
13756           lcc*)
13757             # Lucid
13758             # FIXME: insert proper C++ library support
13759             ld_shlibs_CXX=no
13760             ;;
13761           *)
13762             # FIXME: insert proper C++ library support
13763             ld_shlibs_CXX=no
13764             ;;
13765         esac
13766         ;;
13767
13768       solaris*)
13769         case $cc_basename in
13770           CC*)
13771             # Sun C++ 4.2, 5.x and Centerline C++
13772             archive_cmds_need_lc_CXX=yes
13773             no_undefined_flag_CXX=' -zdefs'
13774             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13775             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13776               $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'
13777
13778             hardcode_libdir_flag_spec_CXX='-R$libdir'
13779             hardcode_shlibpath_var_CXX=no
13780             case $host_os in
13781               solaris2.[0-5] | solaris2.[0-5].*) ;;
13782               *)
13783                 # The compiler driver will combine and reorder linker options,
13784                 # but understands `-z linker_flag'.
13785                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13786                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13787                 ;;
13788             esac
13789             link_all_deplibs_CXX=yes
13790
13791             output_verbose_link_cmd='func_echo_all'
13792
13793             # Archives containing C++ object files must be created using
13794             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13795             # necessary to make sure instantiated templates are included
13796             # in the archive.
13797             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13798             ;;
13799           gcx*)
13800             # Green Hills C++ Compiler
13801             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13802
13803             # The C++ compiler must be used to create the archive.
13804             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13805             ;;
13806           *)
13807             # GNU C++ compiler with Solaris linker
13808             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13809               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13810               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13811                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13812                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13813                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13814
13815                 # Commands to make compiler produce verbose output that lists
13816                 # what "hidden" libraries, object files and flags are used when
13817                 # linking a shared library.
13818                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13819               else
13820                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13821                 # platform.
13822                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13823                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13824                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13825
13826                 # Commands to make compiler produce verbose output that lists
13827                 # what "hidden" libraries, object files and flags are used when
13828                 # linking a shared library.
13829                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13830               fi
13831
13832               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13833               case $host_os in
13834                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13835                 *)
13836                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13837                   ;;
13838               esac
13839             fi
13840             ;;
13841         esac
13842         ;;
13843
13844     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13845       no_undefined_flag_CXX='${wl}-z,text'
13846       archive_cmds_need_lc_CXX=no
13847       hardcode_shlibpath_var_CXX=no
13848       runpath_var='LD_RUN_PATH'
13849
13850       case $cc_basename in
13851         CC*)
13852           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13853           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13854           ;;
13855         *)
13856           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13857           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13858           ;;
13859       esac
13860       ;;
13861
13862       sysv5* | sco3.2v5* | sco5v6*)
13863         # Note: We can NOT use -z defs as we might desire, because we do not
13864         # link with -lc, and that would cause any symbols used from libc to
13865         # always be unresolved, which means just about no library would
13866         # ever link correctly.  If we're not using GNU ld we use -z text
13867         # though, which does catch some bad symbols but isn't as heavy-handed
13868         # as -z defs.
13869         no_undefined_flag_CXX='${wl}-z,text'
13870         allow_undefined_flag_CXX='${wl}-z,nodefs'
13871         archive_cmds_need_lc_CXX=no
13872         hardcode_shlibpath_var_CXX=no
13873         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13874         hardcode_libdir_separator_CXX=':'
13875         link_all_deplibs_CXX=yes
13876         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13877         runpath_var='LD_RUN_PATH'
13878
13879         case $cc_basename in
13880           CC*)
13881             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13882             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13883             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13884               '"$old_archive_cmds_CXX"
13885             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13886               '"$reload_cmds_CXX"
13887             ;;
13888           *)
13889             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13890             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13891             ;;
13892         esac
13893       ;;
13894
13895       tandem*)
13896         case $cc_basename in
13897           NCC*)
13898             # NonStop-UX NCC 3.20
13899             # FIXME: insert proper C++ library support
13900             ld_shlibs_CXX=no
13901             ;;
13902           *)
13903             # FIXME: insert proper C++ library support
13904             ld_shlibs_CXX=no
13905             ;;
13906         esac
13907         ;;
13908
13909       vxworks*)
13910         # For VxWorks ports, we assume the use of a GNU linker with
13911         # standard elf conventions.
13912         ld_shlibs_CXX=yes
13913         ;;
13914
13915       *)
13916         # FIXME: insert proper C++ library support
13917         ld_shlibs_CXX=no
13918         ;;
13919     esac
13920
13921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13922 $as_echo "$ld_shlibs_CXX" >&6; }
13923     test "$ld_shlibs_CXX" = no && can_build_shared=no
13924
13925     GCC_CXX="$GXX"
13926     LD_CXX="$LD"
13927
13928     ## CAVEAT EMPTOR:
13929     ## There is no encapsulation within the following macros, do not change
13930     ## the running order or otherwise move them around unless you know exactly
13931     ## what you are doing...
13932     # Dependencies to place before and after the object being linked:
13933 predep_objects_CXX=
13934 postdep_objects_CXX=
13935 predeps_CXX=
13936 postdeps_CXX=
13937 compiler_lib_search_path_CXX=
13938
13939 cat > conftest.$ac_ext <<_LT_EOF
13940 class Foo
13941 {
13942 public:
13943   Foo (void) { a = 0; }
13944 private:
13945   int a;
13946 };
13947 _LT_EOF
13948
13949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13950   (eval $ac_compile) 2>&5
13951   ac_status=$?
13952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13953   test $ac_status = 0; }; then
13954   # Parse the compiler output and extract the necessary
13955   # objects, libraries and library flags.
13956
13957   # Sentinel used to keep track of whether or not we are before
13958   # the conftest object file.
13959   pre_test_object_deps_done=no
13960
13961   for p in `eval "$output_verbose_link_cmd"`; do
13962     case $p in
13963
13964     -L* | -R* | -l*)
13965        # Some compilers place space between "-{L,R}" and the path.
13966        # Remove the space.
13967        if test $p = "-L" ||
13968           test $p = "-R"; then
13969          prev=$p
13970          continue
13971        else
13972          prev=
13973        fi
13974
13975        if test "$pre_test_object_deps_done" = no; then
13976          case $p in
13977          -L* | -R*)
13978            # Internal compiler library paths should come after those
13979            # provided the user.  The postdeps already come after the
13980            # user supplied libs so there is no need to process them.
13981            if test -z "$compiler_lib_search_path_CXX"; then
13982              compiler_lib_search_path_CXX="${prev}${p}"
13983            else
13984              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13985            fi
13986            ;;
13987          # The "-l" case would never come before the object being
13988          # linked, so don't bother handling this case.
13989          esac
13990        else
13991          if test -z "$postdeps_CXX"; then
13992            postdeps_CXX="${prev}${p}"
13993          else
13994            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13995          fi
13996        fi
13997        ;;
13998
13999     *.$objext)
14000        # This assumes that the test object file only shows up
14001        # once in the compiler output.
14002        if test "$p" = "conftest.$objext"; then
14003          pre_test_object_deps_done=yes
14004          continue
14005        fi
14006
14007        if test "$pre_test_object_deps_done" = no; then
14008          if test -z "$predep_objects_CXX"; then
14009            predep_objects_CXX="$p"
14010          else
14011            predep_objects_CXX="$predep_objects_CXX $p"
14012          fi
14013        else
14014          if test -z "$postdep_objects_CXX"; then
14015            postdep_objects_CXX="$p"
14016          else
14017            postdep_objects_CXX="$postdep_objects_CXX $p"
14018          fi
14019        fi
14020        ;;
14021
14022     *) ;; # Ignore the rest.
14023
14024     esac
14025   done
14026
14027   # Clean up.
14028   rm -f a.out a.exe
14029 else
14030   echo "libtool.m4: error: problem compiling CXX test program"
14031 fi
14032
14033 $RM -f confest.$objext
14034
14035 # PORTME: override above test on systems where it is broken
14036 case $host_os in
14037 interix[3-9]*)
14038   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14039   # hack all around it, let's just trust "g++" to DTRT.
14040   predep_objects_CXX=
14041   postdep_objects_CXX=
14042   postdeps_CXX=
14043   ;;
14044
14045 linux*)
14046   case `$CC -V 2>&1 | sed 5q` in
14047   *Sun\ C*)
14048     # Sun C++ 5.9
14049
14050     # The more standards-conforming stlport4 library is
14051     # incompatible with the Cstd library. Avoid specifying
14052     # it if it's in CXXFLAGS. Ignore libCrun as
14053     # -library=stlport4 depends on it.
14054     case " $CXX $CXXFLAGS " in
14055     *" -library=stlport4 "*)
14056       solaris_use_stlport4=yes
14057       ;;
14058     esac
14059
14060     if test "$solaris_use_stlport4" != yes; then
14061       postdeps_CXX='-library=Cstd -library=Crun'
14062     fi
14063     ;;
14064   esac
14065   ;;
14066
14067 solaris*)
14068   case $cc_basename in
14069   CC*)
14070     # The more standards-conforming stlport4 library is
14071     # incompatible with the Cstd library. Avoid specifying
14072     # it if it's in CXXFLAGS. Ignore libCrun as
14073     # -library=stlport4 depends on it.
14074     case " $CXX $CXXFLAGS " in
14075     *" -library=stlport4 "*)
14076       solaris_use_stlport4=yes
14077       ;;
14078     esac
14079
14080     # Adding this requires a known-good setup of shared libraries for
14081     # Sun compiler versions before 5.6, else PIC objects from an old
14082     # archive will be linked into the output, leading to subtle bugs.
14083     if test "$solaris_use_stlport4" != yes; then
14084       postdeps_CXX='-library=Cstd -library=Crun'
14085     fi
14086     ;;
14087   esac
14088   ;;
14089 esac
14090
14091
14092 case " $postdeps_CXX " in
14093 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14094 esac
14095  compiler_lib_search_dirs_CXX=
14096 if test -n "${compiler_lib_search_path_CXX}"; then
14097  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14098 fi
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130     lt_prog_compiler_wl_CXX=
14131 lt_prog_compiler_pic_CXX=
14132 lt_prog_compiler_static_CXX=
14133
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14135 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14136
14137   # C++ specific cases for pic, static, wl, etc.
14138   if test "$GXX" = yes; then
14139     lt_prog_compiler_wl_CXX='-Wl,'
14140     lt_prog_compiler_static_CXX='-static'
14141
14142     case $host_os in
14143     aix*)
14144       # All AIX code is PIC.
14145       if test "$host_cpu" = ia64; then
14146         # AIX 5 now supports IA64 processor
14147         lt_prog_compiler_static_CXX='-Bstatic'
14148       fi
14149       lt_prog_compiler_pic_CXX='-fPIC'
14150       ;;
14151
14152     amigaos*)
14153       case $host_cpu in
14154       powerpc)
14155             # see comment about AmigaOS4 .so support
14156             lt_prog_compiler_pic_CXX='-fPIC'
14157         ;;
14158       m68k)
14159             # FIXME: we need at least 68020 code to build shared libraries, but
14160             # adding the `-m68020' flag to GCC prevents building anything better,
14161             # like `-m68040'.
14162             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14163         ;;
14164       esac
14165       ;;
14166
14167     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14168       # PIC is the default for these OSes.
14169       ;;
14170     mingw* | cygwin* | os2* | pw32* | cegcc*)
14171       # This hack is so that the source file can tell whether it is being
14172       # built for inclusion in a dll (and should export symbols for example).
14173       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14174       # (--disable-auto-import) libraries
14175       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14176       ;;
14177     darwin* | rhapsody*)
14178       # PIC is the default on this platform
14179       # Common symbols not allowed in MH_DYLIB files
14180       lt_prog_compiler_pic_CXX='-fno-common'
14181       ;;
14182     *djgpp*)
14183       # DJGPP does not support shared libraries at all
14184       lt_prog_compiler_pic_CXX=
14185       ;;
14186     haiku*)
14187       # PIC is the default for Haiku.
14188       # The "-static" flag exists, but is broken.
14189       lt_prog_compiler_static_CXX=
14190       ;;
14191     interix[3-9]*)
14192       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14193       # Instead, we relocate shared libraries at runtime.
14194       ;;
14195     sysv4*MP*)
14196       if test -d /usr/nec; then
14197         lt_prog_compiler_pic_CXX=-Kconform_pic
14198       fi
14199       ;;
14200     hpux*)
14201       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14202       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14203       # sets the default TLS model and affects inlining.
14204       case $host_cpu in
14205       hppa*64*)
14206         ;;
14207       *)
14208         lt_prog_compiler_pic_CXX='-fPIC'
14209         ;;
14210       esac
14211       ;;
14212     *qnx* | *nto*)
14213       # QNX uses GNU C++, but need to define -shared option too, otherwise
14214       # it will coredump.
14215       lt_prog_compiler_pic_CXX='-fPIC -shared'
14216       ;;
14217     *)
14218       lt_prog_compiler_pic_CXX='-fPIC'
14219       ;;
14220     esac
14221   else
14222     case $host_os in
14223       aix[4-9]*)
14224         # All AIX code is PIC.
14225         if test "$host_cpu" = ia64; then
14226           # AIX 5 now supports IA64 processor
14227           lt_prog_compiler_static_CXX='-Bstatic'
14228         else
14229           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14230         fi
14231         ;;
14232       chorus*)
14233         case $cc_basename in
14234         cxch68*)
14235           # Green Hills C++ Compiler
14236           # _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"
14237           ;;
14238         esac
14239         ;;
14240       dgux*)
14241         case $cc_basename in
14242           ec++*)
14243             lt_prog_compiler_pic_CXX='-KPIC'
14244             ;;
14245           ghcx*)
14246             # Green Hills C++ Compiler
14247             lt_prog_compiler_pic_CXX='-pic'
14248             ;;
14249           *)
14250             ;;
14251         esac
14252         ;;
14253       freebsd* | dragonfly*)
14254         # FreeBSD uses GNU C++
14255         ;;
14256       hpux9* | hpux10* | hpux11*)
14257         case $cc_basename in
14258           CC*)
14259             lt_prog_compiler_wl_CXX='-Wl,'
14260             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14261             if test "$host_cpu" != ia64; then
14262               lt_prog_compiler_pic_CXX='+Z'
14263             fi
14264             ;;
14265           aCC*)
14266             lt_prog_compiler_wl_CXX='-Wl,'
14267             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14268             case $host_cpu in
14269             hppa*64*|ia64*)
14270               # +Z the default
14271               ;;
14272             *)
14273               lt_prog_compiler_pic_CXX='+Z'
14274               ;;
14275             esac
14276             ;;
14277           *)
14278             ;;
14279         esac
14280         ;;
14281       interix*)
14282         # This is c89, which is MS Visual C++ (no shared libs)
14283         # Anyone wants to do a port?
14284         ;;
14285       irix5* | irix6* | nonstopux*)
14286         case $cc_basename in
14287           CC*)
14288             lt_prog_compiler_wl_CXX='-Wl,'
14289             lt_prog_compiler_static_CXX='-non_shared'
14290             # CC pic flag -KPIC is the default.
14291             ;;
14292           *)
14293             ;;
14294         esac
14295         ;;
14296       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14297         case $cc_basename in
14298           KCC*)
14299             # KAI C++ Compiler
14300             lt_prog_compiler_wl_CXX='--backend -Wl,'
14301             lt_prog_compiler_pic_CXX='-fPIC'
14302             ;;
14303           ecpc* )
14304             # old Intel C++ for x86_64 which still supported -KPIC.
14305             lt_prog_compiler_wl_CXX='-Wl,'
14306             lt_prog_compiler_pic_CXX='-KPIC'
14307             lt_prog_compiler_static_CXX='-static'
14308             ;;
14309           icpc* )
14310             # Intel C++, used to be incompatible with GCC.
14311             # ICC 10 doesn't accept -KPIC any more.
14312             lt_prog_compiler_wl_CXX='-Wl,'
14313             lt_prog_compiler_pic_CXX='-fPIC'
14314             lt_prog_compiler_static_CXX='-static'
14315             ;;
14316           pgCC* | pgcpp*)
14317             # Portland Group C++ compiler
14318             lt_prog_compiler_wl_CXX='-Wl,'
14319             lt_prog_compiler_pic_CXX='-fpic'
14320             lt_prog_compiler_static_CXX='-Bstatic'
14321             ;;
14322           cxx*)
14323             # Compaq C++
14324             # Make sure the PIC flag is empty.  It appears that all Alpha
14325             # Linux and Compaq Tru64 Unix objects are PIC.
14326             lt_prog_compiler_pic_CXX=
14327             lt_prog_compiler_static_CXX='-non_shared'
14328             ;;
14329           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14330             # IBM XL 8.0, 9.0 on PPC and BlueGene
14331             lt_prog_compiler_wl_CXX='-Wl,'
14332             lt_prog_compiler_pic_CXX='-qpic'
14333             lt_prog_compiler_static_CXX='-qstaticlink'
14334             ;;
14335           *)
14336             case `$CC -V 2>&1 | sed 5q` in
14337             *Sun\ C*)
14338               # Sun C++ 5.9
14339               lt_prog_compiler_pic_CXX='-KPIC'
14340               lt_prog_compiler_static_CXX='-Bstatic'
14341               lt_prog_compiler_wl_CXX='-Qoption ld '
14342               ;;
14343             esac
14344             ;;
14345         esac
14346         ;;
14347       lynxos*)
14348         ;;
14349       m88k*)
14350         ;;
14351       mvs*)
14352         case $cc_basename in
14353           cxx*)
14354             lt_prog_compiler_pic_CXX='-W c,exportall'
14355             ;;
14356           *)
14357             ;;
14358         esac
14359         ;;
14360       netbsd*)
14361         ;;
14362       *qnx* | *nto*)
14363         # QNX uses GNU C++, but need to define -shared option too, otherwise
14364         # it will coredump.
14365         lt_prog_compiler_pic_CXX='-fPIC -shared'
14366         ;;
14367       osf3* | osf4* | osf5*)
14368         case $cc_basename in
14369           KCC*)
14370             lt_prog_compiler_wl_CXX='--backend -Wl,'
14371             ;;
14372           RCC*)
14373             # Rational C++ 2.4.1
14374             lt_prog_compiler_pic_CXX='-pic'
14375             ;;
14376           cxx*)
14377             # Digital/Compaq C++
14378             lt_prog_compiler_wl_CXX='-Wl,'
14379             # Make sure the PIC flag is empty.  It appears that all Alpha
14380             # Linux and Compaq Tru64 Unix objects are PIC.
14381             lt_prog_compiler_pic_CXX=
14382             lt_prog_compiler_static_CXX='-non_shared'
14383             ;;
14384           *)
14385             ;;
14386         esac
14387         ;;
14388       psos*)
14389         ;;
14390       solaris*)
14391         case $cc_basename in
14392           CC*)
14393             # Sun C++ 4.2, 5.x and Centerline C++
14394             lt_prog_compiler_pic_CXX='-KPIC'
14395             lt_prog_compiler_static_CXX='-Bstatic'
14396             lt_prog_compiler_wl_CXX='-Qoption ld '
14397             ;;
14398           gcx*)
14399             # Green Hills C++ Compiler
14400             lt_prog_compiler_pic_CXX='-PIC'
14401             ;;
14402           *)
14403             ;;
14404         esac
14405         ;;
14406       sunos4*)
14407         case $cc_basename in
14408           CC*)
14409             # Sun C++ 4.x
14410             lt_prog_compiler_pic_CXX='-pic'
14411             lt_prog_compiler_static_CXX='-Bstatic'
14412             ;;
14413           lcc*)
14414             # Lucid
14415             lt_prog_compiler_pic_CXX='-pic'
14416             ;;
14417           *)
14418             ;;
14419         esac
14420         ;;
14421       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14422         case $cc_basename in
14423           CC*)
14424             lt_prog_compiler_wl_CXX='-Wl,'
14425             lt_prog_compiler_pic_CXX='-KPIC'
14426             lt_prog_compiler_static_CXX='-Bstatic'
14427             ;;
14428         esac
14429         ;;
14430       tandem*)
14431         case $cc_basename in
14432           NCC*)
14433             # NonStop-UX NCC 3.20
14434             lt_prog_compiler_pic_CXX='-KPIC'
14435             ;;
14436           *)
14437             ;;
14438         esac
14439         ;;
14440       vxworks*)
14441         ;;
14442       *)
14443         lt_prog_compiler_can_build_shared_CXX=no
14444         ;;
14445     esac
14446   fi
14447
14448 case $host_os in
14449   # For platforms which do not support PIC, -DPIC is meaningless:
14450   *djgpp*)
14451     lt_prog_compiler_pic_CXX=
14452     ;;
14453   *)
14454     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14455     ;;
14456 esac
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14458 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14459
14460
14461
14462 #
14463 # Check to make sure the PIC flag actually works.
14464 #
14465 if test -n "$lt_prog_compiler_pic_CXX"; then
14466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14467 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14468 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14469   $as_echo_n "(cached) " >&6
14470 else
14471   lt_cv_prog_compiler_pic_works_CXX=no
14472    ac_outfile=conftest.$ac_objext
14473    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14474    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14475    # Insert the option either (1) after the last *FLAGS variable, or
14476    # (2) before a word containing "conftest.", or (3) at the end.
14477    # Note that $ac_compile itself does not contain backslashes and begins
14478    # with a dollar sign (not a hyphen), so the echo should work correctly.
14479    # The option is referenced via a variable to avoid confusing sed.
14480    lt_compile=`echo "$ac_compile" | $SED \
14481    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14482    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14483    -e 's:$: $lt_compiler_flag:'`
14484    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14485    (eval "$lt_compile" 2>conftest.err)
14486    ac_status=$?
14487    cat conftest.err >&5
14488    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489    if (exit $ac_status) && test -s "$ac_outfile"; then
14490      # The compiler can only warn and ignore the option if not recognized
14491      # So say no if there are warnings other than the usual output.
14492      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14493      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14494      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14495        lt_cv_prog_compiler_pic_works_CXX=yes
14496      fi
14497    fi
14498    $RM conftest*
14499
14500 fi
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14503
14504 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14505     case $lt_prog_compiler_pic_CXX in
14506      "" | " "*) ;;
14507      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14508      esac
14509 else
14510     lt_prog_compiler_pic_CXX=
14511      lt_prog_compiler_can_build_shared_CXX=no
14512 fi
14513
14514 fi
14515
14516
14517
14518 #
14519 # Check to make sure the static flag actually works.
14520 #
14521 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14523 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14524 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14525   $as_echo_n "(cached) " >&6
14526 else
14527   lt_cv_prog_compiler_static_works_CXX=no
14528    save_LDFLAGS="$LDFLAGS"
14529    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14530    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14531    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14532      # The linker can only warn and ignore the option if not recognized
14533      # So say no if there are warnings
14534      if test -s conftest.err; then
14535        # Append any errors to the config.log.
14536        cat conftest.err 1>&5
14537        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14538        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14539        if diff conftest.exp conftest.er2 >/dev/null; then
14540          lt_cv_prog_compiler_static_works_CXX=yes
14541        fi
14542      else
14543        lt_cv_prog_compiler_static_works_CXX=yes
14544      fi
14545    fi
14546    $RM -r conftest*
14547    LDFLAGS="$save_LDFLAGS"
14548
14549 fi
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14551 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14552
14553 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14554     :
14555 else
14556     lt_prog_compiler_static_CXX=
14557 fi
14558
14559
14560
14561
14562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14563 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14564 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14565   $as_echo_n "(cached) " >&6
14566 else
14567   lt_cv_prog_compiler_c_o_CXX=no
14568    $RM -r conftest 2>/dev/null
14569    mkdir conftest
14570    cd conftest
14571    mkdir out
14572    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14573
14574    lt_compiler_flag="-o out/conftest2.$ac_objext"
14575    # Insert the option either (1) after the last *FLAGS variable, or
14576    # (2) before a word containing "conftest.", or (3) at the end.
14577    # Note that $ac_compile itself does not contain backslashes and begins
14578    # with a dollar sign (not a hyphen), so the echo should work correctly.
14579    lt_compile=`echo "$ac_compile" | $SED \
14580    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14581    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14582    -e 's:$: $lt_compiler_flag:'`
14583    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14584    (eval "$lt_compile" 2>out/conftest.err)
14585    ac_status=$?
14586    cat out/conftest.err >&5
14587    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14589    then
14590      # The compiler can only warn and ignore the option if not recognized
14591      # So say no if there are warnings
14592      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14593      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14594      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14595        lt_cv_prog_compiler_c_o_CXX=yes
14596      fi
14597    fi
14598    chmod u+w . 2>&5
14599    $RM conftest*
14600    # SGI C++ compiler will create directory out/ii_files/ for
14601    # template instantiation
14602    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14603    $RM out/* && rmdir out
14604    cd ..
14605    $RM -r conftest
14606    $RM conftest*
14607
14608 fi
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14610 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14611
14612
14613
14614     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14615 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14616 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14617   $as_echo_n "(cached) " >&6
14618 else
14619   lt_cv_prog_compiler_c_o_CXX=no
14620    $RM -r conftest 2>/dev/null
14621    mkdir conftest
14622    cd conftest
14623    mkdir out
14624    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14625
14626    lt_compiler_flag="-o out/conftest2.$ac_objext"
14627    # Insert the option either (1) after the last *FLAGS variable, or
14628    # (2) before a word containing "conftest.", or (3) at the end.
14629    # Note that $ac_compile itself does not contain backslashes and begins
14630    # with a dollar sign (not a hyphen), so the echo should work correctly.
14631    lt_compile=`echo "$ac_compile" | $SED \
14632    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14633    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14634    -e 's:$: $lt_compiler_flag:'`
14635    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14636    (eval "$lt_compile" 2>out/conftest.err)
14637    ac_status=$?
14638    cat out/conftest.err >&5
14639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14641    then
14642      # The compiler can only warn and ignore the option if not recognized
14643      # So say no if there are warnings
14644      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14645      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14646      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14647        lt_cv_prog_compiler_c_o_CXX=yes
14648      fi
14649    fi
14650    chmod u+w . 2>&5
14651    $RM conftest*
14652    # SGI C++ compiler will create directory out/ii_files/ for
14653    # template instantiation
14654    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14655    $RM out/* && rmdir out
14656    cd ..
14657    $RM -r conftest
14658    $RM conftest*
14659
14660 fi
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14662 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14663
14664
14665
14666
14667 hard_links="nottested"
14668 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14669   # do not overwrite the value of need_locks provided by the user
14670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14671 $as_echo_n "checking if we can lock with hard links... " >&6; }
14672   hard_links=yes
14673   $RM conftest*
14674   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14675   touch conftest.a
14676   ln conftest.a conftest.b 2>&5 || hard_links=no
14677   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14679 $as_echo "$hard_links" >&6; }
14680   if test "$hard_links" = no; then
14681     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14682 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14683     need_locks=warn
14684   fi
14685 else
14686   need_locks=no
14687 fi
14688
14689
14690
14691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14692 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14693
14694   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14695   case $host_os in
14696   aix[4-9]*)
14697     # If we're using GNU nm, then we don't want the "-C" option.
14698     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14699     # Also, AIX nm treats weak defined symbols like other global defined
14700     # symbols, whereas GNU nm marks them as "W".
14701     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14702       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14703     else
14704       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14705     fi
14706     ;;
14707   pw32*)
14708     export_symbols_cmds_CXX="$ltdll_cmds"
14709   ;;
14710   cygwin* | mingw* | cegcc*)
14711     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'
14712   ;;
14713   *)
14714     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14715   ;;
14716   esac
14717   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14718
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14720 $as_echo "$ld_shlibs_CXX" >&6; }
14721 test "$ld_shlibs_CXX" = no && can_build_shared=no
14722
14723 with_gnu_ld_CXX=$with_gnu_ld
14724
14725
14726
14727
14728
14729
14730 #
14731 # Do we need to explicitly link libc?
14732 #
14733 case "x$archive_cmds_need_lc_CXX" in
14734 x|xyes)
14735   # Assume -lc should be added
14736   archive_cmds_need_lc_CXX=yes
14737
14738   if test "$enable_shared" = yes && test "$GCC" = yes; then
14739     case $archive_cmds_CXX in
14740     *'~'*)
14741       # FIXME: we may have to deal with multi-command sequences.
14742       ;;
14743     '$CC '*)
14744       # Test whether the compiler implicitly links with -lc since on some
14745       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14746       # to ld, don't add -lc before -lgcc.
14747       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14748 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14749 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14750   $as_echo_n "(cached) " >&6
14751 else
14752   $RM conftest*
14753         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14754
14755         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14756   (eval $ac_compile) 2>&5
14757   ac_status=$?
14758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14759   test $ac_status = 0; } 2>conftest.err; then
14760           soname=conftest
14761           lib=conftest
14762           libobjs=conftest.$ac_objext
14763           deplibs=
14764           wl=$lt_prog_compiler_wl_CXX
14765           pic_flag=$lt_prog_compiler_pic_CXX
14766           compiler_flags=-v
14767           linker_flags=-v
14768           verstring=
14769           output_objdir=.
14770           libname=conftest
14771           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14772           allow_undefined_flag_CXX=
14773           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14774   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14775   ac_status=$?
14776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14777   test $ac_status = 0; }
14778           then
14779             lt_cv_archive_cmds_need_lc_CXX=no
14780           else
14781             lt_cv_archive_cmds_need_lc_CXX=yes
14782           fi
14783           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14784         else
14785           cat conftest.err 1>&5
14786         fi
14787         $RM conftest*
14788
14789 fi
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14791 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14792       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14793       ;;
14794     esac
14795   fi
14796   ;;
14797 esac
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
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 dynamic linker characteristics" >&5
14863 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14864
14865 library_names_spec=
14866 libname_spec='lib$name'
14867 soname_spec=
14868 shrext_cmds=".so"
14869 postinstall_cmds=
14870 postuninstall_cmds=
14871 finish_cmds=
14872 finish_eval=
14873 shlibpath_var=
14874 shlibpath_overrides_runpath=unknown
14875 version_type=none
14876 dynamic_linker="$host_os ld.so"
14877 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14878 need_lib_prefix=unknown
14879 hardcode_into_libs=no
14880
14881 # when you set need_version to no, make sure it does not cause -set_version
14882 # flags to be left without arguments
14883 need_version=unknown
14884
14885 case $host_os in
14886 aix3*)
14887   version_type=linux
14888   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14889   shlibpath_var=LIBPATH
14890
14891   # AIX 3 has no versioning support, so we append a major version to the name.
14892   soname_spec='${libname}${release}${shared_ext}$major'
14893   ;;
14894
14895 aix[4-9]*)
14896   version_type=linux
14897   need_lib_prefix=no
14898   need_version=no
14899   hardcode_into_libs=yes
14900   if test "$host_cpu" = ia64; then
14901     # AIX 5 supports IA64
14902     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14903     shlibpath_var=LD_LIBRARY_PATH
14904   else
14905     # With GCC up to 2.95.x, collect2 would create an import file
14906     # for dependence libraries.  The import file would start with
14907     # the line `#! .'.  This would cause the generated library to
14908     # depend on `.', always an invalid library.  This was fixed in
14909     # development snapshots of GCC prior to 3.0.
14910     case $host_os in
14911       aix4 | aix4.[01] | aix4.[01].*)
14912       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14913            echo ' yes '
14914            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14915         :
14916       else
14917         can_build_shared=no
14918       fi
14919       ;;
14920     esac
14921     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14922     # soname into executable. Probably we can add versioning support to
14923     # collect2, so additional links can be useful in future.
14924     if test "$aix_use_runtimelinking" = yes; then
14925       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14926       # instead of lib<name>.a to let people know that these are not
14927       # typical AIX shared libraries.
14928       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929     else
14930       # We preserve .a as extension for shared libraries through AIX4.2
14931       # and later when we are not doing run time linking.
14932       library_names_spec='${libname}${release}.a $libname.a'
14933       soname_spec='${libname}${release}${shared_ext}$major'
14934     fi
14935     shlibpath_var=LIBPATH
14936   fi
14937   ;;
14938
14939 amigaos*)
14940   case $host_cpu in
14941   powerpc)
14942     # Since July 2007 AmigaOS4 officially supports .so libraries.
14943     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14944     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14945     ;;
14946   m68k)
14947     library_names_spec='$libname.ixlibrary $libname.a'
14948     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14949     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14950     ;;
14951   esac
14952   ;;
14953
14954 beos*)
14955   library_names_spec='${libname}${shared_ext}'
14956   dynamic_linker="$host_os ld.so"
14957   shlibpath_var=LIBRARY_PATH
14958   ;;
14959
14960 bsdi[45]*)
14961   version_type=linux
14962   need_version=no
14963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964   soname_spec='${libname}${release}${shared_ext}$major'
14965   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14966   shlibpath_var=LD_LIBRARY_PATH
14967   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14968   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14969   # the default ld.so.conf also contains /usr/contrib/lib and
14970   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14971   # libtool to hard-code these into programs
14972   ;;
14973
14974 cygwin* | mingw* | pw32* | cegcc*)
14975   version_type=windows
14976   shrext_cmds=".dll"
14977   need_version=no
14978   need_lib_prefix=no
14979
14980   case $GCC,$host_os in
14981   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14982     library_names_spec='$libname.dll.a'
14983     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14984     postinstall_cmds='base_file=`basename \${file}`~
14985       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14986       dldir=$destdir/`dirname \$dlpath`~
14987       test -d \$dldir || mkdir -p \$dldir~
14988       $install_prog $dir/$dlname \$dldir/$dlname~
14989       chmod a+x \$dldir/$dlname~
14990       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14991         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14992       fi'
14993     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14994       dlpath=$dir/\$dldll~
14995        $RM \$dlpath'
14996     shlibpath_overrides_runpath=yes
14997
14998     case $host_os in
14999     cygwin*)
15000       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15001       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15002
15003       ;;
15004     mingw* | cegcc*)
15005       # MinGW DLLs use traditional 'lib' prefix
15006       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15007       ;;
15008     pw32*)
15009       # pw32 DLLs use 'pw' prefix rather than 'lib'
15010       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15011       ;;
15012     esac
15013     ;;
15014
15015   *)
15016     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15017     ;;
15018   esac
15019   dynamic_linker='Win32 ld.exe'
15020   # FIXME: first we should search . and the directory the executable is in
15021   shlibpath_var=PATH
15022   ;;
15023
15024 darwin* | rhapsody*)
15025   dynamic_linker="$host_os dyld"
15026   version_type=darwin
15027   need_lib_prefix=no
15028   need_version=no
15029   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15030   soname_spec='${libname}${release}${major}$shared_ext'
15031   shlibpath_overrides_runpath=yes
15032   shlibpath_var=DYLD_LIBRARY_PATH
15033   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15034
15035   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15036   ;;
15037
15038 dgux*)
15039   version_type=linux
15040   need_lib_prefix=no
15041   need_version=no
15042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15043   soname_spec='${libname}${release}${shared_ext}$major'
15044   shlibpath_var=LD_LIBRARY_PATH
15045   ;;
15046
15047 freebsd* | dragonfly*)
15048   # DragonFly does not have aout.  When/if they implement a new
15049   # versioning mechanism, adjust this.
15050   if test -x /usr/bin/objformat; then
15051     objformat=`/usr/bin/objformat`
15052   else
15053     case $host_os in
15054     freebsd[23].*) objformat=aout ;;
15055     *) objformat=elf ;;
15056     esac
15057   fi
15058   version_type=freebsd-$objformat
15059   case $version_type in
15060     freebsd-elf*)
15061       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15062       need_version=no
15063       need_lib_prefix=no
15064       ;;
15065     freebsd-*)
15066       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15067       need_version=yes
15068       ;;
15069   esac
15070   shlibpath_var=LD_LIBRARY_PATH
15071   case $host_os in
15072   freebsd2.*)
15073     shlibpath_overrides_runpath=yes
15074     ;;
15075   freebsd3.[01]* | freebsdelf3.[01]*)
15076     shlibpath_overrides_runpath=yes
15077     hardcode_into_libs=yes
15078     ;;
15079   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15080   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15081     shlibpath_overrides_runpath=no
15082     hardcode_into_libs=yes
15083     ;;
15084   *) # from 4.6 on, and DragonFly
15085     shlibpath_overrides_runpath=yes
15086     hardcode_into_libs=yes
15087     ;;
15088   esac
15089   ;;
15090
15091 haiku*)
15092   version_type=linux
15093   need_lib_prefix=no
15094   need_version=no
15095   dynamic_linker="$host_os runtime_loader"
15096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15097   soname_spec='${libname}${release}${shared_ext}$major'
15098   shlibpath_var=LIBRARY_PATH
15099   shlibpath_overrides_runpath=yes
15100   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15101   hardcode_into_libs=yes
15102   ;;
15103
15104 hpux9* | hpux10* | hpux11*)
15105   # Give a soname corresponding to the major version so that dld.sl refuses to
15106   # link against other versions.
15107   version_type=sunos
15108   need_lib_prefix=no
15109   need_version=no
15110   case $host_cpu in
15111   ia64*)
15112     shrext_cmds='.so'
15113     hardcode_into_libs=yes
15114     dynamic_linker="$host_os dld.so"
15115     shlibpath_var=LD_LIBRARY_PATH
15116     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15117     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15118     soname_spec='${libname}${release}${shared_ext}$major'
15119     if test "X$HPUX_IA64_MODE" = X32; then
15120       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15121     else
15122       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15123     fi
15124     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15125     ;;
15126   hppa*64*)
15127     shrext_cmds='.sl'
15128     hardcode_into_libs=yes
15129     dynamic_linker="$host_os dld.sl"
15130     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15131     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15132     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15133     soname_spec='${libname}${release}${shared_ext}$major'
15134     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15135     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15136     ;;
15137   *)
15138     shrext_cmds='.sl'
15139     dynamic_linker="$host_os dld.sl"
15140     shlibpath_var=SHLIB_PATH
15141     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15142     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15143     soname_spec='${libname}${release}${shared_ext}$major'
15144     ;;
15145   esac
15146   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15147   postinstall_cmds='chmod 555 $lib'
15148   # or fails outright, so override atomically:
15149   install_override_mode=555
15150   ;;
15151
15152 interix[3-9]*)
15153   version_type=linux
15154   need_lib_prefix=no
15155   need_version=no
15156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15157   soname_spec='${libname}${release}${shared_ext}$major'
15158   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15159   shlibpath_var=LD_LIBRARY_PATH
15160   shlibpath_overrides_runpath=no
15161   hardcode_into_libs=yes
15162   ;;
15163
15164 irix5* | irix6* | nonstopux*)
15165   case $host_os in
15166     nonstopux*) version_type=nonstopux ;;
15167     *)
15168         if test "$lt_cv_prog_gnu_ld" = yes; then
15169                 version_type=linux
15170         else
15171                 version_type=irix
15172         fi ;;
15173   esac
15174   need_lib_prefix=no
15175   need_version=no
15176   soname_spec='${libname}${release}${shared_ext}$major'
15177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15178   case $host_os in
15179   irix5* | nonstopux*)
15180     libsuff= shlibsuff=
15181     ;;
15182   *)
15183     case $LD in # libtool.m4 will add one of these switches to LD
15184     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15185       libsuff= shlibsuff= libmagic=32-bit;;
15186     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15187       libsuff=32 shlibsuff=N32 libmagic=N32;;
15188     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15189       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15190     *) libsuff= shlibsuff= libmagic=never-match;;
15191     esac
15192     ;;
15193   esac
15194   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15195   shlibpath_overrides_runpath=no
15196   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15197   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15198   hardcode_into_libs=yes
15199   ;;
15200
15201 # No shared lib support for Linux oldld, aout, or coff.
15202 linux*oldld* | linux*aout* | linux*coff*)
15203   dynamic_linker=no
15204   ;;
15205
15206 # This must be Linux ELF.
15207
15208 # uclinux* changes (here and below) have been submitted to the libtool
15209 # project, but have not yet been accepted: they are GCC-local changes
15210 # for the time being.  (See
15211 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15212 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15213   version_type=linux
15214   need_lib_prefix=no
15215   need_version=no
15216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217   soname_spec='${libname}${release}${shared_ext}$major'
15218   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15219   shlibpath_var=LD_LIBRARY_PATH
15220   shlibpath_overrides_runpath=no
15221
15222   # Some binutils ld are patched to set DT_RUNPATH
15223   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15224   $as_echo_n "(cached) " >&6
15225 else
15226   lt_cv_shlibpath_overrides_runpath=no
15227     save_LDFLAGS=$LDFLAGS
15228     save_libdir=$libdir
15229     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15230          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15231     if test x$gcc_no_link = xyes; then
15232   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15233 fi
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h.  */
15236
15237 int
15238 main ()
15239 {
15240
15241   ;
15242   return 0;
15243 }
15244 _ACEOF
15245 if ac_fn_cxx_try_link "$LINENO"; then :
15246   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15247   lt_cv_shlibpath_overrides_runpath=yes
15248 fi
15249 fi
15250 rm -f core conftest.err conftest.$ac_objext \
15251     conftest$ac_exeext conftest.$ac_ext
15252     LDFLAGS=$save_LDFLAGS
15253     libdir=$save_libdir
15254
15255 fi
15256
15257   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15258
15259   # This implies no fast_install, which is unacceptable.
15260   # Some rework will be needed to allow for fast_install
15261   # before this can be enabled.
15262   hardcode_into_libs=yes
15263
15264   # Append ld.so.conf contents to the search path
15265   if test -f /etc/ld.so.conf; then
15266     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;s/"//g;/^$/d' | tr '\n' ' '`
15267     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15268   fi
15269
15270   # We used to test for /lib/ld.so.1 and disable shared libraries on
15271   # powerpc, because MkLinux only supported shared libraries with the
15272   # GNU dynamic linker.  Since this was broken with cross compilers,
15273   # most powerpc-linux boxes support dynamic linking these days and
15274   # people can always --disable-shared, the test was removed, and we
15275   # assume the GNU/Linux dynamic linker is in use.
15276   dynamic_linker='GNU/Linux ld.so'
15277   ;;
15278
15279 netbsd*)
15280   version_type=sunos
15281   need_lib_prefix=no
15282   need_version=no
15283   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15284     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15285     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15286     dynamic_linker='NetBSD (a.out) ld.so'
15287   else
15288     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15289     soname_spec='${libname}${release}${shared_ext}$major'
15290     dynamic_linker='NetBSD ld.elf_so'
15291   fi
15292   shlibpath_var=LD_LIBRARY_PATH
15293   shlibpath_overrides_runpath=yes
15294   hardcode_into_libs=yes
15295   ;;
15296
15297 newsos6)
15298   version_type=linux
15299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300   shlibpath_var=LD_LIBRARY_PATH
15301   shlibpath_overrides_runpath=yes
15302   ;;
15303
15304 *nto* | *qnx*)
15305   version_type=qnx
15306   need_lib_prefix=no
15307   need_version=no
15308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15309   soname_spec='${libname}${release}${shared_ext}$major'
15310   shlibpath_var=LD_LIBRARY_PATH
15311   shlibpath_overrides_runpath=no
15312   hardcode_into_libs=yes
15313   dynamic_linker='ldqnx.so'
15314   ;;
15315
15316 openbsd*)
15317   version_type=sunos
15318   sys_lib_dlsearch_path_spec="/usr/lib"
15319   need_lib_prefix=no
15320   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15321   case $host_os in
15322     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15323     *)                          need_version=no  ;;
15324   esac
15325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15326   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15327   shlibpath_var=LD_LIBRARY_PATH
15328   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15329     case $host_os in
15330       openbsd2.[89] | openbsd2.[89].*)
15331         shlibpath_overrides_runpath=no
15332         ;;
15333       *)
15334         shlibpath_overrides_runpath=yes
15335         ;;
15336       esac
15337   else
15338     shlibpath_overrides_runpath=yes
15339   fi
15340   ;;
15341
15342 os2*)
15343   libname_spec='$name'
15344   shrext_cmds=".dll"
15345   need_lib_prefix=no
15346   library_names_spec='$libname${shared_ext} $libname.a'
15347   dynamic_linker='OS/2 ld.exe'
15348   shlibpath_var=LIBPATH
15349   ;;
15350
15351 osf3* | osf4* | osf5*)
15352   version_type=osf
15353   need_lib_prefix=no
15354   need_version=no
15355   soname_spec='${libname}${release}${shared_ext}$major'
15356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15357   shlibpath_var=LD_LIBRARY_PATH
15358   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15359   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15360   ;;
15361
15362 rdos*)
15363   dynamic_linker=no
15364   ;;
15365
15366 solaris*)
15367   version_type=linux
15368   need_lib_prefix=no
15369   need_version=no
15370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371   soname_spec='${libname}${release}${shared_ext}$major'
15372   shlibpath_var=LD_LIBRARY_PATH
15373   shlibpath_overrides_runpath=yes
15374   hardcode_into_libs=yes
15375   # ldd complains unless libraries are executable
15376   postinstall_cmds='chmod +x $lib'
15377   ;;
15378
15379 sunos4*)
15380   version_type=sunos
15381   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15382   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15383   shlibpath_var=LD_LIBRARY_PATH
15384   shlibpath_overrides_runpath=yes
15385   if test "$with_gnu_ld" = yes; then
15386     need_lib_prefix=no
15387   fi
15388   need_version=yes
15389   ;;
15390
15391 sysv4 | sysv4.3*)
15392   version_type=linux
15393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394   soname_spec='${libname}${release}${shared_ext}$major'
15395   shlibpath_var=LD_LIBRARY_PATH
15396   case $host_vendor in
15397     sni)
15398       shlibpath_overrides_runpath=no
15399       need_lib_prefix=no
15400       runpath_var=LD_RUN_PATH
15401       ;;
15402     siemens)
15403       need_lib_prefix=no
15404       ;;
15405     motorola)
15406       need_lib_prefix=no
15407       need_version=no
15408       shlibpath_overrides_runpath=no
15409       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15410       ;;
15411   esac
15412   ;;
15413
15414 sysv4*MP*)
15415   if test -d /usr/nec ;then
15416     version_type=linux
15417     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15418     soname_spec='$libname${shared_ext}.$major'
15419     shlibpath_var=LD_LIBRARY_PATH
15420   fi
15421   ;;
15422
15423 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15424   version_type=freebsd-elf
15425   need_lib_prefix=no
15426   need_version=no
15427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15428   soname_spec='${libname}${release}${shared_ext}$major'
15429   shlibpath_var=LD_LIBRARY_PATH
15430   shlibpath_overrides_runpath=yes
15431   hardcode_into_libs=yes
15432   if test "$with_gnu_ld" = yes; then
15433     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15434   else
15435     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15436     case $host_os in
15437       sco3.2v5*)
15438         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15439         ;;
15440     esac
15441   fi
15442   sys_lib_dlsearch_path_spec='/usr/lib'
15443   ;;
15444
15445 tpf*)
15446   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15447   version_type=linux
15448   need_lib_prefix=no
15449   need_version=no
15450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451   shlibpath_var=LD_LIBRARY_PATH
15452   shlibpath_overrides_runpath=no
15453   hardcode_into_libs=yes
15454   ;;
15455
15456 uts4*)
15457   version_type=linux
15458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459   soname_spec='${libname}${release}${shared_ext}$major'
15460   shlibpath_var=LD_LIBRARY_PATH
15461   ;;
15462
15463 # Shared libraries for VwWorks, >= 7 only at this stage
15464 # and (fpic) still incompatible with "large" code models
15465 # in a few configurations. Only for RTP mode in any case,
15466 # and upon explicit request at configure time.
15467 vxworks7*)
15468   dynamic_linker=no
15469   case ${with_multisubdir}-${enable_shared} in
15470     *large*)
15471       ;;
15472     *mrtp*-yes)
15473       version_type=linux
15474       need_lib_prefix=no
15475       need_version=no
15476       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15477       soname_spec='${libname}${release}${shared_ext}$major'
15478       dynamic_linker="$host_os module_loader"
15479       ;;
15480   esac
15481   ;;
15482 *)
15483   dynamic_linker=no
15484   ;;
15485 esac
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15487 $as_echo "$dynamic_linker" >&6; }
15488 test "$dynamic_linker" = no && can_build_shared=no
15489
15490 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15491 if test "$GCC" = yes; then
15492   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15493 fi
15494
15495 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15496   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15497 fi
15498 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15499   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15500 fi
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15540 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15541 hardcode_action_CXX=
15542 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15543    test -n "$runpath_var_CXX" ||
15544    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15545
15546   # We can hardcode non-existent directories.
15547   if test "$hardcode_direct_CXX" != no &&
15548      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15549      # have to relink, otherwise we might link with an installed library
15550      # when we should be linking with a yet-to-be-installed one
15551      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15552      test "$hardcode_minus_L_CXX" != no; then
15553     # Linking always hardcodes the temporary library directory.
15554     hardcode_action_CXX=relink
15555   else
15556     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15557     hardcode_action_CXX=immediate
15558   fi
15559 else
15560   # We cannot hardcode anything, or else we can only hardcode existing
15561   # directories.
15562   hardcode_action_CXX=unsupported
15563 fi
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15565 $as_echo "$hardcode_action_CXX" >&6; }
15566
15567 if test "$hardcode_action_CXX" = relink ||
15568    test "$inherit_rpath_CXX" = yes; then
15569   # Fast installation is not supported
15570   enable_fast_install=no
15571 elif test "$shlibpath_overrides_runpath" = yes ||
15572      test "$enable_shared" = no; then
15573   # Fast installation is not necessary
15574   enable_fast_install=needless
15575 fi
15576
15577
15578
15579
15580
15581
15582
15583   fi # test -n "$compiler"
15584
15585   CC=$lt_save_CC
15586   LDCXX=$LD
15587   LD=$lt_save_LD
15588   GCC=$lt_save_GCC
15589   with_gnu_ld=$lt_save_with_gnu_ld
15590   lt_cv_path_LDCXX=$lt_cv_path_LD
15591   lt_cv_path_LD=$lt_save_path_LD
15592   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15593   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15594 fi # test "$_lt_caught_CXX_error" != yes
15595
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614         ac_config_commands="$ac_config_commands libtool"
15615
15616
15617
15618
15619 # Only expand once:
15620
15621
15622
15623
15624
15625 case $host in
15626   *-cygwin* | *-mingw*)
15627     # 'host' will be top-level target in the case of a target lib,
15628     # we must compare to with_cross_host to decide if this is a native
15629     # or cross-compiler and select where to install dlls appropriately.
15630     if test -n "$with_cross_host" &&
15631         test x"$with_cross_host" != x"no"; then
15632       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15633     else
15634       lt_host_flags='-no-undefined -bindir "$(bindir)"';
15635     fi
15636     ;;
15637   *)
15638     lt_host_flags=
15639     ;;
15640 esac
15641
15642
15643
15644
15645
15646
15647 if test "$enable_vtable_verify" = yes; then
15648   predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15649   postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15650 fi
15651
15652
15653 # libtool variables for C++ shared and position-independent compiles.
15654 #
15655 # Use glibcxx_lt_pic_flag to designate the automake variable
15656 # used to encapsulate the default libtool approach to creating objects
15657 # with position-independent code. Default: -prefer-pic.
15658 #
15659 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15660 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15661 #
15662 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15663 # creating position-independent objects. This varies with the target
15664 # hardware and operating system, but is often: -DPIC -fPIC.
15665 if test "$enable_shared" = yes; then
15666   glibcxx_lt_pic_flag="-prefer-pic"
15667   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15668   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15669
15670 else
15671   glibcxx_lt_pic_flag=
15672   glibcxx_compiler_pic_flag=
15673   glibcxx_compiler_shared_flag=
15674 fi
15675
15676
15677
15678
15679 # Override the libtool's pic_flag and pic_mode.
15680 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15681 # NB: this impacts --with-pic and --without-pic.
15682 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15683 pic_mode='default'
15684
15685 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15686 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15687
15688 # Possibly disable most of the library.
15689 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15690 ## than just ignoring the results.  Faster /and/ more correct, win win.
15691
15692   # Check whether --enable-hosted-libstdcxx was given.
15693 if test "${enable_hosted_libstdcxx+set}" = set; then :
15694   enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15695 else
15696   case "$host" in
15697         arm*-*-symbianelf*)
15698             enable_hosted_libstdcxx=no
15699             ;;
15700         *)
15701             enable_hosted_libstdcxx=yes
15702             ;;
15703      esac
15704 fi
15705
15706
15707   # Because most configure args are --enable-libstdcxx-foo add an alias
15708   # of that form for --enable-hosted-libstdcxx.
15709   # Check whether --enable-libstdcxx-hosted was given.
15710 if test "${enable_libstdcxx_hosted+set}" = set; then :
15711   enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15712       if test "$enable_hosted_libstdcxx" != "$enableval"; then
15713         as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15714       fi
15715     else
15716       enable_hosted_libstdcxx=${enableval}
15717     fi
15718
15719 fi
15720
15721
15722   freestanding_flags=
15723   if test "$enable_hosted_libstdcxx" = no; then
15724     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15725 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15726     is_hosted=no
15727     hosted_define=0
15728     enable_abi_check=no
15729     enable_libstdcxx_pch=no
15730     if test "x$with_headers" = xno; then
15731       freestanding_flags="-ffreestanding"
15732     fi
15733   else
15734     is_hosted=yes
15735     hosted_define=__STDC_HOSTED__
15736   fi
15737
15738
15739 cat >>confdefs.h <<_ACEOF
15740 #define _GLIBCXX_HOSTED $hosted_define
15741 _ACEOF
15742
15743   FREESTANDING_FLAGS="$freestanding_flags"
15744
15745
15746
15747 # Enable descriptive messages to standard output on termination.
15748
15749   # Check whether --enable-libstdcxx-verbose was given.
15750 if test "${enable_libstdcxx_verbose+set}" = set; then :
15751   enableval=$enable_libstdcxx_verbose;
15752 else
15753   enable_libstdcxx_verbose=yes
15754 fi
15755
15756   if test x"$enable_libstdcxx_verbose" = xyes; then
15757     verbose_define=1
15758   else
15759     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15760 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15761     verbose_define=0
15762   fi
15763
15764 cat >>confdefs.h <<_ACEOF
15765 #define _GLIBCXX_VERBOSE $verbose_define
15766 _ACEOF
15767
15768
15769
15770 # Enable compiler support that doesn't require linking.
15771
15772    # Check whether --enable-libstdcxx-pch was given.
15773 if test "${enable_libstdcxx_pch+set}" = set; then :
15774   enableval=$enable_libstdcxx_pch;
15775       case "$enableval" in
15776        yes|no) ;;
15777        *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15778       esac
15779
15780 else
15781   enable_libstdcxx_pch=$is_hosted
15782 fi
15783
15784
15785   if test $enable_libstdcxx_pch = yes; then
15786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15787 $as_echo_n "checking for compiler with PCH support... " >&6; }
15788 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15789   $as_echo_n "(cached) " >&6
15790 else
15791   ac_save_CXXFLAGS="$CXXFLAGS"
15792        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15793
15794        ac_ext=cpp
15795 ac_cpp='$CXXCPP $CPPFLAGS'
15796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15799
15800        echo '#include <math.h>' > conftest.h
15801        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15802                           -o conftest.h.gch 1>&5 2>&1 &&
15803                 echo '#error "pch failed"' > conftest.h &&
15804           echo '#include "conftest.h"' > conftest.cc &&
15805                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15806        then
15807          glibcxx_cv_prog_CXX_pch=yes
15808        else
15809          glibcxx_cv_prog_CXX_pch=no
15810        fi
15811        rm -f conftest*
15812        CXXFLAGS=$ac_save_CXXFLAGS
15813        ac_ext=c
15814 ac_cpp='$CPP $CPPFLAGS'
15815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15818
15819
15820 fi
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15822 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15823     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15824   fi
15825
15826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15827 $as_echo_n "checking for enabled PCH... " >&6; }
15828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15829 $as_echo "$enable_libstdcxx_pch" >&6; }
15830
15831
15832   if test $enable_libstdcxx_pch = yes; then
15833     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15834   else
15835     glibcxx_PCHFLAGS=""
15836   fi
15837
15838
15839
15840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15841 $as_echo_n "checking for thread model used by GCC... " >&6; }
15842   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15844 $as_echo "$target_thread_file" >&6; }
15845
15846 case $target_thread_file in
15847     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15848     dce)        thread_header=config/pa/gthr-dce.h ;;
15849     gcn)        thread_header=config/gcn/gthr-gcn.h ;;
15850     lynx)       thread_header=config/gthr-lynx.h ;;
15851     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15852     posix)      thread_header=gthr-posix.h ;;
15853     rtems)      thread_header=config/gthr-rtems.h ;;
15854     single)     thread_header=gthr-single.h ;;
15855     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15856     vxworks)    thread_header=config/gthr-vxworks.h ;;
15857     win32)      thread_header=config/i386/gthr-win32.h ;;
15858 esac
15859
15860
15861
15862
15863
15864   ac_ext=cpp
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15869
15870   old_CXXFLAGS="$CXXFLAGS"
15871
15872   # Do link tests if possible, instead asm tests, limited to some platforms
15873   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15874   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15875   atomic_builtins_link_tests=no
15876   if test x$gcc_no_link != xyes; then
15877     # Can do link tests. Limit to some tested platforms
15878     case "$host" in
15879       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15880         atomic_builtins_link_tests=yes
15881         ;;
15882     esac
15883   fi
15884
15885   if test x$atomic_builtins_link_tests = xyes; then
15886
15887   # Do link tests.
15888
15889   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15890
15891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15892 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15893 if ${glibcxx_cv_atomic_bool+:} false; then :
15894   $as_echo_n "(cached) " >&6
15895 else
15896
15897     if test x$gcc_no_link = xyes; then
15898   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15899 fi
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h.  */
15902
15903 int
15904 main ()
15905 {
15906 typedef bool atomic_type;
15907        atomic_type c1;
15908        atomic_type c2;
15909        atomic_type c3(0);
15910        // N.B. __atomic_fetch_add is not supported for bool.
15911        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15912                                    __ATOMIC_RELAXED);
15913        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15914        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15915
15916   ;
15917   return 0;
15918 }
15919 _ACEOF
15920 if ac_fn_cxx_try_link "$LINENO"; then :
15921   glibcxx_cv_atomic_bool=yes
15922 else
15923   glibcxx_cv_atomic_bool=no
15924 fi
15925 rm -f core conftest.err conftest.$ac_objext \
15926     conftest$ac_exeext conftest.$ac_ext
15927
15928 fi
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15930 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15931
15932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15933 $as_echo_n "checking for atomic builtins for short... " >&6; }
15934 if ${glibcxx_cv_atomic_short+:} false; then :
15935   $as_echo_n "(cached) " >&6
15936 else
15937
15938     if test x$gcc_no_link = xyes; then
15939   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15940 fi
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h.  */
15943
15944 int
15945 main ()
15946 {
15947 typedef short atomic_type;
15948        atomic_type c1;
15949        atomic_type c2;
15950        atomic_type c3(0);
15951        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15952        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15953                                    __ATOMIC_RELAXED);
15954        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15955        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15956
15957   ;
15958   return 0;
15959 }
15960 _ACEOF
15961 if ac_fn_cxx_try_link "$LINENO"; then :
15962   glibcxx_cv_atomic_short=yes
15963 else
15964   glibcxx_cv_atomic_short=no
15965 fi
15966 rm -f core conftest.err conftest.$ac_objext \
15967     conftest$ac_exeext conftest.$ac_ext
15968
15969 fi
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15971 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15972
15973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15974 $as_echo_n "checking for atomic builtins for int... " >&6; }
15975 if ${glibcxx_cv_atomic_int+:} false; then :
15976   $as_echo_n "(cached) " >&6
15977 else
15978
15979     if test x$gcc_no_link = xyes; then
15980   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15981 fi
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h.  */
15984
15985 int
15986 main ()
15987 {
15988 typedef int atomic_type;
15989        atomic_type c1;
15990        atomic_type c2;
15991        atomic_type c3(0);
15992        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15993        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15994                                    __ATOMIC_RELAXED);
15995        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15996        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15997
15998   ;
15999   return 0;
16000 }
16001 _ACEOF
16002 if ac_fn_cxx_try_link "$LINENO"; then :
16003   glibcxx_cv_atomic_int=yes
16004 else
16005   glibcxx_cv_atomic_int=no
16006 fi
16007 rm -f core conftest.err conftest.$ac_objext \
16008     conftest$ac_exeext conftest.$ac_ext
16009
16010 fi
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16012 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16013
16014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16015 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16016 if ${glibcxx_cv_atomic_long_long+:} false; then :
16017   $as_echo_n "(cached) " >&6
16018 else
16019
16020     if test x$gcc_no_link = xyes; then
16021   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16022 fi
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h.  */
16025
16026 int
16027 main ()
16028 {
16029 typedef long long atomic_type;
16030        atomic_type c1;
16031        atomic_type c2;
16032        atomic_type c3(0);
16033        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16034        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16035                                    __ATOMIC_RELAXED);
16036        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16037        __atomic_load_n(&c1, __ATOMIC_RELAXED);
16038
16039   ;
16040   return 0;
16041 }
16042 _ACEOF
16043 if ac_fn_cxx_try_link "$LINENO"; then :
16044   glibcxx_cv_atomic_long_long=yes
16045 else
16046   glibcxx_cv_atomic_long_long=no
16047 fi
16048 rm -f core conftest.err conftest.$ac_objext \
16049     conftest$ac_exeext conftest.$ac_ext
16050
16051 fi
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16053 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16054
16055   else
16056
16057   # Do asm tests.
16058
16059   # Compile unoptimized.
16060   CXXFLAGS='-O0 -S'
16061
16062   # Fake what AC_TRY_COMPILE does.
16063
16064     cat > conftest.$ac_ext << EOF
16065 #line 16065 "configure"
16066 int main()
16067 {
16068   typedef bool atomic_type;
16069   atomic_type c1;
16070   atomic_type c2;
16071   atomic_type c3(0);
16072   // N.B. __atomic_fetch_add is not supported for bool.
16073   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16074                               __ATOMIC_RELAXED);
16075   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16076   __atomic_load_n(&c1, __ATOMIC_RELAXED);
16077
16078   return 0;
16079 }
16080 EOF
16081
16082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16083 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16084     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16085   (eval $ac_compile) 2>&5
16086   ac_status=$?
16087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16088   test $ac_status = 0; }; then
16089       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16090         glibcxx_cv_atomic_bool=no
16091       else
16092         glibcxx_cv_atomic_bool=yes
16093       fi
16094     fi
16095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16096 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16097     rm -f conftest*
16098
16099     cat > conftest.$ac_ext << EOF
16100 #line 16100 "configure"
16101 int main()
16102 {
16103   typedef short atomic_type;
16104   atomic_type c1;
16105   atomic_type c2;
16106   atomic_type c3(0);
16107   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16108   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16109                               __ATOMIC_RELAXED);
16110   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16111   __atomic_load_n(&c1, __ATOMIC_RELAXED);
16112
16113   return 0;
16114 }
16115 EOF
16116
16117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16118 $as_echo_n "checking for atomic builtins for short... " >&6; }
16119     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16120   (eval $ac_compile) 2>&5
16121   ac_status=$?
16122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16123   test $ac_status = 0; }; then
16124       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16125         glibcxx_cv_atomic_short=no
16126       else
16127         glibcxx_cv_atomic_short=yes
16128       fi
16129     fi
16130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16131 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16132     rm -f conftest*
16133
16134     cat > conftest.$ac_ext << EOF
16135 #line 16135 "configure"
16136 int main()
16137 {
16138   // NB: _Atomic_word not necessarily int.
16139   typedef int atomic_type;
16140   atomic_type c1;
16141   atomic_type c2;
16142   atomic_type c3(0);
16143   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16144   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16145                               __ATOMIC_RELAXED);
16146   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16147   __atomic_load_n(&c1, __ATOMIC_RELAXED);
16148
16149   return 0;
16150 }
16151 EOF
16152
16153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16154 $as_echo_n "checking for atomic builtins for int... " >&6; }
16155     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16156   (eval $ac_compile) 2>&5
16157   ac_status=$?
16158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16159   test $ac_status = 0; }; then
16160       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16161         glibcxx_cv_atomic_int=no
16162       else
16163         glibcxx_cv_atomic_int=yes
16164       fi
16165     fi
16166     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16167 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16168     rm -f conftest*
16169
16170     cat > conftest.$ac_ext << EOF
16171 #line 16171 "configure"
16172 int main()
16173 {
16174   typedef long long atomic_type;
16175   atomic_type c1;
16176   atomic_type c2;
16177   atomic_type c3(0);
16178   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16179   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16180                               __ATOMIC_RELAXED);
16181   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16182   __atomic_load_n(&c1, __ATOMIC_RELAXED);
16183
16184   return 0;
16185 }
16186 EOF
16187
16188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16189 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16190     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16191   (eval $ac_compile) 2>&5
16192   ac_status=$?
16193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16194   test $ac_status = 0; }; then
16195       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16196         glibcxx_cv_atomic_long_long=no
16197       else
16198         glibcxx_cv_atomic_long_long=yes
16199       fi
16200     fi
16201     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16202 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16203     rm -f conftest*
16204
16205   fi
16206
16207   CXXFLAGS="$old_CXXFLAGS"
16208   ac_ext=c
16209 ac_cpp='$CPP $CPPFLAGS'
16210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16213
16214
16215   # Set atomicity_dir to builtins if all but the long long test above passes,
16216   # or if the builtins were already chosen (e.g. by configure.host).
16217   if { test "$glibcxx_cv_atomic_bool" = yes \
16218      && test "$glibcxx_cv_atomic_short" = yes \
16219      && test "$glibcxx_cv_atomic_int" = yes; } \
16220      || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16221
16222 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16223
16224     atomicity_dir=cpu/generic/atomicity_builtins
16225   fi
16226
16227   # If still generic, set to mutex.
16228   if test $atomicity_dir = "cpu/generic" ; then
16229     atomicity_dir=cpu/generic/atomicity_mutex
16230     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16231 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16232       if test "x$target_thread_file" = xsingle; then
16233         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16234 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16235         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16236 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16237       else
16238         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16239 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16240         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16241 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16242       fi
16243   fi
16244
16245
16246
16247
16248
16249 # Check whether --with-libstdcxx-lock-policy was given.
16250 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16251   withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16252 else
16253   libstdcxx_atomic_lock_policy=auto
16254 fi
16255
16256
16257   case "$libstdcxx_atomic_lock_policy" in
16258     atomic|mutex|auto) ;;
16259     *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16260   esac
16261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16262 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16263
16264   if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16265
16266     ac_ext=cpp
16267 ac_cpp='$CXXCPP $CPPFLAGS'
16268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16271
16272     ac_save_CXXFLAGS="$CXXFLAGS"
16273
16274                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h.  */
16276
16277     #if defined __riscv
16278     # error "Defaulting to mutex-based locks for ABI compatibility"
16279     #endif
16280     #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16281     # error "No 2-byte compare-and-swap"
16282     #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16283     # error "No 4-byte compare-and-swap"
16284     #endif
16285
16286 int
16287 main ()
16288 {
16289
16290   ;
16291   return 0;
16292 }
16293 _ACEOF
16294 if ac_fn_cxx_try_compile "$LINENO"; then :
16295   libstdcxx_atomic_lock_policy=atomic
16296 else
16297   libstdcxx_atomic_lock_policy=mutex
16298 fi
16299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16300     ac_ext=c
16301 ac_cpp='$CPP $CPPFLAGS'
16302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16305
16306     CXXFLAGS="$ac_save_CXXFLAGS"
16307   fi
16308
16309   if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16311 $as_echo "atomic" >&6; }
16312
16313 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16314
16315   else
16316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16317 $as_echo "mutex" >&6; }
16318   fi
16319
16320
16321
16322
16323   # Fake what AC_TRY_COMPILE does, without linking as this is
16324   # unnecessary for this test.
16325
16326     cat > conftest.$ac_ext << EOF
16327 #line 16327 "configure"
16328 int main()
16329 {
16330   _Decimal32 d1;
16331   _Decimal64 d2;
16332   _Decimal128 d3;
16333   return 0;
16334 }
16335 EOF
16336
16337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16338 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16339     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16340   (eval $ac_compile) 2>&5
16341   ac_status=$?
16342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16343   test $ac_status = 0; }; then
16344
16345 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16346
16347       enable_dfp=yes
16348     else
16349       enable_dfp=no
16350     fi
16351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16352 $as_echo "$enable_dfp" >&6; }
16353     rm -f conftest*
16354
16355
16356
16357
16358   ac_ext=cpp
16359 ac_cpp='$CXXCPP $CPPFLAGS'
16360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16363
16364
16365   # Fake what AC_TRY_COMPILE does, without linking as this is
16366   # unnecessary for this test.
16367
16368   cat > conftest.$ac_ext << EOF
16369 #line 16369 "configure"
16370 template<typename T1, typename T2>
16371   struct same
16372   { typedef T2 type; };
16373
16374 template<typename T>
16375   struct same<T, T>;
16376
16377 int main()
16378 {
16379   typename same<double, __float128>::type      f1;
16380   typename same<long double, __float128>::type f2;
16381 }
16382 EOF
16383
16384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16385 $as_echo_n "checking for __float128... " >&6; }
16386     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16387   (eval $ac_compile) 2>&5
16388   ac_status=$?
16389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16390   test $ac_status = 0; }; then
16391       enable_float128=yes
16392     else
16393       enable_float128=no
16394     fi
16395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16396 $as_echo "$enable_float128" >&6; }
16397
16398     rm -f conftest*
16399
16400   ac_ext=c
16401 ac_cpp='$CPP $CPPFLAGS'
16402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16405
16406
16407 if test "$enable_float128" = yes; then
16408   port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16409 fi
16410
16411 # Checks for compiler support that doesn't require linking.
16412
16413   # All these tests are for C++; save the language and the compiler flags.
16414   # The CXXFLAGS thing is suspicious, but based on similar bits previously
16415   # found in GLIBCXX_CONFIGURE.
16416
16417   ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16422
16423   ac_test_CXXFLAGS="${CXXFLAGS+set}"
16424   ac_save_CXXFLAGS="$CXXFLAGS"
16425
16426   # Check for -ffunction-sections -fdata-sections
16427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16428 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16429   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431 /* end confdefs.h.  */
16432 int foo; void bar() { };
16433 int
16434 main ()
16435 {
16436
16437   ;
16438   return 0;
16439 }
16440 _ACEOF
16441 if ac_fn_cxx_try_compile "$LINENO"; then :
16442   ac_fdsections=yes
16443 else
16444   ac_fdsections=no
16445 fi
16446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16447   if test "$ac_test_CXXFLAGS" = set; then
16448     CXXFLAGS="$ac_save_CXXFLAGS"
16449   else
16450     # this is the suspicious part
16451     CXXFLAGS=''
16452   fi
16453   if test x"$ac_fdsections" = x"yes"; then
16454     SECTION_FLAGS='-ffunction-sections -fdata-sections'
16455   fi
16456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16457 $as_echo "$ac_fdsections" >&6; }
16458
16459   ac_ext=c
16460 ac_cpp='$CPP $CPPFLAGS'
16461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16464
16465
16466
16467
16468 # Enable all the variable C++ runtime options that don't require linking.
16469
16470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16471 $as_echo_n "checking for underlying I/O to use... " >&6; }
16472    # Check whether --enable-cstdio was given.
16473 if test "${enable_cstdio+set}" = set; then :
16474   enableval=$enable_cstdio;
16475       case "$enableval" in
16476        stdio|stdio_posix|stdio_pure) ;;
16477        *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16478                         esac
16479
16480 else
16481   enable_cstdio=stdio
16482 fi
16483
16484
16485
16486   # The only available I/O model is based on stdio, via basic_file_stdio.
16487   # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16488   # to get a file descriptor and then uses read(3) and write(3) with it.
16489   # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16490   case ${enable_cstdio} in
16491     stdio*)
16492       CSTDIO_H=config/io/c_io_stdio.h
16493       BASIC_FILE_H=config/io/basic_file_stdio.h
16494       BASIC_FILE_CC=config/io/basic_file_stdio.cc
16495
16496       if test "x$enable_cstdio" = "xstdio_pure" ; then
16497         { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16498 $as_echo "stdio (without POSIX read/write)" >&6; }
16499
16500 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16501
16502       else
16503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16504 $as_echo "stdio (with POSIX read/write)" >&6; }
16505       fi
16506       ;;
16507   esac
16508
16509
16510
16511
16512
16513
16514    # Check whether --enable-clocale was given.
16515 if test "${enable_clocale+set}" = set; then :
16516   enableval=$enable_clocale;
16517       case "$enableval" in
16518        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16519        *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16520                         esac
16521
16522 else
16523   enable_clocale=auto
16524 fi
16525
16526
16527
16528   # Deal with gettext issues.  Default to not using it (=no) until we detect
16529   # support for it later.  Let the user turn it off via --e/d, but let that
16530   # default to on for easier handling.
16531   USE_NLS=no
16532   # Check whether --enable-nls was given.
16533 if test "${enable_nls+set}" = set; then :
16534   enableval=$enable_nls;
16535 else
16536   enable_nls=yes
16537 fi
16538
16539
16540   # Either a known package, or "auto"
16541   if test $enable_clocale = no || test $enable_clocale = yes; then
16542      enable_clocale=auto
16543   fi
16544   enable_clocale_flag=$enable_clocale
16545
16546   # Probe for locale model to use if none specified.
16547   # Default to "generic".
16548   if test $enable_clocale_flag = auto; then
16549     case ${target_os} in
16550       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16551         enable_clocale_flag=gnu
16552         ;;
16553       darwin*)
16554         enable_clocale_flag=darwin
16555         ;;
16556       vxworks*)
16557         enable_clocale_flag=vxworks
16558         ;;
16559       dragonfly* | freebsd*)
16560         enable_clocale_flag=dragonfly
16561         ;;
16562       openbsd*)
16563         enable_clocale_flag=newlib
16564         ;;
16565       *)
16566         if test x"$with_newlib" = x"yes"; then
16567           enable_clocale_flag=newlib
16568         else
16569           enable_clocale_flag=generic
16570         fi
16571         ;;
16572     esac
16573   fi
16574
16575   # Sanity check model, and test for special functionality.
16576   if test $enable_clocale_flag = gnu; then
16577     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h.  */
16579
16580     #include <features.h>
16581     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16582       _GLIBCXX_ok
16583     #endif
16584
16585 _ACEOF
16586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16587   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16588   enable_clocale_flag=gnu
16589 else
16590   enable_clocale_flag=generic
16591 fi
16592 rm -f conftest*
16593
16594
16595     # Set it to scream when it hurts.
16596     ac_save_CFLAGS="$CFLAGS"
16597     CFLAGS="-Wimplicit-function-declaration -Werror"
16598
16599     # Use strxfrm_l if available.
16600     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h.  */
16602 #define _GNU_SOURCE 1
16603                     #include <string.h>
16604                     #include <locale.h>
16605 int
16606 main ()
16607 {
16608 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16609   ;
16610   return 0;
16611 }
16612 _ACEOF
16613 if ac_fn_c_try_compile "$LINENO"; then :
16614
16615 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16616
16617 fi
16618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16619
16620     # Use strerror_l if available.
16621     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h.  */
16623 #define _GNU_SOURCE 1
16624                     #include <string.h>
16625                     #include <locale.h>
16626 int
16627 main ()
16628 {
16629 __locale_t loc; strerror_l(5, loc);
16630   ;
16631   return 0;
16632 }
16633 _ACEOF
16634 if ac_fn_c_try_compile "$LINENO"; then :
16635
16636 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16637
16638 fi
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640
16641     CFLAGS="$ac_save_CFLAGS"
16642   fi
16643
16644   # Perhaps use strerror_r if available, and strerror_l isn't.
16645   ac_save_CFLAGS="$CFLAGS"
16646   CFLAGS="-Wimplicit-function-declaration -Werror"
16647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h.  */
16649 #define _GNU_SOURCE 1
16650                   #include <string.h>
16651                   #include <locale.h>
16652 int
16653 main ()
16654 {
16655 char s[128]; strerror_r(5, s, 128);
16656   ;
16657   return 0;
16658 }
16659 _ACEOF
16660 if ac_fn_c_try_compile "$LINENO"; then :
16661
16662 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16663
16664 fi
16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16666   CFLAGS="$ac_save_CFLAGS"
16667
16668   # Set configure bits for specified locale package
16669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16670 $as_echo_n "checking for C locale to use... " >&6; }
16671   case ${enable_clocale_flag} in
16672     generic)
16673       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16674 $as_echo "generic" >&6; }
16675
16676       CLOCALE_H=config/locale/generic/c_locale.h
16677       CLOCALE_CC=config/locale/generic/c_locale.cc
16678       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16679       CCOLLATE_CC=config/locale/generic/collate_members.cc
16680       CCTYPE_CC=config/locale/generic/ctype_members.cc
16681       CMESSAGES_H=config/locale/generic/messages_members.h
16682       CMESSAGES_CC=config/locale/generic/messages_members.cc
16683       CMONEY_CC=config/locale/generic/monetary_members.cc
16684       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16685       CTIME_H=config/locale/generic/time_members.h
16686       CTIME_CC=config/locale/generic/time_members.cc
16687       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16688       ;;
16689     darwin)
16690       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16691 $as_echo "darwin" >&6; }
16692
16693       CLOCALE_H=config/locale/generic/c_locale.h
16694       CLOCALE_CC=config/locale/generic/c_locale.cc
16695       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16696       CCOLLATE_CC=config/locale/generic/collate_members.cc
16697       CCTYPE_CC=config/locale/darwin/ctype_members.cc
16698       CMESSAGES_H=config/locale/generic/messages_members.h
16699       CMESSAGES_CC=config/locale/generic/messages_members.cc
16700       CMONEY_CC=config/locale/generic/monetary_members.cc
16701       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16702       CTIME_H=config/locale/generic/time_members.h
16703       CTIME_CC=config/locale/generic/time_members.cc
16704       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16705       ;;
16706     vxworks)
16707       { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16708 $as_echo "vxworks" >&6; }
16709
16710       CLOCALE_H=config/locale/generic/c_locale.h
16711       CLOCALE_CC=config/locale/generic/c_locale.cc
16712       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16713       CCOLLATE_CC=config/locale/generic/collate_members.cc
16714       CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16715       CMESSAGES_H=config/locale/generic/messages_members.h
16716       CMESSAGES_CC=config/locale/generic/messages_members.cc
16717       CMONEY_CC=config/locale/generic/monetary_members.cc
16718       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16719       CTIME_H=config/locale/generic/time_members.h
16720       CTIME_CC=config/locale/generic/time_members.cc
16721       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16722       ;;
16723     dragonfly)
16724       { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16725 $as_echo "dragonfly or freebsd" >&6; }
16726
16727       CLOCALE_H=config/locale/dragonfly/c_locale.h
16728       CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16729       CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16730       CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16731       CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16732       CMESSAGES_H=config/locale/generic/messages_members.h
16733       CMESSAGES_CC=config/locale/generic/messages_members.cc
16734       CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16735       CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16736       CTIME_H=config/locale/dragonfly/time_members.h
16737       CTIME_CC=config/locale/dragonfly/time_members.cc
16738       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16739       ;;
16740
16741     gnu)
16742       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16743 $as_echo "gnu" >&6; }
16744
16745       # Declare intention to use gettext, and add support for specific
16746       # languages.
16747       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16748       ALL_LINGUAS="de fr"
16749
16750       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16751       # Extract the first word of "msgfmt", so it can be a program name with args.
16752 set dummy msgfmt; ac_word=$2
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16754 $as_echo_n "checking for $ac_word... " >&6; }
16755 if ${ac_cv_prog_check_msgfmt+:} false; then :
16756   $as_echo_n "(cached) " >&6
16757 else
16758   if test -n "$check_msgfmt"; then
16759   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16760 else
16761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16762 for as_dir in $PATH
16763 do
16764   IFS=$as_save_IFS
16765   test -z "$as_dir" && as_dir=.
16766     for ac_exec_ext in '' $ac_executable_extensions; do
16767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16768     ac_cv_prog_check_msgfmt="yes"
16769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16770     break 2
16771   fi
16772 done
16773   done
16774 IFS=$as_save_IFS
16775
16776   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16777 fi
16778 fi
16779 check_msgfmt=$ac_cv_prog_check_msgfmt
16780 if test -n "$check_msgfmt"; then
16781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16782 $as_echo "$check_msgfmt" >&6; }
16783 else
16784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16785 $as_echo "no" >&6; }
16786 fi
16787
16788
16789       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16790         USE_NLS=yes
16791       fi
16792       # Export the build objects.
16793       for ling in $ALL_LINGUAS; do \
16794         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16795         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16796       done
16797
16798
16799
16800       CLOCALE_H=config/locale/gnu/c_locale.h
16801       CLOCALE_CC=config/locale/gnu/c_locale.cc
16802       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16803       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16804       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16805       CMESSAGES_H=config/locale/gnu/messages_members.h
16806       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16807       CMONEY_CC=config/locale/gnu/monetary_members.cc
16808       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16809       CTIME_H=config/locale/gnu/time_members.h
16810       CTIME_CC=config/locale/gnu/time_members.cc
16811       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16812       ;;
16813     ieee_1003.1-2001)
16814       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16815 $as_echo "IEEE 1003.1" >&6; }
16816
16817       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16818       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16819       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16820       CCOLLATE_CC=config/locale/generic/collate_members.cc
16821       CCTYPE_CC=config/locale/generic/ctype_members.cc
16822       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16823       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16824       CMONEY_CC=config/locale/generic/monetary_members.cc
16825       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16826       CTIME_H=config/locale/generic/time_members.h
16827       CTIME_CC=config/locale/generic/time_members.cc
16828       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16829       ;;
16830     newlib)
16831       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16832 $as_echo "newlib" >&6; }
16833
16834       CLOCALE_H=config/locale/generic/c_locale.h
16835       CLOCALE_CC=config/locale/generic/c_locale.cc
16836       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16837       CCOLLATE_CC=config/locale/generic/collate_members.cc
16838       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16839       CMESSAGES_H=config/locale/generic/messages_members.h
16840       CMESSAGES_CC=config/locale/generic/messages_members.cc
16841       CMONEY_CC=config/locale/generic/monetary_members.cc
16842       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16843       CTIME_H=config/locale/generic/time_members.h
16844       CTIME_CC=config/locale/generic/time_members.cc
16845       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16846       ;;
16847   esac
16848
16849   # This is where the testsuite looks for locale catalogs, using the
16850   # -DLOCALEDIR define during testsuite compilation.
16851   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16852
16853
16854   # A standalone libintl (e.g., GNU libintl) may be in use.
16855   if test $USE_NLS = yes; then
16856     for ac_header in libintl.h
16857 do :
16858   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16859 if test "x$ac_cv_header_libintl_h" = xyes; then :
16860   cat >>confdefs.h <<_ACEOF
16861 #define HAVE_LIBINTL_H 1
16862 _ACEOF
16863
16864 else
16865   USE_NLS=no
16866 fi
16867
16868 done
16869
16870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16871 $as_echo_n "checking for library containing gettext... " >&6; }
16872 if ${ac_cv_search_gettext+:} false; then :
16873   $as_echo_n "(cached) " >&6
16874 else
16875   ac_func_search_save_LIBS=$LIBS
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h.  */
16878
16879 /* Override any GCC internal prototype to avoid an error.
16880    Use char because int might match the return type of a GCC
16881    builtin and then its argument prototype would still apply.  */
16882 #ifdef __cplusplus
16883 extern "C"
16884 #endif
16885 char gettext ();
16886 int
16887 main ()
16888 {
16889 return gettext ();
16890   ;
16891   return 0;
16892 }
16893 _ACEOF
16894 for ac_lib in '' intl; do
16895   if test -z "$ac_lib"; then
16896     ac_res="none required"
16897   else
16898     ac_res=-l$ac_lib
16899     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16900   fi
16901   if test x$gcc_no_link = xyes; then
16902   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16903 fi
16904 if ac_fn_c_try_link "$LINENO"; then :
16905   ac_cv_search_gettext=$ac_res
16906 fi
16907 rm -f core conftest.err conftest.$ac_objext \
16908     conftest$ac_exeext
16909   if ${ac_cv_search_gettext+:} false; then :
16910   break
16911 fi
16912 done
16913 if ${ac_cv_search_gettext+:} false; then :
16914
16915 else
16916   ac_cv_search_gettext=no
16917 fi
16918 rm conftest.$ac_ext
16919 LIBS=$ac_func_search_save_LIBS
16920 fi
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16922 $as_echo "$ac_cv_search_gettext" >&6; }
16923 ac_res=$ac_cv_search_gettext
16924 if test "$ac_res" != no; then :
16925   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16926
16927 else
16928   USE_NLS=no
16929 fi
16930
16931   fi
16932   if test $USE_NLS = yes; then
16933
16934 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16935
16936   fi
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16954 $as_echo_n "checking for std::allocator base class... " >&6; }
16955    # Check whether --enable-libstdcxx-allocator was given.
16956 if test "${enable_libstdcxx_allocator+set}" = set; then :
16957   enableval=$enable_libstdcxx_allocator;
16958       case "$enableval" in
16959        new|malloc|yes|no|auto) ;;
16960        *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16961                         esac
16962
16963 else
16964   enable_libstdcxx_allocator=auto
16965 fi
16966
16967
16968
16969   # If they didn't use this option switch, or if they specified --enable
16970   # with no specific model, we'll have to look for one.  If they
16971   # specified --disable (???), do likewise.
16972   if test $enable_libstdcxx_allocator = no ||
16973      test $enable_libstdcxx_allocator = yes;
16974   then
16975      enable_libstdcxx_allocator=auto
16976   fi
16977
16978   # Either a known package, or "auto". Auto implies the default choice
16979   # for a particular platform.
16980   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16981
16982   # Probe for host-specific support if no specific model is specified.
16983   # Default to "new".
16984   if test $enable_libstdcxx_allocator_flag = auto; then
16985     case ${target_os} in
16986       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16987         enable_libstdcxx_allocator_flag=new
16988         ;;
16989       *)
16990         enable_libstdcxx_allocator_flag=new
16991         ;;
16992     esac
16993   fi
16994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16995 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16996
16997
16998   # Set configure bits for specified locale package
16999   case ${enable_libstdcxx_allocator_flag} in
17000     malloc)
17001       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
17002       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
17003       ;;
17004     new)
17005       ALLOCATOR_H=config/allocator/new_allocator_base.h
17006       ALLOCATOR_NAME=__gnu_cxx::new_allocator
17007       ;;
17008   esac
17009
17010
17011
17012
17013
17014
17015    # Check whether --enable-cheaders-obsolete was given.
17016 if test "${enable_cheaders_obsolete+set}" = set; then :
17017   enableval=$enable_cheaders_obsolete;
17018       case "$enableval" in
17019        yes|no) ;;
17020        *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
17021       esac
17022
17023 else
17024   enable_cheaders_obsolete=no
17025 fi
17026
17027
17028    # Check whether --enable-cheaders was given.
17029 if test "${enable_cheaders+set}" = set; then :
17030   enableval=$enable_cheaders;
17031       case "$enableval" in
17032        c|c_global|c_std) ;;
17033        *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
17034                         esac
17035
17036 else
17037   enable_cheaders=$c_model
17038 fi
17039
17040
17041   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
17042 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
17043   if test $enable_cheaders = c_std ; then
17044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17045 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17046     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17047 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17048     if test $enable_cheaders_obsolete != yes ; then
17049       as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17050     fi
17051   fi
17052
17053   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17054
17055   # Allow overrides to configure.host here.
17056   if test $enable_cheaders = c_global; then
17057      c_compatibility=yes
17058   fi
17059
17060
17061
17062
17063
17064
17065
17066    # Check whether --enable-long-long was given.
17067 if test "${enable_long_long+set}" = set; then :
17068   enableval=$enable_long_long;
17069       case "$enableval" in
17070        yes|no) ;;
17071        *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17072       esac
17073
17074 else
17075   enable_long_long=yes
17076 fi
17077
17078
17079   if test $enable_long_long = yes; then
17080
17081 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17082
17083   fi
17084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17085 $as_echo_n "checking for enabled long long specializations... " >&6; }
17086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17087 $as_echo "$enable_long_long" >&6; }
17088
17089
17090    # Check whether --enable-wchar_t was given.
17091 if test "${enable_wchar_t+set}" = set; then :
17092   enableval=$enable_wchar_t;
17093       case "$enableval" in
17094        yes|no) ;;
17095        *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17096       esac
17097
17098 else
17099   enable_wchar_t=yes
17100 fi
17101
17102
17103
17104   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17105   for ac_header in wchar.h
17106 do :
17107   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17108 if test "x$ac_cv_header_wchar_h" = xyes; then :
17109   cat >>confdefs.h <<_ACEOF
17110 #define HAVE_WCHAR_H 1
17111 _ACEOF
17112  ac_has_wchar_h=yes
17113 else
17114   ac_has_wchar_h=no
17115 fi
17116
17117 done
17118
17119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17120 $as_echo_n "checking for mbstate_t... " >&6; }
17121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h.  */
17123 #include <wchar.h>
17124 int
17125 main ()
17126 {
17127 mbstate_t teststate;
17128   ;
17129   return 0;
17130 }
17131 _ACEOF
17132 if ac_fn_c_try_compile "$LINENO"; then :
17133   have_mbstate_t=yes
17134 else
17135   have_mbstate_t=no
17136 fi
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17139 $as_echo "$have_mbstate_t" >&6; }
17140   if test x"$have_mbstate_t" = xyes; then
17141
17142 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17143
17144   fi
17145
17146   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17147   # ac_has_wchar_h.
17148   for ac_header in wctype.h
17149 do :
17150   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17151 if test "x$ac_cv_header_wctype_h" = xyes; then :
17152   cat >>confdefs.h <<_ACEOF
17153 #define HAVE_WCTYPE_H 1
17154 _ACEOF
17155  ac_has_wctype_h=yes
17156 else
17157   ac_has_wctype_h=no
17158 fi
17159
17160 done
17161
17162
17163   if test x"$enable_wchar_t" = x"yes"; then
17164
17165
17166     ac_ext=cpp
17167 ac_cpp='$CXXCPP $CPPFLAGS'
17168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17171
17172
17173     if test x"$ac_has_wchar_h" = xyes &&
17174        test x"$ac_has_wctype_h" = xyes; then
17175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h.  */
17177 #include <wchar.h>
17178                       #include <stddef.h>
17179                       wint_t i;
17180                       long l = WEOF;
17181                       long j = WCHAR_MIN;
17182                       long k = WCHAR_MAX;
17183                       namespace test
17184                       {
17185                         using ::btowc;
17186                         using ::fgetwc;
17187                         using ::fgetws;
17188                         using ::fputwc;
17189                         using ::fputws;
17190                         using ::fwide;
17191                         using ::fwprintf;
17192                         using ::fwscanf;
17193                         using ::getwc;
17194                         using ::getwchar;
17195                         using ::mbrlen;
17196                         using ::mbrtowc;
17197                         using ::mbsinit;
17198                         using ::mbsrtowcs;
17199                         using ::putwc;
17200                         using ::putwchar;
17201                         using ::swprintf;
17202                         using ::swscanf;
17203                         using ::ungetwc;
17204                         using ::vfwprintf;
17205                         using ::vswprintf;
17206                         using ::vwprintf;
17207                         using ::wcrtomb;
17208                         using ::wcscat;
17209                         using ::wcschr;
17210                         using ::wcscmp;
17211                         using ::wcscoll;
17212                         using ::wcscpy;
17213                         using ::wcscspn;
17214                         using ::wcsftime;
17215                         using ::wcslen;
17216                         using ::wcsncat;
17217                         using ::wcsncmp;
17218                         using ::wcsncpy;
17219                         using ::wcspbrk;
17220                         using ::wcsrchr;
17221                         using ::wcsrtombs;
17222                         using ::wcsspn;
17223                         using ::wcsstr;
17224                         using ::wcstod;
17225                         using ::wcstok;
17226                         using ::wcstol;
17227                         using ::wcstoul;
17228                         using ::wcsxfrm;
17229                         using ::wctob;
17230                         using ::wmemchr;
17231                         using ::wmemcmp;
17232                         using ::wmemcpy;
17233                         using ::wmemmove;
17234                         using ::wmemset;
17235                         using ::wprintf;
17236                         using ::wscanf;
17237                       }
17238
17239 int
17240 main ()
17241 {
17242
17243   ;
17244   return 0;
17245 }
17246 _ACEOF
17247 if ac_fn_cxx_try_compile "$LINENO"; then :
17248
17249 else
17250   enable_wchar_t=no
17251 fi
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253     else
17254       enable_wchar_t=no
17255     fi
17256
17257     ac_ext=c
17258 ac_cpp='$CPP $CPPFLAGS'
17259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17262
17263   fi
17264
17265   if test x"$enable_wchar_t" = x"yes"; then
17266
17267 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17268
17269   fi
17270
17271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17272 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17274 $as_echo "$enable_wchar_t" >&6; }
17275
17276
17277
17278    # Check whether --enable-c99 was given.
17279 if test "${enable_c99+set}" = set; then :
17280   enableval=$enable_c99;
17281       case "$enableval" in
17282        yes|no) ;;
17283        *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17284       esac
17285
17286 else
17287   enable_c99=yes
17288 fi
17289
17290
17291
17292   if test x"$enable_c99" = x"yes"; then
17293
17294     ac_ext=cpp
17295 ac_cpp='$CXXCPP $CPPFLAGS'
17296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17299
17300
17301     # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17302     # undefined may cause fake C99 facilities, like pre-standard snprintf,
17303     # to be spuriously enabled.
17304     ac_save_CXXFLAGS="$CXXFLAGS"
17305     CXXFLAGS="$CXXFLAGS -std=c++98"
17306     ac_save_LIBS="$LIBS"
17307     ac_save_gcc_no_link="$gcc_no_link"
17308
17309     if test x$gcc_no_link != xyes; then
17310       # Use -fno-exceptions to that the C driver can link these tests without
17311       # hitting undefined references to personality routines.
17312       CXXFLAGS="$CXXFLAGS -fno-exceptions"
17313       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17314 $as_echo_n "checking for sin in -lm... " >&6; }
17315 if ${ac_cv_lib_m_sin+:} false; then :
17316   $as_echo_n "(cached) " >&6
17317 else
17318   ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lm  $LIBS"
17320 if test x$gcc_no_link = xyes; then
17321   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17322 fi
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h.  */
17325
17326 /* Override any GCC internal prototype to avoid an error.
17327    Use char because int might match the return type of a GCC
17328    builtin and then its argument prototype would still apply.  */
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 char sin ();
17333 int
17334 main ()
17335 {
17336 return sin ();
17337   ;
17338   return 0;
17339 }
17340 _ACEOF
17341 if ac_fn_cxx_try_link "$LINENO"; then :
17342   ac_cv_lib_m_sin=yes
17343 else
17344   ac_cv_lib_m_sin=no
17345 fi
17346 rm -f core conftest.err conftest.$ac_objext \
17347     conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17349 fi
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17351 $as_echo "$ac_cv_lib_m_sin" >&6; }
17352 if test "x$ac_cv_lib_m_sin" = xyes; then :
17353   LIBS="$LIBS -lm"
17354 else
17355
17356         # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17357         gcc_no_link=yes
17358
17359 fi
17360
17361     fi
17362
17363     # Check for the existence of <math.h> functions used if C99 is enabled.
17364     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17365 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17366 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17367   $as_echo_n "(cached) " >&6
17368 else
17369
17370       if test x$gcc_no_link = xyes; then
17371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h.  */
17373 #include <math.h>
17374          volatile double d1, d2;
17375          volatile int i;
17376 int
17377 main ()
17378 {
17379 i = fpclassify(d1);
17380          i = isfinite(d1);
17381          i = isinf(d1);
17382          i = isnan(d1);
17383          i = isnormal(d1);
17384          i = signbit(d1);
17385          i = isgreater(d1, d2);
17386          i = isgreaterequal(d1, d2);
17387          i = isless(d1, d2);
17388          i = islessequal(d1, d2);
17389          i = islessgreater(d1, d2);
17390          i = islessgreater(d1, d2);
17391          i = isunordered(d1, d2);
17392
17393   ;
17394   return 0;
17395 }
17396 _ACEOF
17397 if ac_fn_cxx_try_compile "$LINENO"; then :
17398   glibcxx_cv_c99_math_cxx98=yes
17399 else
17400   glibcxx_cv_c99_math_cxx98=no
17401 fi
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 else
17404   if test x$gcc_no_link = xyes; then
17405   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17406 fi
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h.  */
17409 #include <math.h>
17410          volatile double d1, d2;
17411          volatile int i;
17412 int
17413 main ()
17414 {
17415 i = fpclassify(d1);
17416          i = isfinite(d1);
17417          i = isinf(d1);
17418          i = isnan(d1);
17419          i = isnormal(d1);
17420          i = signbit(d1);
17421          i = isgreater(d1, d2);
17422          i = isgreaterequal(d1, d2);
17423          i = isless(d1, d2);
17424          i = islessequal(d1, d2);
17425          i = islessgreater(d1, d2);
17426          i = islessgreater(d1, d2);
17427          i = isunordered(d1, d2);
17428
17429   ;
17430   return 0;
17431 }
17432 _ACEOF
17433 if ac_fn_cxx_try_link "$LINENO"; then :
17434   glibcxx_cv_c99_math_cxx98=yes
17435 else
17436   glibcxx_cv_c99_math_cxx98=no
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext \
17439     conftest$ac_exeext conftest.$ac_ext
17440 fi
17441
17442 fi
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17444 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17445     if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17446
17447 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17448
17449     fi
17450
17451     # Check for the existence of <complex.h> complex math functions.
17452     # This is necessary even though libstdc++ uses the builtin versions
17453     # of these functions, because if the builtin cannot be used, a reference
17454     # to the library function is emitted.
17455     for ac_header in tgmath.h
17456 do :
17457   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17458 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17459   cat >>confdefs.h <<_ACEOF
17460 #define HAVE_TGMATH_H 1
17461 _ACEOF
17462  ac_has_tgmath_h=yes
17463 else
17464   ac_has_tgmath_h=no
17465 fi
17466
17467 done
17468
17469     for ac_header in complex.h
17470 do :
17471   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17472 if test "x$ac_cv_header_complex_h" = xyes; then :
17473   cat >>confdefs.h <<_ACEOF
17474 #define HAVE_COMPLEX_H 1
17475 _ACEOF
17476  ac_has_complex_h=yes
17477 else
17478   ac_has_complex_h=no
17479 fi
17480
17481 done
17482
17483     if test x"$ac_has_complex_h" = x"yes"; then
17484       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17485 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17486 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17487   $as_echo_n "(cached) " >&6
17488 else
17489
17490         if test x$gcc_no_link = xyes; then
17491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h.  */
17493 #include <complex.h>
17494            typedef __complex__ float float_type;
17495            typedef __complex__ double double_type;
17496            typedef __complex__ long double ld_type;
17497            volatile float_type tmpf;
17498            volatile double_type tmpd;
17499            volatile ld_type tmpld;
17500            volatile float f;
17501            volatile double d;
17502            volatile long double ld;
17503 int
17504 main ()
17505 {
17506 f = cabsf(tmpf);
17507            f = cargf(tmpf);
17508            tmpf = ccosf(tmpf);
17509            tmpf = ccoshf(tmpf);
17510            tmpf = cexpf(tmpf);
17511            tmpf = clogf(tmpf);
17512            tmpf = csinf(tmpf);
17513            tmpf = csinhf(tmpf);
17514            tmpf = csqrtf(tmpf);
17515            tmpf = ctanf(tmpf);
17516            tmpf = ctanhf(tmpf);
17517            tmpf = cpowf(tmpf, tmpf);
17518            tmpf = cprojf(tmpf);
17519            d = cabs(tmpd);
17520            d = carg(tmpd);
17521            tmpd = ccos(tmpd);
17522            tmpd = ccosh(tmpd);
17523            tmpd = cexp(tmpd);
17524            tmpd = clog(tmpd);
17525            tmpd = csin(tmpd);
17526            tmpd = csinh(tmpd);
17527            tmpd = csqrt(tmpd);
17528            tmpd = ctan(tmpd);
17529            tmpd = ctanh(tmpd);
17530            tmpd = cpow(tmpd, tmpd);
17531            tmpd = cproj(tmpd);
17532            ld = cabsl(tmpld);
17533            ld = cargl(tmpld);
17534            tmpld = ccosl(tmpld);
17535            tmpld = ccoshl(tmpld);
17536            tmpld = cexpl(tmpld);
17537            tmpld = clogl(tmpld);
17538            tmpld = csinl(tmpld);
17539            tmpld = csinhl(tmpld);
17540            tmpld = csqrtl(tmpld);
17541            tmpld = ctanl(tmpld);
17542            tmpld = ctanhl(tmpld);
17543            tmpld = cpowl(tmpld, tmpld);
17544            tmpld = cprojl(tmpld);
17545
17546   ;
17547   return 0;
17548 }
17549 _ACEOF
17550 if ac_fn_cxx_try_compile "$LINENO"; then :
17551   glibcxx_cv_c99_complex_cxx98=yes
17552 else
17553   glibcxx_cv_c99_complex_cxx98=no
17554 fi
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556 else
17557   if test x$gcc_no_link = xyes; then
17558   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17559 fi
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h.  */
17562 #include <complex.h>
17563            typedef __complex__ float float_type;
17564            typedef __complex__ double double_type;
17565            typedef __complex__ long double ld_type;
17566            volatile float_type tmpf;
17567            volatile double_type tmpd;
17568            volatile ld_type tmpld;
17569            volatile float f;
17570            volatile double d;
17571            volatile long double ld;
17572 int
17573 main ()
17574 {
17575 f = cabsf(tmpf);
17576            f = cargf(tmpf);
17577            tmpf = ccosf(tmpf);
17578            tmpf = ccoshf(tmpf);
17579            tmpf = cexpf(tmpf);
17580            tmpf = clogf(tmpf);
17581            tmpf = csinf(tmpf);
17582            tmpf = csinhf(tmpf);
17583            tmpf = csqrtf(tmpf);
17584            tmpf = ctanf(tmpf);
17585            tmpf = ctanhf(tmpf);
17586            tmpf = cpowf(tmpf, tmpf);
17587            tmpf = cprojf(tmpf);
17588            d = cabs(tmpd);
17589            d = carg(tmpd);
17590            tmpd = ccos(tmpd);
17591            tmpd = ccosh(tmpd);
17592            tmpd = cexp(tmpd);
17593            tmpd = clog(tmpd);
17594            tmpd = csin(tmpd);
17595            tmpd = csinh(tmpd);
17596            tmpd = csqrt(tmpd);
17597            tmpd = ctan(tmpd);
17598            tmpd = ctanh(tmpd);
17599            tmpd = cpow(tmpd, tmpd);
17600            tmpd = cproj(tmpd);
17601            ld = cabsl(tmpld);
17602            ld = cargl(tmpld);
17603            tmpld = ccosl(tmpld);
17604            tmpld = ccoshl(tmpld);
17605            tmpld = cexpl(tmpld);
17606            tmpld = clogl(tmpld);
17607            tmpld = csinl(tmpld);
17608            tmpld = csinhl(tmpld);
17609            tmpld = csqrtl(tmpld);
17610            tmpld = ctanl(tmpld);
17611            tmpld = ctanhl(tmpld);
17612            tmpld = cpowl(tmpld, tmpld);
17613            tmpld = cprojl(tmpld);
17614
17615   ;
17616   return 0;
17617 }
17618 _ACEOF
17619 if ac_fn_cxx_try_link "$LINENO"; then :
17620   glibcxx_cv_c99_complex_cxx98=yes
17621 else
17622   glibcxx_cv_c99_complex_cxx98=no
17623 fi
17624 rm -f core conftest.err conftest.$ac_objext \
17625     conftest$ac_exeext conftest.$ac_ext
17626 fi
17627
17628 fi
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17630 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17631     fi
17632     if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17633
17634 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17635
17636     fi
17637
17638     # Check for the existence in <stdio.h> of vscanf, et. al.
17639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17640 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17641 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17642   $as_echo_n "(cached) " >&6
17643 else
17644
17645       if test x$gcc_no_link = xyes; then
17646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h.  */
17648 #include <stdio.h>
17649          #include <stdarg.h>
17650          void foo(char* fmt, ...)
17651          {
17652            va_list args; va_start(args, fmt);
17653            vfscanf(stderr, "%i", args);
17654            vscanf("%i", args);
17655            vsnprintf(fmt, 0, "%i", args);
17656            vsscanf(fmt, "%i", args);
17657            snprintf(fmt, 0, "%i");
17658          }
17659 int
17660 main ()
17661 {
17662
17663   ;
17664   return 0;
17665 }
17666 _ACEOF
17667 if ac_fn_cxx_try_compile "$LINENO"; then :
17668   glibcxx_cv_c99_stdio_cxx98=yes
17669 else
17670   glibcxx_cv_c99_stdio_cxx98=no
17671 fi
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 else
17674   if test x$gcc_no_link = xyes; then
17675   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17676 fi
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h.  */
17679 #include <stdio.h>
17680          #include <stdarg.h>
17681          void foo(char* fmt, ...)
17682          {
17683            va_list args; va_start(args, fmt);
17684            vfscanf(stderr, "%i", args);
17685            vscanf("%i", args);
17686            vsnprintf(fmt, 0, "%i", args);
17687            vsscanf(fmt, "%i", args);
17688            snprintf(fmt, 0, "%i");
17689          }
17690 int
17691 main ()
17692 {
17693
17694   ;
17695   return 0;
17696 }
17697 _ACEOF
17698 if ac_fn_cxx_try_link "$LINENO"; then :
17699   glibcxx_cv_c99_stdio_cxx98=yes
17700 else
17701   glibcxx_cv_c99_stdio_cxx98=no
17702 fi
17703 rm -f core conftest.err conftest.$ac_objext \
17704     conftest$ac_exeext conftest.$ac_ext
17705 fi
17706
17707 fi
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17709 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17710     if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17711
17712 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17713
17714     fi
17715
17716     # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17718 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17719 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17720   $as_echo_n "(cached) " >&6
17721 else
17722
17723       if test x$gcc_no_link = xyes; then
17724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h.  */
17726 #include <stdlib.h>
17727          volatile float f;
17728          volatile long double ld;
17729          volatile unsigned long long ll;
17730          lldiv_t mydivt;
17731 int
17732 main ()
17733 {
17734 char* tmp;
17735          f = strtof("gnu", &tmp);
17736          ld = strtold("gnu", &tmp);
17737          ll = strtoll("gnu", &tmp, 10);
17738          ll = strtoull("gnu", &tmp, 10);
17739          ll = llabs(10);
17740          mydivt = lldiv(10,1);
17741          ll = mydivt.quot;
17742          ll = mydivt.rem;
17743          ll = atoll("10");
17744          _Exit(0);
17745
17746   ;
17747   return 0;
17748 }
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17751   glibcxx_cv_c99_stdlib_cxx98=yes
17752 else
17753   glibcxx_cv_c99_stdlib_cxx98=no
17754 fi
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756 else
17757   if test x$gcc_no_link = xyes; then
17758   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17759 fi
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h.  */
17762 #include <stdlib.h>
17763          volatile float f;
17764          volatile long double ld;
17765          volatile unsigned long long ll;
17766          lldiv_t mydivt;
17767 int
17768 main ()
17769 {
17770 char* tmp;
17771          f = strtof("gnu", &tmp);
17772          ld = strtold("gnu", &tmp);
17773          ll = strtoll("gnu", &tmp, 10);
17774          ll = strtoull("gnu", &tmp, 10);
17775          ll = llabs(10);
17776          mydivt = lldiv(10,1);
17777          ll = mydivt.quot;
17778          ll = mydivt.rem;
17779          ll = atoll("10");
17780          _Exit(0);
17781
17782   ;
17783   return 0;
17784 }
17785 _ACEOF
17786 if ac_fn_cxx_try_link "$LINENO"; then :
17787   glibcxx_cv_c99_stdlib_cxx98=yes
17788 else
17789   glibcxx_cv_c99_stdlib_cxx98=no
17790 fi
17791 rm -f core conftest.err conftest.$ac_objext \
17792     conftest$ac_exeext conftest.$ac_ext
17793 fi
17794
17795 fi
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17797 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17798     if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17799
17800 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17801
17802     fi
17803
17804     # Check for the existence in <wchar.h> of wcstold, etc.
17805     if test x"$ac_has_wchar_h" = xyes &&
17806        test x"$ac_has_wctype_h" = xyes; then
17807       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17808 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17809 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17810   $as_echo_n "(cached) " >&6
17811 else
17812
17813         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815 #include <wchar.h>
17816           namespace test
17817           {
17818             using ::wcstold;
17819             using ::wcstoll;
17820             using ::wcstoull;
17821           }
17822
17823 int
17824 main ()
17825 {
17826
17827   ;
17828   return 0;
17829 }
17830 _ACEOF
17831 if ac_fn_cxx_try_compile "$LINENO"; then :
17832   glibcxx_cv_c99_wchar_cxx98=yes
17833 else
17834   glibcxx_cv_c99_wchar_cxx98=no
17835 fi
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837
17838 fi
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17840 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17841
17842       # Checks for wide character functions that may not be present.
17843       # Injection of these is wrapped with guard macros.
17844       # NB: only put functions here, instead of immediately above, if
17845       # absolutely necessary.
17846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h.  */
17848 #include <wchar.h>
17849         namespace test { using ::vfwscanf; }
17850 int
17851 main ()
17852 {
17853
17854   ;
17855   return 0;
17856 }
17857 _ACEOF
17858 if ac_fn_cxx_try_compile "$LINENO"; then :
17859
17860 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17861
17862 fi
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17864
17865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h.  */
17867 #include <wchar.h>
17868         namespace test { using ::vswscanf; }
17869 int
17870 main ()
17871 {
17872
17873   ;
17874   return 0;
17875 }
17876 _ACEOF
17877 if ac_fn_cxx_try_compile "$LINENO"; then :
17878
17879 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17880
17881 fi
17882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883
17884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h.  */
17886 #include <wchar.h>
17887         namespace test { using ::vwscanf; }
17888 int
17889 main ()
17890 {
17891
17892   ;
17893   return 0;
17894 }
17895 _ACEOF
17896 if ac_fn_cxx_try_compile "$LINENO"; then :
17897
17898 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17899
17900 fi
17901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17902
17903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905 #include <wchar.h>
17906         namespace test { using ::wcstof; }
17907 int
17908 main ()
17909 {
17910
17911   ;
17912   return 0;
17913 }
17914 _ACEOF
17915 if ac_fn_cxx_try_compile "$LINENO"; then :
17916
17917 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17918
17919 fi
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921
17922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17923 /* end confdefs.h.  */
17924 #include <wctype.h>
17925 int
17926 main ()
17927 {
17928 wint_t t; int i = iswblank(t);
17929   ;
17930   return 0;
17931 }
17932 _ACEOF
17933 if ac_fn_cxx_try_compile "$LINENO"; then :
17934
17935 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17936
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939
17940       if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17941
17942 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17943
17944       fi
17945     fi
17946
17947     # Option parsed, now set things appropriately.
17948     if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17949        test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17950        test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17951        test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17952        test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17953       enable_c99=no;
17954     else
17955
17956 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17957
17958     fi
17959
17960     gcc_no_link="$ac_save_gcc_no_link"
17961     LIBS="$ac_save_LIBS"
17962     CXXFLAGS="$ac_save_CXXFLAGS"
17963     ac_ext=c
17964 ac_cpp='$CPP $CPPFLAGS'
17965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17968
17969
17970
17971     ac_ext=cpp
17972 ac_cpp='$CXXCPP $CPPFLAGS'
17973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17976
17977
17978     # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17979     # For the reasons given above we use -std=c++11 not -std=gnu++11.
17980     ac_save_CXXFLAGS="$CXXFLAGS"
17981     CXXFLAGS="$CXXFLAGS -std=c++11"
17982     ac_save_LIBS="$LIBS"
17983     ac_save_gcc_no_link="$gcc_no_link"
17984
17985     if test x$gcc_no_link != xyes; then
17986       # Use -fno-exceptions to that the C driver can link these tests without
17987       # hitting undefined references to personality routines.
17988       CXXFLAGS="$CXXFLAGS -fno-exceptions"
17989       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17990 $as_echo_n "checking for sin in -lm... " >&6; }
17991 if ${ac_cv_lib_m_sin+:} false; then :
17992   $as_echo_n "(cached) " >&6
17993 else
17994   ac_check_lib_save_LIBS=$LIBS
17995 LIBS="-lm  $LIBS"
17996 if test x$gcc_no_link = xyes; then
17997   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 fi
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h.  */
18001
18002 /* Override any GCC internal prototype to avoid an error.
18003    Use char because int might match the return type of a GCC
18004    builtin and then its argument prototype would still apply.  */
18005 #ifdef __cplusplus
18006 extern "C"
18007 #endif
18008 char sin ();
18009 int
18010 main ()
18011 {
18012 return sin ();
18013   ;
18014   return 0;
18015 }
18016 _ACEOF
18017 if ac_fn_cxx_try_link "$LINENO"; then :
18018   ac_cv_lib_m_sin=yes
18019 else
18020   ac_cv_lib_m_sin=no
18021 fi
18022 rm -f core conftest.err conftest.$ac_objext \
18023     conftest$ac_exeext conftest.$ac_ext
18024 LIBS=$ac_check_lib_save_LIBS
18025 fi
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
18027 $as_echo "$ac_cv_lib_m_sin" >&6; }
18028 if test "x$ac_cv_lib_m_sin" = xyes; then :
18029   LIBS="$LIBS -lm"
18030 else
18031
18032         # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
18033         gcc_no_link=yes
18034
18035 fi
18036
18037     fi
18038
18039     # Check for the existence of <math.h> functions used if C99 is enabled.
18040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
18041 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
18042 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18043   $as_echo_n "(cached) " >&6
18044 else
18045
18046       if test x$gcc_no_link = xyes; then
18047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h.  */
18049 #include <math.h>
18050          volatile double d1, d2;
18051          volatile int i;
18052 int
18053 main ()
18054 {
18055 i = fpclassify(d1);
18056          i = isfinite(d1);
18057          i = isinf(d1);
18058          i = isnan(d1);
18059          i = isnormal(d1);
18060          i = signbit(d1);
18061          i = isgreater(d1, d2);
18062          i = isgreaterequal(d1, d2);
18063          i = isless(d1, d2);
18064          i = islessequal(d1, d2);
18065          i = islessgreater(d1, d2);
18066          i = islessgreater(d1, d2);
18067          i = isunordered(d1, d2);
18068
18069   ;
18070   return 0;
18071 }
18072 _ACEOF
18073 if ac_fn_cxx_try_compile "$LINENO"; then :
18074   glibcxx_cv_c99_math_cxx11=yes
18075 else
18076   glibcxx_cv_c99_math_cxx11=no
18077 fi
18078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 else
18080   if test x$gcc_no_link = xyes; then
18081   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18082 fi
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h.  */
18085 #include <math.h>
18086          volatile double d1, d2;
18087          volatile int i;
18088 int
18089 main ()
18090 {
18091 i = fpclassify(d1);
18092          i = isfinite(d1);
18093          i = isinf(d1);
18094          i = isnan(d1);
18095          i = isnormal(d1);
18096          i = signbit(d1);
18097          i = isgreater(d1, d2);
18098          i = isgreaterequal(d1, d2);
18099          i = isless(d1, d2);
18100          i = islessequal(d1, d2);
18101          i = islessgreater(d1, d2);
18102          i = islessgreater(d1, d2);
18103          i = isunordered(d1, d2);
18104
18105   ;
18106   return 0;
18107 }
18108 _ACEOF
18109 if ac_fn_cxx_try_link "$LINENO"; then :
18110   glibcxx_cv_c99_math_cxx11=yes
18111 else
18112   glibcxx_cv_c99_math_cxx11=no
18113 fi
18114 rm -f core conftest.err conftest.$ac_objext \
18115     conftest$ac_exeext conftest.$ac_ext
18116 fi
18117
18118 fi
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18120 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18121     if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18122
18123 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18124
18125     fi
18126
18127     # Check for the existence of <complex.h> complex math functions.
18128     # This is necessary even though libstdc++ uses the builtin versions
18129     # of these functions, because if the builtin cannot be used, a reference
18130     # to the library function is emitted.
18131     for ac_header in tgmath.h
18132 do :
18133   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18134 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18135   cat >>confdefs.h <<_ACEOF
18136 #define HAVE_TGMATH_H 1
18137 _ACEOF
18138  ac_has_tgmath_h=yes
18139 else
18140   ac_has_tgmath_h=no
18141 fi
18142
18143 done
18144
18145     for ac_header in complex.h
18146 do :
18147   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18148 if test "x$ac_cv_header_complex_h" = xyes; then :
18149   cat >>confdefs.h <<_ACEOF
18150 #define HAVE_COMPLEX_H 1
18151 _ACEOF
18152  ac_has_complex_h=yes
18153 else
18154   ac_has_complex_h=no
18155 fi
18156
18157 done
18158
18159     if test x"$ac_has_complex_h" = x"yes"; then
18160       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18161 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18162 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18163   $as_echo_n "(cached) " >&6
18164 else
18165
18166         if test x$gcc_no_link = xyes; then
18167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h.  */
18169 #include <complex.h>
18170            typedef __complex__ float float_type;
18171            typedef __complex__ double double_type;
18172            typedef __complex__ long double ld_type;
18173            volatile float_type tmpf;
18174            volatile double_type tmpd;
18175            volatile ld_type tmpld;
18176            volatile float f;
18177            volatile double d;
18178            volatile long double ld;
18179 int
18180 main ()
18181 {
18182 f = cabsf(tmpf);
18183            f = cargf(tmpf);
18184            tmpf = ccosf(tmpf);
18185            tmpf = ccoshf(tmpf);
18186            tmpf = cexpf(tmpf);
18187            tmpf = clogf(tmpf);
18188            tmpf = csinf(tmpf);
18189            tmpf = csinhf(tmpf);
18190            tmpf = csqrtf(tmpf);
18191            tmpf = ctanf(tmpf);
18192            tmpf = ctanhf(tmpf);
18193            tmpf = cpowf(tmpf, tmpf);
18194            tmpf = cprojf(tmpf);
18195            d = cabs(tmpd);
18196            d = carg(tmpd);
18197            tmpd = ccos(tmpd);
18198            tmpd = ccosh(tmpd);
18199            tmpd = cexp(tmpd);
18200            tmpd = clog(tmpd);
18201            tmpd = csin(tmpd);
18202            tmpd = csinh(tmpd);
18203            tmpd = csqrt(tmpd);
18204            tmpd = ctan(tmpd);
18205            tmpd = ctanh(tmpd);
18206            tmpd = cpow(tmpd, tmpd);
18207            tmpd = cproj(tmpd);
18208            ld = cabsl(tmpld);
18209            ld = cargl(tmpld);
18210            tmpld = ccosl(tmpld);
18211            tmpld = ccoshl(tmpld);
18212            tmpld = cexpl(tmpld);
18213            tmpld = clogl(tmpld);
18214            tmpld = csinl(tmpld);
18215            tmpld = csinhl(tmpld);
18216            tmpld = csqrtl(tmpld);
18217            tmpld = ctanl(tmpld);
18218            tmpld = ctanhl(tmpld);
18219            tmpld = cpowl(tmpld, tmpld);
18220            tmpld = cprojl(tmpld);
18221
18222   ;
18223   return 0;
18224 }
18225 _ACEOF
18226 if ac_fn_cxx_try_compile "$LINENO"; then :
18227   glibcxx_cv_c99_complex_cxx11=yes
18228 else
18229   glibcxx_cv_c99_complex_cxx11=no
18230 fi
18231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18232 else
18233   if test x$gcc_no_link = xyes; then
18234   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18235 fi
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h.  */
18238 #include <complex.h>
18239            typedef __complex__ float float_type;
18240            typedef __complex__ double double_type;
18241            typedef __complex__ long double ld_type;
18242            volatile float_type tmpf;
18243            volatile double_type tmpd;
18244            volatile ld_type tmpld;
18245            volatile float f;
18246            volatile double d;
18247            volatile long double ld;
18248 int
18249 main ()
18250 {
18251 f = cabsf(tmpf);
18252            f = cargf(tmpf);
18253            tmpf = ccosf(tmpf);
18254            tmpf = ccoshf(tmpf);
18255            tmpf = cexpf(tmpf);
18256            tmpf = clogf(tmpf);
18257            tmpf = csinf(tmpf);
18258            tmpf = csinhf(tmpf);
18259            tmpf = csqrtf(tmpf);
18260            tmpf = ctanf(tmpf);
18261            tmpf = ctanhf(tmpf);
18262            tmpf = cpowf(tmpf, tmpf);
18263            tmpf = cprojf(tmpf);
18264            d = cabs(tmpd);
18265            d = carg(tmpd);
18266            tmpd = ccos(tmpd);
18267            tmpd = ccosh(tmpd);
18268            tmpd = cexp(tmpd);
18269            tmpd = clog(tmpd);
18270            tmpd = csin(tmpd);
18271            tmpd = csinh(tmpd);
18272            tmpd = csqrt(tmpd);
18273            tmpd = ctan(tmpd);
18274            tmpd = ctanh(tmpd);
18275            tmpd = cpow(tmpd, tmpd);
18276            tmpd = cproj(tmpd);
18277            ld = cabsl(tmpld);
18278            ld = cargl(tmpld);
18279            tmpld = ccosl(tmpld);
18280            tmpld = ccoshl(tmpld);
18281            tmpld = cexpl(tmpld);
18282            tmpld = clogl(tmpld);
18283            tmpld = csinl(tmpld);
18284            tmpld = csinhl(tmpld);
18285            tmpld = csqrtl(tmpld);
18286            tmpld = ctanl(tmpld);
18287            tmpld = ctanhl(tmpld);
18288            tmpld = cpowl(tmpld, tmpld);
18289            tmpld = cprojl(tmpld);
18290
18291   ;
18292   return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_link "$LINENO"; then :
18296   glibcxx_cv_c99_complex_cxx11=yes
18297 else
18298   glibcxx_cv_c99_complex_cxx11=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext \
18301     conftest$ac_exeext conftest.$ac_ext
18302 fi
18303
18304 fi
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18306 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18307     fi
18308     if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18309
18310 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18311
18312     fi
18313
18314     # Check for the existence in <stdio.h> of vscanf, et. al.
18315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18316 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18317 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18318   $as_echo_n "(cached) " >&6
18319 else
18320
18321       if test x$gcc_no_link = xyes; then
18322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h.  */
18324 #include <stdio.h>
18325          #include <stdarg.h>
18326          void foo(char* fmt, ...)
18327          {
18328            va_list args; va_start(args, fmt);
18329            vfscanf(stderr, "%i", args);
18330            vscanf("%i", args);
18331            vsnprintf(fmt, 0, "%i", args);
18332            vsscanf(fmt, "%i", args);
18333            snprintf(fmt, 0, "%i");
18334          }
18335 int
18336 main ()
18337 {
18338
18339   ;
18340   return 0;
18341 }
18342 _ACEOF
18343 if ac_fn_cxx_try_compile "$LINENO"; then :
18344   glibcxx_cv_c99_stdio_cxx11=yes
18345 else
18346   glibcxx_cv_c99_stdio_cxx11=no
18347 fi
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 else
18350   if test x$gcc_no_link = xyes; then
18351   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 fi
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h.  */
18355 #include <stdio.h>
18356          #include <stdarg.h>
18357          void foo(char* fmt, ...)
18358          {
18359            va_list args; va_start(args, fmt);
18360            vfscanf(stderr, "%i", args);
18361            vscanf("%i", args);
18362            vsnprintf(fmt, 0, "%i", args);
18363            vsscanf(fmt, "%i", args);
18364            snprintf(fmt, 0, "%i");
18365          }
18366 int
18367 main ()
18368 {
18369
18370   ;
18371   return 0;
18372 }
18373 _ACEOF
18374 if ac_fn_cxx_try_link "$LINENO"; then :
18375   glibcxx_cv_c99_stdio_cxx11=yes
18376 else
18377   glibcxx_cv_c99_stdio_cxx11=no
18378 fi
18379 rm -f core conftest.err conftest.$ac_objext \
18380     conftest$ac_exeext conftest.$ac_ext
18381 fi
18382
18383 fi
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18385 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18386     if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18387
18388 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18389
18390     fi
18391
18392     # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18393     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18394 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18395 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18396   $as_echo_n "(cached) " >&6
18397 else
18398
18399       if test x$gcc_no_link = xyes; then
18400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h.  */
18402 #include <stdlib.h>
18403          volatile float f;
18404          volatile long double ld;
18405          volatile unsigned long long ll;
18406          lldiv_t mydivt;
18407 int
18408 main ()
18409 {
18410 char* tmp;
18411          f = strtof("gnu", &tmp);
18412          ld = strtold("gnu", &tmp);
18413          ll = strtoll("gnu", &tmp, 10);
18414          ll = strtoull("gnu", &tmp, 10);
18415          ll = llabs(10);
18416          mydivt = lldiv(10,1);
18417          ll = mydivt.quot;
18418          ll = mydivt.rem;
18419          ll = atoll("10");
18420          _Exit(0);
18421
18422   ;
18423   return 0;
18424 }
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18427   glibcxx_cv_c99_stdlib_cxx11=yes
18428 else
18429   glibcxx_cv_c99_stdlib_cxx11=no
18430 fi
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 else
18433   if test x$gcc_no_link = xyes; then
18434   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18435 fi
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h.  */
18438 #include <stdlib.h>
18439          volatile float f;
18440          volatile long double ld;
18441          volatile unsigned long long ll;
18442          lldiv_t mydivt;
18443 int
18444 main ()
18445 {
18446 char* tmp;
18447          f = strtof("gnu", &tmp);
18448          ld = strtold("gnu", &tmp);
18449          ll = strtoll("gnu", &tmp, 10);
18450          ll = strtoull("gnu", &tmp, 10);
18451          ll = llabs(10);
18452          mydivt = lldiv(10,1);
18453          ll = mydivt.quot;
18454          ll = mydivt.rem;
18455          ll = atoll("10");
18456          _Exit(0);
18457
18458   ;
18459   return 0;
18460 }
18461 _ACEOF
18462 if ac_fn_cxx_try_link "$LINENO"; then :
18463   glibcxx_cv_c99_stdlib_cxx11=yes
18464 else
18465   glibcxx_cv_c99_stdlib_cxx11=no
18466 fi
18467 rm -f core conftest.err conftest.$ac_objext \
18468     conftest$ac_exeext conftest.$ac_ext
18469 fi
18470
18471 fi
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18473 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18474     if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18475
18476 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18477
18478     fi
18479
18480     # Check for the existence in <wchar.h> of wcstold, etc.
18481     if test x"$ac_has_wchar_h" = xyes &&
18482        test x"$ac_has_wctype_h" = xyes; then
18483       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18484 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18485 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18486   $as_echo_n "(cached) " >&6
18487 else
18488
18489         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h.  */
18491 #include <wchar.h>
18492           namespace test
18493           {
18494             using ::wcstold;
18495             using ::wcstoll;
18496             using ::wcstoull;
18497           }
18498
18499 int
18500 main ()
18501 {
18502
18503   ;
18504   return 0;
18505 }
18506 _ACEOF
18507 if ac_fn_cxx_try_compile "$LINENO"; then :
18508   glibcxx_cv_c99_wchar_cxx11=yes
18509 else
18510   glibcxx_cv_c99_wchar_cxx11=no
18511 fi
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18513
18514 fi
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18516 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18517
18518       # Checks for wide character functions that may not be present.
18519       # Injection of these is wrapped with guard macros.
18520       # NB: only put functions here, instead of immediately above, if
18521       # absolutely necessary.
18522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h.  */
18524 #include <wchar.h>
18525         namespace test { using ::vfwscanf; }
18526 int
18527 main ()
18528 {
18529
18530   ;
18531   return 0;
18532 }
18533 _ACEOF
18534 if ac_fn_cxx_try_compile "$LINENO"; then :
18535
18536 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18537
18538 fi
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540
18541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h.  */
18543 #include <wchar.h>
18544         namespace test { using ::vswscanf; }
18545 int
18546 main ()
18547 {
18548
18549   ;
18550   return 0;
18551 }
18552 _ACEOF
18553 if ac_fn_cxx_try_compile "$LINENO"; then :
18554
18555 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18556
18557 fi
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559
18560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h.  */
18562 #include <wchar.h>
18563         namespace test { using ::vwscanf; }
18564 int
18565 main ()
18566 {
18567
18568   ;
18569   return 0;
18570 }
18571 _ACEOF
18572 if ac_fn_cxx_try_compile "$LINENO"; then :
18573
18574 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18575
18576 fi
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578
18579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h.  */
18581 #include <wchar.h>
18582         namespace test { using ::wcstof; }
18583 int
18584 main ()
18585 {
18586
18587   ;
18588   return 0;
18589 }
18590 _ACEOF
18591 if ac_fn_cxx_try_compile "$LINENO"; then :
18592
18593 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18594
18595 fi
18596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597
18598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h.  */
18600 #include <wctype.h>
18601 int
18602 main ()
18603 {
18604 wint_t t; int i = iswblank(t);
18605   ;
18606   return 0;
18607 }
18608 _ACEOF
18609 if ac_fn_cxx_try_compile "$LINENO"; then :
18610
18611 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18612
18613 fi
18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18615
18616       if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18617
18618 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18619
18620       fi
18621     fi
18622
18623     gcc_no_link="$ac_save_gcc_no_link"
18624     LIBS="$ac_save_LIBS"
18625     CXXFLAGS="$ac_save_CXXFLAGS"
18626     ac_ext=c
18627 ac_cpp='$CPP $CPPFLAGS'
18628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18631
18632   fi
18633
18634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18635 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18637 $as_echo "$enable_c99" >&6; }
18638
18639
18640    # Check whether --enable-concept-checks was given.
18641 if test "${enable_concept_checks+set}" = set; then :
18642   enableval=$enable_concept_checks;
18643       case "$enableval" in
18644        yes|no) ;;
18645        *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18646       esac
18647
18648 else
18649   enable_concept_checks=no
18650 fi
18651
18652
18653   if test $enable_concept_checks = yes; then
18654
18655 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18656
18657   fi
18658
18659
18660    # Check whether --enable-libstdcxx-debug-flags was given.
18661 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18662   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18663       xno | x)    enable_libstdcxx_debug_flags= ;;
18664       x-*)        ;;
18665       *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18666      esac
18667 else
18668   enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18669 fi
18670
18671
18672
18673   # Option parsed, now set things appropriately
18674   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18675
18676
18677   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18678 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18679
18680
18681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18682 $as_echo_n "checking for additional debug build... " >&6; }
18683   skip_debug_build=
18684    # Check whether --enable-libstdcxx-debug was given.
18685 if test "${enable_libstdcxx_debug+set}" = set; then :
18686   enableval=$enable_libstdcxx_debug;
18687       case "$enableval" in
18688        yes|no) ;;
18689        *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18690       esac
18691
18692 else
18693   enable_libstdcxx_debug=no
18694 fi
18695
18696
18697   if test x$enable_libstdcxx_debug = xyes; then
18698     if test -f $toplevel_builddir/../stage_final \
18699       && test -f $toplevel_builddir/../stage_current; then
18700       stage_final=`cat $toplevel_builddir/../stage_final`
18701       stage_current=`cat $toplevel_builddir/../stage_current`
18702       if test x$stage_current != x$stage_final ; then
18703         skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18704         enable_libstdcxx_debug=no
18705       fi
18706     fi
18707   fi
18708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18709 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18710
18711
18712
18713
18714   enable_parallel=no;
18715
18716   # See if configured libgomp/omp.h exists. (libgomp may be in
18717   # noconfigdirs but not explicitly disabled.)
18718   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18719     enable_parallel=yes;
18720   else
18721     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18722 $as_echo "$as_me: target-libgomp not built" >&6;}
18723   fi
18724
18725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18726 $as_echo_n "checking for parallel mode support... " >&6; }
18727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18728 $as_echo "$enable_parallel" >&6; }
18729
18730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18731 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18732    # Check whether --enable-cxx-flags was given.
18733 if test "${enable_cxx_flags+set}" = set; then :
18734   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18735       xno | x)   enable_cxx_flags= ;;
18736       x-*)       ;;
18737       *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18738      esac
18739 else
18740   enable_cxx_flags=
18741 fi
18742
18743
18744
18745   # Run through flags (either default or command-line) and set anything
18746   # extra (e.g., #defines) that must accompany particular g++ options.
18747   if test -n "$enable_cxx_flags"; then
18748     for f in $enable_cxx_flags; do
18749       case "$f" in
18750         -fhonor-std)  ;;
18751         -*)  ;;
18752         *)   # and we're trying to pass /what/ exactly?
18753              as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18754       esac
18755     done
18756   fi
18757
18758   EXTRA_CXX_FLAGS="$enable_cxx_flags"
18759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18760 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18761
18762
18763
18764    # Check whether --enable-fully-dynamic-string was given.
18765 if test "${enable_fully_dynamic_string+set}" = set; then :
18766   enableval=$enable_fully_dynamic_string;
18767       case "$enableval" in
18768        yes|no) ;;
18769        *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18770                         esac
18771
18772 else
18773   enable_fully_dynamic_string=no
18774 fi
18775
18776
18777   if test $enable_fully_dynamic_string = yes; then
18778     enable_fully_dynamic_string_def=1
18779   else
18780     enable_fully_dynamic_string_def=0
18781   fi
18782
18783 cat >>confdefs.h <<_ACEOF
18784 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18785 _ACEOF
18786
18787
18788
18789
18790    # Check whether --enable-extern-template was given.
18791 if test "${enable_extern_template+set}" = set; then :
18792   enableval=$enable_extern_template;
18793       case "$enableval" in
18794        yes|no) ;;
18795        *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18796       esac
18797
18798 else
18799   enable_extern_template=yes
18800 fi
18801
18802
18803
18804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18805 $as_echo_n "checking for extern template support... " >&6; }
18806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18807 $as_echo "$enable_extern_template" >&6; }
18808
18809
18810
18811
18812
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18814 $as_echo_n "checking for custom python install directory... " >&6; }
18815
18816 # Check whether --with-python-dir was given.
18817 if test "${with_python_dir+set}" = set; then :
18818   withval=$with_python_dir; with_python_dir=$withval
18819 else
18820   with_python_dir="no"
18821 fi
18822
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18824 $as_echo "${with_python_dir}" >&6; }
18825
18826 # Needed for installing Python modules during make install.
18827 python_mod_dir="${with_python_dir}"
18828
18829
18830
18831
18832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18833 $as_echo_n "checking for -Werror... " >&6; }
18834    # Check whether --enable-werror was given.
18835 if test "${enable_werror+set}" = set; then :
18836   enableval=$enable_werror;
18837       case "$enableval" in
18838        yes|no) ;;
18839        *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18840       esac
18841
18842 else
18843   enable_werror=no
18844 fi
18845
18846
18847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18848 $as_echo "$enable_werror" >&6; }
18849
18850
18851
18852
18853    # Check whether --enable-vtable-verify was given.
18854 if test "${enable_vtable_verify+set}" = set; then :
18855   enableval=$enable_vtable_verify;
18856       case "$enableval" in
18857        yes|no) ;;
18858        *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18859       esac
18860
18861 else
18862   enable_vtable_verify=no
18863 fi
18864
18865
18866
18867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18868 $as_echo_n "checking for vtable verify support... " >&6; }
18869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18870 $as_echo "$enable_vtable_verify" >&6; }
18871
18872   vtv_cygmin=no
18873   if test $enable_vtable_verify = yes; then
18874     case ${target_os} in
18875       cygwin*|mingw32*)
18876         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18877         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18878         vtv_cygmin=yes
18879         ;;
18880       darwin*)
18881         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18882         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18883         ;;
18884       solaris2*)
18885         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18886         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18887         ;;
18888       *)
18889         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18890         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18891         ;;
18892     esac
18893     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18894   else
18895     VTV_CXXFLAGS=
18896     VTV_PCH_CXXFLAGS=
18897     VTV_CXXLINKFLAGS=
18898   fi
18899
18900
18901
18902
18903    if test x$vtv_cygmin = xyes; then
18904   VTV_CYGMIN_TRUE=
18905   VTV_CYGMIN_FALSE='#'
18906 else
18907   VTV_CYGMIN_TRUE='#'
18908   VTV_CYGMIN_FALSE=
18909 fi
18910
18911
18912
18913
18914 # Checks for operating systems support that doesn't require linking.
18915
18916
18917
18918   ac_ext=cpp
18919 ac_cpp='$CXXCPP $CPPFLAGS'
18920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18923
18924   # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18925   # and we don't need a declaration for C++14 anyway.
18926   ac_save_CXXFLAGS="$CXXFLAGS"
18927   CXXFLAGS="$CXXFLAGS -std=gnu++11"
18928
18929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18930 $as_echo_n "checking for gets declaration... " >&6; }
18931 if ${glibcxx_cv_gets+:} false; then :
18932   $as_echo_n "(cached) " >&6
18933 else
18934
18935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h.  */
18937 #include <stdio.h>
18938            namespace test
18939            {
18940               using ::gets;
18941            }
18942
18943 _ACEOF
18944 if ac_fn_cxx_try_compile "$LINENO"; then :
18945   glibcxx_cv_gets=yes
18946 else
18947   glibcxx_cv_gets=no
18948
18949 fi
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 fi
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18953 $as_echo "$glibcxx_cv_gets" >&6; }
18954
18955   if test $glibcxx_cv_gets = yes; then
18956
18957 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18958
18959   fi
18960
18961   CXXFLAGS="$ac_save_CXXFLAGS"
18962   ac_ext=c
18963 ac_cpp='$CPP $CPPFLAGS'
18964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18967
18968
18969
18970
18971
18972   ac_ext=cpp
18973 ac_cpp='$CXXCPP $CPPFLAGS'
18974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18977
18978   ac_save_CXXFLAGS="$CXXFLAGS"
18979   CXXFLAGS="$CXXFLAGS -std=c++11"
18980
18981   case "$host" in
18982     *-*-solaris2.*)
18983       # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18984       # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18985       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18986 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18987 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18988   $as_echo_n "(cached) " >&6
18989 else
18990
18991         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h.  */
18993 #include <math.h>
18994            #undef isfinite
18995            namespace std {
18996              inline bool isfinite(float __x)
18997              { return __builtin_isfinite(__x); }
18998            }
18999
19000 _ACEOF
19001 if ac_fn_cxx_try_compile "$LINENO"; then :
19002   glibcxx_cv_math11_fp_overload=no
19003 else
19004   glibcxx_cv_math11_fp_overload=yes
19005
19006 fi
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19008 fi
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19010 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19011
19012       # autoheader cannot handle indented templates.
19013
19014
19015       if test $glibcxx_cv_math11_fp_overload = yes; then
19016         $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19017
19018       fi
19019
19020       # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19021       # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19022       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19023 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19024 if ${glibcxx_cv_math11_int_overload+:} false; then :
19025   $as_echo_n "(cached) " >&6
19026 else
19027
19028         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h.  */
19030 #include <math.h>
19031            namespace std {
19032              template<typename _Tp>
19033                struct __is_integer;
19034              template<>
19035                struct __is_integer<int>
19036                {
19037                  enum { __value = 1 };
19038                };
19039            }
19040            namespace __gnu_cxx {
19041              template<bool, typename>
19042                struct __enable_if;
19043              template<typename _Tp>
19044                struct __enable_if<true, _Tp>
19045                { typedef _Tp __type; };
19046            }
19047            namespace std {
19048              template<typename _Tp>
19049                constexpr typename __gnu_cxx::__enable_if
19050                          <__is_integer<_Tp>::__value, double>::__type
19051                log2(_Tp __x)
19052                { return __builtin_log2(__x); }
19053            }
19054            int
19055            main (void)
19056            {
19057              int i = 1000;
19058              return std::log2(i);
19059            }
19060
19061 _ACEOF
19062 if ac_fn_cxx_try_compile "$LINENO"; then :
19063   glibcxx_cv_math11_int_overload=no
19064 else
19065   glibcxx_cv_math11_int_overload=yes
19066
19067 fi
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 fi
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19071 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19072
19073       # autoheader cannot handle indented templates.
19074
19075
19076       if test $glibcxx_cv_math11_int_overload = yes; then
19077         $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19078
19079       fi
19080       ;;
19081     *)
19082       # If <math.h> defines the obsolete isinf(double) and isnan(double)
19083       # functions (instead of or as well as the C99 generic macros) then we
19084       # can't define std::isinf(double) and std::isnan(double) in <cmath>
19085       # and must use the ones from <math.h> instead.
19086         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19087 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19088 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19089   $as_echo_n "(cached) " >&6
19090 else
19091
19092           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h.  */
19094 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19095              #include <math.h>
19096              #undef isinf
19097              namespace std {
19098                using ::isinf;
19099                bool isinf(float);
19100                bool isinf(long double);
19101              }
19102              using std::isinf;
19103              bool b = isinf(0.0);
19104
19105 _ACEOF
19106 if ac_fn_cxx_try_compile "$LINENO"; then :
19107   glibcxx_cv_obsolete_isinf=yes
19108 else
19109   glibcxx_cv_obsolete_isinf=no
19110
19111 fi
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 fi
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19115 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19116       if test $glibcxx_cv_obsolete_isinf = yes; then
19117
19118 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19119
19120       fi
19121
19122         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19123 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19124 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19125   $as_echo_n "(cached) " >&6
19126 else
19127
19128           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h.  */
19130 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19131              #include <math.h>
19132              #undef isnan
19133              namespace std {
19134                using ::isnan;
19135                bool isnan(float);
19136                bool isnan(long double);
19137              }
19138              using std::isnan;
19139              bool b = isnan(0.0);
19140
19141 _ACEOF
19142 if ac_fn_cxx_try_compile "$LINENO"; then :
19143   glibcxx_cv_obsolete_isnan=yes
19144 else
19145   glibcxx_cv_obsolete_isnan=no
19146
19147 fi
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 fi
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19151 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19152       if test $glibcxx_cv_obsolete_isnan = yes; then
19153
19154 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19155
19156       fi
19157       ;;
19158   esac
19159
19160   CXXFLAGS="$ac_save_CXXFLAGS"
19161   ac_ext=c
19162 ac_cpp='$CPP $CPPFLAGS'
19163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19166
19167
19168
19169
19170   # Test uchar.h.
19171   for ac_header in uchar.h
19172 do :
19173   ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19174 if test "x$ac_cv_header_uchar_h" = xyes; then :
19175   cat >>confdefs.h <<_ACEOF
19176 #define HAVE_UCHAR_H 1
19177 _ACEOF
19178  ac_has_uchar_h=yes
19179 else
19180   ac_has_uchar_h=no
19181 fi
19182
19183 done
19184
19185
19186
19187   ac_ext=cpp
19188 ac_cpp='$CXXCPP $CPPFLAGS'
19189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19192
19193   ac_save_CXXFLAGS="$CXXFLAGS"
19194   CXXFLAGS="$CXXFLAGS -std=c++11"
19195
19196   if test x"$ac_has_uchar_h" = x"yes"; then
19197     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19198 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19199     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h.  */
19201 #include <uchar.h>
19202                     #ifdef __STDC_UTF_16__
19203                     long i = __STDC_UTF_16__;
19204                     #endif
19205                     #ifdef __STDC_UTF_32__
19206                     long j = __STDC_UTF_32__;
19207                     #endif
19208                     namespace test
19209                     {
19210                       using ::c16rtomb;
19211                       using ::c32rtomb;
19212                       using ::mbrtoc16;
19213                       using ::mbrtoc32;
19214                     }
19215
19216 int
19217 main ()
19218 {
19219
19220   ;
19221   return 0;
19222 }
19223 _ACEOF
19224 if ac_fn_cxx_try_compile "$LINENO"; then :
19225   ac_c11_uchar_cxx11=yes
19226 else
19227   ac_c11_uchar_cxx11=no
19228 fi
19229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19231 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19232   else
19233     ac_c11_uchar_cxx11=no
19234   fi
19235   if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19236
19237 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19238
19239   fi
19240
19241   CXXFLAGS="$CXXFLAGS -fchar8_t"
19242   if test x"$ac_has_uchar_h" = x"yes"; then
19243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19244 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19245     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h.  */
19247 #include <uchar.h>
19248                     namespace test
19249                     {
19250                       using ::c8rtomb;
19251                       using ::mbrtoc8;
19252                     }
19253
19254 int
19255 main ()
19256 {
19257
19258   ;
19259   return 0;
19260 }
19261 _ACEOF
19262 if ac_fn_cxx_try_compile "$LINENO"; then :
19263   ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19264 else
19265   ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19266 fi
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268   else
19269     ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19270   fi
19271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19272 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19273   if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19274
19275 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19276
19277   fi
19278
19279   CXXFLAGS="$CXXFLAGS -std=c++20"
19280   if test x"$ac_has_uchar_h" = x"yes"; then
19281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19282 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h.  */
19285 #include <uchar.h>
19286                     namespace test
19287                     {
19288                       using ::c8rtomb;
19289                       using ::mbrtoc8;
19290                     }
19291
19292 int
19293 main ()
19294 {
19295
19296   ;
19297   return 0;
19298 }
19299 _ACEOF
19300 if ac_fn_cxx_try_compile "$LINENO"; then :
19301   ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19302 else
19303   ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19304 fi
19305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19306   else
19307     ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19308   fi
19309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19310 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19311   if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19312
19313 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19314
19315   fi
19316
19317   CXXFLAGS="$ac_save_CXXFLAGS"
19318   ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323
19324
19325
19326 # For LFS support.
19327
19328
19329   ac_ext=cpp
19330 ac_cpp='$CXXCPP $CPPFLAGS'
19331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19334
19335   ac_save_CXXFLAGS="$CXXFLAGS"
19336   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19338 $as_echo_n "checking for LFS support... " >&6; }
19339 if ${glibcxx_cv_LFS+:} false; then :
19340   $as_echo_n "(cached) " >&6
19341 else
19342
19343     if test x$gcc_no_link = xyes; then
19344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h.  */
19346 #include <unistd.h>
19347        #include <stdio.h>
19348        #include <sys/stat.h>
19349
19350 int
19351 main ()
19352 {
19353 FILE* fp;
19354        fopen64("t", "w");
19355        fseeko64(fp, 0, SEEK_CUR);
19356        ftello64(fp);
19357        lseek64(1, 0, SEEK_CUR);
19358        struct stat64 buf;
19359        fstat64(1, &buf);
19360   ;
19361   return 0;
19362 }
19363 _ACEOF
19364 if ac_fn_cxx_try_compile "$LINENO"; then :
19365   glibcxx_cv_LFS=yes
19366 else
19367   glibcxx_cv_LFS=no
19368 fi
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 else
19371   if test x$gcc_no_link = xyes; then
19372   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19373 fi
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h.  */
19376 #include <unistd.h>
19377        #include <stdio.h>
19378        #include <sys/stat.h>
19379
19380 int
19381 main ()
19382 {
19383 FILE* fp;
19384        fopen64("t", "w");
19385        fseeko64(fp, 0, SEEK_CUR);
19386        ftello64(fp);
19387        lseek64(1, 0, SEEK_CUR);
19388        struct stat64 buf;
19389        fstat64(1, &buf);
19390   ;
19391   return 0;
19392 }
19393 _ACEOF
19394 if ac_fn_cxx_try_link "$LINENO"; then :
19395   glibcxx_cv_LFS=yes
19396 else
19397   glibcxx_cv_LFS=no
19398 fi
19399 rm -f core conftest.err conftest.$ac_objext \
19400     conftest$ac_exeext conftest.$ac_ext
19401 fi
19402
19403 fi
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19405 $as_echo "$glibcxx_cv_LFS" >&6; }
19406   if test $glibcxx_cv_LFS = yes; then
19407
19408 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19409
19410   fi
19411   CXXFLAGS="$ac_save_CXXFLAGS"
19412   ac_ext=c
19413 ac_cpp='$CPP $CPPFLAGS'
19414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19417
19418
19419
19420 # For showmanyc_helper().
19421 for ac_header in sys/ioctl.h sys/filio.h
19422 do :
19423   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19425 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19426   cat >>confdefs.h <<_ACEOF
19427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19428 _ACEOF
19429
19430 fi
19431
19432 done
19433
19434
19435
19436
19437   ac_ext=cpp
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19442
19443   ac_save_CXXFLAGS="$CXXFLAGS"
19444   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19445
19446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19447 $as_echo_n "checking for poll... " >&6; }
19448 if ${glibcxx_cv_POLL+:} false; then :
19449   $as_echo_n "(cached) " >&6
19450 else
19451
19452     if test x$gcc_no_link = xyes; then
19453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h.  */
19455 #include <poll.h>
19456 int
19457 main ()
19458 {
19459 struct pollfd pfd[1];
19460        pfd[0].events = POLLIN;
19461        poll(pfd, 1, 0);
19462   ;
19463   return 0;
19464 }
19465 _ACEOF
19466 if ac_fn_cxx_try_compile "$LINENO"; then :
19467   glibcxx_cv_POLL=yes
19468 else
19469   glibcxx_cv_POLL=no
19470 fi
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 else
19473   if test x$gcc_no_link = xyes; then
19474   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19475 fi
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h.  */
19478 #include <poll.h>
19479 int
19480 main ()
19481 {
19482 struct pollfd pfd[1];
19483        pfd[0].events = POLLIN;
19484        poll(pfd, 1, 0);
19485   ;
19486   return 0;
19487 }
19488 _ACEOF
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490   glibcxx_cv_POLL=yes
19491 else
19492   glibcxx_cv_POLL=no
19493 fi
19494 rm -f core conftest.err conftest.$ac_objext \
19495     conftest$ac_exeext conftest.$ac_ext
19496 fi
19497
19498 fi
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19500 $as_echo "$glibcxx_cv_POLL" >&6; }
19501   if test $glibcxx_cv_POLL = yes; then
19502
19503 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19504
19505   fi
19506
19507   CXXFLAGS="$ac_save_CXXFLAGS"
19508   ac_ext=c
19509 ac_cpp='$CPP $CPPFLAGS'
19510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19513
19514
19515
19516
19517
19518   ac_ext=cpp
19519 ac_cpp='$CXXCPP $CPPFLAGS'
19520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19523
19524   ac_save_CXXFLAGS="$CXXFLAGS"
19525   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19526
19527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19528 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19529   if ${glibcxx_cv_S_ISREG+:} false; then :
19530   $as_echo_n "(cached) " >&6
19531 else
19532
19533     if test x$gcc_no_link = xyes; then
19534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h.  */
19536 #include <sys/stat.h>
19537 int
19538 main ()
19539 {
19540 struct stat buffer;
19541        fstat(0, &buffer);
19542        S_ISREG(buffer.st_mode);
19543   ;
19544   return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_cxx_try_compile "$LINENO"; then :
19548   glibcxx_cv_S_ISREG=yes
19549 else
19550   glibcxx_cv_S_ISREG=no
19551 fi
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 else
19554   if test x$gcc_no_link = xyes; then
19555   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 fi
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h.  */
19559 #include <sys/stat.h>
19560 int
19561 main ()
19562 {
19563 struct stat buffer;
19564        fstat(0, &buffer);
19565        S_ISREG(buffer.st_mode);
19566   ;
19567   return 0;
19568 }
19569 _ACEOF
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571   glibcxx_cv_S_ISREG=yes
19572 else
19573   glibcxx_cv_S_ISREG=no
19574 fi
19575 rm -f core conftest.err conftest.$ac_objext \
19576     conftest$ac_exeext conftest.$ac_ext
19577 fi
19578
19579 fi
19580
19581   if ${glibcxx_cv_S_IFREG+:} false; then :
19582   $as_echo_n "(cached) " >&6
19583 else
19584
19585     if test x$gcc_no_link = xyes; then
19586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h.  */
19588 #include <sys/stat.h>
19589 int
19590 main ()
19591 {
19592 struct stat buffer;
19593        fstat(0, &buffer);
19594        S_IFREG & buffer.st_mode;
19595   ;
19596   return 0;
19597 }
19598 _ACEOF
19599 if ac_fn_cxx_try_compile "$LINENO"; then :
19600   glibcxx_cv_S_IFREG=yes
19601 else
19602   glibcxx_cv_S_IFREG=no
19603 fi
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19605 else
19606   if test x$gcc_no_link = xyes; then
19607   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19608 fi
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h.  */
19611 #include <sys/stat.h>
19612 int
19613 main ()
19614 {
19615 struct stat buffer;
19616        fstat(0, &buffer);
19617        S_IFREG & buffer.st_mode;
19618   ;
19619   return 0;
19620 }
19621 _ACEOF
19622 if ac_fn_cxx_try_link "$LINENO"; then :
19623   glibcxx_cv_S_IFREG=yes
19624 else
19625   glibcxx_cv_S_IFREG=no
19626 fi
19627 rm -f core conftest.err conftest.$ac_objext \
19628     conftest$ac_exeext conftest.$ac_ext
19629 fi
19630
19631 fi
19632
19633   res=no
19634   if test $glibcxx_cv_S_ISREG = yes; then
19635
19636 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19637
19638     res=S_ISREG
19639   elif test $glibcxx_cv_S_IFREG = yes; then
19640
19641 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19642
19643     res=S_IFREG
19644   fi
19645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19646 $as_echo "$res" >&6; }
19647
19648   CXXFLAGS="$ac_save_CXXFLAGS"
19649   ac_ext=c
19650 ac_cpp='$CPP $CPPFLAGS'
19651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19654
19655
19656
19657 # For xsputn_2().
19658 for ac_header in sys/uio.h
19659 do :
19660   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19661 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19662   cat >>confdefs.h <<_ACEOF
19663 #define HAVE_SYS_UIO_H 1
19664 _ACEOF
19665
19666 fi
19667
19668 done
19669
19670
19671
19672
19673   ac_ext=cpp
19674 ac_cpp='$CXXCPP $CPPFLAGS'
19675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19678
19679   ac_save_CXXFLAGS="$CXXFLAGS"
19680   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19681
19682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19683 $as_echo_n "checking for writev... " >&6; }
19684 if ${glibcxx_cv_WRITEV+:} false; then :
19685   $as_echo_n "(cached) " >&6
19686 else
19687
19688     if test x$gcc_no_link = xyes; then
19689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h.  */
19691 #include <sys/uio.h>
19692 int
19693 main ()
19694 {
19695 struct iovec iov[2];
19696        writev(0, iov, 0);
19697   ;
19698   return 0;
19699 }
19700 _ACEOF
19701 if ac_fn_cxx_try_compile "$LINENO"; then :
19702   glibcxx_cv_WRITEV=yes
19703 else
19704   glibcxx_cv_WRITEV=no
19705 fi
19706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19707 else
19708   if test x$gcc_no_link = xyes; then
19709   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19710 fi
19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h.  */
19713 #include <sys/uio.h>
19714 int
19715 main ()
19716 {
19717 struct iovec iov[2];
19718        writev(0, iov, 0);
19719   ;
19720   return 0;
19721 }
19722 _ACEOF
19723 if ac_fn_cxx_try_link "$LINENO"; then :
19724   glibcxx_cv_WRITEV=yes
19725 else
19726   glibcxx_cv_WRITEV=no
19727 fi
19728 rm -f core conftest.err conftest.$ac_objext \
19729     conftest$ac_exeext conftest.$ac_ext
19730 fi
19731
19732 fi
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19734 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19735   if test $glibcxx_cv_WRITEV = yes; then
19736
19737 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19738
19739   fi
19740
19741   CXXFLAGS="$ac_save_CXXFLAGS"
19742   ac_ext=c
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747
19748
19749
19750 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19751 # so that the check is done with the C compiler (not C++).
19752 # Checking with C++ can break a canadian cross build if either
19753 # file does not exist in C but does in C++.
19754 for ac_header in fenv.h complex.h
19755 do :
19756   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19757 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19758 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19759   cat >>confdefs.h <<_ACEOF
19760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19761 _ACEOF
19762
19763 fi
19764
19765 done
19766
19767
19768 # For C99 support to TR1.
19769
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
19779   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19780   # undefined and fake C99 facilities may be spuriously enabled.
19781   ac_save_CXXFLAGS="$CXXFLAGS"
19782   CXXFLAGS="$CXXFLAGS -std=c++98"
19783
19784   # Check for the existence of <complex.h> complex math functions used
19785   # by tr1/complex.
19786   for ac_header in complex.h
19787 do :
19788   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19789 if test "x$ac_cv_header_complex_h" = xyes; then :
19790   cat >>confdefs.h <<_ACEOF
19791 #define HAVE_COMPLEX_H 1
19792 _ACEOF
19793  ac_has_complex_h=yes
19794 else
19795   ac_has_complex_h=no
19796 fi
19797
19798 done
19799
19800   ac_c99_complex_tr1=no;
19801   if test x"$ac_has_complex_h" = x"yes"; then
19802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19803 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19804     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 /* end confdefs.h.  */
19806 #include <complex.h>
19807 int
19808 main ()
19809 {
19810 typedef __complex__ float float_type; float_type tmpf;
19811                     cacosf(tmpf);
19812                     casinf(tmpf);
19813                     catanf(tmpf);
19814                     cacoshf(tmpf);
19815                     casinhf(tmpf);
19816                     catanhf(tmpf);
19817                     typedef __complex__ double double_type; double_type tmpd;
19818                     cacos(tmpd);
19819                     casin(tmpd);
19820                     catan(tmpd);
19821                     cacosh(tmpd);
19822                     casinh(tmpd);
19823                     catanh(tmpd);
19824                     typedef __complex__ long double ld_type; ld_type tmpld;
19825                     cacosl(tmpld);
19826                     casinl(tmpld);
19827                     catanl(tmpld);
19828                     cacoshl(tmpld);
19829                     casinhl(tmpld);
19830                     catanhl(tmpld);
19831
19832   ;
19833   return 0;
19834 }
19835 _ACEOF
19836 if ac_fn_cxx_try_compile "$LINENO"; then :
19837   ac_c99_complex_tr1=yes
19838 else
19839   ac_c99_complex_tr1=no
19840 fi
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842   fi
19843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19844 $as_echo "$ac_c99_complex_tr1" >&6; }
19845   if test x"$ac_c99_complex_tr1" = x"yes"; then
19846
19847 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19848
19849   fi
19850
19851   # Check for the existence of <ctype.h> functions.
19852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19853 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19854 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19855   $as_echo_n "(cached) " >&6
19856 else
19857
19858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h.  */
19860 #include <ctype.h>
19861 int
19862 main ()
19863 {
19864 int ch;
19865                   int ret;
19866                   ret = isblank(ch);
19867
19868   ;
19869   return 0;
19870 }
19871 _ACEOF
19872 if ac_fn_cxx_try_compile "$LINENO"; then :
19873   glibcxx_cv_c99_ctype_tr1=yes
19874 else
19875   glibcxx_cv_c99_ctype_tr1=no
19876 fi
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878
19879 fi
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19881 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19882   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19883
19884 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19885
19886   fi
19887
19888   # Check for the existence of <fenv.h> functions.
19889   for ac_header in fenv.h
19890 do :
19891   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19892 if test "x$ac_cv_header_fenv_h" = xyes; then :
19893   cat >>confdefs.h <<_ACEOF
19894 #define HAVE_FENV_H 1
19895 _ACEOF
19896  ac_has_fenv_h=yes
19897 else
19898   ac_has_fenv_h=no
19899 fi
19900
19901 done
19902
19903   ac_c99_fenv_tr1=no;
19904   if test x"$ac_has_fenv_h" = x"yes"; then
19905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19906 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19907     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h.  */
19909 #include <fenv.h>
19910 int
19911 main ()
19912 {
19913 int except, mode;
19914                     fexcept_t* pflag;
19915                     fenv_t* penv;
19916                     int ret;
19917                     ret = feclearexcept(except);
19918                     ret = fegetexceptflag(pflag, except);
19919                     ret = feraiseexcept(except);
19920                     ret = fesetexceptflag(pflag, except);
19921                     ret = fetestexcept(except);
19922                     ret = fegetround();
19923                     ret = fesetround(mode);
19924                     ret = fegetenv(penv);
19925                     ret = feholdexcept(penv);
19926                     ret = fesetenv(penv);
19927                     ret = feupdateenv(penv);
19928
19929   ;
19930   return 0;
19931 }
19932 _ACEOF
19933 if ac_fn_cxx_try_compile "$LINENO"; then :
19934   ac_c99_fenv_tr1=yes
19935 else
19936   ac_c99_fenv_tr1=no
19937 fi
19938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19940 $as_echo "$ac_c99_fenv_tr1" >&6; }
19941   fi
19942   if test x"$ac_c99_fenv_tr1" = x"yes"; then
19943
19944 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19945
19946   fi
19947
19948   # Check for the existence of <stdint.h> types.
19949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19950 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19951 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19952   $as_echo_n "(cached) " >&6
19953 else
19954
19955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h.  */
19957 #define __STDC_LIMIT_MACROS
19958                   #define __STDC_CONSTANT_MACROS
19959                   #include <stdint.h>
19960 int
19961 main ()
19962 {
19963 typedef int8_t          my_int8_t;
19964                   my_int8_t               i8 = INT8_MIN;
19965                   i8 = INT8_MAX;
19966                   typedef int16_t         my_int16_t;
19967                   my_int16_t              i16 = INT16_MIN;
19968                   i16 = INT16_MAX;
19969                   typedef int32_t         my_int32_t;
19970                   my_int32_t              i32 = INT32_MIN;
19971                   i32 = INT32_MAX;
19972                   typedef int64_t         my_int64_t;
19973                   my_int64_t              i64 = INT64_MIN;
19974                   i64 = INT64_MAX;
19975                   typedef int_fast8_t     my_int_fast8_t;
19976                   my_int_fast8_t          if8 = INT_FAST8_MIN;
19977                   if8 = INT_FAST8_MAX;
19978                   typedef int_fast16_t    my_int_fast16_t;
19979                   my_int_fast16_t         if16 = INT_FAST16_MIN;
19980                   if16 = INT_FAST16_MAX;
19981                   typedef int_fast32_t    my_int_fast32_t;
19982                   my_int_fast32_t         if32 = INT_FAST32_MIN;
19983                   if32 = INT_FAST32_MAX;
19984                   typedef int_fast64_t    my_int_fast64_t;
19985                   my_int_fast64_t         if64 = INT_FAST64_MIN;
19986                   if64 = INT_FAST64_MAX;
19987                   typedef int_least8_t    my_int_least8_t;
19988                   my_int_least8_t         il8 = INT_LEAST8_MIN;
19989                   il8 = INT_LEAST8_MAX;
19990                   typedef int_least16_t   my_int_least16_t;
19991                   my_int_least16_t        il16 = INT_LEAST16_MIN;
19992                   il16 = INT_LEAST16_MAX;
19993                   typedef int_least32_t   my_int_least32_t;
19994                   my_int_least32_t        il32 = INT_LEAST32_MIN;
19995                   il32 = INT_LEAST32_MAX;
19996                   typedef int_least64_t   my_int_least64_t;
19997                   my_int_least64_t        il64 = INT_LEAST64_MIN;
19998                   il64 = INT_LEAST64_MAX;
19999                   typedef intmax_t        my_intmax_t;
20000                   my_intmax_t             im = INTMAX_MAX;
20001                   im = INTMAX_MIN;
20002                   typedef intptr_t        my_intptr_t;
20003                   my_intptr_t             ip = INTPTR_MAX;
20004                   ip = INTPTR_MIN;
20005                   typedef uint8_t         my_uint8_t;
20006                   my_uint8_t              ui8 = UINT8_MAX;
20007                   ui8 = UINT8_MAX;
20008                   typedef uint16_t        my_uint16_t;
20009                   my_uint16_t             ui16 = UINT16_MAX;
20010                   ui16 = UINT16_MAX;
20011                   typedef uint32_t        my_uint32_t;
20012                   my_uint32_t             ui32 = UINT32_MAX;
20013                   ui32 = UINT32_MAX;
20014                   typedef uint64_t        my_uint64_t;
20015                   my_uint64_t             ui64 = UINT64_MAX;
20016                   ui64 = UINT64_MAX;
20017                   typedef uint_fast8_t    my_uint_fast8_t;
20018                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20019                   uif8 = UINT_FAST8_MAX;
20020                   typedef uint_fast16_t   my_uint_fast16_t;
20021                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20022                   uif16 = UINT_FAST16_MAX;
20023                   typedef uint_fast32_t   my_uint_fast32_t;
20024                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20025                   uif32 = UINT_FAST32_MAX;
20026                   typedef uint_fast64_t   my_uint_fast64_t;
20027                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20028                   uif64 = UINT_FAST64_MAX;
20029                   typedef uint_least8_t   my_uint_least8_t;
20030                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20031                   uil8 = UINT_LEAST8_MAX;
20032                   typedef uint_least16_t  my_uint_least16_t;
20033                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20034                   uil16 = UINT_LEAST16_MAX;
20035                   typedef uint_least32_t  my_uint_least32_t;
20036                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20037                   uil32 = UINT_LEAST32_MAX;
20038                   typedef uint_least64_t  my_uint_least64_t;
20039                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20040                   uil64 = UINT_LEAST64_MAX;
20041                   typedef uintmax_t       my_uintmax_t;
20042                   my_uintmax_t            uim = UINTMAX_MAX;
20043                   uim = UINTMAX_MAX;
20044                   typedef uintptr_t       my_uintptr_t;
20045                   my_uintptr_t            uip = UINTPTR_MAX;
20046                   uip = UINTPTR_MAX;
20047
20048   ;
20049   return 0;
20050 }
20051 _ACEOF
20052 if ac_fn_cxx_try_compile "$LINENO"; then :
20053   glibcxx_cv_c99_stdint_tr1=yes
20054 else
20055   glibcxx_cv_c99_stdint_tr1=no
20056 fi
20057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20058
20059 fi
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20061 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20062   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20063
20064 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20065
20066   fi
20067
20068   # Check for the existence of <math.h> functions.
20069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20070 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20071 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20072   $as_echo_n "(cached) " >&6
20073 else
20074
20075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h.  */
20077 #include <math.h>
20078 int
20079 main ()
20080 {
20081 typedef double_t  my_double_t;
20082                   typedef float_t   my_float_t;
20083                   acosh(0.0);
20084                   acoshf(0.0f);
20085                   acoshl(0.0l);
20086                   asinh(0.0);
20087                   asinhf(0.0f);
20088                   asinhl(0.0l);
20089                   atanh(0.0);
20090                   atanhf(0.0f);
20091                   atanhl(0.0l);
20092                   cbrt(0.0);
20093                   cbrtf(0.0f);
20094                   cbrtl(0.0l);
20095                   copysign(0.0, 0.0);
20096                   copysignf(0.0f, 0.0f);
20097                   copysignl(0.0l, 0.0l);
20098                   erf(0.0);
20099                   erff(0.0f);
20100                   erfl(0.0l);
20101                   erfc(0.0);
20102                   erfcf(0.0f);
20103                   erfcl(0.0l);
20104                   exp2(0.0);
20105                   exp2f(0.0f);
20106                   exp2l(0.0l);
20107                   expm1(0.0);
20108                   expm1f(0.0f);
20109                   expm1l(0.0l);
20110                   fdim(0.0, 0.0);
20111                   fdimf(0.0f, 0.0f);
20112                   fdiml(0.0l, 0.0l);
20113                   fma(0.0, 0.0, 0.0);
20114                   fmaf(0.0f, 0.0f, 0.0f);
20115                   fmal(0.0l, 0.0l, 0.0l);
20116                   fmax(0.0, 0.0);
20117                   fmaxf(0.0f, 0.0f);
20118                   fmaxl(0.0l, 0.0l);
20119                   fmin(0.0, 0.0);
20120                   fminf(0.0f, 0.0f);
20121                   fminl(0.0l, 0.0l);
20122                   hypot(0.0, 0.0);
20123                   hypotf(0.0f, 0.0f);
20124                   hypotl(0.0l, 0.0l);
20125                   ilogb(0.0);
20126                   ilogbf(0.0f);
20127                   ilogbl(0.0l);
20128                   lgamma(0.0);
20129                   lgammaf(0.0f);
20130                   lgammal(0.0l);
20131                   #ifndef __APPLE__ /* see below */
20132                   llrint(0.0);
20133                   llrintf(0.0f);
20134                   llrintl(0.0l);
20135                   llround(0.0);
20136                   llroundf(0.0f);
20137                   llroundl(0.0l);
20138                   #endif
20139                   log1p(0.0);
20140                   log1pf(0.0f);
20141                   log1pl(0.0l);
20142                   log2(0.0);
20143                   log2f(0.0f);
20144                   log2l(0.0l);
20145                   logb(0.0);
20146                   logbf(0.0f);
20147                   logbl(0.0l);
20148                   lrint(0.0);
20149                   lrintf(0.0f);
20150                   lrintl(0.0l);
20151                   lround(0.0);
20152                   lroundf(0.0f);
20153                   lroundl(0.0l);
20154                   nan(0);
20155                   nanf(0);
20156                   nanl(0);
20157                   nearbyint(0.0);
20158                   nearbyintf(0.0f);
20159                   nearbyintl(0.0l);
20160                   nextafter(0.0, 0.0);
20161                   nextafterf(0.0f, 0.0f);
20162                   nextafterl(0.0l, 0.0l);
20163                   nexttoward(0.0, 0.0);
20164                   nexttowardf(0.0f, 0.0f);
20165                   nexttowardl(0.0l, 0.0l);
20166                   remainder(0.0, 0.0);
20167                   remainderf(0.0f, 0.0f);
20168                   remainderl(0.0l, 0.0l);
20169                   remquo(0.0, 0.0, 0);
20170                   remquof(0.0f, 0.0f, 0);
20171                   remquol(0.0l, 0.0l, 0);
20172                   rint(0.0);
20173                   rintf(0.0f);
20174                   rintl(0.0l);
20175                   round(0.0);
20176                   roundf(0.0f);
20177                   roundl(0.0l);
20178                   scalbln(0.0, 0l);
20179                   scalblnf(0.0f, 0l);
20180                   scalblnl(0.0l, 0l);
20181                   scalbn(0.0, 0);
20182                   scalbnf(0.0f, 0);
20183                   scalbnl(0.0l, 0);
20184                   tgamma(0.0);
20185                   tgammaf(0.0f);
20186                   tgammal(0.0l);
20187                   trunc(0.0);
20188                   truncf(0.0f);
20189                   truncl(0.0l);
20190
20191   ;
20192   return 0;
20193 }
20194 _ACEOF
20195 if ac_fn_cxx_try_compile "$LINENO"; then :
20196   glibcxx_cv_c99_math_tr1=yes
20197 else
20198   glibcxx_cv_c99_math_tr1=no
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201
20202 fi
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20204 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20205   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20206
20207 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20208
20209
20210     case "${target_os}" in
20211       darwin*)
20212         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20213 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20214 if ${glibcxx_cv_c99_math_llround+:} false; then :
20215   $as_echo_n "(cached) " >&6
20216 else
20217
20218           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h.  */
20220 #include <math.h>
20221 int
20222 main ()
20223 {
20224 llrint(0.0);
20225                   llrintf(0.0f);
20226                   llrintl(0.0l);
20227                   llround(0.0);
20228                   llroundf(0.0f);
20229                   llroundl(0.0l);
20230
20231   ;
20232   return 0;
20233 }
20234 _ACEOF
20235 if ac_fn_cxx_try_compile "$LINENO"; then :
20236   glibcxx_cv_c99_math_llround=yes
20237 else
20238   glibcxx_cv_c99_math_llround=no
20239 fi
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241
20242 fi
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20244 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20245         ;;
20246     esac
20247     if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20248
20249 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20250
20251     fi
20252   fi
20253
20254   # Check for the existence of <inttypes.h> functions (NB: doesn't make
20255   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20256   ac_c99_inttypes_tr1=no;
20257   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20258     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20259 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20260     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h.  */
20262 #include <inttypes.h>
20263 int
20264 main ()
20265 {
20266 intmax_t i, numer, denom, base;
20267                     const char* s;
20268                     char** endptr;
20269                     intmax_t ret = imaxabs(i);
20270                     imaxdiv_t dret = imaxdiv(numer, denom);
20271                     ret = strtoimax(s, endptr, base);
20272                     uintmax_t uret = strtoumax(s, endptr, base);
20273
20274   ;
20275   return 0;
20276 }
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279   ac_c99_inttypes_tr1=yes
20280 else
20281   ac_c99_inttypes_tr1=no
20282 fi
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20285 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20286   fi
20287   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20288
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20290
20291   fi
20292
20293   # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20294   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20295   ac_c99_inttypes_wchar_t_tr1=no;
20296   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20298 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20300 /* end confdefs.h.  */
20301 #include <inttypes.h>
20302 int
20303 main ()
20304 {
20305 intmax_t base;
20306                     const wchar_t* s;
20307                     wchar_t** endptr;
20308                     intmax_t ret = wcstoimax(s, endptr, base);
20309                     uintmax_t uret = wcstoumax(s, endptr, base);
20310
20311   ;
20312   return 0;
20313 }
20314 _ACEOF
20315 if ac_fn_cxx_try_compile "$LINENO"; then :
20316   ac_c99_inttypes_wchar_t_tr1=yes
20317 else
20318   ac_c99_inttypes_wchar_t_tr1=no
20319 fi
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20322 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20323   fi
20324   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20325
20326 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20327
20328   fi
20329
20330   # Check for the existence of the <stdbool.h> header.
20331   for ac_header in stdbool.h
20332 do :
20333   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20334 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20335   cat >>confdefs.h <<_ACEOF
20336 #define HAVE_STDBOOL_H 1
20337 _ACEOF
20338
20339 fi
20340
20341 done
20342
20343
20344   # Check for the existence of the <stdalign.h> header.
20345   for ac_header in stdalign.h
20346 do :
20347   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20348 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20349   cat >>confdefs.h <<_ACEOF
20350 #define HAVE_STDALIGN_H 1
20351 _ACEOF
20352
20353 fi
20354
20355 done
20356
20357
20358   CXXFLAGS="$ac_save_CXXFLAGS"
20359   ac_ext=c
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20364
20365
20366
20367 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20368
20369
20370 if test "$is_hosted" = yes; then
20371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20372 $as_echo_n "checking for the value of EOF... " >&6; }
20373 if ${glibcxx_cv_stdio_eof+:} false; then :
20374   $as_echo_n "(cached) " >&6
20375 else
20376
20377   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20378
20379 else
20380   as_fn_error $? "computing EOF failed" "$LINENO" 5
20381 fi
20382
20383
20384 fi
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20386 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20387
20388 cat >>confdefs.h <<_ACEOF
20389 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20390 _ACEOF
20391
20392
20393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20394 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20395 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20396   $as_echo_n "(cached) " >&6
20397 else
20398
20399   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20400
20401 else
20402   as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20403 fi
20404
20405
20406 fi
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20408 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20409
20410 cat >>confdefs.h <<_ACEOF
20411 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20412 _ACEOF
20413
20414
20415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20416 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20417 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20418   $as_echo_n "(cached) " >&6
20419 else
20420
20421   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20422
20423 else
20424   as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20425 fi
20426
20427
20428 fi
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20430 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20431
20432 cat >>confdefs.h <<_ACEOF
20433 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20434 _ACEOF
20435
20436 fi
20437
20438
20439 # For gettimeofday support.
20440
20441
20442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20443 $as_echo_n "checking for gettimeofday... " >&6; }
20444
20445
20446   ac_ext=cpp
20447 ac_cpp='$CXXCPP $CPPFLAGS'
20448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20451
20452   ac_save_CXXFLAGS="$CXXFLAGS"
20453   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20454
20455   ac_has_gettimeofday=no;
20456   for ac_header in sys/time.h
20457 do :
20458   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20459 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20460   cat >>confdefs.h <<_ACEOF
20461 #define HAVE_SYS_TIME_H 1
20462 _ACEOF
20463  ac_has_sys_time_h=yes
20464 else
20465   ac_has_sys_time_h=no
20466 fi
20467
20468 done
20469
20470   if test x"$ac_has_sys_time_h" = x"yes"; then
20471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20472 $as_echo_n "checking for gettimeofday... " >&6; }
20473     if test x$gcc_no_link = xyes; then
20474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h.  */
20476 #include <sys/time.h>
20477 int
20478 main ()
20479 {
20480 timeval tv; gettimeofday(&tv, 0);
20481   ;
20482   return 0;
20483 }
20484 _ACEOF
20485 if ac_fn_cxx_try_compile "$LINENO"; then :
20486   ac_has_gettimeofday=yes
20487 else
20488   ac_has_gettimeofday=no
20489 fi
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 else
20492   if test x$gcc_no_link = xyes; then
20493   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20494 fi
20495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20496 /* end confdefs.h.  */
20497 #include <sys/time.h>
20498 int
20499 main ()
20500 {
20501 timeval tv; gettimeofday(&tv, 0);
20502   ;
20503   return 0;
20504 }
20505 _ACEOF
20506 if ac_fn_cxx_try_link "$LINENO"; then :
20507   ac_has_gettimeofday=yes
20508 else
20509   ac_has_gettimeofday=no
20510 fi
20511 rm -f core conftest.err conftest.$ac_objext \
20512     conftest$ac_exeext conftest.$ac_ext
20513 fi
20514
20515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20516 $as_echo "$ac_has_gettimeofday" >&6; }
20517   fi
20518
20519   if test x"$ac_has_gettimeofday" = x"yes"; then
20520
20521 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20522
20523   fi
20524
20525   CXXFLAGS="$ac_save_CXXFLAGS"
20526   ac_ext=c
20527 ac_cpp='$CPP $CPPFLAGS'
20528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20531
20532
20533
20534 # For clock_gettime, nanosleep and sched_yield support.
20535
20536
20537    # Check whether --enable-libstdcxx-time was given.
20538 if test "${enable_libstdcxx_time+set}" = set; then :
20539   enableval=$enable_libstdcxx_time;
20540       case "$enableval" in
20541        yes|no|rt) ;;
20542        *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20543                         esac
20544
20545 else
20546   enable_libstdcxx_time=auto
20547 fi
20548
20549
20550
20551
20552   ac_ext=cpp
20553 ac_cpp='$CXXCPP $CPPFLAGS'
20554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20557
20558   ac_save_CXXFLAGS="$CXXFLAGS"
20559   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20560   ac_save_LIBS="$LIBS"
20561
20562   ac_has_clock_monotonic=no
20563   ac_has_clock_realtime=no
20564   ac_has_nanosleep=no
20565   ac_has_sched_yield=no
20566
20567   if test x"$enable_libstdcxx_time" = x"auto"; then
20568
20569     case "${target_os}" in
20570       cygwin*)
20571         ac_has_nanosleep=yes
20572         ;;
20573       darwin*)
20574         ac_has_nanosleep=yes
20575         ac_has_sched_yield=yes
20576         ;;
20577       # VxWorks has nanosleep as soon as the kernel is configured with
20578       # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20579       vxworks*)
20580         ac_has_nanosleep=yes
20581         ;;
20582       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20583         # Don't use link test for freestanding library, in case gcc_no_link=yes
20584         if test x"$is_hosted" = xyes; then
20585           # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20586           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20588 if ${ac_cv_search_clock_gettime+:} false; then :
20589   $as_echo_n "(cached) " >&6
20590 else
20591   ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h.  */
20594
20595 /* Override any GCC internal prototype to avoid an error.
20596    Use char because int might match the return type of a GCC
20597    builtin and then its argument prototype would still apply.  */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 char clock_gettime ();
20602 int
20603 main ()
20604 {
20605 return clock_gettime ();
20606   ;
20607   return 0;
20608 }
20609 _ACEOF
20610 for ac_lib in '' rt; do
20611   if test -z "$ac_lib"; then
20612     ac_res="none required"
20613   else
20614     ac_res=-l$ac_lib
20615     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20616   fi
20617   if test x$gcc_no_link = xyes; then
20618   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20619 fi
20620 if ac_fn_cxx_try_link "$LINENO"; then :
20621   ac_cv_search_clock_gettime=$ac_res
20622 fi
20623 rm -f core conftest.err conftest.$ac_objext \
20624     conftest$ac_exeext
20625   if ${ac_cv_search_clock_gettime+:} false; then :
20626   break
20627 fi
20628 done
20629 if ${ac_cv_search_clock_gettime+:} false; then :
20630
20631 else
20632   ac_cv_search_clock_gettime=no
20633 fi
20634 rm conftest.$ac_ext
20635 LIBS=$ac_func_search_save_LIBS
20636 fi
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20639 ac_res=$ac_cv_search_clock_gettime
20640 if test "$ac_res" != no; then :
20641   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20642
20643 fi
20644
20645           if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20646             ac_has_clock_monotonic=yes
20647             ac_has_clock_realtime=yes
20648           fi
20649         fi
20650         ac_has_nanosleep=yes
20651         ac_has_sched_yield=yes
20652         ;;
20653       freebsd*|netbsd*|dragonfly*|rtems*)
20654         ac_has_clock_monotonic=yes
20655         ac_has_clock_realtime=yes
20656         ac_has_nanosleep=yes
20657         ac_has_sched_yield=yes
20658         ;;
20659       openbsd*)
20660         ac_has_clock_monotonic=yes
20661         ac_has_clock_realtime=yes
20662         ac_has_nanosleep=yes
20663         ;;
20664       solaris*)
20665         ac_has_clock_monotonic=yes
20666         ac_has_clock_realtime=yes
20667         ac_has_nanosleep=yes
20668         ac_has_sched_yield=yes
20669         ;;
20670       uclinux*)
20671         ac_has_nanosleep=yes
20672         ac_has_sched_yield=yes
20673     esac
20674
20675   elif test x"$enable_libstdcxx_time" != x"no"; then
20676
20677     if test x"$enable_libstdcxx_time" = x"rt"; then
20678       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20679 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20680 if ${ac_cv_search_clock_gettime+:} false; then :
20681   $as_echo_n "(cached) " >&6
20682 else
20683   ac_func_search_save_LIBS=$LIBS
20684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h.  */
20686
20687 /* Override any GCC internal prototype to avoid an error.
20688    Use char because int might match the return type of a GCC
20689    builtin and then its argument prototype would still apply.  */
20690 #ifdef __cplusplus
20691 extern "C"
20692 #endif
20693 char clock_gettime ();
20694 int
20695 main ()
20696 {
20697 return clock_gettime ();
20698   ;
20699   return 0;
20700 }
20701 _ACEOF
20702 for ac_lib in '' rt; do
20703   if test -z "$ac_lib"; then
20704     ac_res="none required"
20705   else
20706     ac_res=-l$ac_lib
20707     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20708   fi
20709   if test x$gcc_no_link = xyes; then
20710   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20711 fi
20712 if ac_fn_cxx_try_link "$LINENO"; then :
20713   ac_cv_search_clock_gettime=$ac_res
20714 fi
20715 rm -f core conftest.err conftest.$ac_objext \
20716     conftest$ac_exeext
20717   if ${ac_cv_search_clock_gettime+:} false; then :
20718   break
20719 fi
20720 done
20721 if ${ac_cv_search_clock_gettime+:} false; then :
20722
20723 else
20724   ac_cv_search_clock_gettime=no
20725 fi
20726 rm conftest.$ac_ext
20727 LIBS=$ac_func_search_save_LIBS
20728 fi
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20730 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20731 ac_res=$ac_cv_search_clock_gettime
20732 if test "$ac_res" != no; then :
20733   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20734
20735 fi
20736
20737       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20738 $as_echo_n "checking for library containing nanosleep... " >&6; }
20739 if ${ac_cv_search_nanosleep+:} false; then :
20740   $as_echo_n "(cached) " >&6
20741 else
20742   ac_func_search_save_LIBS=$LIBS
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h.  */
20745
20746 /* Override any GCC internal prototype to avoid an error.
20747    Use char because int might match the return type of a GCC
20748    builtin and then its argument prototype would still apply.  */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char nanosleep ();
20753 int
20754 main ()
20755 {
20756 return nanosleep ();
20757   ;
20758   return 0;
20759 }
20760 _ACEOF
20761 for ac_lib in '' rt; do
20762   if test -z "$ac_lib"; then
20763     ac_res="none required"
20764   else
20765     ac_res=-l$ac_lib
20766     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20767   fi
20768   if test x$gcc_no_link = xyes; then
20769   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20770 fi
20771 if ac_fn_cxx_try_link "$LINENO"; then :
20772   ac_cv_search_nanosleep=$ac_res
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext \
20775     conftest$ac_exeext
20776   if ${ac_cv_search_nanosleep+:} false; then :
20777   break
20778 fi
20779 done
20780 if ${ac_cv_search_nanosleep+:} false; then :
20781
20782 else
20783   ac_cv_search_nanosleep=no
20784 fi
20785 rm conftest.$ac_ext
20786 LIBS=$ac_func_search_save_LIBS
20787 fi
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20789 $as_echo "$ac_cv_search_nanosleep" >&6; }
20790 ac_res=$ac_cv_search_nanosleep
20791 if test "$ac_res" != no; then :
20792   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20793
20794 fi
20795
20796     else
20797       ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20798 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20799
20800 fi
20801
20802       ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20803 if test "x$ac_cv_func_nanosleep" = xyes; then :
20804
20805 fi
20806
20807     fi
20808
20809     case "$ac_cv_search_clock_gettime" in
20810       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20811       ;;
20812     esac
20813     case "$ac_cv_search_nanosleep" in
20814       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20815       ;;
20816     esac
20817
20818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20819 $as_echo_n "checking for library containing sched_yield... " >&6; }
20820 if ${ac_cv_search_sched_yield+:} false; then :
20821   $as_echo_n "(cached) " >&6
20822 else
20823   ac_func_search_save_LIBS=$LIBS
20824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h.  */
20826
20827 /* Override any GCC internal prototype to avoid an error.
20828    Use char because int might match the return type of a GCC
20829    builtin and then its argument prototype would still apply.  */
20830 #ifdef __cplusplus
20831 extern "C"
20832 #endif
20833 char sched_yield ();
20834 int
20835 main ()
20836 {
20837 return sched_yield ();
20838   ;
20839   return 0;
20840 }
20841 _ACEOF
20842 for ac_lib in '' rt; do
20843   if test -z "$ac_lib"; then
20844     ac_res="none required"
20845   else
20846     ac_res=-l$ac_lib
20847     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20848   fi
20849   if test x$gcc_no_link = xyes; then
20850   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20851 fi
20852 if ac_fn_cxx_try_link "$LINENO"; then :
20853   ac_cv_search_sched_yield=$ac_res
20854 fi
20855 rm -f core conftest.err conftest.$ac_objext \
20856     conftest$ac_exeext
20857   if ${ac_cv_search_sched_yield+:} false; then :
20858   break
20859 fi
20860 done
20861 if ${ac_cv_search_sched_yield+:} false; then :
20862
20863 else
20864   ac_cv_search_sched_yield=no
20865 fi
20866 rm conftest.$ac_ext
20867 LIBS=$ac_func_search_save_LIBS
20868 fi
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20870 $as_echo "$ac_cv_search_sched_yield" >&6; }
20871 ac_res=$ac_cv_search_sched_yield
20872 if test "$ac_res" != no; then :
20873   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20874
20875 fi
20876
20877
20878     case "$ac_cv_search_sched_yield" in
20879       -lrt*)
20880       if test x"$enable_libstdcxx_time" = x"rt"; then
20881         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20882         ac_has_sched_yield=yes
20883       fi
20884       ;;
20885       *)
20886       ac_has_sched_yield=yes
20887       ;;
20888     esac
20889
20890     for ac_header in unistd.h
20891 do :
20892   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20893 if test "x$ac_cv_header_unistd_h" = xyes; then :
20894   cat >>confdefs.h <<_ACEOF
20895 #define HAVE_UNISTD_H 1
20896 _ACEOF
20897  ac_has_unistd_h=yes
20898 else
20899   ac_has_unistd_h=no
20900 fi
20901
20902 done
20903
20904
20905     if test x"$ac_has_unistd_h" = x"yes"; then
20906       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20907 $as_echo_n "checking for monotonic clock... " >&6; }
20908       if test x$gcc_no_link = xyes; then
20909   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20910 fi
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h.  */
20913 #include <unistd.h>
20914          #include <time.h>
20915
20916 int
20917 main ()
20918 {
20919 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20920           timespec tp;
20921          #endif
20922           clock_gettime(CLOCK_MONOTONIC, &tp);
20923
20924   ;
20925   return 0;
20926 }
20927 _ACEOF
20928 if ac_fn_cxx_try_link "$LINENO"; then :
20929   ac_has_clock_monotonic=yes
20930 else
20931   ac_has_clock_monotonic=no
20932 fi
20933 rm -f core conftest.err conftest.$ac_objext \
20934     conftest$ac_exeext conftest.$ac_ext
20935
20936       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20937 $as_echo "$ac_has_clock_monotonic" >&6; }
20938
20939       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20940 $as_echo_n "checking for realtime clock... " >&6; }
20941       if test x$gcc_no_link = xyes; then
20942   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20943 fi
20944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20945 /* end confdefs.h.  */
20946 #include <unistd.h>
20947          #include <time.h>
20948
20949 int
20950 main ()
20951 {
20952 #if _POSIX_TIMERS > 0
20953           timespec tp;
20954          #endif
20955           clock_gettime(CLOCK_REALTIME, &tp);
20956
20957   ;
20958   return 0;
20959 }
20960 _ACEOF
20961 if ac_fn_cxx_try_link "$LINENO"; then :
20962   ac_has_clock_realtime=yes
20963 else
20964   ac_has_clock_realtime=no
20965 fi
20966 rm -f core conftest.err conftest.$ac_objext \
20967     conftest$ac_exeext conftest.$ac_ext
20968
20969       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20970 $as_echo "$ac_has_clock_realtime" >&6; }
20971
20972       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20973 $as_echo_n "checking for nanosleep... " >&6; }
20974       if test x$gcc_no_link = xyes; then
20975   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20976 fi
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h.  */
20979 #include <unistd.h>
20980          #include <time.h>
20981
20982 int
20983 main ()
20984 {
20985 #if _POSIX_TIMERS > 0
20986           timespec tp;
20987          #endif
20988           nanosleep(&tp, 0);
20989
20990   ;
20991   return 0;
20992 }
20993 _ACEOF
20994 if ac_fn_cxx_try_link "$LINENO"; then :
20995   ac_has_nanosleep=yes
20996 else
20997   ac_has_nanosleep=no
20998 fi
20999 rm -f core conftest.err conftest.$ac_objext \
21000     conftest$ac_exeext conftest.$ac_ext
21001
21002       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21003 $as_echo "$ac_has_nanosleep" >&6; }
21004     fi
21005   fi
21006
21007   if test x"$ac_has_clock_monotonic" != x"yes"; then
21008     case ${target_os} in
21009       linux* | uclinux*)
21010         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21011 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21012         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h.  */
21014 #include <unistd.h>
21015            #include <time.h>
21016            #include <sys/syscall.h>
21017
21018 int
21019 main ()
21020 {
21021 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21022             timespec tp;
21023            #endif
21024            syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21025            syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21026
21027   ;
21028   return 0;
21029 }
21030 _ACEOF
21031 if ac_fn_cxx_try_compile "$LINENO"; then :
21032   ac_has_clock_gettime_syscall=yes
21033 else
21034   ac_has_clock_gettime_syscall=no
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21038 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21039         if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21040
21041 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21042
21043           ac_has_clock_monotonic=yes
21044           ac_has_clock_realtime=yes
21045           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21046 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21047           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h.  */
21049 #include <time.h>
21050              #include <sys/syscall.h>
21051
21052 int
21053 main ()
21054 {
21055 #ifdef SYS_clock_gettime64
21056              #if SYS_clock_gettime64 != SYS_clock_gettime
21057              // We need to use SYS_clock_gettime and libc appears to
21058              // also know about the SYS_clock_gettime64 syscall.
21059              // Check that userspace doesn't use time64 version of timespec.
21060              static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21061                "struct timespec must be compatible with SYS_clock_gettime");
21062              #endif
21063              #endif
21064
21065   ;
21066   return 0;
21067 }
21068 _ACEOF
21069 if ac_fn_cxx_try_compile "$LINENO"; then :
21070   ac_timespec_matches_syscall=yes
21071 else
21072   ac_timespec_matches_syscall=no
21073 fi
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21075           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21076 $as_echo "$ac_timespec_matches_syscall" >&6; }
21077           if test x"$ac_timespec_matches_syscall" = no; then
21078             as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21079           fi
21080         fi;;
21081     esac
21082   fi
21083
21084   if test x"$ac_has_clock_monotonic" = x"yes"; then
21085
21086 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21087
21088   fi
21089
21090   if test x"$ac_has_clock_realtime" = x"yes"; then
21091
21092 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21093
21094   fi
21095
21096   if test x"$ac_has_sched_yield" = x"yes"; then
21097
21098 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21099
21100   fi
21101
21102   if test x"$ac_has_nanosleep" = x"yes"; then
21103
21104 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21105
21106   else
21107       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21108 $as_echo_n "checking for sleep... " >&6; }
21109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h.  */
21111 #include <unistd.h>
21112 int
21113 main ()
21114 {
21115 sleep(1)
21116   ;
21117   return 0;
21118 }
21119 _ACEOF
21120 if ac_fn_cxx_try_compile "$LINENO"; then :
21121   ac_has_sleep=yes
21122 else
21123   ac_has_sleep=no
21124 fi
21125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126       if test x"$ac_has_sleep" = x"yes"; then
21127
21128 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21129
21130       fi
21131       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21132 $as_echo "$ac_has_sleep" >&6; }
21133       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21134 $as_echo_n "checking for usleep... " >&6; }
21135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h.  */
21137 #include <unistd.h>
21138 int
21139 main ()
21140 {
21141 sleep(1);
21142                       usleep(100);
21143   ;
21144   return 0;
21145 }
21146 _ACEOF
21147 if ac_fn_cxx_try_compile "$LINENO"; then :
21148   ac_has_usleep=yes
21149 else
21150   ac_has_usleep=no
21151 fi
21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153       if test x"$ac_has_usleep" = x"yes"; then
21154
21155 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21156
21157       fi
21158       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21159 $as_echo "$ac_has_usleep" >&6; }
21160   fi
21161
21162   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21163       ac_no_sleep=yes
21164       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21165 $as_echo_n "checking for Sleep... " >&6; }
21166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h.  */
21168 #include <windows.h>
21169 int
21170 main ()
21171 {
21172 Sleep(1)
21173   ;
21174   return 0;
21175 }
21176 _ACEOF
21177 if ac_fn_cxx_try_compile "$LINENO"; then :
21178   ac_has_win32_sleep=yes
21179 else
21180   ac_has_win32_sleep=no
21181 fi
21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183       if test x"$ac_has_win32_sleep" = x"yes"; then
21184
21185 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21186
21187         ac_no_sleep=no
21188       fi
21189       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21190 $as_echo "$ac_has_win32_sleep" >&6; }
21191   fi
21192
21193   if test x"$ac_no_sleep" = x"yes"; then
21194
21195 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21196
21197   fi
21198
21199
21200
21201   CXXFLAGS="$ac_save_CXXFLAGS"
21202   LIBS="$ac_save_LIBS"
21203   ac_ext=c
21204 ac_cpp='$CPP $CPPFLAGS'
21205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208
21209
21210
21211 # Check for tmpnam which is obsolescent in POSIX.1-2008
21212
21213   ac_ext=cpp
21214 ac_cpp='$CXXCPP $CPPFLAGS'
21215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21218
21219   ac_save_CXXFLAGS="$CXXFLAGS"
21220   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21222 $as_echo_n "checking for tmpnam... " >&6; }
21223 if ${glibcxx_cv_TMPNAM+:} false; then :
21224   $as_echo_n "(cached) " >&6
21225 else
21226       if test x$gcc_no_link = xyes; then
21227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h.  */
21229 #include <stdio.h>
21230 int
21231 main ()
21232 {
21233 char *tmp = tmpnam(NULL);
21234   ;
21235   return 0;
21236 }
21237 _ACEOF
21238 if ac_fn_cxx_try_compile "$LINENO"; then :
21239   glibcxx_cv_TMPNAM=yes
21240 else
21241   glibcxx_cv_TMPNAM=no
21242 fi
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 else
21245   if test x$gcc_no_link = xyes; then
21246   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 fi
21248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21249 /* end confdefs.h.  */
21250 #include <stdio.h>
21251 int
21252 main ()
21253 {
21254 char *tmp = tmpnam(NULL);
21255   ;
21256   return 0;
21257 }
21258 _ACEOF
21259 if ac_fn_cxx_try_link "$LINENO"; then :
21260   glibcxx_cv_TMPNAM=yes
21261 else
21262   glibcxx_cv_TMPNAM=no
21263 fi
21264 rm -f core conftest.err conftest.$ac_objext \
21265     conftest$ac_exeext conftest.$ac_ext
21266 fi
21267
21268 fi
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21270 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21271   if test $glibcxx_cv_TMPNAM = yes; then
21272
21273 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21274
21275   fi
21276   CXXFLAGS="$ac_save_CXXFLAGS"
21277   ac_ext=c
21278 ac_cpp='$CPP $CPPFLAGS'
21279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21282
21283
21284
21285 # For pthread_cond_clockwait
21286
21287
21288
21289   ac_ext=cpp
21290 ac_cpp='$CXXCPP $CPPFLAGS'
21291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21294
21295   ac_save_CXXFLAGS="$CXXFLAGS"
21296   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21297   ac_save_LIBS="$LIBS"
21298   LIBS="$LIBS -lpthread"
21299
21300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21301 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21302 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21303   $as_echo_n "(cached) " >&6
21304 else
21305
21306     if test x$gcc_no_link = xyes; then
21307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21308 /* end confdefs.h.  */
21309 #include <pthread.h>
21310 int
21311 main ()
21312 {
21313 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21314   ;
21315   return 0;
21316 }
21317 _ACEOF
21318 if ac_fn_cxx_try_compile "$LINENO"; then :
21319   glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21320 else
21321   glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21322 fi
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 else
21325   if test x$gcc_no_link = xyes; then
21326   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 fi
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h.  */
21330 #include <pthread.h>
21331 int
21332 main ()
21333 {
21334 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21335   ;
21336   return 0;
21337 }
21338 _ACEOF
21339 if ac_fn_cxx_try_link "$LINENO"; then :
21340   glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21341 else
21342   glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21343 fi
21344 rm -f core conftest.err conftest.$ac_objext \
21345     conftest$ac_exeext conftest.$ac_ext
21346 fi
21347
21348 fi
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21350 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21351   if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21352
21353 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21354
21355   fi
21356
21357   CXXFLAGS="$ac_save_CXXFLAGS"
21358   LIBS="$ac_save_LIBS"
21359   ac_ext=c
21360 ac_cpp='$CPP $CPPFLAGS'
21361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21364
21365
21366
21367 # For pthread_mutex_clocklock
21368
21369
21370
21371   ac_ext=cpp
21372 ac_cpp='$CXXCPP $CPPFLAGS'
21373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21376
21377   ac_save_CXXFLAGS="$CXXFLAGS"
21378   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21379   ac_save_LIBS="$LIBS"
21380   LIBS="$LIBS -lpthread"
21381
21382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21383 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21384 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21385   $as_echo_n "(cached) " >&6
21386 else
21387
21388     if test x$gcc_no_link = xyes; then
21389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21390 /* end confdefs.h.  */
21391 #include <pthread.h>
21392 int
21393 main ()
21394 {
21395 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21396   ;
21397   return 0;
21398 }
21399 _ACEOF
21400 if ac_fn_cxx_try_compile "$LINENO"; then :
21401   glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21402 else
21403   glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21404 fi
21405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 else
21407   if test x$gcc_no_link = xyes; then
21408   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21409 fi
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h.  */
21412 #include <pthread.h>
21413 int
21414 main ()
21415 {
21416 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21417   ;
21418   return 0;
21419 }
21420 _ACEOF
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21422   glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21423 else
21424   glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21425 fi
21426 rm -f core conftest.err conftest.$ac_objext \
21427     conftest$ac_exeext conftest.$ac_ext
21428 fi
21429
21430 fi
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21432 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21433   if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21434
21435 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21436
21437   fi
21438
21439   CXXFLAGS="$ac_save_CXXFLAGS"
21440   LIBS="$ac_save_LIBS"
21441   ac_ext=c
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21446
21447
21448
21449 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21450
21451
21452
21453   ac_ext=cpp
21454 ac_cpp='$CXXCPP $CPPFLAGS'
21455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21458
21459   ac_save_CXXFLAGS="$CXXFLAGS"
21460   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21461   ac_save_LIBS="$LIBS"
21462   LIBS="$LIBS -lpthread"
21463
21464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21465 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21466 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21467   $as_echo_n "(cached) " >&6
21468 else
21469
21470     if test x$gcc_no_link = xyes; then
21471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h.  */
21473 #include <pthread.h>
21474 int
21475 main ()
21476 {
21477 pthread_rwlock_t rwl; struct timespec ts;
21478       int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21479       int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21480   ;
21481   return 0;
21482 }
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485   glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21486 else
21487   glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21488 fi
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 else
21491   if test x$gcc_no_link = xyes; then
21492   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21493 fi
21494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h.  */
21496 #include <pthread.h>
21497 int
21498 main ()
21499 {
21500 pthread_rwlock_t rwl; struct timespec ts;
21501       int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21502       int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21503   ;
21504   return 0;
21505 }
21506 _ACEOF
21507 if ac_fn_cxx_try_link "$LINENO"; then :
21508   glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21509 else
21510   glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21511 fi
21512 rm -f core conftest.err conftest.$ac_objext \
21513     conftest$ac_exeext conftest.$ac_ext
21514 fi
21515
21516 fi
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21518 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21519   if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21520
21521 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21522
21523   fi
21524
21525   CXXFLAGS="$ac_save_CXXFLAGS"
21526   LIBS="$ac_save_LIBS"
21527   ac_ext=c
21528 ac_cpp='$CPP $CPPFLAGS'
21529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21532
21533
21534
21535
21536   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21537 if test "x$ac_cv_header_locale_h" = xyes; then :
21538
21539     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21540 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21541 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21542   $as_echo_n "(cached) " >&6
21543 else
21544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h.  */
21546 #include <locale.h>
21547 int
21548 main ()
21549 {
21550 return LC_MESSAGES
21551   ;
21552   return 0;
21553 }
21554 _ACEOF
21555 if ac_fn_c_try_compile "$LINENO"; then :
21556   ac_cv_val_LC_MESSAGES=yes
21557 else
21558   ac_cv_val_LC_MESSAGES=no
21559 fi
21560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 fi
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21563 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21564     if test $ac_cv_val_LC_MESSAGES = yes; then
21565
21566 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21567
21568     fi
21569
21570 fi
21571
21572
21573
21574
21575 # For hardware_concurrency
21576 for ac_header in sys/sysinfo.h
21577 do :
21578   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21579 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21580   cat >>confdefs.h <<_ACEOF
21581 #define HAVE_SYS_SYSINFO_H 1
21582 _ACEOF
21583
21584 fi
21585
21586 done
21587
21588
21589
21590
21591   ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21596
21597   ac_save_CXXFLAGS="$CXXFLAGS"
21598   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21599
21600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21601 $as_echo_n "checking for get_nprocs... " >&6; }
21602 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21603   $as_echo_n "(cached) " >&6
21604 else
21605
21606     if test x$gcc_no_link = xyes; then
21607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h.  */
21609 #include <sys/sysinfo.h>
21610 int
21611 main ()
21612 {
21613 int n = get_nprocs();
21614   ;
21615   return 0;
21616 }
21617 _ACEOF
21618 if ac_fn_cxx_try_compile "$LINENO"; then :
21619   glibcxx_cv_GET_NPROCS=yes
21620 else
21621   glibcxx_cv_GET_NPROCS=no
21622 fi
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 else
21625   if test x$gcc_no_link = xyes; then
21626   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21627 fi
21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h.  */
21630 #include <sys/sysinfo.h>
21631 int
21632 main ()
21633 {
21634 int n = get_nprocs();
21635   ;
21636   return 0;
21637 }
21638 _ACEOF
21639 if ac_fn_cxx_try_link "$LINENO"; then :
21640   glibcxx_cv_GET_NPROCS=yes
21641 else
21642   glibcxx_cv_GET_NPROCS=no
21643 fi
21644 rm -f core conftest.err conftest.$ac_objext \
21645     conftest$ac_exeext conftest.$ac_ext
21646 fi
21647
21648 fi
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21650 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21651   if test $glibcxx_cv_GET_NPROCS = yes; then
21652
21653 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21654
21655   fi
21656
21657   CXXFLAGS="$ac_save_CXXFLAGS"
21658   ac_ext=c
21659 ac_cpp='$CPP $CPPFLAGS'
21660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663
21664
21665 for ac_header in unistd.h
21666 do :
21667   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21668 if test "x$ac_cv_header_unistd_h" = xyes; then :
21669   cat >>confdefs.h <<_ACEOF
21670 #define HAVE_UNISTD_H 1
21671 _ACEOF
21672
21673 fi
21674
21675 done
21676
21677
21678
21679
21680   ac_ext=cpp
21681 ac_cpp='$CXXCPP $CPPFLAGS'
21682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685
21686   ac_save_CXXFLAGS="$CXXFLAGS"
21687   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21688
21689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21690 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21691 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21692   $as_echo_n "(cached) " >&6
21693 else
21694
21695     if test x$gcc_no_link = xyes; then
21696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h.  */
21698 #include <unistd.h>
21699 int
21700 main ()
21701 {
21702 int n = sysconf(_SC_NPROCESSORS_ONLN);
21703   ;
21704   return 0;
21705 }
21706 _ACEOF
21707 if ac_fn_cxx_try_compile "$LINENO"; then :
21708   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21709 else
21710   glibcxx_cv_SC_NPROCESSORS_ONLN=no
21711 fi
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 else
21714   if test x$gcc_no_link = xyes; then
21715   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21716 fi
21717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <unistd.h>
21720 int
21721 main ()
21722 {
21723 int n = sysconf(_SC_NPROCESSORS_ONLN);
21724   ;
21725   return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_cxx_try_link "$LINENO"; then :
21729   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21730 else
21731   glibcxx_cv_SC_NPROCESSORS_ONLN=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext \
21734     conftest$ac_exeext conftest.$ac_ext
21735 fi
21736
21737 fi
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21739 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21740   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21741
21742 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21743
21744   fi
21745
21746   CXXFLAGS="$ac_save_CXXFLAGS"
21747   ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21752
21753
21754
21755
21756
21757   ac_ext=cpp
21758 ac_cpp='$CXXCPP $CPPFLAGS'
21759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21762
21763   ac_save_CXXFLAGS="$CXXFLAGS"
21764   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21765
21766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21767 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21768 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21769   $as_echo_n "(cached) " >&6
21770 else
21771
21772     if test x$gcc_no_link = xyes; then
21773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h.  */
21775 #include <unistd.h>
21776 int
21777 main ()
21778 {
21779 int n = sysconf(_SC_NPROC_ONLN);
21780   ;
21781   return 0;
21782 }
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785   glibcxx_cv_SC_NPROC_ONLN=yes
21786 else
21787   glibcxx_cv_SC_NPROC_ONLN=no
21788 fi
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 else
21791   if test x$gcc_no_link = xyes; then
21792   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21793 fi
21794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21795 /* end confdefs.h.  */
21796 #include <unistd.h>
21797 int
21798 main ()
21799 {
21800 int n = sysconf(_SC_NPROC_ONLN);
21801   ;
21802   return 0;
21803 }
21804 _ACEOF
21805 if ac_fn_cxx_try_link "$LINENO"; then :
21806   glibcxx_cv_SC_NPROC_ONLN=yes
21807 else
21808   glibcxx_cv_SC_NPROC_ONLN=no
21809 fi
21810 rm -f core conftest.err conftest.$ac_objext \
21811     conftest$ac_exeext conftest.$ac_ext
21812 fi
21813
21814 fi
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21816 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21817   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21818
21819 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21820
21821   fi
21822
21823   CXXFLAGS="$ac_save_CXXFLAGS"
21824   ac_ext=c
21825 ac_cpp='$CPP $CPPFLAGS'
21826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829
21830
21831
21832
21833
21834   ac_ext=cpp
21835 ac_cpp='$CXXCPP $CPPFLAGS'
21836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21839
21840   ac_save_CXXFLAGS="$CXXFLAGS"
21841   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21842
21843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21844 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21845 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21846   $as_echo_n "(cached) " >&6
21847 else
21848
21849     if test x$gcc_no_link = xyes; then
21850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h.  */
21852 #include <pthread.h>
21853 int
21854 main ()
21855 {
21856 int n = pthread_num_processors_np();
21857   ;
21858   return 0;
21859 }
21860 _ACEOF
21861 if ac_fn_cxx_try_compile "$LINENO"; then :
21862   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21863 else
21864   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21865 fi
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 else
21868   if test x$gcc_no_link = xyes; then
21869   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21870 fi
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h.  */
21873 #include <pthread.h>
21874 int
21875 main ()
21876 {
21877 int n = pthread_num_processors_np();
21878   ;
21879   return 0;
21880 }
21881 _ACEOF
21882 if ac_fn_cxx_try_link "$LINENO"; then :
21883   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21884 else
21885   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21886 fi
21887 rm -f core conftest.err conftest.$ac_objext \
21888     conftest$ac_exeext conftest.$ac_ext
21889 fi
21890
21891 fi
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21893 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21894   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21895
21896 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21897
21898   fi
21899
21900   CXXFLAGS="$ac_save_CXXFLAGS"
21901   ac_ext=c
21902 ac_cpp='$CPP $CPPFLAGS'
21903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906
21907
21908
21909
21910
21911   ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916
21917   ac_save_CXXFLAGS="$CXXFLAGS"
21918   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21919
21920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21921 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21922 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21923   $as_echo_n "(cached) " >&6
21924 else
21925
21926     if test x$gcc_no_link = xyes; then
21927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21928 /* end confdefs.h.  */
21929
21930        #include <stddef.h>
21931        #include <sys/sysctl.h>
21932
21933 int
21934 main ()
21935 {
21936
21937        int count;
21938        size_t size = sizeof(count);
21939        int mib[] = { CTL_HW, HW_NCPU };
21940        sysctl(mib, 2, &count, &size, NULL, 0);
21941
21942   ;
21943   return 0;
21944 }
21945 _ACEOF
21946 if ac_fn_cxx_try_compile "$LINENO"; then :
21947   glibcxx_cv_SYSCTL_HW_NCPU=yes
21948 else
21949   glibcxx_cv_SYSCTL_HW_NCPU=no
21950 fi
21951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21952 else
21953   if test x$gcc_no_link = xyes; then
21954   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21955 fi
21956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21957 /* end confdefs.h.  */
21958
21959        #include <stddef.h>
21960        #include <sys/sysctl.h>
21961
21962 int
21963 main ()
21964 {
21965
21966        int count;
21967        size_t size = sizeof(count);
21968        int mib[] = { CTL_HW, HW_NCPU };
21969        sysctl(mib, 2, &count, &size, NULL, 0);
21970
21971   ;
21972   return 0;
21973 }
21974 _ACEOF
21975 if ac_fn_cxx_try_link "$LINENO"; then :
21976   glibcxx_cv_SYSCTL_HW_NCPU=yes
21977 else
21978   glibcxx_cv_SYSCTL_HW_NCPU=no
21979 fi
21980 rm -f core conftest.err conftest.$ac_objext \
21981     conftest$ac_exeext conftest.$ac_ext
21982 fi
21983
21984 fi
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21986 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21987   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21988
21989 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21990
21991   fi
21992
21993   CXXFLAGS="$ac_save_CXXFLAGS"
21994   ac_ext=c
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21999
22000
22001
22002   # Note that this test has to be run with the C language.
22003   # Otherwise, sdt.h will try to include some headers from
22004   # libstdc++ itself.
22005
22006   ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011
22012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22013 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22014 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22015   $as_echo_n "(cached) " >&6
22016 else
22017
22018     # Because we have to run the test in C, we use grep rather
22019     # than the compiler to check for the bug.  The bug is that
22020     # were strings without trailing whitespace, causing g++
22021     # to look for operator"".  The pattern searches for the fixed
22022     # output.
22023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h.  */
22025
22026       #include <sys/sdt.h>
22027       int f() { STAP_PROBE(hi, bob); }
22028
22029 _ACEOF
22030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22031   $EGREP " \",\" " >/dev/null 2>&1; then :
22032   glibcxx_cv_sys_sdt_h=yes
22033 else
22034   glibcxx_cv_sys_sdt_h=no
22035 fi
22036 rm -f conftest*
22037
22038
22039 fi
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22041 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22042   ac_ext=c
22043 ac_cpp='$CPP $CPPFLAGS'
22044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22047
22048   if test $glibcxx_cv_sys_sdt_h = yes; then
22049
22050 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22051
22052   fi
22053
22054
22055 # Check for available headers.
22056 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22057 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22058 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22059 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22060 wchar.h wctype.h linux/types.h
22061 do :
22062   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22063 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22065   cat >>confdefs.h <<_ACEOF
22066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22067 _ACEOF
22068
22069 fi
22070
22071 done
22072
22073
22074 for ac_header in linux/random.h
22075 do :
22076   ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22077 # include <linux/types.h>
22078 #endif
22079
22080 "
22081 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22082   cat >>confdefs.h <<_ACEOF
22083 #define HAVE_LINUX_RANDOM_H 1
22084 _ACEOF
22085
22086 fi
22087
22088 done
22089
22090
22091 for ac_header in xlocale.h
22092 do :
22093   ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22094 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22095   cat >>confdefs.h <<_ACEOF
22096 #define HAVE_XLOCALE_H 1
22097 _ACEOF
22098
22099 fi
22100
22101 done
22102
22103
22104 # Only do link tests if native. Else, hardcode.
22105 if $GLIBCXX_IS_NATIVE; then
22106
22107   # We can do more elaborate tests that assume a working linker.
22108   CANADIAN=no
22109
22110
22111
22112 # Check whether --with-gnu-ld was given.
22113 if test "${with_gnu_ld+set}" = set; then :
22114   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22115 else
22116   with_gnu_ld=no
22117 fi
22118
22119 ac_prog=ld
22120 if test "$GCC" = yes; then
22121   # Check if gcc -print-prog-name=ld gives a path.
22122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22123 $as_echo_n "checking for ld used by $CC... " >&6; }
22124   case $host in
22125   *-*-mingw*)
22126     # gcc leaves a trailing carriage return which upsets mingw
22127     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22128   *)
22129     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22130   esac
22131   case $ac_prog in
22132     # Accept absolute paths.
22133     [\\/]* | ?:[\\/]*)
22134       re_direlt='/[^/][^/]*/\.\./'
22135       # Canonicalize the pathname of ld
22136       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22137       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22138         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22139       done
22140       test -z "$LD" && LD="$ac_prog"
22141       ;;
22142   "")
22143     # If it fails, then pretend we aren't using GCC.
22144     ac_prog=ld
22145     ;;
22146   *)
22147     # If it is relative, then search for the first ld in PATH.
22148     with_gnu_ld=unknown
22149     ;;
22150   esac
22151 elif test "$with_gnu_ld" = yes; then
22152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22153 $as_echo_n "checking for GNU ld... " >&6; }
22154 else
22155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22156 $as_echo_n "checking for non-GNU ld... " >&6; }
22157 fi
22158 if ${lt_cv_path_LD+:} false; then :
22159   $as_echo_n "(cached) " >&6
22160 else
22161   if test -z "$LD"; then
22162   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22163   for ac_dir in $PATH; do
22164     IFS="$lt_save_ifs"
22165     test -z "$ac_dir" && ac_dir=.
22166     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22167       lt_cv_path_LD="$ac_dir/$ac_prog"
22168       # Check to see if the program is GNU ld.  I'd rather use --version,
22169       # but apparently some variants of GNU ld only accept -v.
22170       # Break only if it was the GNU/non-GNU ld that we prefer.
22171       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22172       *GNU* | *'with BFD'*)
22173         test "$with_gnu_ld" != no && break
22174         ;;
22175       *)
22176         test "$with_gnu_ld" != yes && break
22177         ;;
22178       esac
22179     fi
22180   done
22181   IFS="$lt_save_ifs"
22182 else
22183   lt_cv_path_LD="$LD" # Let the user override the test with a path.
22184 fi
22185 fi
22186
22187 LD="$lt_cv_path_LD"
22188 if test -n "$LD"; then
22189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22190 $as_echo "$LD" >&6; }
22191 else
22192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22193 $as_echo "no" >&6; }
22194 fi
22195 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22198 if ${lt_cv_prog_gnu_ld+:} false; then :
22199   $as_echo_n "(cached) " >&6
22200 else
22201   # I'd rather use --version here, but apparently some GNU lds only accept -v.
22202 case `$LD -v 2>&1 </dev/null` in
22203 *GNU* | *'with BFD'*)
22204   lt_cv_prog_gnu_ld=yes
22205   ;;
22206 *)
22207   lt_cv_prog_gnu_ld=no
22208   ;;
22209 esac
22210 fi
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22212 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22213 with_gnu_ld=$lt_cv_prog_gnu_ld
22214
22215
22216
22217
22218
22219
22220
22221   # If we're not using GNU ld, then there's no point in even trying these
22222   # tests.  Check for that first.  We should have already tested for gld
22223   # by now (in libtool), but require it now just to be safe...
22224   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22225   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22226
22227
22228
22229   # The name set by libtool depends on the version of libtool.  Shame on us
22230   # for depending on an impl detail, but c'est la vie.  Older versions used
22231   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22232   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22233   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22234   # set (hence we're using an older libtool), then set it.
22235   if test x${with_gnu_ld+set} != xset; then
22236     if test x${ac_cv_prog_gnu_ld+set} != xset; then
22237       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22238       with_gnu_ld=no
22239     else
22240       with_gnu_ld=$ac_cv_prog_gnu_ld
22241     fi
22242   fi
22243
22244   # Start by getting the version number.  I think the libtool test already
22245   # does some of this, but throws away the result.
22246   glibcxx_ld_is_gold=no
22247   glibcxx_ld_is_mold=no
22248   if test x"$with_gnu_ld" = x"yes"; then
22249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22250 $as_echo_n "checking for ld version... " >&6; }
22251
22252     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22253       glibcxx_ld_is_gold=yes
22254     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22255       glibcxx_ld_is_mold=yes
22256     fi
22257     ldver=`$LD --version 2>/dev/null |
22258            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22259
22260     glibcxx_gnu_ld_version=`echo $ldver | \
22261            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22263 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22264   fi
22265
22266   # Set --gc-sections.
22267   glibcxx_have_gc_sections=no
22268   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22269     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22270       glibcxx_have_gc_sections=yes
22271     fi
22272   else
22273     glibcxx_gcsections_min_ld=21602
22274     if test x"$with_gnu_ld" = x"yes" &&
22275         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22276       glibcxx_have_gc_sections=yes
22277     fi
22278   fi
22279   if test "$glibcxx_have_gc_sections" = "yes"; then
22280     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22281     # NB: This flag only works reliably after 2.16.1. Configure tests
22282     # for this are difficult, so hard wire a value that should work.
22283
22284     ac_test_CFLAGS="${CFLAGS+set}"
22285     ac_save_CFLAGS="$CFLAGS"
22286     CFLAGS='-Wl,--gc-sections'
22287
22288     # Check for -Wl,--gc-sections
22289     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22290 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22291     if test x$gcc_no_link = xyes; then
22292   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22293 fi
22294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22295 /* end confdefs.h.  */
22296  int one(void) { return 1; }
22297      int two(void) { return 2; }
22298
22299 int
22300 main ()
22301 {
22302  two();
22303   ;
22304   return 0;
22305 }
22306 _ACEOF
22307 if ac_fn_c_try_link "$LINENO"; then :
22308   ac_gcsections=yes
22309 else
22310   ac_gcsections=no
22311 fi
22312 rm -f core conftest.err conftest.$ac_objext \
22313     conftest$ac_exeext conftest.$ac_ext
22314     if test "$ac_gcsections" = "yes"; then
22315       rm -f conftest.c
22316       touch conftest.c
22317       if $CC -c conftest.c; then
22318         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22319            grep "Warning: gc-sections option ignored" > /dev/null; then
22320           ac_gcsections=no
22321         fi
22322       fi
22323       rm -f conftest.c conftest.o conftest
22324     fi
22325     if test "$ac_gcsections" = "yes"; then
22326       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22327     fi
22328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22329 $as_echo "$ac_gcsections" >&6; }
22330
22331     if test "$ac_test_CFLAGS" = set; then
22332       CFLAGS="$ac_save_CFLAGS"
22333     else
22334       # this is the suspicious part
22335       CFLAGS=''
22336     fi
22337   fi
22338
22339   # Set -z,relro.
22340   # Note this is only for shared objects.
22341   ac_ld_relro=no
22342   if test x"$with_gnu_ld" = x"yes"; then
22343     # cygwin and mingw uses PE, which has no ELF relro support,
22344     # multi target ld may confuse configure machinery
22345     case "$host" in
22346     *-*-cygwin*)
22347      ;;
22348     *-*-mingw*)
22349      ;;
22350     *)
22351       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22352 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22353       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22354       if test -n "$cxx_z_relo"; then
22355         OPT_LDFLAGS="-Wl,-z,relro"
22356         ac_ld_relro=yes
22357       fi
22358       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22359 $as_echo "$ac_ld_relro" >&6; }
22360     esac
22361   fi
22362
22363   # Set linker optimization flags.
22364   if test x"$with_gnu_ld" = x"yes"; then
22365     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22366   fi
22367
22368
22369
22370
22371
22372   ac_test_CXXFLAGS="${CXXFLAGS+set}"
22373   ac_save_CXXFLAGS="$CXXFLAGS"
22374   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22375
22376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22377 $as_echo_n "checking for sin in -lm... " >&6; }
22378 if ${ac_cv_lib_m_sin+:} false; then :
22379   $as_echo_n "(cached) " >&6
22380 else
22381   ac_check_lib_save_LIBS=$LIBS
22382 LIBS="-lm  $LIBS"
22383 if test x$gcc_no_link = xyes; then
22384   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22385 fi
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h.  */
22388
22389 /* Override any GCC internal prototype to avoid an error.
22390    Use char because int might match the return type of a GCC
22391    builtin and then its argument prototype would still apply.  */
22392 #ifdef __cplusplus
22393 extern "C"
22394 #endif
22395 char sin ();
22396 int
22397 main ()
22398 {
22399 return sin ();
22400   ;
22401   return 0;
22402 }
22403 _ACEOF
22404 if ac_fn_c_try_link "$LINENO"; then :
22405   ac_cv_lib_m_sin=yes
22406 else
22407   ac_cv_lib_m_sin=no
22408 fi
22409 rm -f core conftest.err conftest.$ac_objext \
22410     conftest$ac_exeext conftest.$ac_ext
22411 LIBS=$ac_check_lib_save_LIBS
22412 fi
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22414 $as_echo "$ac_cv_lib_m_sin" >&6; }
22415 if test "x$ac_cv_lib_m_sin" = xyes; then :
22416   libm="-lm"
22417 fi
22418
22419   ac_save_LIBS="$LIBS"
22420   LIBS="$LIBS $libm"
22421
22422
22423
22424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22425 $as_echo_n "checking for isinf declaration... " >&6; }
22426   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22427     if ${glibcxx_cv_func_isinf_use+:} false; then :
22428   $as_echo_n "(cached) " >&6
22429 else
22430
22431
22432       ac_ext=cpp
22433 ac_cpp='$CXXCPP $CPPFLAGS'
22434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22437
22438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439 /* end confdefs.h.  */
22440 #include <math.h>
22441                       #ifdef HAVE_IEEEFP_H
22442                       #include <ieeefp.h>
22443                       #endif
22444
22445 int
22446 main ()
22447 {
22448  isinf(0);
22449   ;
22450   return 0;
22451 }
22452 _ACEOF
22453 if ac_fn_cxx_try_compile "$LINENO"; then :
22454   glibcxx_cv_func_isinf_use=yes
22455 else
22456   glibcxx_cv_func_isinf_use=no
22457 fi
22458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22459       ac_ext=c
22460 ac_cpp='$CPP $CPPFLAGS'
22461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22464
22465
22466 fi
22467
22468   fi
22469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22470 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22471
22472   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22473     for ac_func in isinf
22474 do :
22475   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22476 if test "x$ac_cv_func_isinf" = xyes; then :
22477   cat >>confdefs.h <<_ACEOF
22478 #define HAVE_ISINF 1
22479 _ACEOF
22480
22481 fi
22482 done
22483
22484   else
22485
22486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22487 $as_echo_n "checking for _isinf declaration... " >&6; }
22488   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22489     if ${glibcxx_cv_func__isinf_use+:} false; then :
22490   $as_echo_n "(cached) " >&6
22491 else
22492
22493
22494       ac_ext=cpp
22495 ac_cpp='$CXXCPP $CPPFLAGS'
22496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22499
22500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22501 /* end confdefs.h.  */
22502 #include <math.h>
22503                       #ifdef HAVE_IEEEFP_H
22504                       #include <ieeefp.h>
22505                       #endif
22506
22507 int
22508 main ()
22509 {
22510  _isinf(0);
22511   ;
22512   return 0;
22513 }
22514 _ACEOF
22515 if ac_fn_cxx_try_compile "$LINENO"; then :
22516   glibcxx_cv_func__isinf_use=yes
22517 else
22518   glibcxx_cv_func__isinf_use=no
22519 fi
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521       ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526
22527
22528 fi
22529
22530   fi
22531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22532 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22533
22534     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22535       for ac_func in _isinf
22536 do :
22537   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22538 if test "x$ac_cv_func__isinf" = xyes; then :
22539   cat >>confdefs.h <<_ACEOF
22540 #define HAVE__ISINF 1
22541 _ACEOF
22542
22543 fi
22544 done
22545
22546     fi
22547   fi
22548
22549
22550
22551
22552
22553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22554 $as_echo_n "checking for isnan declaration... " >&6; }
22555   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22556     if ${glibcxx_cv_func_isnan_use+:} false; then :
22557   $as_echo_n "(cached) " >&6
22558 else
22559
22560
22561       ac_ext=cpp
22562 ac_cpp='$CXXCPP $CPPFLAGS'
22563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22566
22567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h.  */
22569 #include <math.h>
22570                       #ifdef HAVE_IEEEFP_H
22571                       #include <ieeefp.h>
22572                       #endif
22573
22574 int
22575 main ()
22576 {
22577  isnan(0);
22578   ;
22579   return 0;
22580 }
22581 _ACEOF
22582 if ac_fn_cxx_try_compile "$LINENO"; then :
22583   glibcxx_cv_func_isnan_use=yes
22584 else
22585   glibcxx_cv_func_isnan_use=no
22586 fi
22587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22588       ac_ext=c
22589 ac_cpp='$CPP $CPPFLAGS'
22590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593
22594
22595 fi
22596
22597   fi
22598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22599 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22600
22601   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22602     for ac_func in isnan
22603 do :
22604   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22605 if test "x$ac_cv_func_isnan" = xyes; then :
22606   cat >>confdefs.h <<_ACEOF
22607 #define HAVE_ISNAN 1
22608 _ACEOF
22609
22610 fi
22611 done
22612
22613   else
22614
22615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22616 $as_echo_n "checking for _isnan declaration... " >&6; }
22617   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22618     if ${glibcxx_cv_func__isnan_use+:} false; then :
22619   $as_echo_n "(cached) " >&6
22620 else
22621
22622
22623       ac_ext=cpp
22624 ac_cpp='$CXXCPP $CPPFLAGS'
22625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628
22629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h.  */
22631 #include <math.h>
22632                       #ifdef HAVE_IEEEFP_H
22633                       #include <ieeefp.h>
22634                       #endif
22635
22636 int
22637 main ()
22638 {
22639  _isnan(0);
22640   ;
22641   return 0;
22642 }
22643 _ACEOF
22644 if ac_fn_cxx_try_compile "$LINENO"; then :
22645   glibcxx_cv_func__isnan_use=yes
22646 else
22647   glibcxx_cv_func__isnan_use=no
22648 fi
22649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650       ac_ext=c
22651 ac_cpp='$CPP $CPPFLAGS'
22652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655
22656
22657 fi
22658
22659   fi
22660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22661 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22662
22663     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22664       for ac_func in _isnan
22665 do :
22666   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22667 if test "x$ac_cv_func__isnan" = xyes; then :
22668   cat >>confdefs.h <<_ACEOF
22669 #define HAVE__ISNAN 1
22670 _ACEOF
22671
22672 fi
22673 done
22674
22675     fi
22676   fi
22677
22678
22679
22680
22681
22682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22683 $as_echo_n "checking for finite declaration... " >&6; }
22684   if test x${glibcxx_cv_func_finite_use+set} != xset; then
22685     if ${glibcxx_cv_func_finite_use+:} false; then :
22686   $as_echo_n "(cached) " >&6
22687 else
22688
22689
22690       ac_ext=cpp
22691 ac_cpp='$CXXCPP $CPPFLAGS'
22692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22695
22696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h.  */
22698 #include <math.h>
22699                       #ifdef HAVE_IEEEFP_H
22700                       #include <ieeefp.h>
22701                       #endif
22702
22703 int
22704 main ()
22705 {
22706  finite(0);
22707   ;
22708   return 0;
22709 }
22710 _ACEOF
22711 if ac_fn_cxx_try_compile "$LINENO"; then :
22712   glibcxx_cv_func_finite_use=yes
22713 else
22714   glibcxx_cv_func_finite_use=no
22715 fi
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717       ac_ext=c
22718 ac_cpp='$CPP $CPPFLAGS'
22719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22722
22723
22724 fi
22725
22726   fi
22727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22728 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22729
22730   if test x$glibcxx_cv_func_finite_use = x"yes"; then
22731     for ac_func in finite
22732 do :
22733   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22734 if test "x$ac_cv_func_finite" = xyes; then :
22735   cat >>confdefs.h <<_ACEOF
22736 #define HAVE_FINITE 1
22737 _ACEOF
22738
22739 fi
22740 done
22741
22742   else
22743
22744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22745 $as_echo_n "checking for _finite declaration... " >&6; }
22746   if test x${glibcxx_cv_func__finite_use+set} != xset; then
22747     if ${glibcxx_cv_func__finite_use+:} false; then :
22748   $as_echo_n "(cached) " >&6
22749 else
22750
22751
22752       ac_ext=cpp
22753 ac_cpp='$CXXCPP $CPPFLAGS'
22754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22757
22758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22759 /* end confdefs.h.  */
22760 #include <math.h>
22761                       #ifdef HAVE_IEEEFP_H
22762                       #include <ieeefp.h>
22763                       #endif
22764
22765 int
22766 main ()
22767 {
22768  _finite(0);
22769   ;
22770   return 0;
22771 }
22772 _ACEOF
22773 if ac_fn_cxx_try_compile "$LINENO"; then :
22774   glibcxx_cv_func__finite_use=yes
22775 else
22776   glibcxx_cv_func__finite_use=no
22777 fi
22778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22779       ac_ext=c
22780 ac_cpp='$CPP $CPPFLAGS'
22781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784
22785
22786 fi
22787
22788   fi
22789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22790 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22791
22792     if test x$glibcxx_cv_func__finite_use = x"yes"; then
22793       for ac_func in _finite
22794 do :
22795   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22796 if test "x$ac_cv_func__finite" = xyes; then :
22797   cat >>confdefs.h <<_ACEOF
22798 #define HAVE__FINITE 1
22799 _ACEOF
22800
22801 fi
22802 done
22803
22804     fi
22805   fi
22806
22807
22808
22809
22810
22811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22812 $as_echo_n "checking for sincos declaration... " >&6; }
22813   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22814     if ${glibcxx_cv_func_sincos_use+:} false; then :
22815   $as_echo_n "(cached) " >&6
22816 else
22817
22818
22819       ac_ext=cpp
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22824
22825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22826 /* end confdefs.h.  */
22827 #include <math.h>
22828 int
22829 main ()
22830 {
22831  sincos(0, 0, 0);
22832   ;
22833   return 0;
22834 }
22835 _ACEOF
22836 if ac_fn_cxx_try_compile "$LINENO"; then :
22837   glibcxx_cv_func_sincos_use=yes
22838 else
22839   glibcxx_cv_func_sincos_use=no
22840 fi
22841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22842       ac_ext=c
22843 ac_cpp='$CPP $CPPFLAGS'
22844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22847
22848
22849 fi
22850
22851   fi
22852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22853 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22854
22855   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22856     for ac_func in sincos
22857 do :
22858   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22859 if test "x$ac_cv_func_sincos" = xyes; then :
22860   cat >>confdefs.h <<_ACEOF
22861 #define HAVE_SINCOS 1
22862 _ACEOF
22863
22864 fi
22865 done
22866
22867   else
22868
22869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22870 $as_echo_n "checking for _sincos declaration... " >&6; }
22871   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22872     if ${glibcxx_cv_func__sincos_use+:} false; then :
22873   $as_echo_n "(cached) " >&6
22874 else
22875
22876
22877       ac_ext=cpp
22878 ac_cpp='$CXXCPP $CPPFLAGS'
22879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22882
22883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22884 /* end confdefs.h.  */
22885 #include <math.h>
22886 int
22887 main ()
22888 {
22889  _sincos(0, 0, 0);
22890   ;
22891   return 0;
22892 }
22893 _ACEOF
22894 if ac_fn_cxx_try_compile "$LINENO"; then :
22895   glibcxx_cv_func__sincos_use=yes
22896 else
22897   glibcxx_cv_func__sincos_use=no
22898 fi
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900       ac_ext=c
22901 ac_cpp='$CPP $CPPFLAGS'
22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22905
22906
22907 fi
22908
22909   fi
22910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22911 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22912
22913     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22914       for ac_func in _sincos
22915 do :
22916   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22917 if test "x$ac_cv_func__sincos" = xyes; then :
22918   cat >>confdefs.h <<_ACEOF
22919 #define HAVE__SINCOS 1
22920 _ACEOF
22921
22922 fi
22923 done
22924
22925     fi
22926   fi
22927
22928
22929
22930
22931
22932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22933 $as_echo_n "checking for fpclass declaration... " >&6; }
22934   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22935     if ${glibcxx_cv_func_fpclass_use+:} false; then :
22936   $as_echo_n "(cached) " >&6
22937 else
22938
22939
22940       ac_ext=cpp
22941 ac_cpp='$CXXCPP $CPPFLAGS'
22942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22945
22946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22947 /* end confdefs.h.  */
22948 #include <math.h>
22949                       #ifdef HAVE_IEEEFP_H
22950                       #include <ieeefp.h>
22951                       #endif
22952
22953 int
22954 main ()
22955 {
22956  fpclass(0);
22957   ;
22958   return 0;
22959 }
22960 _ACEOF
22961 if ac_fn_cxx_try_compile "$LINENO"; then :
22962   glibcxx_cv_func_fpclass_use=yes
22963 else
22964   glibcxx_cv_func_fpclass_use=no
22965 fi
22966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22967       ac_ext=c
22968 ac_cpp='$CPP $CPPFLAGS'
22969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22972
22973
22974 fi
22975
22976   fi
22977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22978 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22979
22980   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22981     for ac_func in fpclass
22982 do :
22983   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22984 if test "x$ac_cv_func_fpclass" = xyes; then :
22985   cat >>confdefs.h <<_ACEOF
22986 #define HAVE_FPCLASS 1
22987 _ACEOF
22988
22989 fi
22990 done
22991
22992   else
22993
22994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22995 $as_echo_n "checking for _fpclass declaration... " >&6; }
22996   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22997     if ${glibcxx_cv_func__fpclass_use+:} false; then :
22998   $as_echo_n "(cached) " >&6
22999 else
23000
23001
23002       ac_ext=cpp
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007
23008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23009 /* end confdefs.h.  */
23010 #include <math.h>
23011                       #ifdef HAVE_IEEEFP_H
23012                       #include <ieeefp.h>
23013                       #endif
23014
23015 int
23016 main ()
23017 {
23018  _fpclass(0);
23019   ;
23020   return 0;
23021 }
23022 _ACEOF
23023 if ac_fn_cxx_try_compile "$LINENO"; then :
23024   glibcxx_cv_func__fpclass_use=yes
23025 else
23026   glibcxx_cv_func__fpclass_use=no
23027 fi
23028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23029       ac_ext=c
23030 ac_cpp='$CPP $CPPFLAGS'
23031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23034
23035
23036 fi
23037
23038   fi
23039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23040 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23041
23042     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23043       for ac_func in _fpclass
23044 do :
23045   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23046 if test "x$ac_cv_func__fpclass" = xyes; then :
23047   cat >>confdefs.h <<_ACEOF
23048 #define HAVE__FPCLASS 1
23049 _ACEOF
23050
23051 fi
23052 done
23053
23054     fi
23055   fi
23056
23057
23058
23059
23060
23061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23062 $as_echo_n "checking for qfpclass declaration... " >&6; }
23063   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23064     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23065   $as_echo_n "(cached) " >&6
23066 else
23067
23068
23069       ac_ext=cpp
23070 ac_cpp='$CXXCPP $CPPFLAGS'
23071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23074
23075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23076 /* end confdefs.h.  */
23077 #include <math.h>
23078                       #ifdef HAVE_IEEEFP_H
23079                       #include <ieeefp.h>
23080                       #endif
23081
23082 int
23083 main ()
23084 {
23085  qfpclass(0);
23086   ;
23087   return 0;
23088 }
23089 _ACEOF
23090 if ac_fn_cxx_try_compile "$LINENO"; then :
23091   glibcxx_cv_func_qfpclass_use=yes
23092 else
23093   glibcxx_cv_func_qfpclass_use=no
23094 fi
23095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23096       ac_ext=c
23097 ac_cpp='$CPP $CPPFLAGS'
23098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23101
23102
23103 fi
23104
23105   fi
23106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23107 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23108
23109   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23110     for ac_func in qfpclass
23111 do :
23112   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23113 if test "x$ac_cv_func_qfpclass" = xyes; then :
23114   cat >>confdefs.h <<_ACEOF
23115 #define HAVE_QFPCLASS 1
23116 _ACEOF
23117
23118 fi
23119 done
23120
23121   else
23122
23123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23124 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23125   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23126     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23127   $as_echo_n "(cached) " >&6
23128 else
23129
23130
23131       ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136
23137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h.  */
23139 #include <math.h>
23140                       #ifdef HAVE_IEEEFP_H
23141                       #include <ieeefp.h>
23142                       #endif
23143
23144 int
23145 main ()
23146 {
23147  _qfpclass(0);
23148   ;
23149   return 0;
23150 }
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153   glibcxx_cv_func__qfpclass_use=yes
23154 else
23155   glibcxx_cv_func__qfpclass_use=no
23156 fi
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158       ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163
23164
23165 fi
23166
23167   fi
23168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23169 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23170
23171     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23172       for ac_func in _qfpclass
23173 do :
23174   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23175 if test "x$ac_cv_func__qfpclass" = xyes; then :
23176   cat >>confdefs.h <<_ACEOF
23177 #define HAVE__QFPCLASS 1
23178 _ACEOF
23179
23180 fi
23181 done
23182
23183     fi
23184   fi
23185
23186
23187
23188
23189
23190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23191 $as_echo_n "checking for hypot declaration... " >&6; }
23192   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23193     if ${glibcxx_cv_func_hypot_use+:} false; then :
23194   $as_echo_n "(cached) " >&6
23195 else
23196
23197
23198       ac_ext=cpp
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23203
23204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h.  */
23206 #include <math.h>
23207 int
23208 main ()
23209 {
23210  hypot(0, 0);
23211   ;
23212   return 0;
23213 }
23214 _ACEOF
23215 if ac_fn_cxx_try_compile "$LINENO"; then :
23216   glibcxx_cv_func_hypot_use=yes
23217 else
23218   glibcxx_cv_func_hypot_use=no
23219 fi
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221       ac_ext=c
23222 ac_cpp='$CPP $CPPFLAGS'
23223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23226
23227
23228 fi
23229
23230   fi
23231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23232 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23233
23234   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23235     for ac_func in hypot
23236 do :
23237   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23238 if test "x$ac_cv_func_hypot" = xyes; then :
23239   cat >>confdefs.h <<_ACEOF
23240 #define HAVE_HYPOT 1
23241 _ACEOF
23242
23243 fi
23244 done
23245
23246   else
23247
23248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23249 $as_echo_n "checking for _hypot declaration... " >&6; }
23250   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23251     if ${glibcxx_cv_func__hypot_use+:} false; then :
23252   $as_echo_n "(cached) " >&6
23253 else
23254
23255
23256       ac_ext=cpp
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23261
23262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h.  */
23264 #include <math.h>
23265 int
23266 main ()
23267 {
23268  _hypot(0, 0);
23269   ;
23270   return 0;
23271 }
23272 _ACEOF
23273 if ac_fn_cxx_try_compile "$LINENO"; then :
23274   glibcxx_cv_func__hypot_use=yes
23275 else
23276   glibcxx_cv_func__hypot_use=no
23277 fi
23278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23279       ac_ext=c
23280 ac_cpp='$CPP $CPPFLAGS'
23281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23284
23285
23286 fi
23287
23288   fi
23289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23290 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23291
23292     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23293       for ac_func in _hypot
23294 do :
23295   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23296 if test "x$ac_cv_func__hypot" = xyes; then :
23297   cat >>confdefs.h <<_ACEOF
23298 #define HAVE__HYPOT 1
23299 _ACEOF
23300
23301 fi
23302 done
23303
23304     fi
23305   fi
23306
23307
23308
23309
23310
23311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23312 $as_echo_n "checking for float trig functions... " >&6; }
23313   if ${glibcxx_cv_func_float_trig_use+:} false; then :
23314   $as_echo_n "(cached) " >&6
23315 else
23316
23317
23318     ac_ext=cpp
23319 ac_cpp='$CXXCPP $CPPFLAGS'
23320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23323
23324     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23325 /* end confdefs.h.  */
23326 #include <math.h>
23327 int
23328 main ()
23329 {
23330 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23331   ;
23332   return 0;
23333 }
23334 _ACEOF
23335 if ac_fn_cxx_try_compile "$LINENO"; then :
23336   glibcxx_cv_func_float_trig_use=yes
23337 else
23338   glibcxx_cv_func_float_trig_use=no
23339 fi
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341     ac_ext=c
23342 ac_cpp='$CPP $CPPFLAGS'
23343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23346
23347 fi
23348
23349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23350 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23351   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23352     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23353 do :
23354   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23356 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23357   cat >>confdefs.h <<_ACEOF
23358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23359 _ACEOF
23360
23361 fi
23362 done
23363
23364   else
23365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23366 $as_echo_n "checking for _float trig functions... " >&6; }
23367     if ${glibcxx_cv_func__float_trig_use+:} false; then :
23368   $as_echo_n "(cached) " >&6
23369 else
23370
23371
23372       ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377
23378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h.  */
23380 #include <math.h>
23381 int
23382 main ()
23383 {
23384 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23385   ;
23386   return 0;
23387 }
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390   glibcxx_cv_func__float_trig_use=yes
23391 else
23392   glibcxx_cv_func__float_trig_use=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395       ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401 fi
23402
23403     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23404 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23405     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23406       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23407 do :
23408   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23411   cat >>confdefs.h <<_ACEOF
23412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23413 _ACEOF
23414
23415 fi
23416 done
23417
23418     fi
23419   fi
23420
23421
23422
23423
23424
23425     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23426 $as_echo_n "checking for float round functions... " >&6; }
23427   if ${glibcxx_cv_func_float_round_use+:} false; then :
23428   $as_echo_n "(cached) " >&6
23429 else
23430
23431
23432     ac_ext=cpp
23433 ac_cpp='$CXXCPP $CPPFLAGS'
23434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23437
23438     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h.  */
23440 #include <math.h>
23441 int
23442 main ()
23443 {
23444 ceilf (0); floorf (0);
23445   ;
23446   return 0;
23447 }
23448 _ACEOF
23449 if ac_fn_cxx_try_compile "$LINENO"; then :
23450   glibcxx_cv_func_float_round_use=yes
23451 else
23452   glibcxx_cv_func_float_round_use=no
23453 fi
23454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23455     ac_ext=c
23456 ac_cpp='$CPP $CPPFLAGS'
23457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460
23461 fi
23462
23463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23464 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23465   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23466     for ac_func in ceilf floorf
23467 do :
23468   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23470 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23471   cat >>confdefs.h <<_ACEOF
23472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23473 _ACEOF
23474
23475 fi
23476 done
23477
23478   else
23479     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23480 $as_echo_n "checking for _float round functions... " >&6; }
23481     if ${glibcxx_cv_func__float_round_use+:} false; then :
23482   $as_echo_n "(cached) " >&6
23483 else
23484
23485
23486       ac_ext=cpp
23487 ac_cpp='$CXXCPP $CPPFLAGS'
23488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23491
23492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23493 /* end confdefs.h.  */
23494 #include <math.h>
23495 int
23496 main ()
23497 {
23498 _ceilf (0); _floorf (0);
23499   ;
23500   return 0;
23501 }
23502 _ACEOF
23503 if ac_fn_cxx_try_compile "$LINENO"; then :
23504   glibcxx_cv_func__float_round_use=yes
23505 else
23506   glibcxx_cv_func__float_round_use=no
23507 fi
23508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23509       ac_ext=c
23510 ac_cpp='$CPP $CPPFLAGS'
23511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23514
23515 fi
23516
23517     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23518 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23519     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23520       for ac_func in _ceilf _floorf
23521 do :
23522   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23525   cat >>confdefs.h <<_ACEOF
23526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23527 _ACEOF
23528
23529 fi
23530 done
23531
23532     fi
23533   fi
23534
23535
23536
23537
23538
23539
23540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23541 $as_echo_n "checking for expf declaration... " >&6; }
23542   if test x${glibcxx_cv_func_expf_use+set} != xset; then
23543     if ${glibcxx_cv_func_expf_use+:} false; then :
23544   $as_echo_n "(cached) " >&6
23545 else
23546
23547
23548       ac_ext=cpp
23549 ac_cpp='$CXXCPP $CPPFLAGS'
23550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23553
23554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h.  */
23556 #include <math.h>
23557                       #ifdef HAVE_IEEEFP_H
23558                       #include <ieeefp.h>
23559                       #endif
23560
23561 int
23562 main ()
23563 {
23564  expf(0);
23565   ;
23566   return 0;
23567 }
23568 _ACEOF
23569 if ac_fn_cxx_try_compile "$LINENO"; then :
23570   glibcxx_cv_func_expf_use=yes
23571 else
23572   glibcxx_cv_func_expf_use=no
23573 fi
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23575       ac_ext=c
23576 ac_cpp='$CPP $CPPFLAGS'
23577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23580
23581
23582 fi
23583
23584   fi
23585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23586 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23587
23588   if test x$glibcxx_cv_func_expf_use = x"yes"; then
23589     for ac_func in expf
23590 do :
23591   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23592 if test "x$ac_cv_func_expf" = xyes; then :
23593   cat >>confdefs.h <<_ACEOF
23594 #define HAVE_EXPF 1
23595 _ACEOF
23596
23597 fi
23598 done
23599
23600   else
23601
23602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23603 $as_echo_n "checking for _expf declaration... " >&6; }
23604   if test x${glibcxx_cv_func__expf_use+set} != xset; then
23605     if ${glibcxx_cv_func__expf_use+:} false; then :
23606   $as_echo_n "(cached) " >&6
23607 else
23608
23609
23610       ac_ext=cpp
23611 ac_cpp='$CXXCPP $CPPFLAGS'
23612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23615
23616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23617 /* end confdefs.h.  */
23618 #include <math.h>
23619                       #ifdef HAVE_IEEEFP_H
23620                       #include <ieeefp.h>
23621                       #endif
23622
23623 int
23624 main ()
23625 {
23626  _expf(0);
23627   ;
23628   return 0;
23629 }
23630 _ACEOF
23631 if ac_fn_cxx_try_compile "$LINENO"; then :
23632   glibcxx_cv_func__expf_use=yes
23633 else
23634   glibcxx_cv_func__expf_use=no
23635 fi
23636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23637       ac_ext=c
23638 ac_cpp='$CPP $CPPFLAGS'
23639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23642
23643
23644 fi
23645
23646   fi
23647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23648 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23649
23650     if test x$glibcxx_cv_func__expf_use = x"yes"; then
23651       for ac_func in _expf
23652 do :
23653   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23654 if test "x$ac_cv_func__expf" = xyes; then :
23655   cat >>confdefs.h <<_ACEOF
23656 #define HAVE__EXPF 1
23657 _ACEOF
23658
23659 fi
23660 done
23661
23662     fi
23663   fi
23664
23665
23666
23667
23668
23669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23670 $as_echo_n "checking for isnanf declaration... " >&6; }
23671   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23672     if ${glibcxx_cv_func_isnanf_use+:} false; then :
23673   $as_echo_n "(cached) " >&6
23674 else
23675
23676
23677       ac_ext=cpp
23678 ac_cpp='$CXXCPP $CPPFLAGS'
23679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23682
23683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23684 /* end confdefs.h.  */
23685 #include <math.h>
23686                       #ifdef HAVE_IEEEFP_H
23687                       #include <ieeefp.h>
23688                       #endif
23689
23690 int
23691 main ()
23692 {
23693  isnanf(0);
23694   ;
23695   return 0;
23696 }
23697 _ACEOF
23698 if ac_fn_cxx_try_compile "$LINENO"; then :
23699   glibcxx_cv_func_isnanf_use=yes
23700 else
23701   glibcxx_cv_func_isnanf_use=no
23702 fi
23703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23704       ac_ext=c
23705 ac_cpp='$CPP $CPPFLAGS'
23706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23709
23710
23711 fi
23712
23713   fi
23714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23715 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23716
23717   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23718     for ac_func in isnanf
23719 do :
23720   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23721 if test "x$ac_cv_func_isnanf" = xyes; then :
23722   cat >>confdefs.h <<_ACEOF
23723 #define HAVE_ISNANF 1
23724 _ACEOF
23725
23726 fi
23727 done
23728
23729   else
23730
23731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23732 $as_echo_n "checking for _isnanf declaration... " >&6; }
23733   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23734     if ${glibcxx_cv_func__isnanf_use+:} false; then :
23735   $as_echo_n "(cached) " >&6
23736 else
23737
23738
23739       ac_ext=cpp
23740 ac_cpp='$CXXCPP $CPPFLAGS'
23741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23744
23745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23746 /* end confdefs.h.  */
23747 #include <math.h>
23748                       #ifdef HAVE_IEEEFP_H
23749                       #include <ieeefp.h>
23750                       #endif
23751
23752 int
23753 main ()
23754 {
23755  _isnanf(0);
23756   ;
23757   return 0;
23758 }
23759 _ACEOF
23760 if ac_fn_cxx_try_compile "$LINENO"; then :
23761   glibcxx_cv_func__isnanf_use=yes
23762 else
23763   glibcxx_cv_func__isnanf_use=no
23764 fi
23765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766       ac_ext=c
23767 ac_cpp='$CPP $CPPFLAGS'
23768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771
23772
23773 fi
23774
23775   fi
23776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23777 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23778
23779     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23780       for ac_func in _isnanf
23781 do :
23782   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23783 if test "x$ac_cv_func__isnanf" = xyes; then :
23784   cat >>confdefs.h <<_ACEOF
23785 #define HAVE__ISNANF 1
23786 _ACEOF
23787
23788 fi
23789 done
23790
23791     fi
23792   fi
23793
23794
23795
23796
23797
23798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23799 $as_echo_n "checking for isinff declaration... " >&6; }
23800   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23801     if ${glibcxx_cv_func_isinff_use+:} false; then :
23802   $as_echo_n "(cached) " >&6
23803 else
23804
23805
23806       ac_ext=cpp
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811
23812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h.  */
23814 #include <math.h>
23815                       #ifdef HAVE_IEEEFP_H
23816                       #include <ieeefp.h>
23817                       #endif
23818
23819 int
23820 main ()
23821 {
23822  isinff(0);
23823   ;
23824   return 0;
23825 }
23826 _ACEOF
23827 if ac_fn_cxx_try_compile "$LINENO"; then :
23828   glibcxx_cv_func_isinff_use=yes
23829 else
23830   glibcxx_cv_func_isinff_use=no
23831 fi
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833       ac_ext=c
23834 ac_cpp='$CPP $CPPFLAGS'
23835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23838
23839
23840 fi
23841
23842   fi
23843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23844 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23845
23846   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23847     for ac_func in isinff
23848 do :
23849   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23850 if test "x$ac_cv_func_isinff" = xyes; then :
23851   cat >>confdefs.h <<_ACEOF
23852 #define HAVE_ISINFF 1
23853 _ACEOF
23854
23855 fi
23856 done
23857
23858   else
23859
23860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23861 $as_echo_n "checking for _isinff declaration... " >&6; }
23862   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23863     if ${glibcxx_cv_func__isinff_use+:} false; then :
23864   $as_echo_n "(cached) " >&6
23865 else
23866
23867
23868       ac_ext=cpp
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873
23874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23875 /* end confdefs.h.  */
23876 #include <math.h>
23877                       #ifdef HAVE_IEEEFP_H
23878                       #include <ieeefp.h>
23879                       #endif
23880
23881 int
23882 main ()
23883 {
23884  _isinff(0);
23885   ;
23886   return 0;
23887 }
23888 _ACEOF
23889 if ac_fn_cxx_try_compile "$LINENO"; then :
23890   glibcxx_cv_func__isinff_use=yes
23891 else
23892   glibcxx_cv_func__isinff_use=no
23893 fi
23894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23895       ac_ext=c
23896 ac_cpp='$CPP $CPPFLAGS'
23897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23900
23901
23902 fi
23903
23904   fi
23905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23906 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23907
23908     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23909       for ac_func in _isinff
23910 do :
23911   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23912 if test "x$ac_cv_func__isinff" = xyes; then :
23913   cat >>confdefs.h <<_ACEOF
23914 #define HAVE__ISINFF 1
23915 _ACEOF
23916
23917 fi
23918 done
23919
23920     fi
23921   fi
23922
23923
23924
23925
23926
23927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23928 $as_echo_n "checking for atan2f declaration... " >&6; }
23929   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23930     if ${glibcxx_cv_func_atan2f_use+:} false; then :
23931   $as_echo_n "(cached) " >&6
23932 else
23933
23934
23935       ac_ext=cpp
23936 ac_cpp='$CXXCPP $CPPFLAGS'
23937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23940
23941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h.  */
23943 #include <math.h>
23944 int
23945 main ()
23946 {
23947  atan2f(0, 0);
23948   ;
23949   return 0;
23950 }
23951 _ACEOF
23952 if ac_fn_cxx_try_compile "$LINENO"; then :
23953   glibcxx_cv_func_atan2f_use=yes
23954 else
23955   glibcxx_cv_func_atan2f_use=no
23956 fi
23957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23958       ac_ext=c
23959 ac_cpp='$CPP $CPPFLAGS'
23960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23963
23964
23965 fi
23966
23967   fi
23968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23969 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23970
23971   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23972     for ac_func in atan2f
23973 do :
23974   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23975 if test "x$ac_cv_func_atan2f" = xyes; then :
23976   cat >>confdefs.h <<_ACEOF
23977 #define HAVE_ATAN2F 1
23978 _ACEOF
23979
23980 fi
23981 done
23982
23983   else
23984
23985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23986 $as_echo_n "checking for _atan2f declaration... " >&6; }
23987   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23988     if ${glibcxx_cv_func__atan2f_use+:} false; then :
23989   $as_echo_n "(cached) " >&6
23990 else
23991
23992
23993       ac_ext=cpp
23994 ac_cpp='$CXXCPP $CPPFLAGS'
23995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23998
23999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24000 /* end confdefs.h.  */
24001 #include <math.h>
24002 int
24003 main ()
24004 {
24005  _atan2f(0, 0);
24006   ;
24007   return 0;
24008 }
24009 _ACEOF
24010 if ac_fn_cxx_try_compile "$LINENO"; then :
24011   glibcxx_cv_func__atan2f_use=yes
24012 else
24013   glibcxx_cv_func__atan2f_use=no
24014 fi
24015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016       ac_ext=c
24017 ac_cpp='$CPP $CPPFLAGS'
24018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24021
24022
24023 fi
24024
24025   fi
24026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24027 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24028
24029     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24030       for ac_func in _atan2f
24031 do :
24032   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24033 if test "x$ac_cv_func__atan2f" = xyes; then :
24034   cat >>confdefs.h <<_ACEOF
24035 #define HAVE__ATAN2F 1
24036 _ACEOF
24037
24038 fi
24039 done
24040
24041     fi
24042   fi
24043
24044
24045
24046
24047
24048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24049 $as_echo_n "checking for fabsf declaration... " >&6; }
24050   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24051     if ${glibcxx_cv_func_fabsf_use+:} false; then :
24052   $as_echo_n "(cached) " >&6
24053 else
24054
24055
24056       ac_ext=cpp
24057 ac_cpp='$CXXCPP $CPPFLAGS'
24058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24061
24062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h.  */
24064 #include <math.h>
24065                       #ifdef HAVE_IEEEFP_H
24066                       #include <ieeefp.h>
24067                       #endif
24068
24069 int
24070 main ()
24071 {
24072  fabsf(0);
24073   ;
24074   return 0;
24075 }
24076 _ACEOF
24077 if ac_fn_cxx_try_compile "$LINENO"; then :
24078   glibcxx_cv_func_fabsf_use=yes
24079 else
24080   glibcxx_cv_func_fabsf_use=no
24081 fi
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24083       ac_ext=c
24084 ac_cpp='$CPP $CPPFLAGS'
24085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088
24089
24090 fi
24091
24092   fi
24093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24094 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24095
24096   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24097     for ac_func in fabsf
24098 do :
24099   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24100 if test "x$ac_cv_func_fabsf" = xyes; then :
24101   cat >>confdefs.h <<_ACEOF
24102 #define HAVE_FABSF 1
24103 _ACEOF
24104
24105 fi
24106 done
24107
24108   else
24109
24110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24111 $as_echo_n "checking for _fabsf declaration... " >&6; }
24112   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24113     if ${glibcxx_cv_func__fabsf_use+:} false; then :
24114   $as_echo_n "(cached) " >&6
24115 else
24116
24117
24118       ac_ext=cpp
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123
24124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125 /* end confdefs.h.  */
24126 #include <math.h>
24127                       #ifdef HAVE_IEEEFP_H
24128                       #include <ieeefp.h>
24129                       #endif
24130
24131 int
24132 main ()
24133 {
24134  _fabsf(0);
24135   ;
24136   return 0;
24137 }
24138 _ACEOF
24139 if ac_fn_cxx_try_compile "$LINENO"; then :
24140   glibcxx_cv_func__fabsf_use=yes
24141 else
24142   glibcxx_cv_func__fabsf_use=no
24143 fi
24144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24145       ac_ext=c
24146 ac_cpp='$CPP $CPPFLAGS'
24147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24150
24151
24152 fi
24153
24154   fi
24155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24156 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24157
24158     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24159       for ac_func in _fabsf
24160 do :
24161   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24162 if test "x$ac_cv_func__fabsf" = xyes; then :
24163   cat >>confdefs.h <<_ACEOF
24164 #define HAVE__FABSF 1
24165 _ACEOF
24166
24167 fi
24168 done
24169
24170     fi
24171   fi
24172
24173
24174
24175
24176
24177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24178 $as_echo_n "checking for fmodf declaration... " >&6; }
24179   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24180     if ${glibcxx_cv_func_fmodf_use+:} false; then :
24181   $as_echo_n "(cached) " >&6
24182 else
24183
24184
24185       ac_ext=cpp
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24190
24191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24192 /* end confdefs.h.  */
24193 #include <math.h>
24194 int
24195 main ()
24196 {
24197  fmodf(0, 0);
24198   ;
24199   return 0;
24200 }
24201 _ACEOF
24202 if ac_fn_cxx_try_compile "$LINENO"; then :
24203   glibcxx_cv_func_fmodf_use=yes
24204 else
24205   glibcxx_cv_func_fmodf_use=no
24206 fi
24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24208       ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24213
24214
24215 fi
24216
24217   fi
24218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24219 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24220
24221   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24222     for ac_func in fmodf
24223 do :
24224   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24225 if test "x$ac_cv_func_fmodf" = xyes; then :
24226   cat >>confdefs.h <<_ACEOF
24227 #define HAVE_FMODF 1
24228 _ACEOF
24229
24230 fi
24231 done
24232
24233   else
24234
24235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24236 $as_echo_n "checking for _fmodf declaration... " >&6; }
24237   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24238     if ${glibcxx_cv_func__fmodf_use+:} false; then :
24239   $as_echo_n "(cached) " >&6
24240 else
24241
24242
24243       ac_ext=cpp
24244 ac_cpp='$CXXCPP $CPPFLAGS'
24245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24248
24249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24250 /* end confdefs.h.  */
24251 #include <math.h>
24252 int
24253 main ()
24254 {
24255  _fmodf(0, 0);
24256   ;
24257   return 0;
24258 }
24259 _ACEOF
24260 if ac_fn_cxx_try_compile "$LINENO"; then :
24261   glibcxx_cv_func__fmodf_use=yes
24262 else
24263   glibcxx_cv_func__fmodf_use=no
24264 fi
24265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24266       ac_ext=c
24267 ac_cpp='$CPP $CPPFLAGS'
24268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271
24272
24273 fi
24274
24275   fi
24276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24277 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24278
24279     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24280       for ac_func in _fmodf
24281 do :
24282   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24283 if test "x$ac_cv_func__fmodf" = xyes; then :
24284   cat >>confdefs.h <<_ACEOF
24285 #define HAVE__FMODF 1
24286 _ACEOF
24287
24288 fi
24289 done
24290
24291     fi
24292   fi
24293
24294
24295
24296
24297
24298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24299 $as_echo_n "checking for frexpf declaration... " >&6; }
24300   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24301     if ${glibcxx_cv_func_frexpf_use+:} false; then :
24302   $as_echo_n "(cached) " >&6
24303 else
24304
24305
24306       ac_ext=cpp
24307 ac_cpp='$CXXCPP $CPPFLAGS'
24308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24311
24312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24313 /* end confdefs.h.  */
24314 #include <math.h>
24315 int
24316 main ()
24317 {
24318  frexpf(0, 0);
24319   ;
24320   return 0;
24321 }
24322 _ACEOF
24323 if ac_fn_cxx_try_compile "$LINENO"; then :
24324   glibcxx_cv_func_frexpf_use=yes
24325 else
24326   glibcxx_cv_func_frexpf_use=no
24327 fi
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24329       ac_ext=c
24330 ac_cpp='$CPP $CPPFLAGS'
24331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24334
24335
24336 fi
24337
24338   fi
24339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24340 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24341
24342   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24343     for ac_func in frexpf
24344 do :
24345   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24346 if test "x$ac_cv_func_frexpf" = xyes; then :
24347   cat >>confdefs.h <<_ACEOF
24348 #define HAVE_FREXPF 1
24349 _ACEOF
24350
24351 fi
24352 done
24353
24354   else
24355
24356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24357 $as_echo_n "checking for _frexpf declaration... " >&6; }
24358   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24359     if ${glibcxx_cv_func__frexpf_use+:} false; then :
24360   $as_echo_n "(cached) " >&6
24361 else
24362
24363
24364       ac_ext=cpp
24365 ac_cpp='$CXXCPP $CPPFLAGS'
24366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369
24370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24371 /* end confdefs.h.  */
24372 #include <math.h>
24373 int
24374 main ()
24375 {
24376  _frexpf(0, 0);
24377   ;
24378   return 0;
24379 }
24380 _ACEOF
24381 if ac_fn_cxx_try_compile "$LINENO"; then :
24382   glibcxx_cv_func__frexpf_use=yes
24383 else
24384   glibcxx_cv_func__frexpf_use=no
24385 fi
24386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387       ac_ext=c
24388 ac_cpp='$CPP $CPPFLAGS'
24389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392
24393
24394 fi
24395
24396   fi
24397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24398 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24399
24400     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24401       for ac_func in _frexpf
24402 do :
24403   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24404 if test "x$ac_cv_func__frexpf" = xyes; then :
24405   cat >>confdefs.h <<_ACEOF
24406 #define HAVE__FREXPF 1
24407 _ACEOF
24408
24409 fi
24410 done
24411
24412     fi
24413   fi
24414
24415
24416
24417
24418
24419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24420 $as_echo_n "checking for hypotf declaration... " >&6; }
24421   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24422     if ${glibcxx_cv_func_hypotf_use+:} false; then :
24423   $as_echo_n "(cached) " >&6
24424 else
24425
24426
24427       ac_ext=cpp
24428 ac_cpp='$CXXCPP $CPPFLAGS'
24429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24432
24433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h.  */
24435 #include <math.h>
24436 int
24437 main ()
24438 {
24439  hypotf(0, 0);
24440   ;
24441   return 0;
24442 }
24443 _ACEOF
24444 if ac_fn_cxx_try_compile "$LINENO"; then :
24445   glibcxx_cv_func_hypotf_use=yes
24446 else
24447   glibcxx_cv_func_hypotf_use=no
24448 fi
24449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24450       ac_ext=c
24451 ac_cpp='$CPP $CPPFLAGS'
24452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24455
24456
24457 fi
24458
24459   fi
24460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24461 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24462
24463   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24464     for ac_func in hypotf
24465 do :
24466   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24467 if test "x$ac_cv_func_hypotf" = xyes; then :
24468   cat >>confdefs.h <<_ACEOF
24469 #define HAVE_HYPOTF 1
24470 _ACEOF
24471
24472 fi
24473 done
24474
24475   else
24476
24477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24478 $as_echo_n "checking for _hypotf declaration... " >&6; }
24479   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24480     if ${glibcxx_cv_func__hypotf_use+:} false; then :
24481   $as_echo_n "(cached) " >&6
24482 else
24483
24484
24485       ac_ext=cpp
24486 ac_cpp='$CXXCPP $CPPFLAGS'
24487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24490
24491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24492 /* end confdefs.h.  */
24493 #include <math.h>
24494 int
24495 main ()
24496 {
24497  _hypotf(0, 0);
24498   ;
24499   return 0;
24500 }
24501 _ACEOF
24502 if ac_fn_cxx_try_compile "$LINENO"; then :
24503   glibcxx_cv_func__hypotf_use=yes
24504 else
24505   glibcxx_cv_func__hypotf_use=no
24506 fi
24507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24508       ac_ext=c
24509 ac_cpp='$CPP $CPPFLAGS'
24510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24513
24514
24515 fi
24516
24517   fi
24518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24519 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24520
24521     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24522       for ac_func in _hypotf
24523 do :
24524   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24525 if test "x$ac_cv_func__hypotf" = xyes; then :
24526   cat >>confdefs.h <<_ACEOF
24527 #define HAVE__HYPOTF 1
24528 _ACEOF
24529
24530 fi
24531 done
24532
24533     fi
24534   fi
24535
24536
24537
24538
24539
24540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24541 $as_echo_n "checking for ldexpf declaration... " >&6; }
24542   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24543     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24544   $as_echo_n "(cached) " >&6
24545 else
24546
24547
24548       ac_ext=cpp
24549 ac_cpp='$CXXCPP $CPPFLAGS'
24550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24553
24554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24555 /* end confdefs.h.  */
24556 #include <math.h>
24557 int
24558 main ()
24559 {
24560  ldexpf(0, 0);
24561   ;
24562   return 0;
24563 }
24564 _ACEOF
24565 if ac_fn_cxx_try_compile "$LINENO"; then :
24566   glibcxx_cv_func_ldexpf_use=yes
24567 else
24568   glibcxx_cv_func_ldexpf_use=no
24569 fi
24570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571       ac_ext=c
24572 ac_cpp='$CPP $CPPFLAGS'
24573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24576
24577
24578 fi
24579
24580   fi
24581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24582 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24583
24584   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24585     for ac_func in ldexpf
24586 do :
24587   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24588 if test "x$ac_cv_func_ldexpf" = xyes; then :
24589   cat >>confdefs.h <<_ACEOF
24590 #define HAVE_LDEXPF 1
24591 _ACEOF
24592
24593 fi
24594 done
24595
24596   else
24597
24598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24599 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24600   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24601     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24602   $as_echo_n "(cached) " >&6
24603 else
24604
24605
24606       ac_ext=cpp
24607 ac_cpp='$CXXCPP $CPPFLAGS'
24608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24611
24612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24613 /* end confdefs.h.  */
24614 #include <math.h>
24615 int
24616 main ()
24617 {
24618  _ldexpf(0, 0);
24619   ;
24620   return 0;
24621 }
24622 _ACEOF
24623 if ac_fn_cxx_try_compile "$LINENO"; then :
24624   glibcxx_cv_func__ldexpf_use=yes
24625 else
24626   glibcxx_cv_func__ldexpf_use=no
24627 fi
24628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24629       ac_ext=c
24630 ac_cpp='$CPP $CPPFLAGS'
24631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24634
24635
24636 fi
24637
24638   fi
24639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24640 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24641
24642     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24643       for ac_func in _ldexpf
24644 do :
24645   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24646 if test "x$ac_cv_func__ldexpf" = xyes; then :
24647   cat >>confdefs.h <<_ACEOF
24648 #define HAVE__LDEXPF 1
24649 _ACEOF
24650
24651 fi
24652 done
24653
24654     fi
24655   fi
24656
24657
24658
24659
24660
24661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24662 $as_echo_n "checking for logf declaration... " >&6; }
24663   if test x${glibcxx_cv_func_logf_use+set} != xset; then
24664     if ${glibcxx_cv_func_logf_use+:} false; then :
24665   $as_echo_n "(cached) " >&6
24666 else
24667
24668
24669       ac_ext=cpp
24670 ac_cpp='$CXXCPP $CPPFLAGS'
24671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24674
24675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24676 /* end confdefs.h.  */
24677 #include <math.h>
24678                       #ifdef HAVE_IEEEFP_H
24679                       #include <ieeefp.h>
24680                       #endif
24681
24682 int
24683 main ()
24684 {
24685  logf(0);
24686   ;
24687   return 0;
24688 }
24689 _ACEOF
24690 if ac_fn_cxx_try_compile "$LINENO"; then :
24691   glibcxx_cv_func_logf_use=yes
24692 else
24693   glibcxx_cv_func_logf_use=no
24694 fi
24695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24696       ac_ext=c
24697 ac_cpp='$CPP $CPPFLAGS'
24698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24701
24702
24703 fi
24704
24705   fi
24706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24707 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24708
24709   if test x$glibcxx_cv_func_logf_use = x"yes"; then
24710     for ac_func in logf
24711 do :
24712   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24713 if test "x$ac_cv_func_logf" = xyes; then :
24714   cat >>confdefs.h <<_ACEOF
24715 #define HAVE_LOGF 1
24716 _ACEOF
24717
24718 fi
24719 done
24720
24721   else
24722
24723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24724 $as_echo_n "checking for _logf declaration... " >&6; }
24725   if test x${glibcxx_cv_func__logf_use+set} != xset; then
24726     if ${glibcxx_cv_func__logf_use+:} false; then :
24727   $as_echo_n "(cached) " >&6
24728 else
24729
24730
24731       ac_ext=cpp
24732 ac_cpp='$CXXCPP $CPPFLAGS'
24733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24736
24737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h.  */
24739 #include <math.h>
24740                       #ifdef HAVE_IEEEFP_H
24741                       #include <ieeefp.h>
24742                       #endif
24743
24744 int
24745 main ()
24746 {
24747  _logf(0);
24748   ;
24749   return 0;
24750 }
24751 _ACEOF
24752 if ac_fn_cxx_try_compile "$LINENO"; then :
24753   glibcxx_cv_func__logf_use=yes
24754 else
24755   glibcxx_cv_func__logf_use=no
24756 fi
24757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24758       ac_ext=c
24759 ac_cpp='$CPP $CPPFLAGS'
24760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24763
24764
24765 fi
24766
24767   fi
24768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24769 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24770
24771     if test x$glibcxx_cv_func__logf_use = x"yes"; then
24772       for ac_func in _logf
24773 do :
24774   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24775 if test "x$ac_cv_func__logf" = xyes; then :
24776   cat >>confdefs.h <<_ACEOF
24777 #define HAVE__LOGF 1
24778 _ACEOF
24779
24780 fi
24781 done
24782
24783     fi
24784   fi
24785
24786
24787
24788
24789
24790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24791 $as_echo_n "checking for log10f declaration... " >&6; }
24792   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24793     if ${glibcxx_cv_func_log10f_use+:} false; then :
24794   $as_echo_n "(cached) " >&6
24795 else
24796
24797
24798       ac_ext=cpp
24799 ac_cpp='$CXXCPP $CPPFLAGS'
24800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24803
24804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24805 /* end confdefs.h.  */
24806 #include <math.h>
24807                       #ifdef HAVE_IEEEFP_H
24808                       #include <ieeefp.h>
24809                       #endif
24810
24811 int
24812 main ()
24813 {
24814  log10f(0);
24815   ;
24816   return 0;
24817 }
24818 _ACEOF
24819 if ac_fn_cxx_try_compile "$LINENO"; then :
24820   glibcxx_cv_func_log10f_use=yes
24821 else
24822   glibcxx_cv_func_log10f_use=no
24823 fi
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825       ac_ext=c
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24830
24831
24832 fi
24833
24834   fi
24835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24836 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24837
24838   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24839     for ac_func in log10f
24840 do :
24841   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24842 if test "x$ac_cv_func_log10f" = xyes; then :
24843   cat >>confdefs.h <<_ACEOF
24844 #define HAVE_LOG10F 1
24845 _ACEOF
24846
24847 fi
24848 done
24849
24850   else
24851
24852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24853 $as_echo_n "checking for _log10f declaration... " >&6; }
24854   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24855     if ${glibcxx_cv_func__log10f_use+:} false; then :
24856   $as_echo_n "(cached) " >&6
24857 else
24858
24859
24860       ac_ext=cpp
24861 ac_cpp='$CXXCPP $CPPFLAGS'
24862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24865
24866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867 /* end confdefs.h.  */
24868 #include <math.h>
24869                       #ifdef HAVE_IEEEFP_H
24870                       #include <ieeefp.h>
24871                       #endif
24872
24873 int
24874 main ()
24875 {
24876  _log10f(0);
24877   ;
24878   return 0;
24879 }
24880 _ACEOF
24881 if ac_fn_cxx_try_compile "$LINENO"; then :
24882   glibcxx_cv_func__log10f_use=yes
24883 else
24884   glibcxx_cv_func__log10f_use=no
24885 fi
24886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24887       ac_ext=c
24888 ac_cpp='$CPP $CPPFLAGS'
24889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24892
24893
24894 fi
24895
24896   fi
24897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24898 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24899
24900     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24901       for ac_func in _log10f
24902 do :
24903   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24904 if test "x$ac_cv_func__log10f" = xyes; then :
24905   cat >>confdefs.h <<_ACEOF
24906 #define HAVE__LOG10F 1
24907 _ACEOF
24908
24909 fi
24910 done
24911
24912     fi
24913   fi
24914
24915
24916
24917
24918
24919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24920 $as_echo_n "checking for modff declaration... " >&6; }
24921   if test x${glibcxx_cv_func_modff_use+set} != xset; then
24922     if ${glibcxx_cv_func_modff_use+:} false; then :
24923   $as_echo_n "(cached) " >&6
24924 else
24925
24926
24927       ac_ext=cpp
24928 ac_cpp='$CXXCPP $CPPFLAGS'
24929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24932
24933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h.  */
24935 #include <math.h>
24936 int
24937 main ()
24938 {
24939  modff(0, 0);
24940   ;
24941   return 0;
24942 }
24943 _ACEOF
24944 if ac_fn_cxx_try_compile "$LINENO"; then :
24945   glibcxx_cv_func_modff_use=yes
24946 else
24947   glibcxx_cv_func_modff_use=no
24948 fi
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24950       ac_ext=c
24951 ac_cpp='$CPP $CPPFLAGS'
24952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24955
24956
24957 fi
24958
24959   fi
24960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24961 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24962
24963   if test x$glibcxx_cv_func_modff_use = x"yes"; then
24964     for ac_func in modff
24965 do :
24966   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24967 if test "x$ac_cv_func_modff" = xyes; then :
24968   cat >>confdefs.h <<_ACEOF
24969 #define HAVE_MODFF 1
24970 _ACEOF
24971
24972 fi
24973 done
24974
24975   else
24976
24977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24978 $as_echo_n "checking for _modff declaration... " >&6; }
24979   if test x${glibcxx_cv_func__modff_use+set} != xset; then
24980     if ${glibcxx_cv_func__modff_use+:} false; then :
24981   $as_echo_n "(cached) " >&6
24982 else
24983
24984
24985       ac_ext=cpp
24986 ac_cpp='$CXXCPP $CPPFLAGS'
24987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24990
24991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24992 /* end confdefs.h.  */
24993 #include <math.h>
24994 int
24995 main ()
24996 {
24997  _modff(0, 0);
24998   ;
24999   return 0;
25000 }
25001 _ACEOF
25002 if ac_fn_cxx_try_compile "$LINENO"; then :
25003   glibcxx_cv_func__modff_use=yes
25004 else
25005   glibcxx_cv_func__modff_use=no
25006 fi
25007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25008       ac_ext=c
25009 ac_cpp='$CPP $CPPFLAGS'
25010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013
25014
25015 fi
25016
25017   fi
25018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25019 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25020
25021     if test x$glibcxx_cv_func__modff_use = x"yes"; then
25022       for ac_func in _modff
25023 do :
25024   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25025 if test "x$ac_cv_func__modff" = xyes; then :
25026   cat >>confdefs.h <<_ACEOF
25027 #define HAVE__MODFF 1
25028 _ACEOF
25029
25030 fi
25031 done
25032
25033     fi
25034   fi
25035
25036
25037
25038
25039
25040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25041 $as_echo_n "checking for modf declaration... " >&6; }
25042   if test x${glibcxx_cv_func_modf_use+set} != xset; then
25043     if ${glibcxx_cv_func_modf_use+:} false; then :
25044   $as_echo_n "(cached) " >&6
25045 else
25046
25047
25048       ac_ext=cpp
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053
25054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25055 /* end confdefs.h.  */
25056 #include <math.h>
25057 int
25058 main ()
25059 {
25060  modf(0, 0);
25061   ;
25062   return 0;
25063 }
25064 _ACEOF
25065 if ac_fn_cxx_try_compile "$LINENO"; then :
25066   glibcxx_cv_func_modf_use=yes
25067 else
25068   glibcxx_cv_func_modf_use=no
25069 fi
25070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071       ac_ext=c
25072 ac_cpp='$CPP $CPPFLAGS'
25073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25076
25077
25078 fi
25079
25080   fi
25081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25082 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25083
25084   if test x$glibcxx_cv_func_modf_use = x"yes"; then
25085     for ac_func in modf
25086 do :
25087   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25088 if test "x$ac_cv_func_modf" = xyes; then :
25089   cat >>confdefs.h <<_ACEOF
25090 #define HAVE_MODF 1
25091 _ACEOF
25092
25093 fi
25094 done
25095
25096   else
25097
25098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25099 $as_echo_n "checking for _modf declaration... " >&6; }
25100   if test x${glibcxx_cv_func__modf_use+set} != xset; then
25101     if ${glibcxx_cv_func__modf_use+:} false; then :
25102   $as_echo_n "(cached) " >&6
25103 else
25104
25105
25106       ac_ext=cpp
25107 ac_cpp='$CXXCPP $CPPFLAGS'
25108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25111
25112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h.  */
25114 #include <math.h>
25115 int
25116 main ()
25117 {
25118  _modf(0, 0);
25119   ;
25120   return 0;
25121 }
25122 _ACEOF
25123 if ac_fn_cxx_try_compile "$LINENO"; then :
25124   glibcxx_cv_func__modf_use=yes
25125 else
25126   glibcxx_cv_func__modf_use=no
25127 fi
25128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25129       ac_ext=c
25130 ac_cpp='$CPP $CPPFLAGS'
25131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25134
25135
25136 fi
25137
25138   fi
25139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25140 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25141
25142     if test x$glibcxx_cv_func__modf_use = x"yes"; then
25143       for ac_func in _modf
25144 do :
25145   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25146 if test "x$ac_cv_func__modf" = xyes; then :
25147   cat >>confdefs.h <<_ACEOF
25148 #define HAVE__MODF 1
25149 _ACEOF
25150
25151 fi
25152 done
25153
25154     fi
25155   fi
25156
25157
25158
25159
25160
25161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25162 $as_echo_n "checking for powf declaration... " >&6; }
25163   if test x${glibcxx_cv_func_powf_use+set} != xset; then
25164     if ${glibcxx_cv_func_powf_use+:} false; then :
25165   $as_echo_n "(cached) " >&6
25166 else
25167
25168
25169       ac_ext=cpp
25170 ac_cpp='$CXXCPP $CPPFLAGS'
25171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25174
25175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25176 /* end confdefs.h.  */
25177 #include <math.h>
25178 int
25179 main ()
25180 {
25181  powf(0, 0);
25182   ;
25183   return 0;
25184 }
25185 _ACEOF
25186 if ac_fn_cxx_try_compile "$LINENO"; then :
25187   glibcxx_cv_func_powf_use=yes
25188 else
25189   glibcxx_cv_func_powf_use=no
25190 fi
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25192       ac_ext=c
25193 ac_cpp='$CPP $CPPFLAGS'
25194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25197
25198
25199 fi
25200
25201   fi
25202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25203 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25204
25205   if test x$glibcxx_cv_func_powf_use = x"yes"; then
25206     for ac_func in powf
25207 do :
25208   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25209 if test "x$ac_cv_func_powf" = xyes; then :
25210   cat >>confdefs.h <<_ACEOF
25211 #define HAVE_POWF 1
25212 _ACEOF
25213
25214 fi
25215 done
25216
25217   else
25218
25219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25220 $as_echo_n "checking for _powf declaration... " >&6; }
25221   if test x${glibcxx_cv_func__powf_use+set} != xset; then
25222     if ${glibcxx_cv_func__powf_use+:} false; then :
25223   $as_echo_n "(cached) " >&6
25224 else
25225
25226
25227       ac_ext=cpp
25228 ac_cpp='$CXXCPP $CPPFLAGS'
25229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25232
25233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h.  */
25235 #include <math.h>
25236 int
25237 main ()
25238 {
25239  _powf(0, 0);
25240   ;
25241   return 0;
25242 }
25243 _ACEOF
25244 if ac_fn_cxx_try_compile "$LINENO"; then :
25245   glibcxx_cv_func__powf_use=yes
25246 else
25247   glibcxx_cv_func__powf_use=no
25248 fi
25249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25250       ac_ext=c
25251 ac_cpp='$CPP $CPPFLAGS'
25252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25255
25256
25257 fi
25258
25259   fi
25260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25261 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25262
25263     if test x$glibcxx_cv_func__powf_use = x"yes"; then
25264       for ac_func in _powf
25265 do :
25266   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25267 if test "x$ac_cv_func__powf" = xyes; then :
25268   cat >>confdefs.h <<_ACEOF
25269 #define HAVE__POWF 1
25270 _ACEOF
25271
25272 fi
25273 done
25274
25275     fi
25276   fi
25277
25278
25279
25280
25281
25282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25283 $as_echo_n "checking for sqrtf declaration... " >&6; }
25284   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25285     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25286   $as_echo_n "(cached) " >&6
25287 else
25288
25289
25290       ac_ext=cpp
25291 ac_cpp='$CXXCPP $CPPFLAGS'
25292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25295
25296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25297 /* end confdefs.h.  */
25298 #include <math.h>
25299                       #ifdef HAVE_IEEEFP_H
25300                       #include <ieeefp.h>
25301                       #endif
25302
25303 int
25304 main ()
25305 {
25306  sqrtf(0);
25307   ;
25308   return 0;
25309 }
25310 _ACEOF
25311 if ac_fn_cxx_try_compile "$LINENO"; then :
25312   glibcxx_cv_func_sqrtf_use=yes
25313 else
25314   glibcxx_cv_func_sqrtf_use=no
25315 fi
25316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25317       ac_ext=c
25318 ac_cpp='$CPP $CPPFLAGS'
25319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25322
25323
25324 fi
25325
25326   fi
25327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25328 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25329
25330   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25331     for ac_func in sqrtf
25332 do :
25333   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25334 if test "x$ac_cv_func_sqrtf" = xyes; then :
25335   cat >>confdefs.h <<_ACEOF
25336 #define HAVE_SQRTF 1
25337 _ACEOF
25338
25339 fi
25340 done
25341
25342   else
25343
25344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25345 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25346   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25347     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25348   $as_echo_n "(cached) " >&6
25349 else
25350
25351
25352       ac_ext=cpp
25353 ac_cpp='$CXXCPP $CPPFLAGS'
25354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25357
25358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h.  */
25360 #include <math.h>
25361                       #ifdef HAVE_IEEEFP_H
25362                       #include <ieeefp.h>
25363                       #endif
25364
25365 int
25366 main ()
25367 {
25368  _sqrtf(0);
25369   ;
25370   return 0;
25371 }
25372 _ACEOF
25373 if ac_fn_cxx_try_compile "$LINENO"; then :
25374   glibcxx_cv_func__sqrtf_use=yes
25375 else
25376   glibcxx_cv_func__sqrtf_use=no
25377 fi
25378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25379       ac_ext=c
25380 ac_cpp='$CPP $CPPFLAGS'
25381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25384
25385
25386 fi
25387
25388   fi
25389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25390 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25391
25392     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25393       for ac_func in _sqrtf
25394 do :
25395   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25396 if test "x$ac_cv_func__sqrtf" = xyes; then :
25397   cat >>confdefs.h <<_ACEOF
25398 #define HAVE__SQRTF 1
25399 _ACEOF
25400
25401 fi
25402 done
25403
25404     fi
25405   fi
25406
25407
25408
25409
25410
25411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25412 $as_echo_n "checking for sincosf declaration... " >&6; }
25413   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25414     if ${glibcxx_cv_func_sincosf_use+:} false; then :
25415   $as_echo_n "(cached) " >&6
25416 else
25417
25418
25419       ac_ext=cpp
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424
25425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h.  */
25427 #include <math.h>
25428 int
25429 main ()
25430 {
25431  sincosf(0, 0, 0);
25432   ;
25433   return 0;
25434 }
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437   glibcxx_cv_func_sincosf_use=yes
25438 else
25439   glibcxx_cv_func_sincosf_use=no
25440 fi
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442       ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25447
25448
25449 fi
25450
25451   fi
25452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25453 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25454
25455   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25456     for ac_func in sincosf
25457 do :
25458   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25459 if test "x$ac_cv_func_sincosf" = xyes; then :
25460   cat >>confdefs.h <<_ACEOF
25461 #define HAVE_SINCOSF 1
25462 _ACEOF
25463
25464 fi
25465 done
25466
25467   else
25468
25469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25470 $as_echo_n "checking for _sincosf declaration... " >&6; }
25471   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25472     if ${glibcxx_cv_func__sincosf_use+:} false; then :
25473   $as_echo_n "(cached) " >&6
25474 else
25475
25476
25477       ac_ext=cpp
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482
25483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25484 /* end confdefs.h.  */
25485 #include <math.h>
25486 int
25487 main ()
25488 {
25489  _sincosf(0, 0, 0);
25490   ;
25491   return 0;
25492 }
25493 _ACEOF
25494 if ac_fn_cxx_try_compile "$LINENO"; then :
25495   glibcxx_cv_func__sincosf_use=yes
25496 else
25497   glibcxx_cv_func__sincosf_use=no
25498 fi
25499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25500       ac_ext=c
25501 ac_cpp='$CPP $CPPFLAGS'
25502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25505
25506
25507 fi
25508
25509   fi
25510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25511 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25512
25513     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25514       for ac_func in _sincosf
25515 do :
25516   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25517 if test "x$ac_cv_func__sincosf" = xyes; then :
25518   cat >>confdefs.h <<_ACEOF
25519 #define HAVE__SINCOSF 1
25520 _ACEOF
25521
25522 fi
25523 done
25524
25525     fi
25526   fi
25527
25528
25529
25530
25531
25532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25533 $as_echo_n "checking for finitef declaration... " >&6; }
25534   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25535     if ${glibcxx_cv_func_finitef_use+:} false; then :
25536   $as_echo_n "(cached) " >&6
25537 else
25538
25539
25540       ac_ext=cpp
25541 ac_cpp='$CXXCPP $CPPFLAGS'
25542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25545
25546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25547 /* end confdefs.h.  */
25548 #include <math.h>
25549                       #ifdef HAVE_IEEEFP_H
25550                       #include <ieeefp.h>
25551                       #endif
25552
25553 int
25554 main ()
25555 {
25556  finitef(0);
25557   ;
25558   return 0;
25559 }
25560 _ACEOF
25561 if ac_fn_cxx_try_compile "$LINENO"; then :
25562   glibcxx_cv_func_finitef_use=yes
25563 else
25564   glibcxx_cv_func_finitef_use=no
25565 fi
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25567       ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25572
25573
25574 fi
25575
25576   fi
25577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25578 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25579
25580   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25581     for ac_func in finitef
25582 do :
25583   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25584 if test "x$ac_cv_func_finitef" = xyes; then :
25585   cat >>confdefs.h <<_ACEOF
25586 #define HAVE_FINITEF 1
25587 _ACEOF
25588
25589 fi
25590 done
25591
25592   else
25593
25594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25595 $as_echo_n "checking for _finitef declaration... " >&6; }
25596   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25597     if ${glibcxx_cv_func__finitef_use+:} false; then :
25598   $as_echo_n "(cached) " >&6
25599 else
25600
25601
25602       ac_ext=cpp
25603 ac_cpp='$CXXCPP $CPPFLAGS'
25604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25607
25608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25609 /* end confdefs.h.  */
25610 #include <math.h>
25611                       #ifdef HAVE_IEEEFP_H
25612                       #include <ieeefp.h>
25613                       #endif
25614
25615 int
25616 main ()
25617 {
25618  _finitef(0);
25619   ;
25620   return 0;
25621 }
25622 _ACEOF
25623 if ac_fn_cxx_try_compile "$LINENO"; then :
25624   glibcxx_cv_func__finitef_use=yes
25625 else
25626   glibcxx_cv_func__finitef_use=no
25627 fi
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25629       ac_ext=c
25630 ac_cpp='$CPP $CPPFLAGS'
25631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25634
25635
25636 fi
25637
25638   fi
25639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25640 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25641
25642     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25643       for ac_func in _finitef
25644 do :
25645   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25646 if test "x$ac_cv_func__finitef" = xyes; then :
25647   cat >>confdefs.h <<_ACEOF
25648 #define HAVE__FINITEF 1
25649 _ACEOF
25650
25651 fi
25652 done
25653
25654     fi
25655   fi
25656
25657
25658
25659
25660
25661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25662 $as_echo_n "checking for long double trig functions... " >&6; }
25663   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25664   $as_echo_n "(cached) " >&6
25665 else
25666
25667
25668     ac_ext=cpp
25669 ac_cpp='$CXXCPP $CPPFLAGS'
25670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25673
25674     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25675 /* end confdefs.h.  */
25676 #include <math.h>
25677 int
25678 main ()
25679 {
25680 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25681   ;
25682   return 0;
25683 }
25684 _ACEOF
25685 if ac_fn_cxx_try_compile "$LINENO"; then :
25686   glibcxx_cv_func_long_double_trig_use=yes
25687 else
25688   glibcxx_cv_func_long_double_trig_use=no
25689 fi
25690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25691     ac_ext=c
25692 ac_cpp='$CPP $CPPFLAGS'
25693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25696
25697 fi
25698
25699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25700 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25701   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25702     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25703 do :
25704   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25706 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25707   cat >>confdefs.h <<_ACEOF
25708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25709 _ACEOF
25710
25711 fi
25712 done
25713
25714   else
25715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25716 $as_echo_n "checking for _long double trig functions... " >&6; }
25717     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25718   $as_echo_n "(cached) " >&6
25719 else
25720
25721
25722       ac_ext=cpp
25723 ac_cpp='$CXXCPP $CPPFLAGS'
25724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25727
25728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25729 /* end confdefs.h.  */
25730 #include <math.h>
25731 int
25732 main ()
25733 {
25734 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25735   ;
25736   return 0;
25737 }
25738 _ACEOF
25739 if ac_fn_cxx_try_compile "$LINENO"; then :
25740   glibcxx_cv_func__long_double_trig_use=yes
25741 else
25742   glibcxx_cv_func__long_double_trig_use=no
25743 fi
25744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25745       ac_ext=c
25746 ac_cpp='$CPP $CPPFLAGS'
25747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25750
25751 fi
25752
25753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25754 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25755     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25756       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25757 do :
25758   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25761   cat >>confdefs.h <<_ACEOF
25762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25763 _ACEOF
25764
25765 fi
25766 done
25767
25768     fi
25769   fi
25770
25771
25772
25773
25774
25775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25776 $as_echo_n "checking for long double round functions... " >&6; }
25777   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25778   $as_echo_n "(cached) " >&6
25779 else
25780
25781
25782     ac_ext=cpp
25783 ac_cpp='$CXXCPP $CPPFLAGS'
25784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25787
25788     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25789 /* end confdefs.h.  */
25790 #include <math.h>
25791 int
25792 main ()
25793 {
25794 ceill (0); floorl (0);
25795   ;
25796   return 0;
25797 }
25798 _ACEOF
25799 if ac_fn_cxx_try_compile "$LINENO"; then :
25800   glibcxx_cv_func_long_double_round_use=yes
25801 else
25802   glibcxx_cv_func_long_double_round_use=no
25803 fi
25804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25805     ac_ext=c
25806 ac_cpp='$CPP $CPPFLAGS'
25807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25810
25811 fi
25812
25813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25814 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25815   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25816     for ac_func in ceill floorl
25817 do :
25818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25821   cat >>confdefs.h <<_ACEOF
25822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25823 _ACEOF
25824
25825 fi
25826 done
25827
25828   else
25829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25830 $as_echo_n "checking for _long double round functions... " >&6; }
25831     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25832   $as_echo_n "(cached) " >&6
25833 else
25834
25835
25836       ac_ext=cpp
25837 ac_cpp='$CXXCPP $CPPFLAGS'
25838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25841
25842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25843 /* end confdefs.h.  */
25844 #include <math.h>
25845 int
25846 main ()
25847 {
25848 _ceill (0); _floorl (0);
25849   ;
25850   return 0;
25851 }
25852 _ACEOF
25853 if ac_fn_cxx_try_compile "$LINENO"; then :
25854   glibcxx_cv_func__long_double_round_use=yes
25855 else
25856   glibcxx_cv_func__long_double_round_use=no
25857 fi
25858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25859       ac_ext=c
25860 ac_cpp='$CPP $CPPFLAGS'
25861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25864
25865 fi
25866
25867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25868 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25869     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25870       for ac_func in _ceill _floorl
25871 do :
25872   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25875   cat >>confdefs.h <<_ACEOF
25876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25877 _ACEOF
25878
25879 fi
25880 done
25881
25882     fi
25883   fi
25884
25885
25886
25887
25888
25889
25890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25891 $as_echo_n "checking for isnanl declaration... " >&6; }
25892   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25893     if ${glibcxx_cv_func_isnanl_use+:} false; then :
25894   $as_echo_n "(cached) " >&6
25895 else
25896
25897
25898       ac_ext=cpp
25899 ac_cpp='$CXXCPP $CPPFLAGS'
25900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25903
25904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h.  */
25906 #include <math.h>
25907                       #ifdef HAVE_IEEEFP_H
25908                       #include <ieeefp.h>
25909                       #endif
25910
25911 int
25912 main ()
25913 {
25914  isnanl(0);
25915   ;
25916   return 0;
25917 }
25918 _ACEOF
25919 if ac_fn_cxx_try_compile "$LINENO"; then :
25920   glibcxx_cv_func_isnanl_use=yes
25921 else
25922   glibcxx_cv_func_isnanl_use=no
25923 fi
25924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25925       ac_ext=c
25926 ac_cpp='$CPP $CPPFLAGS'
25927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25930
25931
25932 fi
25933
25934   fi
25935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25936 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25937
25938   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25939     for ac_func in isnanl
25940 do :
25941   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25942 if test "x$ac_cv_func_isnanl" = xyes; then :
25943   cat >>confdefs.h <<_ACEOF
25944 #define HAVE_ISNANL 1
25945 _ACEOF
25946
25947 fi
25948 done
25949
25950   else
25951
25952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25953 $as_echo_n "checking for _isnanl declaration... " >&6; }
25954   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25955     if ${glibcxx_cv_func__isnanl_use+:} false; then :
25956   $as_echo_n "(cached) " >&6
25957 else
25958
25959
25960       ac_ext=cpp
25961 ac_cpp='$CXXCPP $CPPFLAGS'
25962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25965
25966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25967 /* end confdefs.h.  */
25968 #include <math.h>
25969                       #ifdef HAVE_IEEEFP_H
25970                       #include <ieeefp.h>
25971                       #endif
25972
25973 int
25974 main ()
25975 {
25976  _isnanl(0);
25977   ;
25978   return 0;
25979 }
25980 _ACEOF
25981 if ac_fn_cxx_try_compile "$LINENO"; then :
25982   glibcxx_cv_func__isnanl_use=yes
25983 else
25984   glibcxx_cv_func__isnanl_use=no
25985 fi
25986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25987       ac_ext=c
25988 ac_cpp='$CPP $CPPFLAGS'
25989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25992
25993
25994 fi
25995
25996   fi
25997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25998 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25999
26000     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26001       for ac_func in _isnanl
26002 do :
26003   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26004 if test "x$ac_cv_func__isnanl" = xyes; then :
26005   cat >>confdefs.h <<_ACEOF
26006 #define HAVE__ISNANL 1
26007 _ACEOF
26008
26009 fi
26010 done
26011
26012     fi
26013   fi
26014
26015
26016
26017
26018
26019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26020 $as_echo_n "checking for isinfl declaration... " >&6; }
26021   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26022     if ${glibcxx_cv_func_isinfl_use+:} false; then :
26023   $as_echo_n "(cached) " >&6
26024 else
26025
26026
26027       ac_ext=cpp
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26032
26033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h.  */
26035 #include <math.h>
26036                       #ifdef HAVE_IEEEFP_H
26037                       #include <ieeefp.h>
26038                       #endif
26039
26040 int
26041 main ()
26042 {
26043  isinfl(0);
26044   ;
26045   return 0;
26046 }
26047 _ACEOF
26048 if ac_fn_cxx_try_compile "$LINENO"; then :
26049   glibcxx_cv_func_isinfl_use=yes
26050 else
26051   glibcxx_cv_func_isinfl_use=no
26052 fi
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26054       ac_ext=c
26055 ac_cpp='$CPP $CPPFLAGS'
26056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26059
26060
26061 fi
26062
26063   fi
26064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26065 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26066
26067   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26068     for ac_func in isinfl
26069 do :
26070   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26071 if test "x$ac_cv_func_isinfl" = xyes; then :
26072   cat >>confdefs.h <<_ACEOF
26073 #define HAVE_ISINFL 1
26074 _ACEOF
26075
26076 fi
26077 done
26078
26079   else
26080
26081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26082 $as_echo_n "checking for _isinfl declaration... " >&6; }
26083   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26084     if ${glibcxx_cv_func__isinfl_use+:} false; then :
26085   $as_echo_n "(cached) " >&6
26086 else
26087
26088
26089       ac_ext=cpp
26090 ac_cpp='$CXXCPP $CPPFLAGS'
26091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26094
26095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26096 /* end confdefs.h.  */
26097 #include <math.h>
26098                       #ifdef HAVE_IEEEFP_H
26099                       #include <ieeefp.h>
26100                       #endif
26101
26102 int
26103 main ()
26104 {
26105  _isinfl(0);
26106   ;
26107   return 0;
26108 }
26109 _ACEOF
26110 if ac_fn_cxx_try_compile "$LINENO"; then :
26111   glibcxx_cv_func__isinfl_use=yes
26112 else
26113   glibcxx_cv_func__isinfl_use=no
26114 fi
26115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116       ac_ext=c
26117 ac_cpp='$CPP $CPPFLAGS'
26118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26121
26122
26123 fi
26124
26125   fi
26126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26127 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26128
26129     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26130       for ac_func in _isinfl
26131 do :
26132   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26133 if test "x$ac_cv_func__isinfl" = xyes; then :
26134   cat >>confdefs.h <<_ACEOF
26135 #define HAVE__ISINFL 1
26136 _ACEOF
26137
26138 fi
26139 done
26140
26141     fi
26142   fi
26143
26144
26145
26146
26147
26148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26149 $as_echo_n "checking for atan2l declaration... " >&6; }
26150   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26151     if ${glibcxx_cv_func_atan2l_use+:} false; then :
26152   $as_echo_n "(cached) " >&6
26153 else
26154
26155
26156       ac_ext=cpp
26157 ac_cpp='$CXXCPP $CPPFLAGS'
26158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161
26162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26163 /* end confdefs.h.  */
26164 #include <math.h>
26165 int
26166 main ()
26167 {
26168  atan2l(0, 0);
26169   ;
26170   return 0;
26171 }
26172 _ACEOF
26173 if ac_fn_cxx_try_compile "$LINENO"; then :
26174   glibcxx_cv_func_atan2l_use=yes
26175 else
26176   glibcxx_cv_func_atan2l_use=no
26177 fi
26178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26179       ac_ext=c
26180 ac_cpp='$CPP $CPPFLAGS'
26181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26184
26185
26186 fi
26187
26188   fi
26189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26190 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26191
26192   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26193     for ac_func in atan2l
26194 do :
26195   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26196 if test "x$ac_cv_func_atan2l" = xyes; then :
26197   cat >>confdefs.h <<_ACEOF
26198 #define HAVE_ATAN2L 1
26199 _ACEOF
26200
26201 fi
26202 done
26203
26204   else
26205
26206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26207 $as_echo_n "checking for _atan2l declaration... " >&6; }
26208   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26209     if ${glibcxx_cv_func__atan2l_use+:} false; then :
26210   $as_echo_n "(cached) " >&6
26211 else
26212
26213
26214       ac_ext=cpp
26215 ac_cpp='$CXXCPP $CPPFLAGS'
26216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26219
26220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26221 /* end confdefs.h.  */
26222 #include <math.h>
26223 int
26224 main ()
26225 {
26226  _atan2l(0, 0);
26227   ;
26228   return 0;
26229 }
26230 _ACEOF
26231 if ac_fn_cxx_try_compile "$LINENO"; then :
26232   glibcxx_cv_func__atan2l_use=yes
26233 else
26234   glibcxx_cv_func__atan2l_use=no
26235 fi
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26237       ac_ext=c
26238 ac_cpp='$CPP $CPPFLAGS'
26239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26242
26243
26244 fi
26245
26246   fi
26247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26248 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26249
26250     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26251       for ac_func in _atan2l
26252 do :
26253   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26254 if test "x$ac_cv_func__atan2l" = xyes; then :
26255   cat >>confdefs.h <<_ACEOF
26256 #define HAVE__ATAN2L 1
26257 _ACEOF
26258
26259 fi
26260 done
26261
26262     fi
26263   fi
26264
26265
26266
26267
26268
26269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26270 $as_echo_n "checking for expl declaration... " >&6; }
26271   if test x${glibcxx_cv_func_expl_use+set} != xset; then
26272     if ${glibcxx_cv_func_expl_use+:} false; then :
26273   $as_echo_n "(cached) " >&6
26274 else
26275
26276
26277       ac_ext=cpp
26278 ac_cpp='$CXXCPP $CPPFLAGS'
26279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26282
26283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26284 /* end confdefs.h.  */
26285 #include <math.h>
26286                       #ifdef HAVE_IEEEFP_H
26287                       #include <ieeefp.h>
26288                       #endif
26289
26290 int
26291 main ()
26292 {
26293  expl(0);
26294   ;
26295   return 0;
26296 }
26297 _ACEOF
26298 if ac_fn_cxx_try_compile "$LINENO"; then :
26299   glibcxx_cv_func_expl_use=yes
26300 else
26301   glibcxx_cv_func_expl_use=no
26302 fi
26303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26304       ac_ext=c
26305 ac_cpp='$CPP $CPPFLAGS'
26306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26309
26310
26311 fi
26312
26313   fi
26314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26315 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26316
26317   if test x$glibcxx_cv_func_expl_use = x"yes"; then
26318     for ac_func in expl
26319 do :
26320   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26321 if test "x$ac_cv_func_expl" = xyes; then :
26322   cat >>confdefs.h <<_ACEOF
26323 #define HAVE_EXPL 1
26324 _ACEOF
26325
26326 fi
26327 done
26328
26329   else
26330
26331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26332 $as_echo_n "checking for _expl declaration... " >&6; }
26333   if test x${glibcxx_cv_func__expl_use+set} != xset; then
26334     if ${glibcxx_cv_func__expl_use+:} false; then :
26335   $as_echo_n "(cached) " >&6
26336 else
26337
26338
26339       ac_ext=cpp
26340 ac_cpp='$CXXCPP $CPPFLAGS'
26341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26344
26345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26346 /* end confdefs.h.  */
26347 #include <math.h>
26348                       #ifdef HAVE_IEEEFP_H
26349                       #include <ieeefp.h>
26350                       #endif
26351
26352 int
26353 main ()
26354 {
26355  _expl(0);
26356   ;
26357   return 0;
26358 }
26359 _ACEOF
26360 if ac_fn_cxx_try_compile "$LINENO"; then :
26361   glibcxx_cv_func__expl_use=yes
26362 else
26363   glibcxx_cv_func__expl_use=no
26364 fi
26365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26366       ac_ext=c
26367 ac_cpp='$CPP $CPPFLAGS'
26368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26371
26372
26373 fi
26374
26375   fi
26376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26377 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26378
26379     if test x$glibcxx_cv_func__expl_use = x"yes"; then
26380       for ac_func in _expl
26381 do :
26382   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26383 if test "x$ac_cv_func__expl" = xyes; then :
26384   cat >>confdefs.h <<_ACEOF
26385 #define HAVE__EXPL 1
26386 _ACEOF
26387
26388 fi
26389 done
26390
26391     fi
26392   fi
26393
26394
26395
26396
26397
26398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26399 $as_echo_n "checking for fabsl declaration... " >&6; }
26400   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26401     if ${glibcxx_cv_func_fabsl_use+:} false; then :
26402   $as_echo_n "(cached) " >&6
26403 else
26404
26405
26406       ac_ext=cpp
26407 ac_cpp='$CXXCPP $CPPFLAGS'
26408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26411
26412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h.  */
26414 #include <math.h>
26415                       #ifdef HAVE_IEEEFP_H
26416                       #include <ieeefp.h>
26417                       #endif
26418
26419 int
26420 main ()
26421 {
26422  fabsl(0);
26423   ;
26424   return 0;
26425 }
26426 _ACEOF
26427 if ac_fn_cxx_try_compile "$LINENO"; then :
26428   glibcxx_cv_func_fabsl_use=yes
26429 else
26430   glibcxx_cv_func_fabsl_use=no
26431 fi
26432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433       ac_ext=c
26434 ac_cpp='$CPP $CPPFLAGS'
26435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26438
26439
26440 fi
26441
26442   fi
26443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26444 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26445
26446   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26447     for ac_func in fabsl
26448 do :
26449   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26450 if test "x$ac_cv_func_fabsl" = xyes; then :
26451   cat >>confdefs.h <<_ACEOF
26452 #define HAVE_FABSL 1
26453 _ACEOF
26454
26455 fi
26456 done
26457
26458   else
26459
26460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26461 $as_echo_n "checking for _fabsl declaration... " >&6; }
26462   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26463     if ${glibcxx_cv_func__fabsl_use+:} false; then :
26464   $as_echo_n "(cached) " >&6
26465 else
26466
26467
26468       ac_ext=cpp
26469 ac_cpp='$CXXCPP $CPPFLAGS'
26470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473
26474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26475 /* end confdefs.h.  */
26476 #include <math.h>
26477                       #ifdef HAVE_IEEEFP_H
26478                       #include <ieeefp.h>
26479                       #endif
26480
26481 int
26482 main ()
26483 {
26484  _fabsl(0);
26485   ;
26486   return 0;
26487 }
26488 _ACEOF
26489 if ac_fn_cxx_try_compile "$LINENO"; then :
26490   glibcxx_cv_func__fabsl_use=yes
26491 else
26492   glibcxx_cv_func__fabsl_use=no
26493 fi
26494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495       ac_ext=c
26496 ac_cpp='$CPP $CPPFLAGS'
26497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500
26501
26502 fi
26503
26504   fi
26505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26506 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26507
26508     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26509       for ac_func in _fabsl
26510 do :
26511   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26512 if test "x$ac_cv_func__fabsl" = xyes; then :
26513   cat >>confdefs.h <<_ACEOF
26514 #define HAVE__FABSL 1
26515 _ACEOF
26516
26517 fi
26518 done
26519
26520     fi
26521   fi
26522
26523
26524
26525
26526
26527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26528 $as_echo_n "checking for fmodl declaration... " >&6; }
26529   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26530     if ${glibcxx_cv_func_fmodl_use+:} false; then :
26531   $as_echo_n "(cached) " >&6
26532 else
26533
26534
26535       ac_ext=cpp
26536 ac_cpp='$CXXCPP $CPPFLAGS'
26537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26540
26541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26542 /* end confdefs.h.  */
26543 #include <math.h>
26544 int
26545 main ()
26546 {
26547  fmodl(0, 0);
26548   ;
26549   return 0;
26550 }
26551 _ACEOF
26552 if ac_fn_cxx_try_compile "$LINENO"; then :
26553   glibcxx_cv_func_fmodl_use=yes
26554 else
26555   glibcxx_cv_func_fmodl_use=no
26556 fi
26557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26558       ac_ext=c
26559 ac_cpp='$CPP $CPPFLAGS'
26560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26563
26564
26565 fi
26566
26567   fi
26568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26569 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26570
26571   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26572     for ac_func in fmodl
26573 do :
26574   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26575 if test "x$ac_cv_func_fmodl" = xyes; then :
26576   cat >>confdefs.h <<_ACEOF
26577 #define HAVE_FMODL 1
26578 _ACEOF
26579
26580 fi
26581 done
26582
26583   else
26584
26585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26586 $as_echo_n "checking for _fmodl declaration... " >&6; }
26587   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26588     if ${glibcxx_cv_func__fmodl_use+:} false; then :
26589   $as_echo_n "(cached) " >&6
26590 else
26591
26592
26593       ac_ext=cpp
26594 ac_cpp='$CXXCPP $CPPFLAGS'
26595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26598
26599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26600 /* end confdefs.h.  */
26601 #include <math.h>
26602 int
26603 main ()
26604 {
26605  _fmodl(0, 0);
26606   ;
26607   return 0;
26608 }
26609 _ACEOF
26610 if ac_fn_cxx_try_compile "$LINENO"; then :
26611   glibcxx_cv_func__fmodl_use=yes
26612 else
26613   glibcxx_cv_func__fmodl_use=no
26614 fi
26615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26616       ac_ext=c
26617 ac_cpp='$CPP $CPPFLAGS'
26618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26621
26622
26623 fi
26624
26625   fi
26626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26627 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26628
26629     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26630       for ac_func in _fmodl
26631 do :
26632   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26633 if test "x$ac_cv_func__fmodl" = xyes; then :
26634   cat >>confdefs.h <<_ACEOF
26635 #define HAVE__FMODL 1
26636 _ACEOF
26637
26638 fi
26639 done
26640
26641     fi
26642   fi
26643
26644
26645
26646
26647
26648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26649 $as_echo_n "checking for frexpl declaration... " >&6; }
26650   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26651     if ${glibcxx_cv_func_frexpl_use+:} false; then :
26652   $as_echo_n "(cached) " >&6
26653 else
26654
26655
26656       ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26661
26662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26663 /* end confdefs.h.  */
26664 #include <math.h>
26665 int
26666 main ()
26667 {
26668  frexpl(0, 0);
26669   ;
26670   return 0;
26671 }
26672 _ACEOF
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674   glibcxx_cv_func_frexpl_use=yes
26675 else
26676   glibcxx_cv_func_frexpl_use=no
26677 fi
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679       ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26684
26685
26686 fi
26687
26688   fi
26689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26690 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26691
26692   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26693     for ac_func in frexpl
26694 do :
26695   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26696 if test "x$ac_cv_func_frexpl" = xyes; then :
26697   cat >>confdefs.h <<_ACEOF
26698 #define HAVE_FREXPL 1
26699 _ACEOF
26700
26701 fi
26702 done
26703
26704   else
26705
26706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26707 $as_echo_n "checking for _frexpl declaration... " >&6; }
26708   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26709     if ${glibcxx_cv_func__frexpl_use+:} false; then :
26710   $as_echo_n "(cached) " >&6
26711 else
26712
26713
26714       ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26719
26720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h.  */
26722 #include <math.h>
26723 int
26724 main ()
26725 {
26726  _frexpl(0, 0);
26727   ;
26728   return 0;
26729 }
26730 _ACEOF
26731 if ac_fn_cxx_try_compile "$LINENO"; then :
26732   glibcxx_cv_func__frexpl_use=yes
26733 else
26734   glibcxx_cv_func__frexpl_use=no
26735 fi
26736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737       ac_ext=c
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742
26743
26744 fi
26745
26746   fi
26747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26748 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26749
26750     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26751       for ac_func in _frexpl
26752 do :
26753   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26754 if test "x$ac_cv_func__frexpl" = xyes; then :
26755   cat >>confdefs.h <<_ACEOF
26756 #define HAVE__FREXPL 1
26757 _ACEOF
26758
26759 fi
26760 done
26761
26762     fi
26763   fi
26764
26765
26766
26767
26768
26769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26770 $as_echo_n "checking for hypotl declaration... " >&6; }
26771   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26772     if ${glibcxx_cv_func_hypotl_use+:} false; then :
26773   $as_echo_n "(cached) " >&6
26774 else
26775
26776
26777       ac_ext=cpp
26778 ac_cpp='$CXXCPP $CPPFLAGS'
26779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26782
26783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26784 /* end confdefs.h.  */
26785 #include <math.h>
26786 int
26787 main ()
26788 {
26789  hypotl(0, 0);
26790   ;
26791   return 0;
26792 }
26793 _ACEOF
26794 if ac_fn_cxx_try_compile "$LINENO"; then :
26795   glibcxx_cv_func_hypotl_use=yes
26796 else
26797   glibcxx_cv_func_hypotl_use=no
26798 fi
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26800       ac_ext=c
26801 ac_cpp='$CPP $CPPFLAGS'
26802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26805
26806
26807 fi
26808
26809   fi
26810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26811 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26812
26813   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26814     for ac_func in hypotl
26815 do :
26816   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26817 if test "x$ac_cv_func_hypotl" = xyes; then :
26818   cat >>confdefs.h <<_ACEOF
26819 #define HAVE_HYPOTL 1
26820 _ACEOF
26821
26822 fi
26823 done
26824
26825   else
26826
26827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26828 $as_echo_n "checking for _hypotl declaration... " >&6; }
26829   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26830     if ${glibcxx_cv_func__hypotl_use+:} false; then :
26831   $as_echo_n "(cached) " >&6
26832 else
26833
26834
26835       ac_ext=cpp
26836 ac_cpp='$CXXCPP $CPPFLAGS'
26837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26840
26841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26842 /* end confdefs.h.  */
26843 #include <math.h>
26844 int
26845 main ()
26846 {
26847  _hypotl(0, 0);
26848   ;
26849   return 0;
26850 }
26851 _ACEOF
26852 if ac_fn_cxx_try_compile "$LINENO"; then :
26853   glibcxx_cv_func__hypotl_use=yes
26854 else
26855   glibcxx_cv_func__hypotl_use=no
26856 fi
26857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26858       ac_ext=c
26859 ac_cpp='$CPP $CPPFLAGS'
26860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863
26864
26865 fi
26866
26867   fi
26868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26869 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26870
26871     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26872       for ac_func in _hypotl
26873 do :
26874   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26875 if test "x$ac_cv_func__hypotl" = xyes; then :
26876   cat >>confdefs.h <<_ACEOF
26877 #define HAVE__HYPOTL 1
26878 _ACEOF
26879
26880 fi
26881 done
26882
26883     fi
26884   fi
26885
26886
26887
26888
26889
26890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26891 $as_echo_n "checking for ldexpl declaration... " >&6; }
26892   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26893     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26894   $as_echo_n "(cached) " >&6
26895 else
26896
26897
26898       ac_ext=cpp
26899 ac_cpp='$CXXCPP $CPPFLAGS'
26900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26903
26904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h.  */
26906 #include <math.h>
26907 int
26908 main ()
26909 {
26910  ldexpl(0, 0);
26911   ;
26912   return 0;
26913 }
26914 _ACEOF
26915 if ac_fn_cxx_try_compile "$LINENO"; then :
26916   glibcxx_cv_func_ldexpl_use=yes
26917 else
26918   glibcxx_cv_func_ldexpl_use=no
26919 fi
26920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26921       ac_ext=c
26922 ac_cpp='$CPP $CPPFLAGS'
26923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26926
26927
26928 fi
26929
26930   fi
26931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26932 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26933
26934   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26935     for ac_func in ldexpl
26936 do :
26937   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26938 if test "x$ac_cv_func_ldexpl" = xyes; then :
26939   cat >>confdefs.h <<_ACEOF
26940 #define HAVE_LDEXPL 1
26941 _ACEOF
26942
26943 fi
26944 done
26945
26946   else
26947
26948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26949 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26950   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26951     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26952   $as_echo_n "(cached) " >&6
26953 else
26954
26955
26956       ac_ext=cpp
26957 ac_cpp='$CXXCPP $CPPFLAGS'
26958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26961
26962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26963 /* end confdefs.h.  */
26964 #include <math.h>
26965 int
26966 main ()
26967 {
26968  _ldexpl(0, 0);
26969   ;
26970   return 0;
26971 }
26972 _ACEOF
26973 if ac_fn_cxx_try_compile "$LINENO"; then :
26974   glibcxx_cv_func__ldexpl_use=yes
26975 else
26976   glibcxx_cv_func__ldexpl_use=no
26977 fi
26978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26979       ac_ext=c
26980 ac_cpp='$CPP $CPPFLAGS'
26981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26984
26985
26986 fi
26987
26988   fi
26989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26990 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26991
26992     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26993       for ac_func in _ldexpl
26994 do :
26995   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26996 if test "x$ac_cv_func__ldexpl" = xyes; then :
26997   cat >>confdefs.h <<_ACEOF
26998 #define HAVE__LDEXPL 1
26999 _ACEOF
27000
27001 fi
27002 done
27003
27004     fi
27005   fi
27006
27007
27008
27009
27010
27011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27012 $as_echo_n "checking for logl declaration... " >&6; }
27013   if test x${glibcxx_cv_func_logl_use+set} != xset; then
27014     if ${glibcxx_cv_func_logl_use+:} false; then :
27015   $as_echo_n "(cached) " >&6
27016 else
27017
27018
27019       ac_ext=cpp
27020 ac_cpp='$CXXCPP $CPPFLAGS'
27021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27024
27025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27026 /* end confdefs.h.  */
27027 #include <math.h>
27028                       #ifdef HAVE_IEEEFP_H
27029                       #include <ieeefp.h>
27030                       #endif
27031
27032 int
27033 main ()
27034 {
27035  logl(0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 if ac_fn_cxx_try_compile "$LINENO"; then :
27041   glibcxx_cv_func_logl_use=yes
27042 else
27043   glibcxx_cv_func_logl_use=no
27044 fi
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046       ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27051
27052
27053 fi
27054
27055   fi
27056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27057 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27058
27059   if test x$glibcxx_cv_func_logl_use = x"yes"; then
27060     for ac_func in logl
27061 do :
27062   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27063 if test "x$ac_cv_func_logl" = xyes; then :
27064   cat >>confdefs.h <<_ACEOF
27065 #define HAVE_LOGL 1
27066 _ACEOF
27067
27068 fi
27069 done
27070
27071   else
27072
27073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27074 $as_echo_n "checking for _logl declaration... " >&6; }
27075   if test x${glibcxx_cv_func__logl_use+set} != xset; then
27076     if ${glibcxx_cv_func__logl_use+:} false; then :
27077   $as_echo_n "(cached) " >&6
27078 else
27079
27080
27081       ac_ext=cpp
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27086
27087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27088 /* end confdefs.h.  */
27089 #include <math.h>
27090                       #ifdef HAVE_IEEEFP_H
27091                       #include <ieeefp.h>
27092                       #endif
27093
27094 int
27095 main ()
27096 {
27097  _logl(0);
27098   ;
27099   return 0;
27100 }
27101 _ACEOF
27102 if ac_fn_cxx_try_compile "$LINENO"; then :
27103   glibcxx_cv_func__logl_use=yes
27104 else
27105   glibcxx_cv_func__logl_use=no
27106 fi
27107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27108       ac_ext=c
27109 ac_cpp='$CPP $CPPFLAGS'
27110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27113
27114
27115 fi
27116
27117   fi
27118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27119 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27120
27121     if test x$glibcxx_cv_func__logl_use = x"yes"; then
27122       for ac_func in _logl
27123 do :
27124   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27125 if test "x$ac_cv_func__logl" = xyes; then :
27126   cat >>confdefs.h <<_ACEOF
27127 #define HAVE__LOGL 1
27128 _ACEOF
27129
27130 fi
27131 done
27132
27133     fi
27134   fi
27135
27136
27137
27138
27139
27140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27141 $as_echo_n "checking for log10l declaration... " >&6; }
27142   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27143     if ${glibcxx_cv_func_log10l_use+:} false; then :
27144   $as_echo_n "(cached) " >&6
27145 else
27146
27147
27148       ac_ext=cpp
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153
27154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h.  */
27156 #include <math.h>
27157                       #ifdef HAVE_IEEEFP_H
27158                       #include <ieeefp.h>
27159                       #endif
27160
27161 int
27162 main ()
27163 {
27164  log10l(0);
27165   ;
27166   return 0;
27167 }
27168 _ACEOF
27169 if ac_fn_cxx_try_compile "$LINENO"; then :
27170   glibcxx_cv_func_log10l_use=yes
27171 else
27172   glibcxx_cv_func_log10l_use=no
27173 fi
27174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27175       ac_ext=c
27176 ac_cpp='$CPP $CPPFLAGS'
27177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27180
27181
27182 fi
27183
27184   fi
27185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27186 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27187
27188   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27189     for ac_func in log10l
27190 do :
27191   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27192 if test "x$ac_cv_func_log10l" = xyes; then :
27193   cat >>confdefs.h <<_ACEOF
27194 #define HAVE_LOG10L 1
27195 _ACEOF
27196
27197 fi
27198 done
27199
27200   else
27201
27202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27203 $as_echo_n "checking for _log10l declaration... " >&6; }
27204   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27205     if ${glibcxx_cv_func__log10l_use+:} false; then :
27206   $as_echo_n "(cached) " >&6
27207 else
27208
27209
27210       ac_ext=cpp
27211 ac_cpp='$CXXCPP $CPPFLAGS'
27212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27215
27216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27217 /* end confdefs.h.  */
27218 #include <math.h>
27219                       #ifdef HAVE_IEEEFP_H
27220                       #include <ieeefp.h>
27221                       #endif
27222
27223 int
27224 main ()
27225 {
27226  _log10l(0);
27227   ;
27228   return 0;
27229 }
27230 _ACEOF
27231 if ac_fn_cxx_try_compile "$LINENO"; then :
27232   glibcxx_cv_func__log10l_use=yes
27233 else
27234   glibcxx_cv_func__log10l_use=no
27235 fi
27236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27237       ac_ext=c
27238 ac_cpp='$CPP $CPPFLAGS'
27239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27242
27243
27244 fi
27245
27246   fi
27247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27248 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27249
27250     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27251       for ac_func in _log10l
27252 do :
27253   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27254 if test "x$ac_cv_func__log10l" = xyes; then :
27255   cat >>confdefs.h <<_ACEOF
27256 #define HAVE__LOG10L 1
27257 _ACEOF
27258
27259 fi
27260 done
27261
27262     fi
27263   fi
27264
27265
27266
27267
27268
27269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27270 $as_echo_n "checking for modfl declaration... " >&6; }
27271   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27272     if ${glibcxx_cv_func_modfl_use+:} false; then :
27273   $as_echo_n "(cached) " >&6
27274 else
27275
27276
27277       ac_ext=cpp
27278 ac_cpp='$CXXCPP $CPPFLAGS'
27279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27282
27283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27284 /* end confdefs.h.  */
27285 #include <math.h>
27286 int
27287 main ()
27288 {
27289  modfl(0, 0);
27290   ;
27291   return 0;
27292 }
27293 _ACEOF
27294 if ac_fn_cxx_try_compile "$LINENO"; then :
27295   glibcxx_cv_func_modfl_use=yes
27296 else
27297   glibcxx_cv_func_modfl_use=no
27298 fi
27299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27300       ac_ext=c
27301 ac_cpp='$CPP $CPPFLAGS'
27302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27305
27306
27307 fi
27308
27309   fi
27310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27311 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27312
27313   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27314     for ac_func in modfl
27315 do :
27316   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27317 if test "x$ac_cv_func_modfl" = xyes; then :
27318   cat >>confdefs.h <<_ACEOF
27319 #define HAVE_MODFL 1
27320 _ACEOF
27321
27322 fi
27323 done
27324
27325   else
27326
27327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27328 $as_echo_n "checking for _modfl declaration... " >&6; }
27329   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27330     if ${glibcxx_cv_func__modfl_use+:} false; then :
27331   $as_echo_n "(cached) " >&6
27332 else
27333
27334
27335       ac_ext=cpp
27336 ac_cpp='$CXXCPP $CPPFLAGS'
27337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27340
27341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27342 /* end confdefs.h.  */
27343 #include <math.h>
27344 int
27345 main ()
27346 {
27347  _modfl(0, 0);
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 if ac_fn_cxx_try_compile "$LINENO"; then :
27353   glibcxx_cv_func__modfl_use=yes
27354 else
27355   glibcxx_cv_func__modfl_use=no
27356 fi
27357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27358       ac_ext=c
27359 ac_cpp='$CPP $CPPFLAGS'
27360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27363
27364
27365 fi
27366
27367   fi
27368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27369 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27370
27371     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27372       for ac_func in _modfl
27373 do :
27374   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27375 if test "x$ac_cv_func__modfl" = xyes; then :
27376   cat >>confdefs.h <<_ACEOF
27377 #define HAVE__MODFL 1
27378 _ACEOF
27379
27380 fi
27381 done
27382
27383     fi
27384   fi
27385
27386
27387
27388
27389
27390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27391 $as_echo_n "checking for powl declaration... " >&6; }
27392   if test x${glibcxx_cv_func_powl_use+set} != xset; then
27393     if ${glibcxx_cv_func_powl_use+:} false; then :
27394   $as_echo_n "(cached) " >&6
27395 else
27396
27397
27398       ac_ext=cpp
27399 ac_cpp='$CXXCPP $CPPFLAGS'
27400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27403
27404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27405 /* end confdefs.h.  */
27406 #include <math.h>
27407 int
27408 main ()
27409 {
27410  powl(0, 0);
27411   ;
27412   return 0;
27413 }
27414 _ACEOF
27415 if ac_fn_cxx_try_compile "$LINENO"; then :
27416   glibcxx_cv_func_powl_use=yes
27417 else
27418   glibcxx_cv_func_powl_use=no
27419 fi
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27421       ac_ext=c
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27426
27427
27428 fi
27429
27430   fi
27431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27432 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27433
27434   if test x$glibcxx_cv_func_powl_use = x"yes"; then
27435     for ac_func in powl
27436 do :
27437   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27438 if test "x$ac_cv_func_powl" = xyes; then :
27439   cat >>confdefs.h <<_ACEOF
27440 #define HAVE_POWL 1
27441 _ACEOF
27442
27443 fi
27444 done
27445
27446   else
27447
27448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27449 $as_echo_n "checking for _powl declaration... " >&6; }
27450   if test x${glibcxx_cv_func__powl_use+set} != xset; then
27451     if ${glibcxx_cv_func__powl_use+:} false; then :
27452   $as_echo_n "(cached) " >&6
27453 else
27454
27455
27456       ac_ext=cpp
27457 ac_cpp='$CXXCPP $CPPFLAGS'
27458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27461
27462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27463 /* end confdefs.h.  */
27464 #include <math.h>
27465 int
27466 main ()
27467 {
27468  _powl(0, 0);
27469   ;
27470   return 0;
27471 }
27472 _ACEOF
27473 if ac_fn_cxx_try_compile "$LINENO"; then :
27474   glibcxx_cv_func__powl_use=yes
27475 else
27476   glibcxx_cv_func__powl_use=no
27477 fi
27478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27479       ac_ext=c
27480 ac_cpp='$CPP $CPPFLAGS'
27481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27484
27485
27486 fi
27487
27488   fi
27489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27490 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27491
27492     if test x$glibcxx_cv_func__powl_use = x"yes"; then
27493       for ac_func in _powl
27494 do :
27495   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27496 if test "x$ac_cv_func__powl" = xyes; then :
27497   cat >>confdefs.h <<_ACEOF
27498 #define HAVE__POWL 1
27499 _ACEOF
27500
27501 fi
27502 done
27503
27504     fi
27505   fi
27506
27507
27508
27509
27510
27511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27512 $as_echo_n "checking for sqrtl declaration... " >&6; }
27513   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27514     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27515   $as_echo_n "(cached) " >&6
27516 else
27517
27518
27519       ac_ext=cpp
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27524
27525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h.  */
27527 #include <math.h>
27528                       #ifdef HAVE_IEEEFP_H
27529                       #include <ieeefp.h>
27530                       #endif
27531
27532 int
27533 main ()
27534 {
27535  sqrtl(0);
27536   ;
27537   return 0;
27538 }
27539 _ACEOF
27540 if ac_fn_cxx_try_compile "$LINENO"; then :
27541   glibcxx_cv_func_sqrtl_use=yes
27542 else
27543   glibcxx_cv_func_sqrtl_use=no
27544 fi
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27546       ac_ext=c
27547 ac_cpp='$CPP $CPPFLAGS'
27548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27551
27552
27553 fi
27554
27555   fi
27556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27557 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27558
27559   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27560     for ac_func in sqrtl
27561 do :
27562   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27563 if test "x$ac_cv_func_sqrtl" = xyes; then :
27564   cat >>confdefs.h <<_ACEOF
27565 #define HAVE_SQRTL 1
27566 _ACEOF
27567
27568 fi
27569 done
27570
27571   else
27572
27573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27574 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27575   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27576     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27577   $as_echo_n "(cached) " >&6
27578 else
27579
27580
27581       ac_ext=cpp
27582 ac_cpp='$CXXCPP $CPPFLAGS'
27583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586
27587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h.  */
27589 #include <math.h>
27590                       #ifdef HAVE_IEEEFP_H
27591                       #include <ieeefp.h>
27592                       #endif
27593
27594 int
27595 main ()
27596 {
27597  _sqrtl(0);
27598   ;
27599   return 0;
27600 }
27601 _ACEOF
27602 if ac_fn_cxx_try_compile "$LINENO"; then :
27603   glibcxx_cv_func__sqrtl_use=yes
27604 else
27605   glibcxx_cv_func__sqrtl_use=no
27606 fi
27607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27608       ac_ext=c
27609 ac_cpp='$CPP $CPPFLAGS'
27610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613
27614
27615 fi
27616
27617   fi
27618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27619 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27620
27621     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27622       for ac_func in _sqrtl
27623 do :
27624   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27625 if test "x$ac_cv_func__sqrtl" = xyes; then :
27626   cat >>confdefs.h <<_ACEOF
27627 #define HAVE__SQRTL 1
27628 _ACEOF
27629
27630 fi
27631 done
27632
27633     fi
27634   fi
27635
27636
27637
27638
27639
27640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27641 $as_echo_n "checking for sincosl declaration... " >&6; }
27642   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27643     if ${glibcxx_cv_func_sincosl_use+:} false; then :
27644   $as_echo_n "(cached) " >&6
27645 else
27646
27647
27648       ac_ext=cpp
27649 ac_cpp='$CXXCPP $CPPFLAGS'
27650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27653
27654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27655 /* end confdefs.h.  */
27656 #include <math.h>
27657 int
27658 main ()
27659 {
27660  sincosl(0, 0, 0);
27661   ;
27662   return 0;
27663 }
27664 _ACEOF
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666   glibcxx_cv_func_sincosl_use=yes
27667 else
27668   glibcxx_cv_func_sincosl_use=no
27669 fi
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671       ac_ext=c
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27676
27677
27678 fi
27679
27680   fi
27681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27682 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27683
27684   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27685     for ac_func in sincosl
27686 do :
27687   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27688 if test "x$ac_cv_func_sincosl" = xyes; then :
27689   cat >>confdefs.h <<_ACEOF
27690 #define HAVE_SINCOSL 1
27691 _ACEOF
27692
27693 fi
27694 done
27695
27696   else
27697
27698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27699 $as_echo_n "checking for _sincosl declaration... " >&6; }
27700   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27701     if ${glibcxx_cv_func__sincosl_use+:} false; then :
27702   $as_echo_n "(cached) " >&6
27703 else
27704
27705
27706       ac_ext=cpp
27707 ac_cpp='$CXXCPP $CPPFLAGS'
27708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27711
27712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h.  */
27714 #include <math.h>
27715 int
27716 main ()
27717 {
27718  _sincosl(0, 0, 0);
27719   ;
27720   return 0;
27721 }
27722 _ACEOF
27723 if ac_fn_cxx_try_compile "$LINENO"; then :
27724   glibcxx_cv_func__sincosl_use=yes
27725 else
27726   glibcxx_cv_func__sincosl_use=no
27727 fi
27728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27729       ac_ext=c
27730 ac_cpp='$CPP $CPPFLAGS'
27731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27734
27735
27736 fi
27737
27738   fi
27739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27740 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27741
27742     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27743       for ac_func in _sincosl
27744 do :
27745   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27746 if test "x$ac_cv_func__sincosl" = xyes; then :
27747   cat >>confdefs.h <<_ACEOF
27748 #define HAVE__SINCOSL 1
27749 _ACEOF
27750
27751 fi
27752 done
27753
27754     fi
27755   fi
27756
27757
27758
27759
27760
27761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27762 $as_echo_n "checking for finitel declaration... " >&6; }
27763   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27764     if ${glibcxx_cv_func_finitel_use+:} false; then :
27765   $as_echo_n "(cached) " >&6
27766 else
27767
27768
27769       ac_ext=cpp
27770 ac_cpp='$CXXCPP $CPPFLAGS'
27771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27774
27775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27776 /* end confdefs.h.  */
27777 #include <math.h>
27778                       #ifdef HAVE_IEEEFP_H
27779                       #include <ieeefp.h>
27780                       #endif
27781
27782 int
27783 main ()
27784 {
27785  finitel(0);
27786   ;
27787   return 0;
27788 }
27789 _ACEOF
27790 if ac_fn_cxx_try_compile "$LINENO"; then :
27791   glibcxx_cv_func_finitel_use=yes
27792 else
27793   glibcxx_cv_func_finitel_use=no
27794 fi
27795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27796       ac_ext=c
27797 ac_cpp='$CPP $CPPFLAGS'
27798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27801
27802
27803 fi
27804
27805   fi
27806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27807 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27808
27809   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27810     for ac_func in finitel
27811 do :
27812   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27813 if test "x$ac_cv_func_finitel" = xyes; then :
27814   cat >>confdefs.h <<_ACEOF
27815 #define HAVE_FINITEL 1
27816 _ACEOF
27817
27818 fi
27819 done
27820
27821   else
27822
27823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27824 $as_echo_n "checking for _finitel declaration... " >&6; }
27825   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27826     if ${glibcxx_cv_func__finitel_use+:} false; then :
27827   $as_echo_n "(cached) " >&6
27828 else
27829
27830
27831       ac_ext=cpp
27832 ac_cpp='$CXXCPP $CPPFLAGS'
27833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27836
27837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27838 /* end confdefs.h.  */
27839 #include <math.h>
27840                       #ifdef HAVE_IEEEFP_H
27841                       #include <ieeefp.h>
27842                       #endif
27843
27844 int
27845 main ()
27846 {
27847  _finitel(0);
27848   ;
27849   return 0;
27850 }
27851 _ACEOF
27852 if ac_fn_cxx_try_compile "$LINENO"; then :
27853   glibcxx_cv_func__finitel_use=yes
27854 else
27855   glibcxx_cv_func__finitel_use=no
27856 fi
27857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27858       ac_ext=c
27859 ac_cpp='$CPP $CPPFLAGS'
27860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27863
27864
27865 fi
27866
27867   fi
27868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27869 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27870
27871     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27872       for ac_func in _finitel
27873 do :
27874   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27875 if test "x$ac_cv_func__finitel" = xyes; then :
27876   cat >>confdefs.h <<_ACEOF
27877 #define HAVE__FINITEL 1
27878 _ACEOF
27879
27880 fi
27881 done
27882
27883     fi
27884   fi
27885
27886
27887
27888
27889   LIBS="$ac_save_LIBS"
27890   CXXFLAGS="$ac_save_CXXFLAGS"
27891
27892
27893   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27894   ac_save_CXXFLAGS="$CXXFLAGS"
27895   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27896
27897
27898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27899 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27900   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27901     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27902   $as_echo_n "(cached) " >&6
27903 else
27904
27905
27906       ac_ext=cpp
27907 ac_cpp='$CXXCPP $CPPFLAGS'
27908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27911
27912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h.  */
27914 #include <stdlib.h>
27915 int
27916 main ()
27917 {
27918  at_quick_exit(0);
27919   ;
27920   return 0;
27921 }
27922 _ACEOF
27923 if ac_fn_cxx_try_compile "$LINENO"; then :
27924   glibcxx_cv_func_at_quick_exit_use=yes
27925 else
27926   glibcxx_cv_func_at_quick_exit_use=no
27927 fi
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929       ac_ext=c
27930 ac_cpp='$CPP $CPPFLAGS'
27931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27934
27935
27936 fi
27937
27938   fi
27939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27940 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27941   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27942     for ac_func in at_quick_exit
27943 do :
27944   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27945 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27946   cat >>confdefs.h <<_ACEOF
27947 #define HAVE_AT_QUICK_EXIT 1
27948 _ACEOF
27949
27950 fi
27951 done
27952
27953   fi
27954
27955
27956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27957 $as_echo_n "checking for quick_exit declaration... " >&6; }
27958   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27959     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27960   $as_echo_n "(cached) " >&6
27961 else
27962
27963
27964       ac_ext=cpp
27965 ac_cpp='$CXXCPP $CPPFLAGS'
27966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27969
27970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27971 /* end confdefs.h.  */
27972 #include <stdlib.h>
27973 int
27974 main ()
27975 {
27976  quick_exit(0);
27977   ;
27978   return 0;
27979 }
27980 _ACEOF
27981 if ac_fn_cxx_try_compile "$LINENO"; then :
27982   glibcxx_cv_func_quick_exit_use=yes
27983 else
27984   glibcxx_cv_func_quick_exit_use=no
27985 fi
27986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27987       ac_ext=c
27988 ac_cpp='$CPP $CPPFLAGS'
27989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27992
27993
27994 fi
27995
27996   fi
27997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27998 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27999   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28000     for ac_func in quick_exit
28001 do :
28002   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28003 if test "x$ac_cv_func_quick_exit" = xyes; then :
28004   cat >>confdefs.h <<_ACEOF
28005 #define HAVE_QUICK_EXIT 1
28006 _ACEOF
28007
28008 fi
28009 done
28010
28011   fi
28012
28013
28014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28015 $as_echo_n "checking for strtold declaration... " >&6; }
28016   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28017     if ${glibcxx_cv_func_strtold_use+:} false; then :
28018   $as_echo_n "(cached) " >&6
28019 else
28020
28021
28022       ac_ext=cpp
28023 ac_cpp='$CXXCPP $CPPFLAGS'
28024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28027
28028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28029 /* end confdefs.h.  */
28030 #include <stdlib.h>
28031 int
28032 main ()
28033 {
28034  strtold(0, 0);
28035   ;
28036   return 0;
28037 }
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040   glibcxx_cv_func_strtold_use=yes
28041 else
28042   glibcxx_cv_func_strtold_use=no
28043 fi
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045       ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050
28051
28052 fi
28053
28054   fi
28055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28056 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28057   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28058     for ac_func in strtold
28059 do :
28060   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28061 if test "x$ac_cv_func_strtold" = xyes; then :
28062   cat >>confdefs.h <<_ACEOF
28063 #define HAVE_STRTOLD 1
28064 _ACEOF
28065
28066 fi
28067 done
28068
28069   fi
28070
28071
28072
28073
28074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28075 $as_echo_n "checking for strtof declaration... " >&6; }
28076   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28077     if ${glibcxx_cv_func_strtof_use+:} false; then :
28078   $as_echo_n "(cached) " >&6
28079 else
28080
28081
28082       ac_ext=cpp
28083 ac_cpp='$CXXCPP $CPPFLAGS'
28084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28087
28088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28089 /* end confdefs.h.  */
28090 #include <stdlib.h>
28091 int
28092 main ()
28093 {
28094  strtof(0, 0);
28095   ;
28096   return 0;
28097 }
28098 _ACEOF
28099 if ac_fn_cxx_try_compile "$LINENO"; then :
28100   glibcxx_cv_func_strtof_use=yes
28101 else
28102   glibcxx_cv_func_strtof_use=no
28103 fi
28104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28105       ac_ext=c
28106 ac_cpp='$CPP $CPPFLAGS'
28107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110
28111
28112 fi
28113
28114   fi
28115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28116 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28117   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28118     for ac_func in strtof
28119 do :
28120   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28121 if test "x$ac_cv_func_strtof" = xyes; then :
28122   cat >>confdefs.h <<_ACEOF
28123 #define HAVE_STRTOF 1
28124 _ACEOF
28125
28126 fi
28127 done
28128
28129   fi
28130
28131
28132
28133
28134   CXXFLAGS="$ac_save_CXXFLAGS"
28135
28136
28137   # For /dev/random and /dev/urandom for std::random_device.
28138
28139
28140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28141 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28142 if ${glibcxx_cv_dev_random+:} false; then :
28143   $as_echo_n "(cached) " >&6
28144 else
28145
28146     if test -r /dev/random && test -r /dev/urandom; then
28147   ## For MSys environment the test above is detected as false-positive
28148   ## on mingw-targets.  So disable it explicitly for them.
28149       case ${target_os} in
28150         *mingw*) glibcxx_cv_dev_random=no ;;
28151         *) glibcxx_cv_dev_random=yes ;;
28152       esac
28153     else
28154       glibcxx_cv_dev_random=no;
28155     fi
28156
28157 fi
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28159 $as_echo "$glibcxx_cv_dev_random" >&6; }
28160
28161   if test x"$glibcxx_cv_dev_random" = x"yes"; then
28162
28163 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28164
28165
28166 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28167
28168   fi
28169
28170
28171
28172   # For TLS support.
28173
28174
28175    # Check whether --enable-tls was given.
28176 if test "${enable_tls+set}" = set; then :
28177   enableval=$enable_tls;
28178       case "$enableval" in
28179        yes|no) ;;
28180        *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28181       esac
28182
28183 else
28184   enable_tls=yes
28185 fi
28186
28187
28188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28189 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28190 if ${gcc_cv_have_tls+:} false; then :
28191   $as_echo_n "(cached) " >&6
28192 else
28193
28194     if test "$cross_compiling" = yes; then :
28195                 if test x$gcc_no_link = xyes; then
28196   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28197 fi
28198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28199 /* end confdefs.h.  */
28200 __thread int a; int b; int main() { return a = b; }
28201 _ACEOF
28202 if ac_fn_c_try_link "$LINENO"; then :
28203   chktls_save_LDFLAGS="$LDFLAGS"
28204                           case $host in
28205             *-*-linux* | -*-uclinuxfdpic*)
28206               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28207               ;;
28208           esac
28209           chktls_save_CFLAGS="$CFLAGS"
28210           CFLAGS="-fPIC $CFLAGS"
28211                   if test x$gcc_no_link = xyes; then
28212   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28213 fi
28214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28215 /* end confdefs.h.  */
28216 int f() { return 0; }
28217 _ACEOF
28218 if ac_fn_c_try_link "$LINENO"; then :
28219   if test x$gcc_no_link = xyes; then
28220   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28221 fi
28222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28223 /* end confdefs.h.  */
28224 __thread int a; int b; int f() { return a = b; }
28225 _ACEOF
28226 if ac_fn_c_try_link "$LINENO"; then :
28227   gcc_cv_have_tls=yes
28228 else
28229   gcc_cv_have_tls=no
28230 fi
28231 rm -f core conftest.err conftest.$ac_objext \
28232     conftest$ac_exeext conftest.$ac_ext
28233 else
28234   gcc_cv_have_tls=yes
28235 fi
28236 rm -f core conftest.err conftest.$ac_objext \
28237     conftest$ac_exeext conftest.$ac_ext
28238           CFLAGS="$chktls_save_CFLAGS"
28239           LDFLAGS="$chktls_save_LDFLAGS"
28240 else
28241   gcc_cv_have_tls=no
28242 fi
28243 rm -f core conftest.err conftest.$ac_objext \
28244     conftest$ac_exeext conftest.$ac_ext
28245
28246
28247 else
28248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28249 /* end confdefs.h.  */
28250 __thread int a; int b; int main() { return a = b; }
28251 _ACEOF
28252 if ac_fn_c_try_run "$LINENO"; then :
28253                       chktls_save_LDFLAGS="$LDFLAGS"
28254       LDFLAGS="-static $LDFLAGS"
28255       if test x$gcc_no_link = xyes; then
28256   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28257 fi
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h.  */
28260 int main() { return 0; }
28261 _ACEOF
28262 if ac_fn_c_try_link "$LINENO"; then :
28263   if test "$cross_compiling" = yes; then :
28264   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28266 as_fn_error $? "cannot run test program while cross compiling
28267 See \`config.log' for more details" "$LINENO" 5; }
28268 else
28269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28270 /* end confdefs.h.  */
28271 __thread int a; int b; int main() { return a = b; }
28272 _ACEOF
28273 if ac_fn_c_try_run "$LINENO"; then :
28274   gcc_cv_have_tls=yes
28275 else
28276   gcc_cv_have_tls=no
28277 fi
28278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28279   conftest.$ac_objext conftest.beam conftest.$ac_ext
28280 fi
28281
28282 else
28283   gcc_cv_have_tls=yes
28284 fi
28285 rm -f core conftest.err conftest.$ac_objext \
28286     conftest$ac_exeext conftest.$ac_ext
28287       LDFLAGS="$chktls_save_LDFLAGS"
28288       if test $gcc_cv_have_tls = yes; then
28289                                                 chktls_save_CFLAGS="$CFLAGS"
28290         thread_CFLAGS=failed
28291         for flag in '' '-pthread' '-lpthread'; do
28292           CFLAGS="$flag $chktls_save_CFLAGS"
28293           if test x$gcc_no_link = xyes; then
28294   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28295 fi
28296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h.  */
28298 #include <pthread.h>
28299                 void *g(void *d) { return NULL; }
28300 int
28301 main ()
28302 {
28303 pthread_t t; pthread_create(&t,NULL,g,NULL);
28304   ;
28305   return 0;
28306 }
28307 _ACEOF
28308 if ac_fn_c_try_link "$LINENO"; then :
28309   thread_CFLAGS="$flag"
28310 fi
28311 rm -f core conftest.err conftest.$ac_objext \
28312     conftest$ac_exeext conftest.$ac_ext
28313           if test "X$thread_CFLAGS" != Xfailed; then
28314             break
28315           fi
28316         done
28317         CFLAGS="$chktls_save_CFLAGS"
28318         if test "X$thread_CFLAGS" != Xfailed; then
28319           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28320                                                   if test "$cross_compiling" = yes; then :
28321   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28323 as_fn_error $? "cannot run test program while cross compiling
28324 See \`config.log' for more details" "$LINENO" 5; }
28325 else
28326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28327 /* end confdefs.h.  */
28328 #include <pthread.h>
28329                 __thread int a;
28330                 static int *volatile a_in_other_thread;
28331                 static void *
28332                 thread_func (void *arg)
28333                 {
28334                   a_in_other_thread = &a;
28335                   return (void *)0;
28336                 }
28337 int
28338 main ()
28339 {
28340 pthread_t thread;
28341                 void *thread_retval;
28342                 int *volatile a_in_main_thread;
28343                 a_in_main_thread = &a;
28344                 if (pthread_create (&thread, (pthread_attr_t *)0,
28345                                     thread_func, (void *)0))
28346                   return 0;
28347                 if (pthread_join (thread, &thread_retval))
28348                   return 0;
28349                 return (a_in_other_thread == a_in_main_thread);
28350   ;
28351   return 0;
28352 }
28353 _ACEOF
28354 if ac_fn_c_try_run "$LINENO"; then :
28355   gcc_cv_have_tls=yes
28356 else
28357   gcc_cv_have_tls=no
28358 fi
28359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28360   conftest.$ac_objext conftest.beam conftest.$ac_ext
28361 fi
28362
28363           CFLAGS="$chktls_save_CFLAGS"
28364         fi
28365       fi
28366 else
28367   gcc_cv_have_tls=no
28368 fi
28369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28370   conftest.$ac_objext conftest.beam conftest.$ac_ext
28371 fi
28372
28373 fi
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28375 $as_echo "$gcc_cv_have_tls" >&6; }
28376   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28377
28378 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28379
28380   fi
28381
28382   for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28383 do :
28384   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28387   cat >>confdefs.h <<_ACEOF
28388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28389 _ACEOF
28390
28391 fi
28392 done
28393
28394   for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28395 do :
28396   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28398 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28399   cat >>confdefs.h <<_ACEOF
28400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28401 _ACEOF
28402
28403 fi
28404 done
28405
28406   for ac_func in _wfopen
28407 do :
28408   ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28409 if test "x$ac_cv_func__wfopen" = xyes; then :
28410   cat >>confdefs.h <<_ACEOF
28411 #define HAVE__WFOPEN 1
28412 _ACEOF
28413
28414 fi
28415 done
28416
28417   for ac_func in secure_getenv
28418 do :
28419   ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28420 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28421   cat >>confdefs.h <<_ACEOF
28422 #define HAVE_SECURE_GETENV 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428
28429   # C11 functions for C++17 library
28430   for ac_func in timespec_get
28431 do :
28432   ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28433 if test "x$ac_cv_func_timespec_get" = xyes; then :
28434   cat >>confdefs.h <<_ACEOF
28435 #define HAVE_TIMESPEC_GET 1
28436 _ACEOF
28437
28438 fi
28439 done
28440
28441
28442   # For Networking TS.
28443   for ac_func in sockatmark
28444 do :
28445   ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28446 if test "x$ac_cv_func_sockatmark" = xyes; then :
28447   cat >>confdefs.h <<_ACEOF
28448 #define HAVE_SOCKATMARK 1
28449 _ACEOF
28450
28451 fi
28452 done
28453
28454
28455   # Non-standard functions used by C++17 std::from_chars
28456   for ac_func in uselocale
28457 do :
28458   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28459 if test "x$ac_cv_func_uselocale" = xyes; then :
28460   cat >>confdefs.h <<_ACEOF
28461 #define HAVE_USELOCALE 1
28462 _ACEOF
28463
28464 fi
28465 done
28466
28467
28468   # For iconv support.
28469
28470       if test "X$prefix" = "XNONE"; then
28471     acl_final_prefix="$ac_default_prefix"
28472   else
28473     acl_final_prefix="$prefix"
28474   fi
28475   if test "X$exec_prefix" = "XNONE"; then
28476     acl_final_exec_prefix='${prefix}'
28477   else
28478     acl_final_exec_prefix="$exec_prefix"
28479   fi
28480   acl_save_prefix="$prefix"
28481   prefix="$acl_final_prefix"
28482   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28483   prefix="$acl_save_prefix"
28484
28485
28486 # Check whether --with-gnu-ld was given.
28487 if test "${with_gnu_ld+set}" = set; then :
28488   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28489 else
28490   with_gnu_ld=no
28491 fi
28492
28493 # Prepare PATH_SEPARATOR.
28494 # The user is always right.
28495 if test "${PATH_SEPARATOR+set}" != set; then
28496   echo "#! /bin/sh" >conf$$.sh
28497   echo  "exit 0"   >>conf$$.sh
28498   chmod +x conf$$.sh
28499   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28500     PATH_SEPARATOR=';'
28501   else
28502     PATH_SEPARATOR=:
28503   fi
28504   rm -f conf$$.sh
28505 fi
28506 ac_prog=ld
28507 if test "$GCC" = yes; then
28508   # Check if gcc -print-prog-name=ld gives a path.
28509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28510 $as_echo_n "checking for ld used by GCC... " >&6; }
28511   case $host in
28512   *-*-mingw*)
28513     # gcc leaves a trailing carriage return which upsets mingw
28514     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28515   *)
28516     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28517   esac
28518   case $ac_prog in
28519     # Accept absolute paths.
28520     [\\/]* | [A-Za-z]:[\\/]*)
28521       re_direlt='/[^/][^/]*/\.\./'
28522       # Canonicalize the path of ld
28523       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28524       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28525         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28526       done
28527       test -z "$LD" && LD="$ac_prog"
28528       ;;
28529   "")
28530     # If it fails, then pretend we aren't using GCC.
28531     ac_prog=ld
28532     ;;
28533   *)
28534     # If it is relative, then search for the first ld in PATH.
28535     with_gnu_ld=unknown
28536     ;;
28537   esac
28538 elif test "$with_gnu_ld" = yes; then
28539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28540 $as_echo_n "checking for GNU ld... " >&6; }
28541 else
28542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28543 $as_echo_n "checking for non-GNU ld... " >&6; }
28544 fi
28545 if ${acl_cv_path_LD+:} false; then :
28546   $as_echo_n "(cached) " >&6
28547 else
28548   if test -z "$LD"; then
28549   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28550   for ac_dir in $PATH; do
28551     test -z "$ac_dir" && ac_dir=.
28552     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28553       acl_cv_path_LD="$ac_dir/$ac_prog"
28554       # Check to see if the program is GNU ld.  I'd rather use --version,
28555       # but apparently some GNU ld's only accept -v.
28556       # Break only if it was the GNU/non-GNU ld that we prefer.
28557       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28558         test "$with_gnu_ld" != no && break
28559       else
28560         test "$with_gnu_ld" != yes && break
28561       fi
28562     fi
28563   done
28564   IFS="$ac_save_ifs"
28565 else
28566   acl_cv_path_LD="$LD" # Let the user override the test with a path.
28567 fi
28568 fi
28569
28570 LD="$acl_cv_path_LD"
28571 if test -n "$LD"; then
28572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28573 $as_echo "$LD" >&6; }
28574 else
28575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28576 $as_echo "no" >&6; }
28577 fi
28578 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28580 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28581 if ${acl_cv_prog_gnu_ld+:} false; then :
28582   $as_echo_n "(cached) " >&6
28583 else
28584   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28585 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28586   acl_cv_prog_gnu_ld=yes
28587 else
28588   acl_cv_prog_gnu_ld=no
28589 fi
28590 fi
28591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28592 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28593 with_gnu_ld=$acl_cv_prog_gnu_ld
28594
28595
28596
28597                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28598 $as_echo_n "checking for shared library run path origin... " >&6; }
28599 if ${acl_cv_rpath+:} false; then :
28600   $as_echo_n "(cached) " >&6
28601 else
28602
28603     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28604     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28605     . ./conftest.sh
28606     rm -f ./conftest.sh
28607     acl_cv_rpath=done
28608
28609 fi
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28611 $as_echo "$acl_cv_rpath" >&6; }
28612   wl="$acl_cv_wl"
28613   libext="$acl_cv_libext"
28614   shlibext="$acl_cv_shlibext"
28615   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28616   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28617   hardcode_direct="$acl_cv_hardcode_direct"
28618   hardcode_minus_L="$acl_cv_hardcode_minus_L"
28619     # Check whether --enable-rpath was given.
28620 if test "${enable_rpath+set}" = set; then :
28621   enableval=$enable_rpath; :
28622 else
28623   enable_rpath=yes
28624 fi
28625
28626
28627
28628
28629
28630
28631
28632
28633     use_additional=yes
28634
28635   acl_save_prefix="$prefix"
28636   prefix="$acl_final_prefix"
28637   acl_save_exec_prefix="$exec_prefix"
28638   exec_prefix="$acl_final_exec_prefix"
28639
28640     eval additional_includedir=\"$includedir\"
28641     eval additional_libdir=\"$libdir\"
28642
28643   exec_prefix="$acl_save_exec_prefix"
28644   prefix="$acl_save_prefix"
28645
28646
28647 # Check whether --with-libiconv-prefix was given.
28648 if test "${with_libiconv_prefix+set}" = set; then :
28649   withval=$with_libiconv_prefix;
28650     if test "X$withval" = "Xno"; then
28651       use_additional=no
28652     else
28653       if test "X$withval" = "X"; then
28654
28655   acl_save_prefix="$prefix"
28656   prefix="$acl_final_prefix"
28657   acl_save_exec_prefix="$exec_prefix"
28658   exec_prefix="$acl_final_exec_prefix"
28659
28660           eval additional_includedir=\"$includedir\"
28661           eval additional_libdir=\"$libdir\"
28662
28663   exec_prefix="$acl_save_exec_prefix"
28664   prefix="$acl_save_prefix"
28665
28666       else
28667         additional_includedir="$withval/include"
28668         additional_libdir="$withval/lib"
28669       fi
28670     fi
28671
28672 fi
28673
28674
28675 # Check whether --with-libiconv-type was given.
28676 if test "${with_libiconv_type+set}" = set; then :
28677   withval=$with_libiconv_type;  with_libiconv_type=$withval
28678 else
28679    with_libiconv_type=auto
28680 fi
28681
28682   lib_type=`eval echo \$with_libiconv_type`
28683
28684       LIBICONV=
28685   LTLIBICONV=
28686   INCICONV=
28687   rpathdirs=
28688   ltrpathdirs=
28689   names_already_handled=
28690   names_next_round='iconv '
28691   while test -n "$names_next_round"; do
28692     names_this_round="$names_next_round"
28693     names_next_round=
28694     for name in $names_this_round; do
28695       already_handled=
28696       for n in $names_already_handled; do
28697         if test "$n" = "$name"; then
28698           already_handled=yes
28699           break
28700         fi
28701       done
28702       if test -z "$already_handled"; then
28703         names_already_handled="$names_already_handled $name"
28704                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28705         eval value=\"\$HAVE_LIB$uppername\"
28706         if test -n "$value"; then
28707           if test "$value" = yes; then
28708             eval value=\"\$LIB$uppername\"
28709             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28710             eval value=\"\$LTLIB$uppername\"
28711             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28712           else
28713                                     :
28714           fi
28715         else
28716                               found_dir=
28717           found_la=
28718           found_so=
28719           found_a=
28720           if test $use_additional = yes; then
28721             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28722               found_dir="$additional_libdir"
28723               found_so="$additional_libdir/lib$name.$shlibext"
28724               if test -f "$additional_libdir/lib$name.la"; then
28725                 found_la="$additional_libdir/lib$name.la"
28726               fi
28727             elif test x$lib_type != xshared; then
28728               if test -f "$additional_libdir/lib$name.$libext"; then
28729                 found_dir="$additional_libdir"
28730                 found_a="$additional_libdir/lib$name.$libext"
28731                 if test -f "$additional_libdir/lib$name.la"; then
28732                   found_la="$additional_libdir/lib$name.la"
28733                 fi
28734               fi
28735             fi
28736           fi
28737           if test "X$found_dir" = "X"; then
28738             for x in $LDFLAGS $LTLIBICONV; do
28739
28740   acl_save_prefix="$prefix"
28741   prefix="$acl_final_prefix"
28742   acl_save_exec_prefix="$exec_prefix"
28743   exec_prefix="$acl_final_exec_prefix"
28744   eval x=\"$x\"
28745   exec_prefix="$acl_save_exec_prefix"
28746   prefix="$acl_save_prefix"
28747
28748               case "$x" in
28749                 -L*)
28750                   dir=`echo "X$x" | sed -e 's/^X-L//'`
28751                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28752                     found_dir="$dir"
28753                     found_so="$dir/lib$name.$shlibext"
28754                     if test -f "$dir/lib$name.la"; then
28755                       found_la="$dir/lib$name.la"
28756                     fi
28757                   elif test x$lib_type != xshared; then
28758                     if test -f "$dir/lib$name.$libext"; then
28759                       found_dir="$dir"
28760                       found_a="$dir/lib$name.$libext"
28761                       if test -f "$dir/lib$name.la"; then
28762                         found_la="$dir/lib$name.la"
28763                       fi
28764                     fi
28765                   fi
28766                   ;;
28767               esac
28768               if test "X$found_dir" != "X"; then
28769                 break
28770               fi
28771             done
28772           fi
28773           if test "X$found_dir" != "X"; then
28774                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28775             if test "X$found_so" != "X"; then
28776                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28777                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28778               else
28779                                                                                 haveit=
28780                 for x in $ltrpathdirs; do
28781                   if test "X$x" = "X$found_dir"; then
28782                     haveit=yes
28783                     break
28784                   fi
28785                 done
28786                 if test -z "$haveit"; then
28787                   ltrpathdirs="$ltrpathdirs $found_dir"
28788                 fi
28789                                 if test "$hardcode_direct" = yes; then
28790                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28791                 else
28792                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28793                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28794                                                             haveit=
28795                     for x in $rpathdirs; do
28796                       if test "X$x" = "X$found_dir"; then
28797                         haveit=yes
28798                         break
28799                       fi
28800                     done
28801                     if test -z "$haveit"; then
28802                       rpathdirs="$rpathdirs $found_dir"
28803                     fi
28804                   else
28805                                                                                 haveit=
28806                     for x in $LDFLAGS $LIBICONV; do
28807
28808   acl_save_prefix="$prefix"
28809   prefix="$acl_final_prefix"
28810   acl_save_exec_prefix="$exec_prefix"
28811   exec_prefix="$acl_final_exec_prefix"
28812   eval x=\"$x\"
28813   exec_prefix="$acl_save_exec_prefix"
28814   prefix="$acl_save_prefix"
28815
28816                       if test "X$x" = "X-L$found_dir"; then
28817                         haveit=yes
28818                         break
28819                       fi
28820                     done
28821                     if test -z "$haveit"; then
28822                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28823                     fi
28824                     if test "$hardcode_minus_L" != no; then
28825                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28826                     else
28827                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28828                     fi
28829                   fi
28830                 fi
28831               fi
28832             else
28833               if test "X$found_a" != "X"; then
28834                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28835               else
28836                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28837               fi
28838             fi
28839                         additional_includedir=
28840             case "$found_dir" in
28841               */lib | */lib/)
28842                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28843                 additional_includedir="$basedir/include"
28844                 ;;
28845             esac
28846             if test "X$additional_includedir" != "X"; then
28847                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
28848                 haveit=
28849                 if test "X$additional_includedir" = "X/usr/local/include"; then
28850                   if test -n "$GCC"; then
28851                     case $host_os in
28852                       linux*) haveit=yes;;
28853                     esac
28854                   fi
28855                 fi
28856                 if test -z "$haveit"; then
28857                   for x in $CPPFLAGS $INCICONV; do
28858
28859   acl_save_prefix="$prefix"
28860   prefix="$acl_final_prefix"
28861   acl_save_exec_prefix="$exec_prefix"
28862   exec_prefix="$acl_final_exec_prefix"
28863   eval x=\"$x\"
28864   exec_prefix="$acl_save_exec_prefix"
28865   prefix="$acl_save_prefix"
28866
28867                     if test "X$x" = "X-I$additional_includedir"; then
28868                       haveit=yes
28869                       break
28870                     fi
28871                   done
28872                   if test -z "$haveit"; then
28873                     if test -d "$additional_includedir"; then
28874                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28875                     fi
28876                   fi
28877                 fi
28878               fi
28879             fi
28880                         if test -n "$found_la"; then
28881                                                         save_libdir="$libdir"
28882               case "$found_la" in
28883                 */* | *\\*) . "$found_la" ;;
28884                 *) . "./$found_la" ;;
28885               esac
28886               libdir="$save_libdir"
28887                             for dep in $dependency_libs; do
28888                 case "$dep" in
28889                   -L*)
28890                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28891                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
28892                       haveit=
28893                       if test "X$additional_libdir" = "X/usr/local/lib"; then
28894                         if test -n "$GCC"; then
28895                           case $host_os in
28896                             linux*) haveit=yes;;
28897                           esac
28898                         fi
28899                       fi
28900                       if test -z "$haveit"; then
28901                         haveit=
28902                         for x in $LDFLAGS $LIBICONV; do
28903
28904   acl_save_prefix="$prefix"
28905   prefix="$acl_final_prefix"
28906   acl_save_exec_prefix="$exec_prefix"
28907   exec_prefix="$acl_final_exec_prefix"
28908   eval x=\"$x\"
28909   exec_prefix="$acl_save_exec_prefix"
28910   prefix="$acl_save_prefix"
28911
28912                           if test "X$x" = "X-L$additional_libdir"; then
28913                             haveit=yes
28914                             break
28915                           fi
28916                         done
28917                         if test -z "$haveit"; then
28918                           if test -d "$additional_libdir"; then
28919                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28920                           fi
28921                         fi
28922                         haveit=
28923                         for x in $LDFLAGS $LTLIBICONV; do
28924
28925   acl_save_prefix="$prefix"
28926   prefix="$acl_final_prefix"
28927   acl_save_exec_prefix="$exec_prefix"
28928   exec_prefix="$acl_final_exec_prefix"
28929   eval x=\"$x\"
28930   exec_prefix="$acl_save_exec_prefix"
28931   prefix="$acl_save_prefix"
28932
28933                           if test "X$x" = "X-L$additional_libdir"; then
28934                             haveit=yes
28935                             break
28936                           fi
28937                         done
28938                         if test -z "$haveit"; then
28939                           if test -d "$additional_libdir"; then
28940                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28941                           fi
28942                         fi
28943                       fi
28944                     fi
28945                     ;;
28946                   -R*)
28947                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
28948                     if test "$enable_rpath" != no; then
28949                                                                   haveit=
28950                       for x in $rpathdirs; do
28951                         if test "X$x" = "X$dir"; then
28952                           haveit=yes
28953                           break
28954                         fi
28955                       done
28956                       if test -z "$haveit"; then
28957                         rpathdirs="$rpathdirs $dir"
28958                       fi
28959                                                                   haveit=
28960                       for x in $ltrpathdirs; do
28961                         if test "X$x" = "X$dir"; then
28962                           haveit=yes
28963                           break
28964                         fi
28965                       done
28966                       if test -z "$haveit"; then
28967                         ltrpathdirs="$ltrpathdirs $dir"
28968                       fi
28969                     fi
28970                     ;;
28971                   -l*)
28972                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28973                     ;;
28974                   *.la)
28975                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28976                     ;;
28977                   *)
28978                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28979                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28980                     ;;
28981                 esac
28982               done
28983             fi
28984           else
28985                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28986               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28987               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28988             else
28989               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28990               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28991             fi
28992           fi
28993         fi
28994       fi
28995     done
28996   done
28997   if test "X$rpathdirs" != "X"; then
28998     if test -n "$hardcode_libdir_separator"; then
28999                         alldirs=
29000       for found_dir in $rpathdirs; do
29001         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29002       done
29003             acl_save_libdir="$libdir"
29004       libdir="$alldirs"
29005       eval flag=\"$hardcode_libdir_flag_spec\"
29006       libdir="$acl_save_libdir"
29007       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29008     else
29009             for found_dir in $rpathdirs; do
29010         acl_save_libdir="$libdir"
29011         libdir="$found_dir"
29012         eval flag=\"$hardcode_libdir_flag_spec\"
29013         libdir="$acl_save_libdir"
29014         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29015       done
29016     fi
29017   fi
29018   if test "X$ltrpathdirs" != "X"; then
29019             for found_dir in $ltrpathdirs; do
29020       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29021     done
29022   fi
29023
29024
29025
29026
29027
29028
29029
29030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29031 $as_echo_n "checking for iconv... " >&6; }
29032 if ${am_cv_func_iconv+:} false; then :
29033   $as_echo_n "(cached) " >&6
29034 else
29035
29036     am_cv_func_iconv="no, consider installing GNU libiconv"
29037     am_cv_lib_iconv=no
29038                     am_save_CPPFLAGS="$CPPFLAGS"
29039     CPPFLAGS="$CPPFLAGS $INCICONV"
29040     if test x$gcc_no_link = xyes; then
29041   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29042 fi
29043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h.  */
29045 #include <stdlib.h>
29046 #include <iconv.h>
29047 int
29048 main ()
29049 {
29050 iconv_t cd = iconv_open("","");
29051        iconv(cd,NULL,NULL,NULL,NULL);
29052        iconv_close(cd);
29053   ;
29054   return 0;
29055 }
29056 _ACEOF
29057 if ac_fn_c_try_link "$LINENO"; then :
29058   am_cv_func_iconv=yes
29059 fi
29060 rm -f core conftest.err conftest.$ac_objext \
29061     conftest$ac_exeext conftest.$ac_ext
29062     CPPFLAGS="$am_save_CPPFLAGS"
29063
29064     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29065       for _libs in .libs _libs; do
29066         am_save_CPPFLAGS="$CPPFLAGS"
29067         am_save_LIBS="$LIBS"
29068         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29069         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29070         if test x$gcc_no_link = xyes; then
29071   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29072 fi
29073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29074 /* end confdefs.h.  */
29075 #include <stdlib.h>
29076 #include <iconv.h>
29077 int
29078 main ()
29079 {
29080 iconv_t cd = iconv_open("","");
29081            iconv(cd,NULL,NULL,NULL,NULL);
29082            iconv_close(cd);
29083   ;
29084   return 0;
29085 }
29086 _ACEOF
29087 if ac_fn_c_try_link "$LINENO"; then :
29088   INCICONV="-I../libiconv/include"
29089           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29090           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29091           am_cv_lib_iconv=yes
29092           am_cv_func_iconv=yes
29093 fi
29094 rm -f core conftest.err conftest.$ac_objext \
29095     conftest$ac_exeext conftest.$ac_ext
29096         CPPFLAGS="$am_save_CPPFLAGS"
29097         LIBS="$am_save_LIBS"
29098         if test "$am_cv_func_iconv" = "yes"; then
29099           break
29100         fi
29101       done
29102     fi
29103
29104     if test "$am_cv_func_iconv" != yes; then
29105       am_save_CPPFLAGS="$CPPFLAGS"
29106       am_save_LIBS="$LIBS"
29107       CPPFLAGS="$CPPFLAGS $INCICONV"
29108       LIBS="$LIBS $LIBICONV"
29109       if test x$gcc_no_link = xyes; then
29110   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29111 fi
29112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29113 /* end confdefs.h.  */
29114 #include <stdlib.h>
29115 #include <iconv.h>
29116 int
29117 main ()
29118 {
29119 iconv_t cd = iconv_open("","");
29120          iconv(cd,NULL,NULL,NULL,NULL);
29121          iconv_close(cd);
29122   ;
29123   return 0;
29124 }
29125 _ACEOF
29126 if ac_fn_c_try_link "$LINENO"; then :
29127   am_cv_lib_iconv=yes
29128         am_cv_func_iconv=yes
29129 fi
29130 rm -f core conftest.err conftest.$ac_objext \
29131     conftest$ac_exeext conftest.$ac_ext
29132       CPPFLAGS="$am_save_CPPFLAGS"
29133       LIBS="$am_save_LIBS"
29134     fi
29135
29136 fi
29137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29138 $as_echo "$am_cv_func_iconv" >&6; }
29139   if test "$am_cv_func_iconv" = yes; then
29140
29141 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29142
29143   fi
29144   if test "$am_cv_lib_iconv" = yes; then
29145
29146   for element in $INCICONV; do
29147     haveit=
29148     for x in $CPPFLAGS; do
29149
29150   acl_save_prefix="$prefix"
29151   prefix="$acl_final_prefix"
29152   acl_save_exec_prefix="$exec_prefix"
29153   exec_prefix="$acl_final_exec_prefix"
29154   eval x=\"$x\"
29155   exec_prefix="$acl_save_exec_prefix"
29156   prefix="$acl_save_prefix"
29157
29158       if test "X$x" = "X$element"; then
29159         haveit=yes
29160         break
29161       fi
29162     done
29163     if test -z "$haveit"; then
29164       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29165     fi
29166   done
29167
29168     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29169 $as_echo_n "checking how to link with libiconv... " >&6; }
29170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29171 $as_echo "$LIBICONV" >&6; }
29172   else
29173     LIBICONV=
29174     LTLIBICONV=
29175   fi
29176
29177
29178
29179   if test "$am_cv_func_iconv" = yes; then
29180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29181 $as_echo_n "checking for iconv declaration... " >&6; }
29182     if ${am_cv_proto_iconv+:} false; then :
29183   $as_echo_n "(cached) " >&6
29184 else
29185
29186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h.  */
29188
29189 #include <stdlib.h>
29190 #include <iconv.h>
29191 extern
29192 #ifdef __cplusplus
29193 "C"
29194 #endif
29195 #if defined(__STDC__) || defined(__cplusplus)
29196 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29197 #else
29198 size_t iconv();
29199 #endif
29200
29201 int
29202 main ()
29203 {
29204
29205   ;
29206   return 0;
29207 }
29208 _ACEOF
29209 if ac_fn_c_try_compile "$LINENO"; then :
29210   am_cv_proto_iconv_arg1=""
29211 else
29212   am_cv_proto_iconv_arg1="const"
29213 fi
29214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29215       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);"
29216 fi
29217
29218     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29220          }$am_cv_proto_iconv" >&5
29221 $as_echo "${ac_t:-
29222          }$am_cv_proto_iconv" >&6; }
29223
29224 cat >>confdefs.h <<_ACEOF
29225 #define ICONV_CONST $am_cv_proto_iconv_arg1
29226 _ACEOF
29227
29228   fi
29229
29230
29231 else
29232
29233   # This lets us hard-code the functionality we know we'll have in the cross
29234   # target environment.  "Let" is a sugar-coated word placed on an especially
29235   # dull and tedious hack, actually.
29236   #
29237   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29238   # that involve linking, can't be used:
29239   #    "cannot open sim-crt0.o"
29240   #    "cannot open crt0.o"
29241   # etc.  All this is because there currently exists no unified, consistent
29242   # way for top level CC information to be passed down to target directories:
29243   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29244   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29245   # crosses can be removed.
29246
29247   # If Canadian cross, then don't pick up tools from the build directory.
29248   # Used only in GLIBCXX_EXPORT_INCLUDES.
29249   if test -n "$with_cross_host" &&
29250      test x"$build_alias" != x"$with_cross_host" &&
29251      test x"$build" != x"$target";
29252   then
29253     CANADIAN=yes
29254   else
29255     CANADIAN=no
29256   fi
29257
29258   # Construct crosses by hand, eliminating bits that need ld...
29259   # GLIBCXX_CHECK_MATH_SUPPORT
29260
29261   # First, test for "known" system libraries.  We may be using newlib even
29262   # on a hosted environment.
29263   if test "x${with_newlib}" = "xyes"; then
29264     os_include_dir="os/newlib"
29265     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29266
29267
29268     # GLIBCXX_CHECK_STDLIB_SUPPORT
29269     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29270
29271
29272     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29273
29274     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29275
29276     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29277
29278     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29279
29280     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29281
29282     $as_echo "#define HAVE_COSF 1" >>confdefs.h
29283
29284     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29285
29286     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29287
29288     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29289
29290     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29291
29292     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29293
29294     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29295
29296     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29297
29298     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29299
29300     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29301
29302     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29303
29304     $as_echo "#define HAVE_POWF 1" >>confdefs.h
29305
29306     $as_echo "#define HAVE_SINF 1" >>confdefs.h
29307
29308     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29309
29310     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29311
29312     $as_echo "#define HAVE_TANF 1" >>confdefs.h
29313
29314     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29315
29316
29317     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29318
29319     $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29320
29321
29322     case "${target}" in
29323       *-rtems*)
29324         case "${target}" in
29325           bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29326             ;;
29327           *)
29328             $as_echo "#define HAVE_TLS 1" >>confdefs.h
29329
29330             ;;
29331         esac
29332         $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29333
29334         $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29335
29336         $as_echo "#define HAVE_LINK 1" >>confdefs.h
29337
29338         $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29339
29340         $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29341
29342         $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29343
29344         $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29345
29346         $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29347
29348         $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29349
29350         $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29351
29352         $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29353
29354         $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29355
29356         ;;
29357     esac
29358   elif test "x$with_headers" != "xno"; then
29359
29360 # Base decisions on target environment.
29361 case "${host}" in
29362   arm*-*-symbianelf*)
29363     # This is a freestanding configuration; there is nothing to do here.
29364     ;;
29365
29366   avr*-*-*)
29367     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29368
29369     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29370
29371     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29372
29373     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29374
29375     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29376
29377     $as_echo "#define HAVE_COSF 1" >>confdefs.h
29378
29379     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29380
29381     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29382
29383     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29384
29385     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29386
29387     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29388
29389     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29390
29391     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29392
29393     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29394
29395     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29396
29397     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29398
29399     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29400
29401     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29402
29403     $as_echo "#define HAVE_POWF 1" >>confdefs.h
29404
29405     $as_echo "#define HAVE_SINF 1" >>confdefs.h
29406
29407     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29408
29409     $as_echo "#define HAVE_TANF 1" >>confdefs.h
29410
29411     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29412
29413     ;;
29414
29415   mips*-sde-elf*)
29416     # These definitions are for the SDE C library rather than newlib.
29417     SECTION_FLAGS='-ffunction-sections -fdata-sections'
29418
29419
29420   # All these tests are for C++; save the language and the compiler flags.
29421   # The CXXFLAGS thing is suspicious, but based on similar bits previously
29422   # found in GLIBCXX_CONFIGURE.
29423
29424   ac_ext=cpp
29425 ac_cpp='$CXXCPP $CPPFLAGS'
29426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29429
29430   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29431   ac_save_CXXFLAGS="$CXXFLAGS"
29432
29433   # Check for -ffunction-sections -fdata-sections
29434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29435 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29436   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29438 /* end confdefs.h.  */
29439 int foo; void bar() { };
29440 int
29441 main ()
29442 {
29443
29444   ;
29445   return 0;
29446 }
29447 _ACEOF
29448 if ac_fn_cxx_try_compile "$LINENO"; then :
29449   ac_fdsections=yes
29450 else
29451   ac_fdsections=no
29452 fi
29453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29454   if test "$ac_test_CXXFLAGS" = set; then
29455     CXXFLAGS="$ac_save_CXXFLAGS"
29456   else
29457     # this is the suspicious part
29458     CXXFLAGS=''
29459   fi
29460   if test x"$ac_fdsections" = x"yes"; then
29461     SECTION_FLAGS='-ffunction-sections -fdata-sections'
29462   fi
29463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29464 $as_echo "$ac_fdsections" >&6; }
29465
29466   ac_ext=c
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29471
29472
29473
29474
29475   # If we're not using GNU ld, then there's no point in even trying these
29476   # tests.  Check for that first.  We should have already tested for gld
29477   # by now (in libtool), but require it now just to be safe...
29478   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29479   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29480
29481
29482
29483   # The name set by libtool depends on the version of libtool.  Shame on us
29484   # for depending on an impl detail, but c'est la vie.  Older versions used
29485   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29486   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29487   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29488   # set (hence we're using an older libtool), then set it.
29489   if test x${with_gnu_ld+set} != xset; then
29490     if test x${ac_cv_prog_gnu_ld+set} != xset; then
29491       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29492       with_gnu_ld=no
29493     else
29494       with_gnu_ld=$ac_cv_prog_gnu_ld
29495     fi
29496   fi
29497
29498   # Start by getting the version number.  I think the libtool test already
29499   # does some of this, but throws away the result.
29500   glibcxx_ld_is_gold=no
29501   glibcxx_ld_is_mold=no
29502   if test x"$with_gnu_ld" = x"yes"; then
29503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29504 $as_echo_n "checking for ld version... " >&6; }
29505
29506     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29507       glibcxx_ld_is_gold=yes
29508     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29509       glibcxx_ld_is_mold=yes
29510     fi
29511     ldver=`$LD --version 2>/dev/null |
29512            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29513
29514     glibcxx_gnu_ld_version=`echo $ldver | \
29515            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29517 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29518   fi
29519
29520   # Set --gc-sections.
29521   glibcxx_have_gc_sections=no
29522   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29523     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29524       glibcxx_have_gc_sections=yes
29525     fi
29526   else
29527     glibcxx_gcsections_min_ld=21602
29528     if test x"$with_gnu_ld" = x"yes" &&
29529         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29530       glibcxx_have_gc_sections=yes
29531     fi
29532   fi
29533   if test "$glibcxx_have_gc_sections" = "yes"; then
29534     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29535     # NB: This flag only works reliably after 2.16.1. Configure tests
29536     # for this are difficult, so hard wire a value that should work.
29537
29538     ac_test_CFLAGS="${CFLAGS+set}"
29539     ac_save_CFLAGS="$CFLAGS"
29540     CFLAGS='-Wl,--gc-sections'
29541
29542     # Check for -Wl,--gc-sections
29543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29544 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29545     if test x$gcc_no_link = xyes; then
29546   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29547 fi
29548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h.  */
29550  int one(void) { return 1; }
29551      int two(void) { return 2; }
29552
29553 int
29554 main ()
29555 {
29556  two();
29557   ;
29558   return 0;
29559 }
29560 _ACEOF
29561 if ac_fn_c_try_link "$LINENO"; then :
29562   ac_gcsections=yes
29563 else
29564   ac_gcsections=no
29565 fi
29566 rm -f core conftest.err conftest.$ac_objext \
29567     conftest$ac_exeext conftest.$ac_ext
29568     if test "$ac_gcsections" = "yes"; then
29569       rm -f conftest.c
29570       touch conftest.c
29571       if $CC -c conftest.c; then
29572         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29573            grep "Warning: gc-sections option ignored" > /dev/null; then
29574           ac_gcsections=no
29575         fi
29576       fi
29577       rm -f conftest.c conftest.o conftest
29578     fi
29579     if test "$ac_gcsections" = "yes"; then
29580       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29581     fi
29582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29583 $as_echo "$ac_gcsections" >&6; }
29584
29585     if test "$ac_test_CFLAGS" = set; then
29586       CFLAGS="$ac_save_CFLAGS"
29587     else
29588       # this is the suspicious part
29589       CFLAGS=''
29590     fi
29591   fi
29592
29593   # Set -z,relro.
29594   # Note this is only for shared objects.
29595   ac_ld_relro=no
29596   if test x"$with_gnu_ld" = x"yes"; then
29597     # cygwin and mingw uses PE, which has no ELF relro support,
29598     # multi target ld may confuse configure machinery
29599     case "$host" in
29600     *-*-cygwin*)
29601      ;;
29602     *-*-mingw*)
29603      ;;
29604     *)
29605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29606 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29607       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29608       if test -n "$cxx_z_relo"; then
29609         OPT_LDFLAGS="-Wl,-z,relro"
29610         ac_ld_relro=yes
29611       fi
29612       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29613 $as_echo "$ac_ld_relro" >&6; }
29614     esac
29615   fi
29616
29617   # Set linker optimization flags.
29618   if test x"$with_gnu_ld" = x"yes"; then
29619     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29620   fi
29621
29622
29623
29624
29625
29626   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29627   ac_save_CXXFLAGS="$CXXFLAGS"
29628   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29629
29630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29631 $as_echo_n "checking for sin in -lm... " >&6; }
29632 if ${ac_cv_lib_m_sin+:} false; then :
29633   $as_echo_n "(cached) " >&6
29634 else
29635   ac_check_lib_save_LIBS=$LIBS
29636 LIBS="-lm  $LIBS"
29637 if test x$gcc_no_link = xyes; then
29638   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29639 fi
29640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29641 /* end confdefs.h.  */
29642
29643 /* Override any GCC internal prototype to avoid an error.
29644    Use char because int might match the return type of a GCC
29645    builtin and then its argument prototype would still apply.  */
29646 #ifdef __cplusplus
29647 extern "C"
29648 #endif
29649 char sin ();
29650 int
29651 main ()
29652 {
29653 return sin ();
29654   ;
29655   return 0;
29656 }
29657 _ACEOF
29658 if ac_fn_c_try_link "$LINENO"; then :
29659   ac_cv_lib_m_sin=yes
29660 else
29661   ac_cv_lib_m_sin=no
29662 fi
29663 rm -f core conftest.err conftest.$ac_objext \
29664     conftest$ac_exeext conftest.$ac_ext
29665 LIBS=$ac_check_lib_save_LIBS
29666 fi
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29668 $as_echo "$ac_cv_lib_m_sin" >&6; }
29669 if test "x$ac_cv_lib_m_sin" = xyes; then :
29670   libm="-lm"
29671 fi
29672
29673   ac_save_LIBS="$LIBS"
29674   LIBS="$LIBS $libm"
29675
29676
29677
29678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29679 $as_echo_n "checking for isinf declaration... " >&6; }
29680   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29681     if ${glibcxx_cv_func_isinf_use+:} false; then :
29682   $as_echo_n "(cached) " >&6
29683 else
29684
29685
29686       ac_ext=cpp
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29691
29692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h.  */
29694 #include <math.h>
29695                       #ifdef HAVE_IEEEFP_H
29696                       #include <ieeefp.h>
29697                       #endif
29698
29699 int
29700 main ()
29701 {
29702  isinf(0);
29703   ;
29704   return 0;
29705 }
29706 _ACEOF
29707 if ac_fn_cxx_try_compile "$LINENO"; then :
29708   glibcxx_cv_func_isinf_use=yes
29709 else
29710   glibcxx_cv_func_isinf_use=no
29711 fi
29712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713       ac_ext=c
29714 ac_cpp='$CPP $CPPFLAGS'
29715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29718
29719
29720 fi
29721
29722   fi
29723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29724 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29725
29726   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29727     for ac_func in isinf
29728 do :
29729   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29730 if test "x$ac_cv_func_isinf" = xyes; then :
29731   cat >>confdefs.h <<_ACEOF
29732 #define HAVE_ISINF 1
29733 _ACEOF
29734
29735 fi
29736 done
29737
29738   else
29739
29740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29741 $as_echo_n "checking for _isinf declaration... " >&6; }
29742   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29743     if ${glibcxx_cv_func__isinf_use+:} false; then :
29744   $as_echo_n "(cached) " >&6
29745 else
29746
29747
29748       ac_ext=cpp
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753
29754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29755 /* end confdefs.h.  */
29756 #include <math.h>
29757                       #ifdef HAVE_IEEEFP_H
29758                       #include <ieeefp.h>
29759                       #endif
29760
29761 int
29762 main ()
29763 {
29764  _isinf(0);
29765   ;
29766   return 0;
29767 }
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770   glibcxx_cv_func__isinf_use=yes
29771 else
29772   glibcxx_cv_func__isinf_use=no
29773 fi
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775       ac_ext=c
29776 ac_cpp='$CPP $CPPFLAGS'
29777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29780
29781
29782 fi
29783
29784   fi
29785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29786 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29787
29788     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29789       for ac_func in _isinf
29790 do :
29791   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29792 if test "x$ac_cv_func__isinf" = xyes; then :
29793   cat >>confdefs.h <<_ACEOF
29794 #define HAVE__ISINF 1
29795 _ACEOF
29796
29797 fi
29798 done
29799
29800     fi
29801   fi
29802
29803
29804
29805
29806
29807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29808 $as_echo_n "checking for isnan declaration... " >&6; }
29809   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29810     if ${glibcxx_cv_func_isnan_use+:} false; then :
29811   $as_echo_n "(cached) " >&6
29812 else
29813
29814
29815       ac_ext=cpp
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820
29821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29822 /* end confdefs.h.  */
29823 #include <math.h>
29824                       #ifdef HAVE_IEEEFP_H
29825                       #include <ieeefp.h>
29826                       #endif
29827
29828 int
29829 main ()
29830 {
29831  isnan(0);
29832   ;
29833   return 0;
29834 }
29835 _ACEOF
29836 if ac_fn_cxx_try_compile "$LINENO"; then :
29837   glibcxx_cv_func_isnan_use=yes
29838 else
29839   glibcxx_cv_func_isnan_use=no
29840 fi
29841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29842       ac_ext=c
29843 ac_cpp='$CPP $CPPFLAGS'
29844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29847
29848
29849 fi
29850
29851   fi
29852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29853 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29854
29855   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29856     for ac_func in isnan
29857 do :
29858   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29859 if test "x$ac_cv_func_isnan" = xyes; then :
29860   cat >>confdefs.h <<_ACEOF
29861 #define HAVE_ISNAN 1
29862 _ACEOF
29863
29864 fi
29865 done
29866
29867   else
29868
29869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29870 $as_echo_n "checking for _isnan declaration... " >&6; }
29871   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29872     if ${glibcxx_cv_func__isnan_use+:} false; then :
29873   $as_echo_n "(cached) " >&6
29874 else
29875
29876
29877       ac_ext=cpp
29878 ac_cpp='$CXXCPP $CPPFLAGS'
29879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882
29883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h.  */
29885 #include <math.h>
29886                       #ifdef HAVE_IEEEFP_H
29887                       #include <ieeefp.h>
29888                       #endif
29889
29890 int
29891 main ()
29892 {
29893  _isnan(0);
29894   ;
29895   return 0;
29896 }
29897 _ACEOF
29898 if ac_fn_cxx_try_compile "$LINENO"; then :
29899   glibcxx_cv_func__isnan_use=yes
29900 else
29901   glibcxx_cv_func__isnan_use=no
29902 fi
29903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29904       ac_ext=c
29905 ac_cpp='$CPP $CPPFLAGS'
29906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29909
29910
29911 fi
29912
29913   fi
29914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29915 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29916
29917     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29918       for ac_func in _isnan
29919 do :
29920   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29921 if test "x$ac_cv_func__isnan" = xyes; then :
29922   cat >>confdefs.h <<_ACEOF
29923 #define HAVE__ISNAN 1
29924 _ACEOF
29925
29926 fi
29927 done
29928
29929     fi
29930   fi
29931
29932
29933
29934
29935
29936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29937 $as_echo_n "checking for finite declaration... " >&6; }
29938   if test x${glibcxx_cv_func_finite_use+set} != xset; then
29939     if ${glibcxx_cv_func_finite_use+:} false; then :
29940   $as_echo_n "(cached) " >&6
29941 else
29942
29943
29944       ac_ext=cpp
29945 ac_cpp='$CXXCPP $CPPFLAGS'
29946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29949
29950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29951 /* end confdefs.h.  */
29952 #include <math.h>
29953                       #ifdef HAVE_IEEEFP_H
29954                       #include <ieeefp.h>
29955                       #endif
29956
29957 int
29958 main ()
29959 {
29960  finite(0);
29961   ;
29962   return 0;
29963 }
29964 _ACEOF
29965 if ac_fn_cxx_try_compile "$LINENO"; then :
29966   glibcxx_cv_func_finite_use=yes
29967 else
29968   glibcxx_cv_func_finite_use=no
29969 fi
29970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29971       ac_ext=c
29972 ac_cpp='$CPP $CPPFLAGS'
29973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29976
29977
29978 fi
29979
29980   fi
29981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29982 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29983
29984   if test x$glibcxx_cv_func_finite_use = x"yes"; then
29985     for ac_func in finite
29986 do :
29987   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29988 if test "x$ac_cv_func_finite" = xyes; then :
29989   cat >>confdefs.h <<_ACEOF
29990 #define HAVE_FINITE 1
29991 _ACEOF
29992
29993 fi
29994 done
29995
29996   else
29997
29998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29999 $as_echo_n "checking for _finite declaration... " >&6; }
30000   if test x${glibcxx_cv_func__finite_use+set} != xset; then
30001     if ${glibcxx_cv_func__finite_use+:} false; then :
30002   $as_echo_n "(cached) " >&6
30003 else
30004
30005
30006       ac_ext=cpp
30007 ac_cpp='$CXXCPP $CPPFLAGS'
30008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30011
30012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30013 /* end confdefs.h.  */
30014 #include <math.h>
30015                       #ifdef HAVE_IEEEFP_H
30016                       #include <ieeefp.h>
30017                       #endif
30018
30019 int
30020 main ()
30021 {
30022  _finite(0);
30023   ;
30024   return 0;
30025 }
30026 _ACEOF
30027 if ac_fn_cxx_try_compile "$LINENO"; then :
30028   glibcxx_cv_func__finite_use=yes
30029 else
30030   glibcxx_cv_func__finite_use=no
30031 fi
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033       ac_ext=c
30034 ac_cpp='$CPP $CPPFLAGS'
30035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30038
30039
30040 fi
30041
30042   fi
30043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30044 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30045
30046     if test x$glibcxx_cv_func__finite_use = x"yes"; then
30047       for ac_func in _finite
30048 do :
30049   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30050 if test "x$ac_cv_func__finite" = xyes; then :
30051   cat >>confdefs.h <<_ACEOF
30052 #define HAVE__FINITE 1
30053 _ACEOF
30054
30055 fi
30056 done
30057
30058     fi
30059   fi
30060
30061
30062
30063
30064
30065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30066 $as_echo_n "checking for sincos declaration... " >&6; }
30067   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30068     if ${glibcxx_cv_func_sincos_use+:} false; then :
30069   $as_echo_n "(cached) " >&6
30070 else
30071
30072
30073       ac_ext=cpp
30074 ac_cpp='$CXXCPP $CPPFLAGS'
30075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30078
30079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30080 /* end confdefs.h.  */
30081 #include <math.h>
30082 int
30083 main ()
30084 {
30085  sincos(0, 0, 0);
30086   ;
30087   return 0;
30088 }
30089 _ACEOF
30090 if ac_fn_cxx_try_compile "$LINENO"; then :
30091   glibcxx_cv_func_sincos_use=yes
30092 else
30093   glibcxx_cv_func_sincos_use=no
30094 fi
30095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30096       ac_ext=c
30097 ac_cpp='$CPP $CPPFLAGS'
30098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30101
30102
30103 fi
30104
30105   fi
30106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30107 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30108
30109   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30110     for ac_func in sincos
30111 do :
30112   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30113 if test "x$ac_cv_func_sincos" = xyes; then :
30114   cat >>confdefs.h <<_ACEOF
30115 #define HAVE_SINCOS 1
30116 _ACEOF
30117
30118 fi
30119 done
30120
30121   else
30122
30123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30124 $as_echo_n "checking for _sincos declaration... " >&6; }
30125   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30126     if ${glibcxx_cv_func__sincos_use+:} false; then :
30127   $as_echo_n "(cached) " >&6
30128 else
30129
30130
30131       ac_ext=cpp
30132 ac_cpp='$CXXCPP $CPPFLAGS'
30133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30136
30137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30138 /* end confdefs.h.  */
30139 #include <math.h>
30140 int
30141 main ()
30142 {
30143  _sincos(0, 0, 0);
30144   ;
30145   return 0;
30146 }
30147 _ACEOF
30148 if ac_fn_cxx_try_compile "$LINENO"; then :
30149   glibcxx_cv_func__sincos_use=yes
30150 else
30151   glibcxx_cv_func__sincos_use=no
30152 fi
30153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30154       ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30159
30160
30161 fi
30162
30163   fi
30164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30165 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30166
30167     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30168       for ac_func in _sincos
30169 do :
30170   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30171 if test "x$ac_cv_func__sincos" = xyes; then :
30172   cat >>confdefs.h <<_ACEOF
30173 #define HAVE__SINCOS 1
30174 _ACEOF
30175
30176 fi
30177 done
30178
30179     fi
30180   fi
30181
30182
30183
30184
30185
30186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30187 $as_echo_n "checking for fpclass declaration... " >&6; }
30188   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30189     if ${glibcxx_cv_func_fpclass_use+:} false; then :
30190   $as_echo_n "(cached) " >&6
30191 else
30192
30193
30194       ac_ext=cpp
30195 ac_cpp='$CXXCPP $CPPFLAGS'
30196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30199
30200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30201 /* end confdefs.h.  */
30202 #include <math.h>
30203                       #ifdef HAVE_IEEEFP_H
30204                       #include <ieeefp.h>
30205                       #endif
30206
30207 int
30208 main ()
30209 {
30210  fpclass(0);
30211   ;
30212   return 0;
30213 }
30214 _ACEOF
30215 if ac_fn_cxx_try_compile "$LINENO"; then :
30216   glibcxx_cv_func_fpclass_use=yes
30217 else
30218   glibcxx_cv_func_fpclass_use=no
30219 fi
30220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30221       ac_ext=c
30222 ac_cpp='$CPP $CPPFLAGS'
30223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30226
30227
30228 fi
30229
30230   fi
30231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30232 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30233
30234   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30235     for ac_func in fpclass
30236 do :
30237   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30238 if test "x$ac_cv_func_fpclass" = xyes; then :
30239   cat >>confdefs.h <<_ACEOF
30240 #define HAVE_FPCLASS 1
30241 _ACEOF
30242
30243 fi
30244 done
30245
30246   else
30247
30248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30249 $as_echo_n "checking for _fpclass declaration... " >&6; }
30250   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30251     if ${glibcxx_cv_func__fpclass_use+:} false; then :
30252   $as_echo_n "(cached) " >&6
30253 else
30254
30255
30256       ac_ext=cpp
30257 ac_cpp='$CXXCPP $CPPFLAGS'
30258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30261
30262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30263 /* end confdefs.h.  */
30264 #include <math.h>
30265                       #ifdef HAVE_IEEEFP_H
30266                       #include <ieeefp.h>
30267                       #endif
30268
30269 int
30270 main ()
30271 {
30272  _fpclass(0);
30273   ;
30274   return 0;
30275 }
30276 _ACEOF
30277 if ac_fn_cxx_try_compile "$LINENO"; then :
30278   glibcxx_cv_func__fpclass_use=yes
30279 else
30280   glibcxx_cv_func__fpclass_use=no
30281 fi
30282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30283       ac_ext=c
30284 ac_cpp='$CPP $CPPFLAGS'
30285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30288
30289
30290 fi
30291
30292   fi
30293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30294 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30295
30296     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30297       for ac_func in _fpclass
30298 do :
30299   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30300 if test "x$ac_cv_func__fpclass" = xyes; then :
30301   cat >>confdefs.h <<_ACEOF
30302 #define HAVE__FPCLASS 1
30303 _ACEOF
30304
30305 fi
30306 done
30307
30308     fi
30309   fi
30310
30311
30312
30313
30314
30315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30316 $as_echo_n "checking for qfpclass declaration... " >&6; }
30317   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30318     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30319   $as_echo_n "(cached) " >&6
30320 else
30321
30322
30323       ac_ext=cpp
30324 ac_cpp='$CXXCPP $CPPFLAGS'
30325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30328
30329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30330 /* end confdefs.h.  */
30331 #include <math.h>
30332                       #ifdef HAVE_IEEEFP_H
30333                       #include <ieeefp.h>
30334                       #endif
30335
30336 int
30337 main ()
30338 {
30339  qfpclass(0);
30340   ;
30341   return 0;
30342 }
30343 _ACEOF
30344 if ac_fn_cxx_try_compile "$LINENO"; then :
30345   glibcxx_cv_func_qfpclass_use=yes
30346 else
30347   glibcxx_cv_func_qfpclass_use=no
30348 fi
30349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30350       ac_ext=c
30351 ac_cpp='$CPP $CPPFLAGS'
30352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30355
30356
30357 fi
30358
30359   fi
30360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30361 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30362
30363   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30364     for ac_func in qfpclass
30365 do :
30366   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30367 if test "x$ac_cv_func_qfpclass" = xyes; then :
30368   cat >>confdefs.h <<_ACEOF
30369 #define HAVE_QFPCLASS 1
30370 _ACEOF
30371
30372 fi
30373 done
30374
30375   else
30376
30377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30378 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30379   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30380     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30381   $as_echo_n "(cached) " >&6
30382 else
30383
30384
30385       ac_ext=cpp
30386 ac_cpp='$CXXCPP $CPPFLAGS'
30387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30390
30391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30392 /* end confdefs.h.  */
30393 #include <math.h>
30394                       #ifdef HAVE_IEEEFP_H
30395                       #include <ieeefp.h>
30396                       #endif
30397
30398 int
30399 main ()
30400 {
30401  _qfpclass(0);
30402   ;
30403   return 0;
30404 }
30405 _ACEOF
30406 if ac_fn_cxx_try_compile "$LINENO"; then :
30407   glibcxx_cv_func__qfpclass_use=yes
30408 else
30409   glibcxx_cv_func__qfpclass_use=no
30410 fi
30411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30412       ac_ext=c
30413 ac_cpp='$CPP $CPPFLAGS'
30414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30417
30418
30419 fi
30420
30421   fi
30422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30423 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30424
30425     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30426       for ac_func in _qfpclass
30427 do :
30428   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30429 if test "x$ac_cv_func__qfpclass" = xyes; then :
30430   cat >>confdefs.h <<_ACEOF
30431 #define HAVE__QFPCLASS 1
30432 _ACEOF
30433
30434 fi
30435 done
30436
30437     fi
30438   fi
30439
30440
30441
30442
30443
30444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30445 $as_echo_n "checking for hypot declaration... " >&6; }
30446   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30447     if ${glibcxx_cv_func_hypot_use+:} false; then :
30448   $as_echo_n "(cached) " >&6
30449 else
30450
30451
30452       ac_ext=cpp
30453 ac_cpp='$CXXCPP $CPPFLAGS'
30454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30457
30458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30459 /* end confdefs.h.  */
30460 #include <math.h>
30461 int
30462 main ()
30463 {
30464  hypot(0, 0);
30465   ;
30466   return 0;
30467 }
30468 _ACEOF
30469 if ac_fn_cxx_try_compile "$LINENO"; then :
30470   glibcxx_cv_func_hypot_use=yes
30471 else
30472   glibcxx_cv_func_hypot_use=no
30473 fi
30474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30475       ac_ext=c
30476 ac_cpp='$CPP $CPPFLAGS'
30477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30480
30481
30482 fi
30483
30484   fi
30485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30486 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30487
30488   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30489     for ac_func in hypot
30490 do :
30491   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30492 if test "x$ac_cv_func_hypot" = xyes; then :
30493   cat >>confdefs.h <<_ACEOF
30494 #define HAVE_HYPOT 1
30495 _ACEOF
30496
30497 fi
30498 done
30499
30500   else
30501
30502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30503 $as_echo_n "checking for _hypot declaration... " >&6; }
30504   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30505     if ${glibcxx_cv_func__hypot_use+:} false; then :
30506   $as_echo_n "(cached) " >&6
30507 else
30508
30509
30510       ac_ext=cpp
30511 ac_cpp='$CXXCPP $CPPFLAGS'
30512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30515
30516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30517 /* end confdefs.h.  */
30518 #include <math.h>
30519 int
30520 main ()
30521 {
30522  _hypot(0, 0);
30523   ;
30524   return 0;
30525 }
30526 _ACEOF
30527 if ac_fn_cxx_try_compile "$LINENO"; then :
30528   glibcxx_cv_func__hypot_use=yes
30529 else
30530   glibcxx_cv_func__hypot_use=no
30531 fi
30532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30533       ac_ext=c
30534 ac_cpp='$CPP $CPPFLAGS'
30535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30538
30539
30540 fi
30541
30542   fi
30543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30544 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30545
30546     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30547       for ac_func in _hypot
30548 do :
30549   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30550 if test "x$ac_cv_func__hypot" = xyes; then :
30551   cat >>confdefs.h <<_ACEOF
30552 #define HAVE__HYPOT 1
30553 _ACEOF
30554
30555 fi
30556 done
30557
30558     fi
30559   fi
30560
30561
30562
30563
30564
30565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30566 $as_echo_n "checking for float trig functions... " >&6; }
30567   if ${glibcxx_cv_func_float_trig_use+:} false; then :
30568   $as_echo_n "(cached) " >&6
30569 else
30570
30571
30572     ac_ext=cpp
30573 ac_cpp='$CXXCPP $CPPFLAGS'
30574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30577
30578     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30579 /* end confdefs.h.  */
30580 #include <math.h>
30581 int
30582 main ()
30583 {
30584 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30585   ;
30586   return 0;
30587 }
30588 _ACEOF
30589 if ac_fn_cxx_try_compile "$LINENO"; then :
30590   glibcxx_cv_func_float_trig_use=yes
30591 else
30592   glibcxx_cv_func_float_trig_use=no
30593 fi
30594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30595     ac_ext=c
30596 ac_cpp='$CPP $CPPFLAGS'
30597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30600
30601 fi
30602
30603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30604 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30605   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30606     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30607 do :
30608   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30610 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30611   cat >>confdefs.h <<_ACEOF
30612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30613 _ACEOF
30614
30615 fi
30616 done
30617
30618   else
30619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30620 $as_echo_n "checking for _float trig functions... " >&6; }
30621     if ${glibcxx_cv_func__float_trig_use+:} false; then :
30622   $as_echo_n "(cached) " >&6
30623 else
30624
30625
30626       ac_ext=cpp
30627 ac_cpp='$CXXCPP $CPPFLAGS'
30628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30631
30632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30633 /* end confdefs.h.  */
30634 #include <math.h>
30635 int
30636 main ()
30637 {
30638 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30639   ;
30640   return 0;
30641 }
30642 _ACEOF
30643 if ac_fn_cxx_try_compile "$LINENO"; then :
30644   glibcxx_cv_func__float_trig_use=yes
30645 else
30646   glibcxx_cv_func__float_trig_use=no
30647 fi
30648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30649       ac_ext=c
30650 ac_cpp='$CPP $CPPFLAGS'
30651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654
30655 fi
30656
30657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30658 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30659     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30660       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30661 do :
30662   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30665   cat >>confdefs.h <<_ACEOF
30666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30667 _ACEOF
30668
30669 fi
30670 done
30671
30672     fi
30673   fi
30674
30675
30676
30677
30678
30679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30680 $as_echo_n "checking for float round functions... " >&6; }
30681   if ${glibcxx_cv_func_float_round_use+:} false; then :
30682   $as_echo_n "(cached) " >&6
30683 else
30684
30685
30686     ac_ext=cpp
30687 ac_cpp='$CXXCPP $CPPFLAGS'
30688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30691
30692     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30693 /* end confdefs.h.  */
30694 #include <math.h>
30695 int
30696 main ()
30697 {
30698 ceilf (0); floorf (0);
30699   ;
30700   return 0;
30701 }
30702 _ACEOF
30703 if ac_fn_cxx_try_compile "$LINENO"; then :
30704   glibcxx_cv_func_float_round_use=yes
30705 else
30706   glibcxx_cv_func_float_round_use=no
30707 fi
30708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30709     ac_ext=c
30710 ac_cpp='$CPP $CPPFLAGS'
30711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714
30715 fi
30716
30717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30718 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30719   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30720     for ac_func in ceilf floorf
30721 do :
30722   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30724 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30725   cat >>confdefs.h <<_ACEOF
30726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30727 _ACEOF
30728
30729 fi
30730 done
30731
30732   else
30733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30734 $as_echo_n "checking for _float round functions... " >&6; }
30735     if ${glibcxx_cv_func__float_round_use+:} false; then :
30736   $as_echo_n "(cached) " >&6
30737 else
30738
30739
30740       ac_ext=cpp
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30745
30746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30747 /* end confdefs.h.  */
30748 #include <math.h>
30749 int
30750 main ()
30751 {
30752 _ceilf (0); _floorf (0);
30753   ;
30754   return 0;
30755 }
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758   glibcxx_cv_func__float_round_use=yes
30759 else
30760   glibcxx_cv_func__float_round_use=no
30761 fi
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763       ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768
30769 fi
30770
30771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30772 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30773     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30774       for ac_func in _ceilf _floorf
30775 do :
30776   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30778 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30779   cat >>confdefs.h <<_ACEOF
30780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30781 _ACEOF
30782
30783 fi
30784 done
30785
30786     fi
30787   fi
30788
30789
30790
30791
30792
30793
30794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30795 $as_echo_n "checking for expf declaration... " >&6; }
30796   if test x${glibcxx_cv_func_expf_use+set} != xset; then
30797     if ${glibcxx_cv_func_expf_use+:} false; then :
30798   $as_echo_n "(cached) " >&6
30799 else
30800
30801
30802       ac_ext=cpp
30803 ac_cpp='$CXXCPP $CPPFLAGS'
30804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30807
30808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30809 /* end confdefs.h.  */
30810 #include <math.h>
30811                       #ifdef HAVE_IEEEFP_H
30812                       #include <ieeefp.h>
30813                       #endif
30814
30815 int
30816 main ()
30817 {
30818  expf(0);
30819   ;
30820   return 0;
30821 }
30822 _ACEOF
30823 if ac_fn_cxx_try_compile "$LINENO"; then :
30824   glibcxx_cv_func_expf_use=yes
30825 else
30826   glibcxx_cv_func_expf_use=no
30827 fi
30828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30829       ac_ext=c
30830 ac_cpp='$CPP $CPPFLAGS'
30831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30834
30835
30836 fi
30837
30838   fi
30839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30840 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30841
30842   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30843     for ac_func in expf
30844 do :
30845   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30846 if test "x$ac_cv_func_expf" = xyes; then :
30847   cat >>confdefs.h <<_ACEOF
30848 #define HAVE_EXPF 1
30849 _ACEOF
30850
30851 fi
30852 done
30853
30854   else
30855
30856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30857 $as_echo_n "checking for _expf declaration... " >&6; }
30858   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30859     if ${glibcxx_cv_func__expf_use+:} false; then :
30860   $as_echo_n "(cached) " >&6
30861 else
30862
30863
30864       ac_ext=cpp
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30869
30870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h.  */
30872 #include <math.h>
30873                       #ifdef HAVE_IEEEFP_H
30874                       #include <ieeefp.h>
30875                       #endif
30876
30877 int
30878 main ()
30879 {
30880  _expf(0);
30881   ;
30882   return 0;
30883 }
30884 _ACEOF
30885 if ac_fn_cxx_try_compile "$LINENO"; then :
30886   glibcxx_cv_func__expf_use=yes
30887 else
30888   glibcxx_cv_func__expf_use=no
30889 fi
30890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30891       ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896
30897
30898 fi
30899
30900   fi
30901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30902 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30903
30904     if test x$glibcxx_cv_func__expf_use = x"yes"; then
30905       for ac_func in _expf
30906 do :
30907   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30908 if test "x$ac_cv_func__expf" = xyes; then :
30909   cat >>confdefs.h <<_ACEOF
30910 #define HAVE__EXPF 1
30911 _ACEOF
30912
30913 fi
30914 done
30915
30916     fi
30917   fi
30918
30919
30920
30921
30922
30923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30924 $as_echo_n "checking for isnanf declaration... " >&6; }
30925   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30926     if ${glibcxx_cv_func_isnanf_use+:} false; then :
30927   $as_echo_n "(cached) " >&6
30928 else
30929
30930
30931       ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h.  */
30939 #include <math.h>
30940                       #ifdef HAVE_IEEEFP_H
30941                       #include <ieeefp.h>
30942                       #endif
30943
30944 int
30945 main ()
30946 {
30947  isnanf(0);
30948   ;
30949   return 0;
30950 }
30951 _ACEOF
30952 if ac_fn_cxx_try_compile "$LINENO"; then :
30953   glibcxx_cv_func_isnanf_use=yes
30954 else
30955   glibcxx_cv_func_isnanf_use=no
30956 fi
30957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958       ac_ext=c
30959 ac_cpp='$CPP $CPPFLAGS'
30960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30963
30964
30965 fi
30966
30967   fi
30968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30969 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30970
30971   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30972     for ac_func in isnanf
30973 do :
30974   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30975 if test "x$ac_cv_func_isnanf" = xyes; then :
30976   cat >>confdefs.h <<_ACEOF
30977 #define HAVE_ISNANF 1
30978 _ACEOF
30979
30980 fi
30981 done
30982
30983   else
30984
30985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30986 $as_echo_n "checking for _isnanf declaration... " >&6; }
30987   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30988     if ${glibcxx_cv_func__isnanf_use+:} false; then :
30989   $as_echo_n "(cached) " >&6
30990 else
30991
30992
30993       ac_ext=cpp
30994 ac_cpp='$CXXCPP $CPPFLAGS'
30995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998
30999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31000 /* end confdefs.h.  */
31001 #include <math.h>
31002                       #ifdef HAVE_IEEEFP_H
31003                       #include <ieeefp.h>
31004                       #endif
31005
31006 int
31007 main ()
31008 {
31009  _isnanf(0);
31010   ;
31011   return 0;
31012 }
31013 _ACEOF
31014 if ac_fn_cxx_try_compile "$LINENO"; then :
31015   glibcxx_cv_func__isnanf_use=yes
31016 else
31017   glibcxx_cv_func__isnanf_use=no
31018 fi
31019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31020       ac_ext=c
31021 ac_cpp='$CPP $CPPFLAGS'
31022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025
31026
31027 fi
31028
31029   fi
31030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31031 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31032
31033     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31034       for ac_func in _isnanf
31035 do :
31036   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31037 if test "x$ac_cv_func__isnanf" = xyes; then :
31038   cat >>confdefs.h <<_ACEOF
31039 #define HAVE__ISNANF 1
31040 _ACEOF
31041
31042 fi
31043 done
31044
31045     fi
31046   fi
31047
31048
31049
31050
31051
31052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31053 $as_echo_n "checking for isinff declaration... " >&6; }
31054   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31055     if ${glibcxx_cv_func_isinff_use+:} false; then :
31056   $as_echo_n "(cached) " >&6
31057 else
31058
31059
31060       ac_ext=cpp
31061 ac_cpp='$CXXCPP $CPPFLAGS'
31062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31065
31066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31067 /* end confdefs.h.  */
31068 #include <math.h>
31069                       #ifdef HAVE_IEEEFP_H
31070                       #include <ieeefp.h>
31071                       #endif
31072
31073 int
31074 main ()
31075 {
31076  isinff(0);
31077   ;
31078   return 0;
31079 }
31080 _ACEOF
31081 if ac_fn_cxx_try_compile "$LINENO"; then :
31082   glibcxx_cv_func_isinff_use=yes
31083 else
31084   glibcxx_cv_func_isinff_use=no
31085 fi
31086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31087       ac_ext=c
31088 ac_cpp='$CPP $CPPFLAGS'
31089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31092
31093
31094 fi
31095
31096   fi
31097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31098 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31099
31100   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31101     for ac_func in isinff
31102 do :
31103   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31104 if test "x$ac_cv_func_isinff" = xyes; then :
31105   cat >>confdefs.h <<_ACEOF
31106 #define HAVE_ISINFF 1
31107 _ACEOF
31108
31109 fi
31110 done
31111
31112   else
31113
31114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31115 $as_echo_n "checking for _isinff declaration... " >&6; }
31116   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31117     if ${glibcxx_cv_func__isinff_use+:} false; then :
31118   $as_echo_n "(cached) " >&6
31119 else
31120
31121
31122       ac_ext=cpp
31123 ac_cpp='$CXXCPP $CPPFLAGS'
31124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31127
31128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31129 /* end confdefs.h.  */
31130 #include <math.h>
31131                       #ifdef HAVE_IEEEFP_H
31132                       #include <ieeefp.h>
31133                       #endif
31134
31135 int
31136 main ()
31137 {
31138  _isinff(0);
31139   ;
31140   return 0;
31141 }
31142 _ACEOF
31143 if ac_fn_cxx_try_compile "$LINENO"; then :
31144   glibcxx_cv_func__isinff_use=yes
31145 else
31146   glibcxx_cv_func__isinff_use=no
31147 fi
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31149       ac_ext=c
31150 ac_cpp='$CPP $CPPFLAGS'
31151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31154
31155
31156 fi
31157
31158   fi
31159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31160 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31161
31162     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31163       for ac_func in _isinff
31164 do :
31165   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31166 if test "x$ac_cv_func__isinff" = xyes; then :
31167   cat >>confdefs.h <<_ACEOF
31168 #define HAVE__ISINFF 1
31169 _ACEOF
31170
31171 fi
31172 done
31173
31174     fi
31175   fi
31176
31177
31178
31179
31180
31181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31182 $as_echo_n "checking for atan2f declaration... " >&6; }
31183   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31184     if ${glibcxx_cv_func_atan2f_use+:} false; then :
31185   $as_echo_n "(cached) " >&6
31186 else
31187
31188
31189       ac_ext=cpp
31190 ac_cpp='$CXXCPP $CPPFLAGS'
31191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31194
31195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31196 /* end confdefs.h.  */
31197 #include <math.h>
31198 int
31199 main ()
31200 {
31201  atan2f(0, 0);
31202   ;
31203   return 0;
31204 }
31205 _ACEOF
31206 if ac_fn_cxx_try_compile "$LINENO"; then :
31207   glibcxx_cv_func_atan2f_use=yes
31208 else
31209   glibcxx_cv_func_atan2f_use=no
31210 fi
31211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31212       ac_ext=c
31213 ac_cpp='$CPP $CPPFLAGS'
31214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31217
31218
31219 fi
31220
31221   fi
31222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31223 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31224
31225   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31226     for ac_func in atan2f
31227 do :
31228   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31229 if test "x$ac_cv_func_atan2f" = xyes; then :
31230   cat >>confdefs.h <<_ACEOF
31231 #define HAVE_ATAN2F 1
31232 _ACEOF
31233
31234 fi
31235 done
31236
31237   else
31238
31239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31240 $as_echo_n "checking for _atan2f declaration... " >&6; }
31241   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31242     if ${glibcxx_cv_func__atan2f_use+:} false; then :
31243   $as_echo_n "(cached) " >&6
31244 else
31245
31246
31247       ac_ext=cpp
31248 ac_cpp='$CXXCPP $CPPFLAGS'
31249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31252
31253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31254 /* end confdefs.h.  */
31255 #include <math.h>
31256 int
31257 main ()
31258 {
31259  _atan2f(0, 0);
31260   ;
31261   return 0;
31262 }
31263 _ACEOF
31264 if ac_fn_cxx_try_compile "$LINENO"; then :
31265   glibcxx_cv_func__atan2f_use=yes
31266 else
31267   glibcxx_cv_func__atan2f_use=no
31268 fi
31269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31270       ac_ext=c
31271 ac_cpp='$CPP $CPPFLAGS'
31272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31275
31276
31277 fi
31278
31279   fi
31280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31281 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31282
31283     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31284       for ac_func in _atan2f
31285 do :
31286   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31287 if test "x$ac_cv_func__atan2f" = xyes; then :
31288   cat >>confdefs.h <<_ACEOF
31289 #define HAVE__ATAN2F 1
31290 _ACEOF
31291
31292 fi
31293 done
31294
31295     fi
31296   fi
31297
31298
31299
31300
31301
31302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31303 $as_echo_n "checking for fabsf declaration... " >&6; }
31304   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31305     if ${glibcxx_cv_func_fabsf_use+:} false; then :
31306   $as_echo_n "(cached) " >&6
31307 else
31308
31309
31310       ac_ext=cpp
31311 ac_cpp='$CXXCPP $CPPFLAGS'
31312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31315
31316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31317 /* end confdefs.h.  */
31318 #include <math.h>
31319                       #ifdef HAVE_IEEEFP_H
31320                       #include <ieeefp.h>
31321                       #endif
31322
31323 int
31324 main ()
31325 {
31326  fabsf(0);
31327   ;
31328   return 0;
31329 }
31330 _ACEOF
31331 if ac_fn_cxx_try_compile "$LINENO"; then :
31332   glibcxx_cv_func_fabsf_use=yes
31333 else
31334   glibcxx_cv_func_fabsf_use=no
31335 fi
31336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31337       ac_ext=c
31338 ac_cpp='$CPP $CPPFLAGS'
31339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31342
31343
31344 fi
31345
31346   fi
31347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31348 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31349
31350   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31351     for ac_func in fabsf
31352 do :
31353   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31354 if test "x$ac_cv_func_fabsf" = xyes; then :
31355   cat >>confdefs.h <<_ACEOF
31356 #define HAVE_FABSF 1
31357 _ACEOF
31358
31359 fi
31360 done
31361
31362   else
31363
31364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31365 $as_echo_n "checking for _fabsf declaration... " >&6; }
31366   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31367     if ${glibcxx_cv_func__fabsf_use+:} false; then :
31368   $as_echo_n "(cached) " >&6
31369 else
31370
31371
31372       ac_ext=cpp
31373 ac_cpp='$CXXCPP $CPPFLAGS'
31374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31377
31378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31379 /* end confdefs.h.  */
31380 #include <math.h>
31381                       #ifdef HAVE_IEEEFP_H
31382                       #include <ieeefp.h>
31383                       #endif
31384
31385 int
31386 main ()
31387 {
31388  _fabsf(0);
31389   ;
31390   return 0;
31391 }
31392 _ACEOF
31393 if ac_fn_cxx_try_compile "$LINENO"; then :
31394   glibcxx_cv_func__fabsf_use=yes
31395 else
31396   glibcxx_cv_func__fabsf_use=no
31397 fi
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31399       ac_ext=c
31400 ac_cpp='$CPP $CPPFLAGS'
31401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31404
31405
31406 fi
31407
31408   fi
31409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31410 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31411
31412     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31413       for ac_func in _fabsf
31414 do :
31415   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31416 if test "x$ac_cv_func__fabsf" = xyes; then :
31417   cat >>confdefs.h <<_ACEOF
31418 #define HAVE__FABSF 1
31419 _ACEOF
31420
31421 fi
31422 done
31423
31424     fi
31425   fi
31426
31427
31428
31429
31430
31431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31432 $as_echo_n "checking for fmodf declaration... " >&6; }
31433   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31434     if ${glibcxx_cv_func_fmodf_use+:} false; then :
31435   $as_echo_n "(cached) " >&6
31436 else
31437
31438
31439       ac_ext=cpp
31440 ac_cpp='$CXXCPP $CPPFLAGS'
31441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31444
31445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31446 /* end confdefs.h.  */
31447 #include <math.h>
31448 int
31449 main ()
31450 {
31451  fmodf(0, 0);
31452   ;
31453   return 0;
31454 }
31455 _ACEOF
31456 if ac_fn_cxx_try_compile "$LINENO"; then :
31457   glibcxx_cv_func_fmodf_use=yes
31458 else
31459   glibcxx_cv_func_fmodf_use=no
31460 fi
31461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31462       ac_ext=c
31463 ac_cpp='$CPP $CPPFLAGS'
31464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467
31468
31469 fi
31470
31471   fi
31472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31473 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31474
31475   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31476     for ac_func in fmodf
31477 do :
31478   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31479 if test "x$ac_cv_func_fmodf" = xyes; then :
31480   cat >>confdefs.h <<_ACEOF
31481 #define HAVE_FMODF 1
31482 _ACEOF
31483
31484 fi
31485 done
31486
31487   else
31488
31489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31490 $as_echo_n "checking for _fmodf declaration... " >&6; }
31491   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31492     if ${glibcxx_cv_func__fmodf_use+:} false; then :
31493   $as_echo_n "(cached) " >&6
31494 else
31495
31496
31497       ac_ext=cpp
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31502
31503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h.  */
31505 #include <math.h>
31506 int
31507 main ()
31508 {
31509  _fmodf(0, 0);
31510   ;
31511   return 0;
31512 }
31513 _ACEOF
31514 if ac_fn_cxx_try_compile "$LINENO"; then :
31515   glibcxx_cv_func__fmodf_use=yes
31516 else
31517   glibcxx_cv_func__fmodf_use=no
31518 fi
31519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31520       ac_ext=c
31521 ac_cpp='$CPP $CPPFLAGS'
31522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31525
31526
31527 fi
31528
31529   fi
31530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31531 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31532
31533     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31534       for ac_func in _fmodf
31535 do :
31536   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31537 if test "x$ac_cv_func__fmodf" = xyes; then :
31538   cat >>confdefs.h <<_ACEOF
31539 #define HAVE__FMODF 1
31540 _ACEOF
31541
31542 fi
31543 done
31544
31545     fi
31546   fi
31547
31548
31549
31550
31551
31552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31553 $as_echo_n "checking for frexpf declaration... " >&6; }
31554   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31555     if ${glibcxx_cv_func_frexpf_use+:} false; then :
31556   $as_echo_n "(cached) " >&6
31557 else
31558
31559
31560       ac_ext=cpp
31561 ac_cpp='$CXXCPP $CPPFLAGS'
31562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31565
31566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31567 /* end confdefs.h.  */
31568 #include <math.h>
31569 int
31570 main ()
31571 {
31572  frexpf(0, 0);
31573   ;
31574   return 0;
31575 }
31576 _ACEOF
31577 if ac_fn_cxx_try_compile "$LINENO"; then :
31578   glibcxx_cv_func_frexpf_use=yes
31579 else
31580   glibcxx_cv_func_frexpf_use=no
31581 fi
31582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31583       ac_ext=c
31584 ac_cpp='$CPP $CPPFLAGS'
31585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31588
31589
31590 fi
31591
31592   fi
31593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31594 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31595
31596   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31597     for ac_func in frexpf
31598 do :
31599   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31600 if test "x$ac_cv_func_frexpf" = xyes; then :
31601   cat >>confdefs.h <<_ACEOF
31602 #define HAVE_FREXPF 1
31603 _ACEOF
31604
31605 fi
31606 done
31607
31608   else
31609
31610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31611 $as_echo_n "checking for _frexpf declaration... " >&6; }
31612   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31613     if ${glibcxx_cv_func__frexpf_use+:} false; then :
31614   $as_echo_n "(cached) " >&6
31615 else
31616
31617
31618       ac_ext=cpp
31619 ac_cpp='$CXXCPP $CPPFLAGS'
31620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31623
31624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31625 /* end confdefs.h.  */
31626 #include <math.h>
31627 int
31628 main ()
31629 {
31630  _frexpf(0, 0);
31631   ;
31632   return 0;
31633 }
31634 _ACEOF
31635 if ac_fn_cxx_try_compile "$LINENO"; then :
31636   glibcxx_cv_func__frexpf_use=yes
31637 else
31638   glibcxx_cv_func__frexpf_use=no
31639 fi
31640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31641       ac_ext=c
31642 ac_cpp='$CPP $CPPFLAGS'
31643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646
31647
31648 fi
31649
31650   fi
31651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31652 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31653
31654     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31655       for ac_func in _frexpf
31656 do :
31657   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31658 if test "x$ac_cv_func__frexpf" = xyes; then :
31659   cat >>confdefs.h <<_ACEOF
31660 #define HAVE__FREXPF 1
31661 _ACEOF
31662
31663 fi
31664 done
31665
31666     fi
31667   fi
31668
31669
31670
31671
31672
31673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31674 $as_echo_n "checking for hypotf declaration... " >&6; }
31675   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31676     if ${glibcxx_cv_func_hypotf_use+:} false; then :
31677   $as_echo_n "(cached) " >&6
31678 else
31679
31680
31681       ac_ext=cpp
31682 ac_cpp='$CXXCPP $CPPFLAGS'
31683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686
31687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31688 /* end confdefs.h.  */
31689 #include <math.h>
31690 int
31691 main ()
31692 {
31693  hypotf(0, 0);
31694   ;
31695   return 0;
31696 }
31697 _ACEOF
31698 if ac_fn_cxx_try_compile "$LINENO"; then :
31699   glibcxx_cv_func_hypotf_use=yes
31700 else
31701   glibcxx_cv_func_hypotf_use=no
31702 fi
31703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31704       ac_ext=c
31705 ac_cpp='$CPP $CPPFLAGS'
31706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31709
31710
31711 fi
31712
31713   fi
31714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31715 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31716
31717   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31718     for ac_func in hypotf
31719 do :
31720   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31721 if test "x$ac_cv_func_hypotf" = xyes; then :
31722   cat >>confdefs.h <<_ACEOF
31723 #define HAVE_HYPOTF 1
31724 _ACEOF
31725
31726 fi
31727 done
31728
31729   else
31730
31731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31732 $as_echo_n "checking for _hypotf declaration... " >&6; }
31733   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31734     if ${glibcxx_cv_func__hypotf_use+:} false; then :
31735   $as_echo_n "(cached) " >&6
31736 else
31737
31738
31739       ac_ext=cpp
31740 ac_cpp='$CXXCPP $CPPFLAGS'
31741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31744
31745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31746 /* end confdefs.h.  */
31747 #include <math.h>
31748 int
31749 main ()
31750 {
31751  _hypotf(0, 0);
31752   ;
31753   return 0;
31754 }
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757   glibcxx_cv_func__hypotf_use=yes
31758 else
31759   glibcxx_cv_func__hypotf_use=no
31760 fi
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762       ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767
31768
31769 fi
31770
31771   fi
31772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31773 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31774
31775     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31776       for ac_func in _hypotf
31777 do :
31778   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31779 if test "x$ac_cv_func__hypotf" = xyes; then :
31780   cat >>confdefs.h <<_ACEOF
31781 #define HAVE__HYPOTF 1
31782 _ACEOF
31783
31784 fi
31785 done
31786
31787     fi
31788   fi
31789
31790
31791
31792
31793
31794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31795 $as_echo_n "checking for ldexpf declaration... " >&6; }
31796   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31797     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31798   $as_echo_n "(cached) " >&6
31799 else
31800
31801
31802       ac_ext=cpp
31803 ac_cpp='$CXXCPP $CPPFLAGS'
31804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31807
31808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31809 /* end confdefs.h.  */
31810 #include <math.h>
31811 int
31812 main ()
31813 {
31814  ldexpf(0, 0);
31815   ;
31816   return 0;
31817 }
31818 _ACEOF
31819 if ac_fn_cxx_try_compile "$LINENO"; then :
31820   glibcxx_cv_func_ldexpf_use=yes
31821 else
31822   glibcxx_cv_func_ldexpf_use=no
31823 fi
31824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31825       ac_ext=c
31826 ac_cpp='$CPP $CPPFLAGS'
31827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31830
31831
31832 fi
31833
31834   fi
31835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31836 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31837
31838   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31839     for ac_func in ldexpf
31840 do :
31841   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31842 if test "x$ac_cv_func_ldexpf" = xyes; then :
31843   cat >>confdefs.h <<_ACEOF
31844 #define HAVE_LDEXPF 1
31845 _ACEOF
31846
31847 fi
31848 done
31849
31850   else
31851
31852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31853 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31854   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31855     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31856   $as_echo_n "(cached) " >&6
31857 else
31858
31859
31860       ac_ext=cpp
31861 ac_cpp='$CXXCPP $CPPFLAGS'
31862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865
31866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31867 /* end confdefs.h.  */
31868 #include <math.h>
31869 int
31870 main ()
31871 {
31872  _ldexpf(0, 0);
31873   ;
31874   return 0;
31875 }
31876 _ACEOF
31877 if ac_fn_cxx_try_compile "$LINENO"; then :
31878   glibcxx_cv_func__ldexpf_use=yes
31879 else
31880   glibcxx_cv_func__ldexpf_use=no
31881 fi
31882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31883       ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888
31889
31890 fi
31891
31892   fi
31893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31894 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31895
31896     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31897       for ac_func in _ldexpf
31898 do :
31899   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31900 if test "x$ac_cv_func__ldexpf" = xyes; then :
31901   cat >>confdefs.h <<_ACEOF
31902 #define HAVE__LDEXPF 1
31903 _ACEOF
31904
31905 fi
31906 done
31907
31908     fi
31909   fi
31910
31911
31912
31913
31914
31915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31916 $as_echo_n "checking for logf declaration... " >&6; }
31917   if test x${glibcxx_cv_func_logf_use+set} != xset; then
31918     if ${glibcxx_cv_func_logf_use+:} false; then :
31919   $as_echo_n "(cached) " >&6
31920 else
31921
31922
31923       ac_ext=cpp
31924 ac_cpp='$CXXCPP $CPPFLAGS'
31925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928
31929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31930 /* end confdefs.h.  */
31931 #include <math.h>
31932                       #ifdef HAVE_IEEEFP_H
31933                       #include <ieeefp.h>
31934                       #endif
31935
31936 int
31937 main ()
31938 {
31939  logf(0);
31940   ;
31941   return 0;
31942 }
31943 _ACEOF
31944 if ac_fn_cxx_try_compile "$LINENO"; then :
31945   glibcxx_cv_func_logf_use=yes
31946 else
31947   glibcxx_cv_func_logf_use=no
31948 fi
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950       ac_ext=c
31951 ac_cpp='$CPP $CPPFLAGS'
31952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31955
31956
31957 fi
31958
31959   fi
31960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31961 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31962
31963   if test x$glibcxx_cv_func_logf_use = x"yes"; then
31964     for ac_func in logf
31965 do :
31966   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31967 if test "x$ac_cv_func_logf" = xyes; then :
31968   cat >>confdefs.h <<_ACEOF
31969 #define HAVE_LOGF 1
31970 _ACEOF
31971
31972 fi
31973 done
31974
31975   else
31976
31977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31978 $as_echo_n "checking for _logf declaration... " >&6; }
31979   if test x${glibcxx_cv_func__logf_use+set} != xset; then
31980     if ${glibcxx_cv_func__logf_use+:} false; then :
31981   $as_echo_n "(cached) " >&6
31982 else
31983
31984
31985       ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990
31991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h.  */
31993 #include <math.h>
31994                       #ifdef HAVE_IEEEFP_H
31995                       #include <ieeefp.h>
31996                       #endif
31997
31998 int
31999 main ()
32000 {
32001  _logf(0);
32002   ;
32003   return 0;
32004 }
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007   glibcxx_cv_func__logf_use=yes
32008 else
32009   glibcxx_cv_func__logf_use=no
32010 fi
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012       ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017
32018
32019 fi
32020
32021   fi
32022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32023 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32024
32025     if test x$glibcxx_cv_func__logf_use = x"yes"; then
32026       for ac_func in _logf
32027 do :
32028   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32029 if test "x$ac_cv_func__logf" = xyes; then :
32030   cat >>confdefs.h <<_ACEOF
32031 #define HAVE__LOGF 1
32032 _ACEOF
32033
32034 fi
32035 done
32036
32037     fi
32038   fi
32039
32040
32041
32042
32043
32044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32045 $as_echo_n "checking for log10f declaration... " >&6; }
32046   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32047     if ${glibcxx_cv_func_log10f_use+:} false; then :
32048   $as_echo_n "(cached) " >&6
32049 else
32050
32051
32052       ac_ext=cpp
32053 ac_cpp='$CXXCPP $CPPFLAGS'
32054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32057
32058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32059 /* end confdefs.h.  */
32060 #include <math.h>
32061                       #ifdef HAVE_IEEEFP_H
32062                       #include <ieeefp.h>
32063                       #endif
32064
32065 int
32066 main ()
32067 {
32068  log10f(0);
32069   ;
32070   return 0;
32071 }
32072 _ACEOF
32073 if ac_fn_cxx_try_compile "$LINENO"; then :
32074   glibcxx_cv_func_log10f_use=yes
32075 else
32076   glibcxx_cv_func_log10f_use=no
32077 fi
32078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32079       ac_ext=c
32080 ac_cpp='$CPP $CPPFLAGS'
32081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084
32085
32086 fi
32087
32088   fi
32089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32090 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32091
32092   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32093     for ac_func in log10f
32094 do :
32095   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32096 if test "x$ac_cv_func_log10f" = xyes; then :
32097   cat >>confdefs.h <<_ACEOF
32098 #define HAVE_LOG10F 1
32099 _ACEOF
32100
32101 fi
32102 done
32103
32104   else
32105
32106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32107 $as_echo_n "checking for _log10f declaration... " >&6; }
32108   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32109     if ${glibcxx_cv_func__log10f_use+:} false; then :
32110   $as_echo_n "(cached) " >&6
32111 else
32112
32113
32114       ac_ext=cpp
32115 ac_cpp='$CXXCPP $CPPFLAGS'
32116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32119
32120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32121 /* end confdefs.h.  */
32122 #include <math.h>
32123                       #ifdef HAVE_IEEEFP_H
32124                       #include <ieeefp.h>
32125                       #endif
32126
32127 int
32128 main ()
32129 {
32130  _log10f(0);
32131   ;
32132   return 0;
32133 }
32134 _ACEOF
32135 if ac_fn_cxx_try_compile "$LINENO"; then :
32136   glibcxx_cv_func__log10f_use=yes
32137 else
32138   glibcxx_cv_func__log10f_use=no
32139 fi
32140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32141       ac_ext=c
32142 ac_cpp='$CPP $CPPFLAGS'
32143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146
32147
32148 fi
32149
32150   fi
32151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32152 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32153
32154     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32155       for ac_func in _log10f
32156 do :
32157   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32158 if test "x$ac_cv_func__log10f" = xyes; then :
32159   cat >>confdefs.h <<_ACEOF
32160 #define HAVE__LOG10F 1
32161 _ACEOF
32162
32163 fi
32164 done
32165
32166     fi
32167   fi
32168
32169
32170
32171
32172
32173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32174 $as_echo_n "checking for modff declaration... " >&6; }
32175   if test x${glibcxx_cv_func_modff_use+set} != xset; then
32176     if ${glibcxx_cv_func_modff_use+:} false; then :
32177   $as_echo_n "(cached) " >&6
32178 else
32179
32180
32181       ac_ext=cpp
32182 ac_cpp='$CXXCPP $CPPFLAGS'
32183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32186
32187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32188 /* end confdefs.h.  */
32189 #include <math.h>
32190 int
32191 main ()
32192 {
32193  modff(0, 0);
32194   ;
32195   return 0;
32196 }
32197 _ACEOF
32198 if ac_fn_cxx_try_compile "$LINENO"; then :
32199   glibcxx_cv_func_modff_use=yes
32200 else
32201   glibcxx_cv_func_modff_use=no
32202 fi
32203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32204       ac_ext=c
32205 ac_cpp='$CPP $CPPFLAGS'
32206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32209
32210
32211 fi
32212
32213   fi
32214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32215 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32216
32217   if test x$glibcxx_cv_func_modff_use = x"yes"; then
32218     for ac_func in modff
32219 do :
32220   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32221 if test "x$ac_cv_func_modff" = xyes; then :
32222   cat >>confdefs.h <<_ACEOF
32223 #define HAVE_MODFF 1
32224 _ACEOF
32225
32226 fi
32227 done
32228
32229   else
32230
32231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32232 $as_echo_n "checking for _modff declaration... " >&6; }
32233   if test x${glibcxx_cv_func__modff_use+set} != xset; then
32234     if ${glibcxx_cv_func__modff_use+:} false; then :
32235   $as_echo_n "(cached) " >&6
32236 else
32237
32238
32239       ac_ext=cpp
32240 ac_cpp='$CXXCPP $CPPFLAGS'
32241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32244
32245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h.  */
32247 #include <math.h>
32248 int
32249 main ()
32250 {
32251  _modff(0, 0);
32252   ;
32253   return 0;
32254 }
32255 _ACEOF
32256 if ac_fn_cxx_try_compile "$LINENO"; then :
32257   glibcxx_cv_func__modff_use=yes
32258 else
32259   glibcxx_cv_func__modff_use=no
32260 fi
32261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32262       ac_ext=c
32263 ac_cpp='$CPP $CPPFLAGS'
32264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32267
32268
32269 fi
32270
32271   fi
32272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32273 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32274
32275     if test x$glibcxx_cv_func__modff_use = x"yes"; then
32276       for ac_func in _modff
32277 do :
32278   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32279 if test "x$ac_cv_func__modff" = xyes; then :
32280   cat >>confdefs.h <<_ACEOF
32281 #define HAVE__MODFF 1
32282 _ACEOF
32283
32284 fi
32285 done
32286
32287     fi
32288   fi
32289
32290
32291
32292
32293
32294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32295 $as_echo_n "checking for modf declaration... " >&6; }
32296   if test x${glibcxx_cv_func_modf_use+set} != xset; then
32297     if ${glibcxx_cv_func_modf_use+:} false; then :
32298   $as_echo_n "(cached) " >&6
32299 else
32300
32301
32302       ac_ext=cpp
32303 ac_cpp='$CXXCPP $CPPFLAGS'
32304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32307
32308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32309 /* end confdefs.h.  */
32310 #include <math.h>
32311 int
32312 main ()
32313 {
32314  modf(0, 0);
32315   ;
32316   return 0;
32317 }
32318 _ACEOF
32319 if ac_fn_cxx_try_compile "$LINENO"; then :
32320   glibcxx_cv_func_modf_use=yes
32321 else
32322   glibcxx_cv_func_modf_use=no
32323 fi
32324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32325       ac_ext=c
32326 ac_cpp='$CPP $CPPFLAGS'
32327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32330
32331
32332 fi
32333
32334   fi
32335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32336 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32337
32338   if test x$glibcxx_cv_func_modf_use = x"yes"; then
32339     for ac_func in modf
32340 do :
32341   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32342 if test "x$ac_cv_func_modf" = xyes; then :
32343   cat >>confdefs.h <<_ACEOF
32344 #define HAVE_MODF 1
32345 _ACEOF
32346
32347 fi
32348 done
32349
32350   else
32351
32352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32353 $as_echo_n "checking for _modf declaration... " >&6; }
32354   if test x${glibcxx_cv_func__modf_use+set} != xset; then
32355     if ${glibcxx_cv_func__modf_use+:} false; then :
32356   $as_echo_n "(cached) " >&6
32357 else
32358
32359
32360       ac_ext=cpp
32361 ac_cpp='$CXXCPP $CPPFLAGS'
32362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32365
32366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32367 /* end confdefs.h.  */
32368 #include <math.h>
32369 int
32370 main ()
32371 {
32372  _modf(0, 0);
32373   ;
32374   return 0;
32375 }
32376 _ACEOF
32377 if ac_fn_cxx_try_compile "$LINENO"; then :
32378   glibcxx_cv_func__modf_use=yes
32379 else
32380   glibcxx_cv_func__modf_use=no
32381 fi
32382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32383       ac_ext=c
32384 ac_cpp='$CPP $CPPFLAGS'
32385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388
32389
32390 fi
32391
32392   fi
32393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32394 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32395
32396     if test x$glibcxx_cv_func__modf_use = x"yes"; then
32397       for ac_func in _modf
32398 do :
32399   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32400 if test "x$ac_cv_func__modf" = xyes; then :
32401   cat >>confdefs.h <<_ACEOF
32402 #define HAVE__MODF 1
32403 _ACEOF
32404
32405 fi
32406 done
32407
32408     fi
32409   fi
32410
32411
32412
32413
32414
32415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32416 $as_echo_n "checking for powf declaration... " >&6; }
32417   if test x${glibcxx_cv_func_powf_use+set} != xset; then
32418     if ${glibcxx_cv_func_powf_use+:} false; then :
32419   $as_echo_n "(cached) " >&6
32420 else
32421
32422
32423       ac_ext=cpp
32424 ac_cpp='$CXXCPP $CPPFLAGS'
32425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32428
32429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32430 /* end confdefs.h.  */
32431 #include <math.h>
32432 int
32433 main ()
32434 {
32435  powf(0, 0);
32436   ;
32437   return 0;
32438 }
32439 _ACEOF
32440 if ac_fn_cxx_try_compile "$LINENO"; then :
32441   glibcxx_cv_func_powf_use=yes
32442 else
32443   glibcxx_cv_func_powf_use=no
32444 fi
32445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32446       ac_ext=c
32447 ac_cpp='$CPP $CPPFLAGS'
32448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32451
32452
32453 fi
32454
32455   fi
32456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32457 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32458
32459   if test x$glibcxx_cv_func_powf_use = x"yes"; then
32460     for ac_func in powf
32461 do :
32462   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32463 if test "x$ac_cv_func_powf" = xyes; then :
32464   cat >>confdefs.h <<_ACEOF
32465 #define HAVE_POWF 1
32466 _ACEOF
32467
32468 fi
32469 done
32470
32471   else
32472
32473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32474 $as_echo_n "checking for _powf declaration... " >&6; }
32475   if test x${glibcxx_cv_func__powf_use+set} != xset; then
32476     if ${glibcxx_cv_func__powf_use+:} false; then :
32477   $as_echo_n "(cached) " >&6
32478 else
32479
32480
32481       ac_ext=cpp
32482 ac_cpp='$CXXCPP $CPPFLAGS'
32483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32486
32487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32488 /* end confdefs.h.  */
32489 #include <math.h>
32490 int
32491 main ()
32492 {
32493  _powf(0, 0);
32494   ;
32495   return 0;
32496 }
32497 _ACEOF
32498 if ac_fn_cxx_try_compile "$LINENO"; then :
32499   glibcxx_cv_func__powf_use=yes
32500 else
32501   glibcxx_cv_func__powf_use=no
32502 fi
32503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32504       ac_ext=c
32505 ac_cpp='$CPP $CPPFLAGS'
32506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32509
32510
32511 fi
32512
32513   fi
32514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32515 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32516
32517     if test x$glibcxx_cv_func__powf_use = x"yes"; then
32518       for ac_func in _powf
32519 do :
32520   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32521 if test "x$ac_cv_func__powf" = xyes; then :
32522   cat >>confdefs.h <<_ACEOF
32523 #define HAVE__POWF 1
32524 _ACEOF
32525
32526 fi
32527 done
32528
32529     fi
32530   fi
32531
32532
32533
32534
32535
32536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32537 $as_echo_n "checking for sqrtf declaration... " >&6; }
32538   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32539     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32540   $as_echo_n "(cached) " >&6
32541 else
32542
32543
32544       ac_ext=cpp
32545 ac_cpp='$CXXCPP $CPPFLAGS'
32546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32549
32550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32551 /* end confdefs.h.  */
32552 #include <math.h>
32553                       #ifdef HAVE_IEEEFP_H
32554                       #include <ieeefp.h>
32555                       #endif
32556
32557 int
32558 main ()
32559 {
32560  sqrtf(0);
32561   ;
32562   return 0;
32563 }
32564 _ACEOF
32565 if ac_fn_cxx_try_compile "$LINENO"; then :
32566   glibcxx_cv_func_sqrtf_use=yes
32567 else
32568   glibcxx_cv_func_sqrtf_use=no
32569 fi
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571       ac_ext=c
32572 ac_cpp='$CPP $CPPFLAGS'
32573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32576
32577
32578 fi
32579
32580   fi
32581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32582 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32583
32584   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32585     for ac_func in sqrtf
32586 do :
32587   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32588 if test "x$ac_cv_func_sqrtf" = xyes; then :
32589   cat >>confdefs.h <<_ACEOF
32590 #define HAVE_SQRTF 1
32591 _ACEOF
32592
32593 fi
32594 done
32595
32596   else
32597
32598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32599 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32600   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32601     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32602   $as_echo_n "(cached) " >&6
32603 else
32604
32605
32606       ac_ext=cpp
32607 ac_cpp='$CXXCPP $CPPFLAGS'
32608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32611
32612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32613 /* end confdefs.h.  */
32614 #include <math.h>
32615                       #ifdef HAVE_IEEEFP_H
32616                       #include <ieeefp.h>
32617                       #endif
32618
32619 int
32620 main ()
32621 {
32622  _sqrtf(0);
32623   ;
32624   return 0;
32625 }
32626 _ACEOF
32627 if ac_fn_cxx_try_compile "$LINENO"; then :
32628   glibcxx_cv_func__sqrtf_use=yes
32629 else
32630   glibcxx_cv_func__sqrtf_use=no
32631 fi
32632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32633       ac_ext=c
32634 ac_cpp='$CPP $CPPFLAGS'
32635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32638
32639
32640 fi
32641
32642   fi
32643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32644 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32645
32646     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32647       for ac_func in _sqrtf
32648 do :
32649   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32650 if test "x$ac_cv_func__sqrtf" = xyes; then :
32651   cat >>confdefs.h <<_ACEOF
32652 #define HAVE__SQRTF 1
32653 _ACEOF
32654
32655 fi
32656 done
32657
32658     fi
32659   fi
32660
32661
32662
32663
32664
32665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32666 $as_echo_n "checking for sincosf declaration... " >&6; }
32667   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32668     if ${glibcxx_cv_func_sincosf_use+:} false; then :
32669   $as_echo_n "(cached) " >&6
32670 else
32671
32672
32673       ac_ext=cpp
32674 ac_cpp='$CXXCPP $CPPFLAGS'
32675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32678
32679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32680 /* end confdefs.h.  */
32681 #include <math.h>
32682 int
32683 main ()
32684 {
32685  sincosf(0, 0, 0);
32686   ;
32687   return 0;
32688 }
32689 _ACEOF
32690 if ac_fn_cxx_try_compile "$LINENO"; then :
32691   glibcxx_cv_func_sincosf_use=yes
32692 else
32693   glibcxx_cv_func_sincosf_use=no
32694 fi
32695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696       ac_ext=c
32697 ac_cpp='$CPP $CPPFLAGS'
32698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32701
32702
32703 fi
32704
32705   fi
32706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32707 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32708
32709   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32710     for ac_func in sincosf
32711 do :
32712   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32713 if test "x$ac_cv_func_sincosf" = xyes; then :
32714   cat >>confdefs.h <<_ACEOF
32715 #define HAVE_SINCOSF 1
32716 _ACEOF
32717
32718 fi
32719 done
32720
32721   else
32722
32723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32724 $as_echo_n "checking for _sincosf declaration... " >&6; }
32725   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32726     if ${glibcxx_cv_func__sincosf_use+:} false; then :
32727   $as_echo_n "(cached) " >&6
32728 else
32729
32730
32731       ac_ext=cpp
32732 ac_cpp='$CXXCPP $CPPFLAGS'
32733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32736
32737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32738 /* end confdefs.h.  */
32739 #include <math.h>
32740 int
32741 main ()
32742 {
32743  _sincosf(0, 0, 0);
32744   ;
32745   return 0;
32746 }
32747 _ACEOF
32748 if ac_fn_cxx_try_compile "$LINENO"; then :
32749   glibcxx_cv_func__sincosf_use=yes
32750 else
32751   glibcxx_cv_func__sincosf_use=no
32752 fi
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32754       ac_ext=c
32755 ac_cpp='$CPP $CPPFLAGS'
32756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32759
32760
32761 fi
32762
32763   fi
32764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32765 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32766
32767     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32768       for ac_func in _sincosf
32769 do :
32770   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32771 if test "x$ac_cv_func__sincosf" = xyes; then :
32772   cat >>confdefs.h <<_ACEOF
32773 #define HAVE__SINCOSF 1
32774 _ACEOF
32775
32776 fi
32777 done
32778
32779     fi
32780   fi
32781
32782
32783
32784
32785
32786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32787 $as_echo_n "checking for finitef declaration... " >&6; }
32788   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32789     if ${glibcxx_cv_func_finitef_use+:} false; then :
32790   $as_echo_n "(cached) " >&6
32791 else
32792
32793
32794       ac_ext=cpp
32795 ac_cpp='$CXXCPP $CPPFLAGS'
32796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32799
32800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32801 /* end confdefs.h.  */
32802 #include <math.h>
32803                       #ifdef HAVE_IEEEFP_H
32804                       #include <ieeefp.h>
32805                       #endif
32806
32807 int
32808 main ()
32809 {
32810  finitef(0);
32811   ;
32812   return 0;
32813 }
32814 _ACEOF
32815 if ac_fn_cxx_try_compile "$LINENO"; then :
32816   glibcxx_cv_func_finitef_use=yes
32817 else
32818   glibcxx_cv_func_finitef_use=no
32819 fi
32820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32821       ac_ext=c
32822 ac_cpp='$CPP $CPPFLAGS'
32823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32826
32827
32828 fi
32829
32830   fi
32831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32832 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32833
32834   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32835     for ac_func in finitef
32836 do :
32837   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32838 if test "x$ac_cv_func_finitef" = xyes; then :
32839   cat >>confdefs.h <<_ACEOF
32840 #define HAVE_FINITEF 1
32841 _ACEOF
32842
32843 fi
32844 done
32845
32846   else
32847
32848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32849 $as_echo_n "checking for _finitef declaration... " >&6; }
32850   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32851     if ${glibcxx_cv_func__finitef_use+:} false; then :
32852   $as_echo_n "(cached) " >&6
32853 else
32854
32855
32856       ac_ext=cpp
32857 ac_cpp='$CXXCPP $CPPFLAGS'
32858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861
32862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863 /* end confdefs.h.  */
32864 #include <math.h>
32865                       #ifdef HAVE_IEEEFP_H
32866                       #include <ieeefp.h>
32867                       #endif
32868
32869 int
32870 main ()
32871 {
32872  _finitef(0);
32873   ;
32874   return 0;
32875 }
32876 _ACEOF
32877 if ac_fn_cxx_try_compile "$LINENO"; then :
32878   glibcxx_cv_func__finitef_use=yes
32879 else
32880   glibcxx_cv_func__finitef_use=no
32881 fi
32882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883       ac_ext=c
32884 ac_cpp='$CPP $CPPFLAGS'
32885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32888
32889
32890 fi
32891
32892   fi
32893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32894 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32895
32896     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32897       for ac_func in _finitef
32898 do :
32899   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32900 if test "x$ac_cv_func__finitef" = xyes; then :
32901   cat >>confdefs.h <<_ACEOF
32902 #define HAVE__FINITEF 1
32903 _ACEOF
32904
32905 fi
32906 done
32907
32908     fi
32909   fi
32910
32911
32912
32913
32914
32915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32916 $as_echo_n "checking for long double trig functions... " >&6; }
32917   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32918   $as_echo_n "(cached) " >&6
32919 else
32920
32921
32922     ac_ext=cpp
32923 ac_cpp='$CXXCPP $CPPFLAGS'
32924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32927
32928     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32929 /* end confdefs.h.  */
32930 #include <math.h>
32931 int
32932 main ()
32933 {
32934 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32935   ;
32936   return 0;
32937 }
32938 _ACEOF
32939 if ac_fn_cxx_try_compile "$LINENO"; then :
32940   glibcxx_cv_func_long_double_trig_use=yes
32941 else
32942   glibcxx_cv_func_long_double_trig_use=no
32943 fi
32944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32945     ac_ext=c
32946 ac_cpp='$CPP $CPPFLAGS'
32947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32950
32951 fi
32952
32953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32954 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32955   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32956     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32957 do :
32958   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32959 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32960 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32961   cat >>confdefs.h <<_ACEOF
32962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32963 _ACEOF
32964
32965 fi
32966 done
32967
32968   else
32969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32970 $as_echo_n "checking for _long double trig functions... " >&6; }
32971     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32972   $as_echo_n "(cached) " >&6
32973 else
32974
32975
32976       ac_ext=cpp
32977 ac_cpp='$CXXCPP $CPPFLAGS'
32978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981
32982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32983 /* end confdefs.h.  */
32984 #include <math.h>
32985 int
32986 main ()
32987 {
32988 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32989   ;
32990   return 0;
32991 }
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994   glibcxx_cv_func__long_double_trig_use=yes
32995 else
32996   glibcxx_cv_func__long_double_trig_use=no
32997 fi
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999       ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004
33005 fi
33006
33007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33008 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33009     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33010       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33011 do :
33012   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33014 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33015   cat >>confdefs.h <<_ACEOF
33016 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33017 _ACEOF
33018
33019 fi
33020 done
33021
33022     fi
33023   fi
33024
33025
33026
33027
33028
33029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33030 $as_echo_n "checking for long double round functions... " >&6; }
33031   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33032   $as_echo_n "(cached) " >&6
33033 else
33034
33035
33036     ac_ext=cpp
33037 ac_cpp='$CXXCPP $CPPFLAGS'
33038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33041
33042     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33043 /* end confdefs.h.  */
33044 #include <math.h>
33045 int
33046 main ()
33047 {
33048 ceill (0); floorl (0);
33049   ;
33050   return 0;
33051 }
33052 _ACEOF
33053 if ac_fn_cxx_try_compile "$LINENO"; then :
33054   glibcxx_cv_func_long_double_round_use=yes
33055 else
33056   glibcxx_cv_func_long_double_round_use=no
33057 fi
33058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33059     ac_ext=c
33060 ac_cpp='$CPP $CPPFLAGS'
33061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33064
33065 fi
33066
33067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33068 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33069   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33070     for ac_func in ceill floorl
33071 do :
33072   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33074 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33075   cat >>confdefs.h <<_ACEOF
33076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33077 _ACEOF
33078
33079 fi
33080 done
33081
33082   else
33083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33084 $as_echo_n "checking for _long double round functions... " >&6; }
33085     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33086   $as_echo_n "(cached) " >&6
33087 else
33088
33089
33090       ac_ext=cpp
33091 ac_cpp='$CXXCPP $CPPFLAGS'
33092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33095
33096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33097 /* end confdefs.h.  */
33098 #include <math.h>
33099 int
33100 main ()
33101 {
33102 _ceill (0); _floorl (0);
33103   ;
33104   return 0;
33105 }
33106 _ACEOF
33107 if ac_fn_cxx_try_compile "$LINENO"; then :
33108   glibcxx_cv_func__long_double_round_use=yes
33109 else
33110   glibcxx_cv_func__long_double_round_use=no
33111 fi
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113       ac_ext=c
33114 ac_cpp='$CPP $CPPFLAGS'
33115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33118
33119 fi
33120
33121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33122 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33123     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33124       for ac_func in _ceill _floorl
33125 do :
33126   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33129   cat >>confdefs.h <<_ACEOF
33130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33131 _ACEOF
33132
33133 fi
33134 done
33135
33136     fi
33137   fi
33138
33139
33140
33141
33142
33143
33144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33145 $as_echo_n "checking for isnanl declaration... " >&6; }
33146   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33147     if ${glibcxx_cv_func_isnanl_use+:} false; then :
33148   $as_echo_n "(cached) " >&6
33149 else
33150
33151
33152       ac_ext=cpp
33153 ac_cpp='$CXXCPP $CPPFLAGS'
33154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33157
33158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33159 /* end confdefs.h.  */
33160 #include <math.h>
33161                       #ifdef HAVE_IEEEFP_H
33162                       #include <ieeefp.h>
33163                       #endif
33164
33165 int
33166 main ()
33167 {
33168  isnanl(0);
33169   ;
33170   return 0;
33171 }
33172 _ACEOF
33173 if ac_fn_cxx_try_compile "$LINENO"; then :
33174   glibcxx_cv_func_isnanl_use=yes
33175 else
33176   glibcxx_cv_func_isnanl_use=no
33177 fi
33178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33179       ac_ext=c
33180 ac_cpp='$CPP $CPPFLAGS'
33181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33184
33185
33186 fi
33187
33188   fi
33189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33190 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33191
33192   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33193     for ac_func in isnanl
33194 do :
33195   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33196 if test "x$ac_cv_func_isnanl" = xyes; then :
33197   cat >>confdefs.h <<_ACEOF
33198 #define HAVE_ISNANL 1
33199 _ACEOF
33200
33201 fi
33202 done
33203
33204   else
33205
33206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33207 $as_echo_n "checking for _isnanl declaration... " >&6; }
33208   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33209     if ${glibcxx_cv_func__isnanl_use+:} false; then :
33210   $as_echo_n "(cached) " >&6
33211 else
33212
33213
33214       ac_ext=cpp
33215 ac_cpp='$CXXCPP $CPPFLAGS'
33216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33219
33220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33221 /* end confdefs.h.  */
33222 #include <math.h>
33223                       #ifdef HAVE_IEEEFP_H
33224                       #include <ieeefp.h>
33225                       #endif
33226
33227 int
33228 main ()
33229 {
33230  _isnanl(0);
33231   ;
33232   return 0;
33233 }
33234 _ACEOF
33235 if ac_fn_cxx_try_compile "$LINENO"; then :
33236   glibcxx_cv_func__isnanl_use=yes
33237 else
33238   glibcxx_cv_func__isnanl_use=no
33239 fi
33240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33241       ac_ext=c
33242 ac_cpp='$CPP $CPPFLAGS'
33243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33246
33247
33248 fi
33249
33250   fi
33251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33252 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33253
33254     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33255       for ac_func in _isnanl
33256 do :
33257   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33258 if test "x$ac_cv_func__isnanl" = xyes; then :
33259   cat >>confdefs.h <<_ACEOF
33260 #define HAVE__ISNANL 1
33261 _ACEOF
33262
33263 fi
33264 done
33265
33266     fi
33267   fi
33268
33269
33270
33271
33272
33273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33274 $as_echo_n "checking for isinfl declaration... " >&6; }
33275   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33276     if ${glibcxx_cv_func_isinfl_use+:} false; then :
33277   $as_echo_n "(cached) " >&6
33278 else
33279
33280
33281       ac_ext=cpp
33282 ac_cpp='$CXXCPP $CPPFLAGS'
33283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33286
33287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33288 /* end confdefs.h.  */
33289 #include <math.h>
33290                       #ifdef HAVE_IEEEFP_H
33291                       #include <ieeefp.h>
33292                       #endif
33293
33294 int
33295 main ()
33296 {
33297  isinfl(0);
33298   ;
33299   return 0;
33300 }
33301 _ACEOF
33302 if ac_fn_cxx_try_compile "$LINENO"; then :
33303   glibcxx_cv_func_isinfl_use=yes
33304 else
33305   glibcxx_cv_func_isinfl_use=no
33306 fi
33307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33308       ac_ext=c
33309 ac_cpp='$CPP $CPPFLAGS'
33310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33313
33314
33315 fi
33316
33317   fi
33318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33319 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33320
33321   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33322     for ac_func in isinfl
33323 do :
33324   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33325 if test "x$ac_cv_func_isinfl" = xyes; then :
33326   cat >>confdefs.h <<_ACEOF
33327 #define HAVE_ISINFL 1
33328 _ACEOF
33329
33330 fi
33331 done
33332
33333   else
33334
33335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33336 $as_echo_n "checking for _isinfl declaration... " >&6; }
33337   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33338     if ${glibcxx_cv_func__isinfl_use+:} false; then :
33339   $as_echo_n "(cached) " >&6
33340 else
33341
33342
33343       ac_ext=cpp
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348
33349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33350 /* end confdefs.h.  */
33351 #include <math.h>
33352                       #ifdef HAVE_IEEEFP_H
33353                       #include <ieeefp.h>
33354                       #endif
33355
33356 int
33357 main ()
33358 {
33359  _isinfl(0);
33360   ;
33361   return 0;
33362 }
33363 _ACEOF
33364 if ac_fn_cxx_try_compile "$LINENO"; then :
33365   glibcxx_cv_func__isinfl_use=yes
33366 else
33367   glibcxx_cv_func__isinfl_use=no
33368 fi
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370       ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375
33376
33377 fi
33378
33379   fi
33380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33381 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33382
33383     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33384       for ac_func in _isinfl
33385 do :
33386   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33387 if test "x$ac_cv_func__isinfl" = xyes; then :
33388   cat >>confdefs.h <<_ACEOF
33389 #define HAVE__ISINFL 1
33390 _ACEOF
33391
33392 fi
33393 done
33394
33395     fi
33396   fi
33397
33398
33399
33400
33401
33402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33403 $as_echo_n "checking for atan2l declaration... " >&6; }
33404   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33405     if ${glibcxx_cv_func_atan2l_use+:} false; then :
33406   $as_echo_n "(cached) " >&6
33407 else
33408
33409
33410       ac_ext=cpp
33411 ac_cpp='$CXXCPP $CPPFLAGS'
33412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33415
33416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33417 /* end confdefs.h.  */
33418 #include <math.h>
33419 int
33420 main ()
33421 {
33422  atan2l(0, 0);
33423   ;
33424   return 0;
33425 }
33426 _ACEOF
33427 if ac_fn_cxx_try_compile "$LINENO"; then :
33428   glibcxx_cv_func_atan2l_use=yes
33429 else
33430   glibcxx_cv_func_atan2l_use=no
33431 fi
33432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33433       ac_ext=c
33434 ac_cpp='$CPP $CPPFLAGS'
33435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33438
33439
33440 fi
33441
33442   fi
33443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33444 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33445
33446   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33447     for ac_func in atan2l
33448 do :
33449   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33450 if test "x$ac_cv_func_atan2l" = xyes; then :
33451   cat >>confdefs.h <<_ACEOF
33452 #define HAVE_ATAN2L 1
33453 _ACEOF
33454
33455 fi
33456 done
33457
33458   else
33459
33460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33461 $as_echo_n "checking for _atan2l declaration... " >&6; }
33462   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33463     if ${glibcxx_cv_func__atan2l_use+:} false; then :
33464   $as_echo_n "(cached) " >&6
33465 else
33466
33467
33468       ac_ext=cpp
33469 ac_cpp='$CXXCPP $CPPFLAGS'
33470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33473
33474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33475 /* end confdefs.h.  */
33476 #include <math.h>
33477 int
33478 main ()
33479 {
33480  _atan2l(0, 0);
33481   ;
33482   return 0;
33483 }
33484 _ACEOF
33485 if ac_fn_cxx_try_compile "$LINENO"; then :
33486   glibcxx_cv_func__atan2l_use=yes
33487 else
33488   glibcxx_cv_func__atan2l_use=no
33489 fi
33490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33491       ac_ext=c
33492 ac_cpp='$CPP $CPPFLAGS'
33493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33496
33497
33498 fi
33499
33500   fi
33501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33502 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33503
33504     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33505       for ac_func in _atan2l
33506 do :
33507   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33508 if test "x$ac_cv_func__atan2l" = xyes; then :
33509   cat >>confdefs.h <<_ACEOF
33510 #define HAVE__ATAN2L 1
33511 _ACEOF
33512
33513 fi
33514 done
33515
33516     fi
33517   fi
33518
33519
33520
33521
33522
33523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33524 $as_echo_n "checking for expl declaration... " >&6; }
33525   if test x${glibcxx_cv_func_expl_use+set} != xset; then
33526     if ${glibcxx_cv_func_expl_use+:} false; then :
33527   $as_echo_n "(cached) " >&6
33528 else
33529
33530
33531       ac_ext=cpp
33532 ac_cpp='$CXXCPP $CPPFLAGS'
33533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33536
33537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33538 /* end confdefs.h.  */
33539 #include <math.h>
33540                       #ifdef HAVE_IEEEFP_H
33541                       #include <ieeefp.h>
33542                       #endif
33543
33544 int
33545 main ()
33546 {
33547  expl(0);
33548   ;
33549   return 0;
33550 }
33551 _ACEOF
33552 if ac_fn_cxx_try_compile "$LINENO"; then :
33553   glibcxx_cv_func_expl_use=yes
33554 else
33555   glibcxx_cv_func_expl_use=no
33556 fi
33557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558       ac_ext=c
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33563
33564
33565 fi
33566
33567   fi
33568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33569 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33570
33571   if test x$glibcxx_cv_func_expl_use = x"yes"; then
33572     for ac_func in expl
33573 do :
33574   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33575 if test "x$ac_cv_func_expl" = xyes; then :
33576   cat >>confdefs.h <<_ACEOF
33577 #define HAVE_EXPL 1
33578 _ACEOF
33579
33580 fi
33581 done
33582
33583   else
33584
33585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33586 $as_echo_n "checking for _expl declaration... " >&6; }
33587   if test x${glibcxx_cv_func__expl_use+set} != xset; then
33588     if ${glibcxx_cv_func__expl_use+:} false; then :
33589   $as_echo_n "(cached) " >&6
33590 else
33591
33592
33593       ac_ext=cpp
33594 ac_cpp='$CXXCPP $CPPFLAGS'
33595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33598
33599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33600 /* end confdefs.h.  */
33601 #include <math.h>
33602                       #ifdef HAVE_IEEEFP_H
33603                       #include <ieeefp.h>
33604                       #endif
33605
33606 int
33607 main ()
33608 {
33609  _expl(0);
33610   ;
33611   return 0;
33612 }
33613 _ACEOF
33614 if ac_fn_cxx_try_compile "$LINENO"; then :
33615   glibcxx_cv_func__expl_use=yes
33616 else
33617   glibcxx_cv_func__expl_use=no
33618 fi
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620       ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33625
33626
33627 fi
33628
33629   fi
33630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33631 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33632
33633     if test x$glibcxx_cv_func__expl_use = x"yes"; then
33634       for ac_func in _expl
33635 do :
33636   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33637 if test "x$ac_cv_func__expl" = xyes; then :
33638   cat >>confdefs.h <<_ACEOF
33639 #define HAVE__EXPL 1
33640 _ACEOF
33641
33642 fi
33643 done
33644
33645     fi
33646   fi
33647
33648
33649
33650
33651
33652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33653 $as_echo_n "checking for fabsl declaration... " >&6; }
33654   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33655     if ${glibcxx_cv_func_fabsl_use+:} false; then :
33656   $as_echo_n "(cached) " >&6
33657 else
33658
33659
33660       ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h.  */
33668 #include <math.h>
33669                       #ifdef HAVE_IEEEFP_H
33670                       #include <ieeefp.h>
33671                       #endif
33672
33673 int
33674 main ()
33675 {
33676  fabsl(0);
33677   ;
33678   return 0;
33679 }
33680 _ACEOF
33681 if ac_fn_cxx_try_compile "$LINENO"; then :
33682   glibcxx_cv_func_fabsl_use=yes
33683 else
33684   glibcxx_cv_func_fabsl_use=no
33685 fi
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33687       ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33692
33693
33694 fi
33695
33696   fi
33697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33698 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33699
33700   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33701     for ac_func in fabsl
33702 do :
33703   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33704 if test "x$ac_cv_func_fabsl" = xyes; then :
33705   cat >>confdefs.h <<_ACEOF
33706 #define HAVE_FABSL 1
33707 _ACEOF
33708
33709 fi
33710 done
33711
33712   else
33713
33714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33715 $as_echo_n "checking for _fabsl declaration... " >&6; }
33716   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33717     if ${glibcxx_cv_func__fabsl_use+:} false; then :
33718   $as_echo_n "(cached) " >&6
33719 else
33720
33721
33722       ac_ext=cpp
33723 ac_cpp='$CXXCPP $CPPFLAGS'
33724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727
33728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33729 /* end confdefs.h.  */
33730 #include <math.h>
33731                       #ifdef HAVE_IEEEFP_H
33732                       #include <ieeefp.h>
33733                       #endif
33734
33735 int
33736 main ()
33737 {
33738  _fabsl(0);
33739   ;
33740   return 0;
33741 }
33742 _ACEOF
33743 if ac_fn_cxx_try_compile "$LINENO"; then :
33744   glibcxx_cv_func__fabsl_use=yes
33745 else
33746   glibcxx_cv_func__fabsl_use=no
33747 fi
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33749       ac_ext=c
33750 ac_cpp='$CPP $CPPFLAGS'
33751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754
33755
33756 fi
33757
33758   fi
33759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33760 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33761
33762     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33763       for ac_func in _fabsl
33764 do :
33765   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33766 if test "x$ac_cv_func__fabsl" = xyes; then :
33767   cat >>confdefs.h <<_ACEOF
33768 #define HAVE__FABSL 1
33769 _ACEOF
33770
33771 fi
33772 done
33773
33774     fi
33775   fi
33776
33777
33778
33779
33780
33781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33782 $as_echo_n "checking for fmodl declaration... " >&6; }
33783   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33784     if ${glibcxx_cv_func_fmodl_use+:} false; then :
33785   $as_echo_n "(cached) " >&6
33786 else
33787
33788
33789       ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33794
33795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h.  */
33797 #include <math.h>
33798 int
33799 main ()
33800 {
33801  fmodl(0, 0);
33802   ;
33803   return 0;
33804 }
33805 _ACEOF
33806 if ac_fn_cxx_try_compile "$LINENO"; then :
33807   glibcxx_cv_func_fmodl_use=yes
33808 else
33809   glibcxx_cv_func_fmodl_use=no
33810 fi
33811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33812       ac_ext=c
33813 ac_cpp='$CPP $CPPFLAGS'
33814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33817
33818
33819 fi
33820
33821   fi
33822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33823 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33824
33825   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33826     for ac_func in fmodl
33827 do :
33828   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33829 if test "x$ac_cv_func_fmodl" = xyes; then :
33830   cat >>confdefs.h <<_ACEOF
33831 #define HAVE_FMODL 1
33832 _ACEOF
33833
33834 fi
33835 done
33836
33837   else
33838
33839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33840 $as_echo_n "checking for _fmodl declaration... " >&6; }
33841   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33842     if ${glibcxx_cv_func__fmodl_use+:} false; then :
33843   $as_echo_n "(cached) " >&6
33844 else
33845
33846
33847       ac_ext=cpp
33848 ac_cpp='$CXXCPP $CPPFLAGS'
33849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33852
33853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33854 /* end confdefs.h.  */
33855 #include <math.h>
33856 int
33857 main ()
33858 {
33859  _fmodl(0, 0);
33860   ;
33861   return 0;
33862 }
33863 _ACEOF
33864 if ac_fn_cxx_try_compile "$LINENO"; then :
33865   glibcxx_cv_func__fmodl_use=yes
33866 else
33867   glibcxx_cv_func__fmodl_use=no
33868 fi
33869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33870       ac_ext=c
33871 ac_cpp='$CPP $CPPFLAGS'
33872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33875
33876
33877 fi
33878
33879   fi
33880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33881 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33882
33883     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33884       for ac_func in _fmodl
33885 do :
33886   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33887 if test "x$ac_cv_func__fmodl" = xyes; then :
33888   cat >>confdefs.h <<_ACEOF
33889 #define HAVE__FMODL 1
33890 _ACEOF
33891
33892 fi
33893 done
33894
33895     fi
33896   fi
33897
33898
33899
33900
33901
33902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33903 $as_echo_n "checking for frexpl declaration... " >&6; }
33904   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33905     if ${glibcxx_cv_func_frexpl_use+:} false; then :
33906   $as_echo_n "(cached) " >&6
33907 else
33908
33909
33910       ac_ext=cpp
33911 ac_cpp='$CXXCPP $CPPFLAGS'
33912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33915
33916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33917 /* end confdefs.h.  */
33918 #include <math.h>
33919 int
33920 main ()
33921 {
33922  frexpl(0, 0);
33923   ;
33924   return 0;
33925 }
33926 _ACEOF
33927 if ac_fn_cxx_try_compile "$LINENO"; then :
33928   glibcxx_cv_func_frexpl_use=yes
33929 else
33930   glibcxx_cv_func_frexpl_use=no
33931 fi
33932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33933       ac_ext=c
33934 ac_cpp='$CPP $CPPFLAGS'
33935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33938
33939
33940 fi
33941
33942   fi
33943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33944 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33945
33946   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33947     for ac_func in frexpl
33948 do :
33949   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33950 if test "x$ac_cv_func_frexpl" = xyes; then :
33951   cat >>confdefs.h <<_ACEOF
33952 #define HAVE_FREXPL 1
33953 _ACEOF
33954
33955 fi
33956 done
33957
33958   else
33959
33960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33961 $as_echo_n "checking for _frexpl declaration... " >&6; }
33962   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33963     if ${glibcxx_cv_func__frexpl_use+:} false; then :
33964   $as_echo_n "(cached) " >&6
33965 else
33966
33967
33968       ac_ext=cpp
33969 ac_cpp='$CXXCPP $CPPFLAGS'
33970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33973
33974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33975 /* end confdefs.h.  */
33976 #include <math.h>
33977 int
33978 main ()
33979 {
33980  _frexpl(0, 0);
33981   ;
33982   return 0;
33983 }
33984 _ACEOF
33985 if ac_fn_cxx_try_compile "$LINENO"; then :
33986   glibcxx_cv_func__frexpl_use=yes
33987 else
33988   glibcxx_cv_func__frexpl_use=no
33989 fi
33990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33991       ac_ext=c
33992 ac_cpp='$CPP $CPPFLAGS'
33993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33996
33997
33998 fi
33999
34000   fi
34001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34002 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34003
34004     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34005       for ac_func in _frexpl
34006 do :
34007   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34008 if test "x$ac_cv_func__frexpl" = xyes; then :
34009   cat >>confdefs.h <<_ACEOF
34010 #define HAVE__FREXPL 1
34011 _ACEOF
34012
34013 fi
34014 done
34015
34016     fi
34017   fi
34018
34019
34020
34021
34022
34023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34024 $as_echo_n "checking for hypotl declaration... " >&6; }
34025   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34026     if ${glibcxx_cv_func_hypotl_use+:} false; then :
34027   $as_echo_n "(cached) " >&6
34028 else
34029
34030
34031       ac_ext=cpp
34032 ac_cpp='$CXXCPP $CPPFLAGS'
34033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34036
34037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34038 /* end confdefs.h.  */
34039 #include <math.h>
34040 int
34041 main ()
34042 {
34043  hypotl(0, 0);
34044   ;
34045   return 0;
34046 }
34047 _ACEOF
34048 if ac_fn_cxx_try_compile "$LINENO"; then :
34049   glibcxx_cv_func_hypotl_use=yes
34050 else
34051   glibcxx_cv_func_hypotl_use=no
34052 fi
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34054       ac_ext=c
34055 ac_cpp='$CPP $CPPFLAGS'
34056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34059
34060
34061 fi
34062
34063   fi
34064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34065 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34066
34067   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34068     for ac_func in hypotl
34069 do :
34070   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34071 if test "x$ac_cv_func_hypotl" = xyes; then :
34072   cat >>confdefs.h <<_ACEOF
34073 #define HAVE_HYPOTL 1
34074 _ACEOF
34075
34076 fi
34077 done
34078
34079   else
34080
34081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34082 $as_echo_n "checking for _hypotl declaration... " >&6; }
34083   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34084     if ${glibcxx_cv_func__hypotl_use+:} false; then :
34085   $as_echo_n "(cached) " >&6
34086 else
34087
34088
34089       ac_ext=cpp
34090 ac_cpp='$CXXCPP $CPPFLAGS'
34091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34094
34095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34096 /* end confdefs.h.  */
34097 #include <math.h>
34098 int
34099 main ()
34100 {
34101  _hypotl(0, 0);
34102   ;
34103   return 0;
34104 }
34105 _ACEOF
34106 if ac_fn_cxx_try_compile "$LINENO"; then :
34107   glibcxx_cv_func__hypotl_use=yes
34108 else
34109   glibcxx_cv_func__hypotl_use=no
34110 fi
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112       ac_ext=c
34113 ac_cpp='$CPP $CPPFLAGS'
34114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117
34118
34119 fi
34120
34121   fi
34122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34123 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34124
34125     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34126       for ac_func in _hypotl
34127 do :
34128   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34129 if test "x$ac_cv_func__hypotl" = xyes; then :
34130   cat >>confdefs.h <<_ACEOF
34131 #define HAVE__HYPOTL 1
34132 _ACEOF
34133
34134 fi
34135 done
34136
34137     fi
34138   fi
34139
34140
34141
34142
34143
34144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34145 $as_echo_n "checking for ldexpl declaration... " >&6; }
34146   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34147     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34148   $as_echo_n "(cached) " >&6
34149 else
34150
34151
34152       ac_ext=cpp
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34157
34158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34159 /* end confdefs.h.  */
34160 #include <math.h>
34161 int
34162 main ()
34163 {
34164  ldexpl(0, 0);
34165   ;
34166   return 0;
34167 }
34168 _ACEOF
34169 if ac_fn_cxx_try_compile "$LINENO"; then :
34170   glibcxx_cv_func_ldexpl_use=yes
34171 else
34172   glibcxx_cv_func_ldexpl_use=no
34173 fi
34174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34175       ac_ext=c
34176 ac_cpp='$CPP $CPPFLAGS'
34177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34180
34181
34182 fi
34183
34184   fi
34185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34186 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34187
34188   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34189     for ac_func in ldexpl
34190 do :
34191   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34192 if test "x$ac_cv_func_ldexpl" = xyes; then :
34193   cat >>confdefs.h <<_ACEOF
34194 #define HAVE_LDEXPL 1
34195 _ACEOF
34196
34197 fi
34198 done
34199
34200   else
34201
34202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34203 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34204   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34205     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34206   $as_echo_n "(cached) " >&6
34207 else
34208
34209
34210       ac_ext=cpp
34211 ac_cpp='$CXXCPP $CPPFLAGS'
34212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34215
34216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34217 /* end confdefs.h.  */
34218 #include <math.h>
34219 int
34220 main ()
34221 {
34222  _ldexpl(0, 0);
34223   ;
34224   return 0;
34225 }
34226 _ACEOF
34227 if ac_fn_cxx_try_compile "$LINENO"; then :
34228   glibcxx_cv_func__ldexpl_use=yes
34229 else
34230   glibcxx_cv_func__ldexpl_use=no
34231 fi
34232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34233       ac_ext=c
34234 ac_cpp='$CPP $CPPFLAGS'
34235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34238
34239
34240 fi
34241
34242   fi
34243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34244 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34245
34246     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34247       for ac_func in _ldexpl
34248 do :
34249   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34250 if test "x$ac_cv_func__ldexpl" = xyes; then :
34251   cat >>confdefs.h <<_ACEOF
34252 #define HAVE__LDEXPL 1
34253 _ACEOF
34254
34255 fi
34256 done
34257
34258     fi
34259   fi
34260
34261
34262
34263
34264
34265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34266 $as_echo_n "checking for logl declaration... " >&6; }
34267   if test x${glibcxx_cv_func_logl_use+set} != xset; then
34268     if ${glibcxx_cv_func_logl_use+:} false; then :
34269   $as_echo_n "(cached) " >&6
34270 else
34271
34272
34273       ac_ext=cpp
34274 ac_cpp='$CXXCPP $CPPFLAGS'
34275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34278
34279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34280 /* end confdefs.h.  */
34281 #include <math.h>
34282                       #ifdef HAVE_IEEEFP_H
34283                       #include <ieeefp.h>
34284                       #endif
34285
34286 int
34287 main ()
34288 {
34289  logl(0);
34290   ;
34291   return 0;
34292 }
34293 _ACEOF
34294 if ac_fn_cxx_try_compile "$LINENO"; then :
34295   glibcxx_cv_func_logl_use=yes
34296 else
34297   glibcxx_cv_func_logl_use=no
34298 fi
34299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34300       ac_ext=c
34301 ac_cpp='$CPP $CPPFLAGS'
34302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34305
34306
34307 fi
34308
34309   fi
34310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34311 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34312
34313   if test x$glibcxx_cv_func_logl_use = x"yes"; then
34314     for ac_func in logl
34315 do :
34316   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34317 if test "x$ac_cv_func_logl" = xyes; then :
34318   cat >>confdefs.h <<_ACEOF
34319 #define HAVE_LOGL 1
34320 _ACEOF
34321
34322 fi
34323 done
34324
34325   else
34326
34327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34328 $as_echo_n "checking for _logl declaration... " >&6; }
34329   if test x${glibcxx_cv_func__logl_use+set} != xset; then
34330     if ${glibcxx_cv_func__logl_use+:} false; then :
34331   $as_echo_n "(cached) " >&6
34332 else
34333
34334
34335       ac_ext=cpp
34336 ac_cpp='$CXXCPP $CPPFLAGS'
34337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340
34341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34342 /* end confdefs.h.  */
34343 #include <math.h>
34344                       #ifdef HAVE_IEEEFP_H
34345                       #include <ieeefp.h>
34346                       #endif
34347
34348 int
34349 main ()
34350 {
34351  _logl(0);
34352   ;
34353   return 0;
34354 }
34355 _ACEOF
34356 if ac_fn_cxx_try_compile "$LINENO"; then :
34357   glibcxx_cv_func__logl_use=yes
34358 else
34359   glibcxx_cv_func__logl_use=no
34360 fi
34361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34362       ac_ext=c
34363 ac_cpp='$CPP $CPPFLAGS'
34364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34367
34368
34369 fi
34370
34371   fi
34372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34373 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34374
34375     if test x$glibcxx_cv_func__logl_use = x"yes"; then
34376       for ac_func in _logl
34377 do :
34378   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34379 if test "x$ac_cv_func__logl" = xyes; then :
34380   cat >>confdefs.h <<_ACEOF
34381 #define HAVE__LOGL 1
34382 _ACEOF
34383
34384 fi
34385 done
34386
34387     fi
34388   fi
34389
34390
34391
34392
34393
34394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34395 $as_echo_n "checking for log10l declaration... " >&6; }
34396   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34397     if ${glibcxx_cv_func_log10l_use+:} false; then :
34398   $as_echo_n "(cached) " >&6
34399 else
34400
34401
34402       ac_ext=cpp
34403 ac_cpp='$CXXCPP $CPPFLAGS'
34404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34407
34408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34409 /* end confdefs.h.  */
34410 #include <math.h>
34411                       #ifdef HAVE_IEEEFP_H
34412                       #include <ieeefp.h>
34413                       #endif
34414
34415 int
34416 main ()
34417 {
34418  log10l(0);
34419   ;
34420   return 0;
34421 }
34422 _ACEOF
34423 if ac_fn_cxx_try_compile "$LINENO"; then :
34424   glibcxx_cv_func_log10l_use=yes
34425 else
34426   glibcxx_cv_func_log10l_use=no
34427 fi
34428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34429       ac_ext=c
34430 ac_cpp='$CPP $CPPFLAGS'
34431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34434
34435
34436 fi
34437
34438   fi
34439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34440 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34441
34442   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34443     for ac_func in log10l
34444 do :
34445   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34446 if test "x$ac_cv_func_log10l" = xyes; then :
34447   cat >>confdefs.h <<_ACEOF
34448 #define HAVE_LOG10L 1
34449 _ACEOF
34450
34451 fi
34452 done
34453
34454   else
34455
34456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34457 $as_echo_n "checking for _log10l declaration... " >&6; }
34458   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34459     if ${glibcxx_cv_func__log10l_use+:} false; then :
34460   $as_echo_n "(cached) " >&6
34461 else
34462
34463
34464       ac_ext=cpp
34465 ac_cpp='$CXXCPP $CPPFLAGS'
34466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34469
34470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34471 /* end confdefs.h.  */
34472 #include <math.h>
34473                       #ifdef HAVE_IEEEFP_H
34474                       #include <ieeefp.h>
34475                       #endif
34476
34477 int
34478 main ()
34479 {
34480  _log10l(0);
34481   ;
34482   return 0;
34483 }
34484 _ACEOF
34485 if ac_fn_cxx_try_compile "$LINENO"; then :
34486   glibcxx_cv_func__log10l_use=yes
34487 else
34488   glibcxx_cv_func__log10l_use=no
34489 fi
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34491       ac_ext=c
34492 ac_cpp='$CPP $CPPFLAGS'
34493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34496
34497
34498 fi
34499
34500   fi
34501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34502 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34503
34504     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34505       for ac_func in _log10l
34506 do :
34507   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34508 if test "x$ac_cv_func__log10l" = xyes; then :
34509   cat >>confdefs.h <<_ACEOF
34510 #define HAVE__LOG10L 1
34511 _ACEOF
34512
34513 fi
34514 done
34515
34516     fi
34517   fi
34518
34519
34520
34521
34522
34523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34524 $as_echo_n "checking for modfl declaration... " >&6; }
34525   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34526     if ${glibcxx_cv_func_modfl_use+:} false; then :
34527   $as_echo_n "(cached) " >&6
34528 else
34529
34530
34531       ac_ext=cpp
34532 ac_cpp='$CXXCPP $CPPFLAGS'
34533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34536
34537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34538 /* end confdefs.h.  */
34539 #include <math.h>
34540 int
34541 main ()
34542 {
34543  modfl(0, 0);
34544   ;
34545   return 0;
34546 }
34547 _ACEOF
34548 if ac_fn_cxx_try_compile "$LINENO"; then :
34549   glibcxx_cv_func_modfl_use=yes
34550 else
34551   glibcxx_cv_func_modfl_use=no
34552 fi
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34554       ac_ext=c
34555 ac_cpp='$CPP $CPPFLAGS'
34556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34559
34560
34561 fi
34562
34563   fi
34564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34565 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34566
34567   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34568     for ac_func in modfl
34569 do :
34570   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34571 if test "x$ac_cv_func_modfl" = xyes; then :
34572   cat >>confdefs.h <<_ACEOF
34573 #define HAVE_MODFL 1
34574 _ACEOF
34575
34576 fi
34577 done
34578
34579   else
34580
34581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34582 $as_echo_n "checking for _modfl declaration... " >&6; }
34583   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34584     if ${glibcxx_cv_func__modfl_use+:} false; then :
34585   $as_echo_n "(cached) " >&6
34586 else
34587
34588
34589       ac_ext=cpp
34590 ac_cpp='$CXXCPP $CPPFLAGS'
34591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34594
34595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h.  */
34597 #include <math.h>
34598 int
34599 main ()
34600 {
34601  _modfl(0, 0);
34602   ;
34603   return 0;
34604 }
34605 _ACEOF
34606 if ac_fn_cxx_try_compile "$LINENO"; then :
34607   glibcxx_cv_func__modfl_use=yes
34608 else
34609   glibcxx_cv_func__modfl_use=no
34610 fi
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612       ac_ext=c
34613 ac_cpp='$CPP $CPPFLAGS'
34614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34617
34618
34619 fi
34620
34621   fi
34622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34623 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34624
34625     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34626       for ac_func in _modfl
34627 do :
34628   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34629 if test "x$ac_cv_func__modfl" = xyes; then :
34630   cat >>confdefs.h <<_ACEOF
34631 #define HAVE__MODFL 1
34632 _ACEOF
34633
34634 fi
34635 done
34636
34637     fi
34638   fi
34639
34640
34641
34642
34643
34644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34645 $as_echo_n "checking for powl declaration... " >&6; }
34646   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34647     if ${glibcxx_cv_func_powl_use+:} false; then :
34648   $as_echo_n "(cached) " >&6
34649 else
34650
34651
34652       ac_ext=cpp
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34657
34658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34659 /* end confdefs.h.  */
34660 #include <math.h>
34661 int
34662 main ()
34663 {
34664  powl(0, 0);
34665   ;
34666   return 0;
34667 }
34668 _ACEOF
34669 if ac_fn_cxx_try_compile "$LINENO"; then :
34670   glibcxx_cv_func_powl_use=yes
34671 else
34672   glibcxx_cv_func_powl_use=no
34673 fi
34674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34675       ac_ext=c
34676 ac_cpp='$CPP $CPPFLAGS'
34677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34680
34681
34682 fi
34683
34684   fi
34685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34686 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34687
34688   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34689     for ac_func in powl
34690 do :
34691   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34692 if test "x$ac_cv_func_powl" = xyes; then :
34693   cat >>confdefs.h <<_ACEOF
34694 #define HAVE_POWL 1
34695 _ACEOF
34696
34697 fi
34698 done
34699
34700   else
34701
34702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34703 $as_echo_n "checking for _powl declaration... " >&6; }
34704   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34705     if ${glibcxx_cv_func__powl_use+:} false; then :
34706   $as_echo_n "(cached) " >&6
34707 else
34708
34709
34710       ac_ext=cpp
34711 ac_cpp='$CXXCPP $CPPFLAGS'
34712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34715
34716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34717 /* end confdefs.h.  */
34718 #include <math.h>
34719 int
34720 main ()
34721 {
34722  _powl(0, 0);
34723   ;
34724   return 0;
34725 }
34726 _ACEOF
34727 if ac_fn_cxx_try_compile "$LINENO"; then :
34728   glibcxx_cv_func__powl_use=yes
34729 else
34730   glibcxx_cv_func__powl_use=no
34731 fi
34732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34733       ac_ext=c
34734 ac_cpp='$CPP $CPPFLAGS'
34735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34738
34739
34740 fi
34741
34742   fi
34743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34744 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34745
34746     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34747       for ac_func in _powl
34748 do :
34749   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34750 if test "x$ac_cv_func__powl" = xyes; then :
34751   cat >>confdefs.h <<_ACEOF
34752 #define HAVE__POWL 1
34753 _ACEOF
34754
34755 fi
34756 done
34757
34758     fi
34759   fi
34760
34761
34762
34763
34764
34765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34766 $as_echo_n "checking for sqrtl declaration... " >&6; }
34767   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34768     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34769   $as_echo_n "(cached) " >&6
34770 else
34771
34772
34773       ac_ext=cpp
34774 ac_cpp='$CXXCPP $CPPFLAGS'
34775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34778
34779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34780 /* end confdefs.h.  */
34781 #include <math.h>
34782                       #ifdef HAVE_IEEEFP_H
34783                       #include <ieeefp.h>
34784                       #endif
34785
34786 int
34787 main ()
34788 {
34789  sqrtl(0);
34790   ;
34791   return 0;
34792 }
34793 _ACEOF
34794 if ac_fn_cxx_try_compile "$LINENO"; then :
34795   glibcxx_cv_func_sqrtl_use=yes
34796 else
34797   glibcxx_cv_func_sqrtl_use=no
34798 fi
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34800       ac_ext=c
34801 ac_cpp='$CPP $CPPFLAGS'
34802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34805
34806
34807 fi
34808
34809   fi
34810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34811 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34812
34813   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34814     for ac_func in sqrtl
34815 do :
34816   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34817 if test "x$ac_cv_func_sqrtl" = xyes; then :
34818   cat >>confdefs.h <<_ACEOF
34819 #define HAVE_SQRTL 1
34820 _ACEOF
34821
34822 fi
34823 done
34824
34825   else
34826
34827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34828 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34829   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34830     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34831   $as_echo_n "(cached) " >&6
34832 else
34833
34834
34835       ac_ext=cpp
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34840
34841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34842 /* end confdefs.h.  */
34843 #include <math.h>
34844                       #ifdef HAVE_IEEEFP_H
34845                       #include <ieeefp.h>
34846                       #endif
34847
34848 int
34849 main ()
34850 {
34851  _sqrtl(0);
34852   ;
34853   return 0;
34854 }
34855 _ACEOF
34856 if ac_fn_cxx_try_compile "$LINENO"; then :
34857   glibcxx_cv_func__sqrtl_use=yes
34858 else
34859   glibcxx_cv_func__sqrtl_use=no
34860 fi
34861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34862       ac_ext=c
34863 ac_cpp='$CPP $CPPFLAGS'
34864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34867
34868
34869 fi
34870
34871   fi
34872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34873 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34874
34875     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34876       for ac_func in _sqrtl
34877 do :
34878   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34879 if test "x$ac_cv_func__sqrtl" = xyes; then :
34880   cat >>confdefs.h <<_ACEOF
34881 #define HAVE__SQRTL 1
34882 _ACEOF
34883
34884 fi
34885 done
34886
34887     fi
34888   fi
34889
34890
34891
34892
34893
34894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34895 $as_echo_n "checking for sincosl declaration... " >&6; }
34896   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34897     if ${glibcxx_cv_func_sincosl_use+:} false; then :
34898   $as_echo_n "(cached) " >&6
34899 else
34900
34901
34902       ac_ext=cpp
34903 ac_cpp='$CXXCPP $CPPFLAGS'
34904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34907
34908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34909 /* end confdefs.h.  */
34910 #include <math.h>
34911 int
34912 main ()
34913 {
34914  sincosl(0, 0, 0);
34915   ;
34916   return 0;
34917 }
34918 _ACEOF
34919 if ac_fn_cxx_try_compile "$LINENO"; then :
34920   glibcxx_cv_func_sincosl_use=yes
34921 else
34922   glibcxx_cv_func_sincosl_use=no
34923 fi
34924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34925       ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34930
34931
34932 fi
34933
34934   fi
34935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34936 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34937
34938   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34939     for ac_func in sincosl
34940 do :
34941   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34942 if test "x$ac_cv_func_sincosl" = xyes; then :
34943   cat >>confdefs.h <<_ACEOF
34944 #define HAVE_SINCOSL 1
34945 _ACEOF
34946
34947 fi
34948 done
34949
34950   else
34951
34952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34953 $as_echo_n "checking for _sincosl declaration... " >&6; }
34954   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34955     if ${glibcxx_cv_func__sincosl_use+:} false; then :
34956   $as_echo_n "(cached) " >&6
34957 else
34958
34959
34960       ac_ext=cpp
34961 ac_cpp='$CXXCPP $CPPFLAGS'
34962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34965
34966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h.  */
34968 #include <math.h>
34969 int
34970 main ()
34971 {
34972  _sincosl(0, 0, 0);
34973   ;
34974   return 0;
34975 }
34976 _ACEOF
34977 if ac_fn_cxx_try_compile "$LINENO"; then :
34978   glibcxx_cv_func__sincosl_use=yes
34979 else
34980   glibcxx_cv_func__sincosl_use=no
34981 fi
34982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34983       ac_ext=c
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988
34989
34990 fi
34991
34992   fi
34993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34994 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34995
34996     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34997       for ac_func in _sincosl
34998 do :
34999   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35000 if test "x$ac_cv_func__sincosl" = xyes; then :
35001   cat >>confdefs.h <<_ACEOF
35002 #define HAVE__SINCOSL 1
35003 _ACEOF
35004
35005 fi
35006 done
35007
35008     fi
35009   fi
35010
35011
35012
35013
35014
35015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35016 $as_echo_n "checking for finitel declaration... " >&6; }
35017   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35018     if ${glibcxx_cv_func_finitel_use+:} false; then :
35019   $as_echo_n "(cached) " >&6
35020 else
35021
35022
35023       ac_ext=cpp
35024 ac_cpp='$CXXCPP $CPPFLAGS'
35025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35028
35029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h.  */
35031 #include <math.h>
35032                       #ifdef HAVE_IEEEFP_H
35033                       #include <ieeefp.h>
35034                       #endif
35035
35036 int
35037 main ()
35038 {
35039  finitel(0);
35040   ;
35041   return 0;
35042 }
35043 _ACEOF
35044 if ac_fn_cxx_try_compile "$LINENO"; then :
35045   glibcxx_cv_func_finitel_use=yes
35046 else
35047   glibcxx_cv_func_finitel_use=no
35048 fi
35049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35050       ac_ext=c
35051 ac_cpp='$CPP $CPPFLAGS'
35052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35055
35056
35057 fi
35058
35059   fi
35060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35061 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35062
35063   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35064     for ac_func in finitel
35065 do :
35066   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35067 if test "x$ac_cv_func_finitel" = xyes; then :
35068   cat >>confdefs.h <<_ACEOF
35069 #define HAVE_FINITEL 1
35070 _ACEOF
35071
35072 fi
35073 done
35074
35075   else
35076
35077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35078 $as_echo_n "checking for _finitel declaration... " >&6; }
35079   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35080     if ${glibcxx_cv_func__finitel_use+:} false; then :
35081   $as_echo_n "(cached) " >&6
35082 else
35083
35084
35085       ac_ext=cpp
35086 ac_cpp='$CXXCPP $CPPFLAGS'
35087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35090
35091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35092 /* end confdefs.h.  */
35093 #include <math.h>
35094                       #ifdef HAVE_IEEEFP_H
35095                       #include <ieeefp.h>
35096                       #endif
35097
35098 int
35099 main ()
35100 {
35101  _finitel(0);
35102   ;
35103   return 0;
35104 }
35105 _ACEOF
35106 if ac_fn_cxx_try_compile "$LINENO"; then :
35107   glibcxx_cv_func__finitel_use=yes
35108 else
35109   glibcxx_cv_func__finitel_use=no
35110 fi
35111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35112       ac_ext=c
35113 ac_cpp='$CPP $CPPFLAGS'
35114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35117
35118
35119 fi
35120
35121   fi
35122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35123 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35124
35125     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35126       for ac_func in _finitel
35127 do :
35128   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35129 if test "x$ac_cv_func__finitel" = xyes; then :
35130   cat >>confdefs.h <<_ACEOF
35131 #define HAVE__FINITEL 1
35132 _ACEOF
35133
35134 fi
35135 done
35136
35137     fi
35138   fi
35139
35140
35141
35142
35143   LIBS="$ac_save_LIBS"
35144   CXXFLAGS="$ac_save_CXXFLAGS"
35145
35146
35147   ac_test_CXXFLAGS="${CXXFLAGS+set}"
35148   ac_save_CXXFLAGS="$CXXFLAGS"
35149   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35150
35151
35152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35153 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35154   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35155     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35156   $as_echo_n "(cached) " >&6
35157 else
35158
35159
35160       ac_ext=cpp
35161 ac_cpp='$CXXCPP $CPPFLAGS'
35162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35165
35166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35167 /* end confdefs.h.  */
35168 #include <stdlib.h>
35169 int
35170 main ()
35171 {
35172  at_quick_exit(0);
35173   ;
35174   return 0;
35175 }
35176 _ACEOF
35177 if ac_fn_cxx_try_compile "$LINENO"; then :
35178   glibcxx_cv_func_at_quick_exit_use=yes
35179 else
35180   glibcxx_cv_func_at_quick_exit_use=no
35181 fi
35182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183       ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35188
35189
35190 fi
35191
35192   fi
35193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35194 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35195   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35196     for ac_func in at_quick_exit
35197 do :
35198   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35199 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35200   cat >>confdefs.h <<_ACEOF
35201 #define HAVE_AT_QUICK_EXIT 1
35202 _ACEOF
35203
35204 fi
35205 done
35206
35207   fi
35208
35209
35210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35211 $as_echo_n "checking for quick_exit declaration... " >&6; }
35212   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35213     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35214   $as_echo_n "(cached) " >&6
35215 else
35216
35217
35218       ac_ext=cpp
35219 ac_cpp='$CXXCPP $CPPFLAGS'
35220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35223
35224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35225 /* end confdefs.h.  */
35226 #include <stdlib.h>
35227 int
35228 main ()
35229 {
35230  quick_exit(0);
35231   ;
35232   return 0;
35233 }
35234 _ACEOF
35235 if ac_fn_cxx_try_compile "$LINENO"; then :
35236   glibcxx_cv_func_quick_exit_use=yes
35237 else
35238   glibcxx_cv_func_quick_exit_use=no
35239 fi
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241       ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35246
35247
35248 fi
35249
35250   fi
35251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35252 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35253   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35254     for ac_func in quick_exit
35255 do :
35256   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35257 if test "x$ac_cv_func_quick_exit" = xyes; then :
35258   cat >>confdefs.h <<_ACEOF
35259 #define HAVE_QUICK_EXIT 1
35260 _ACEOF
35261
35262 fi
35263 done
35264
35265   fi
35266
35267
35268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35269 $as_echo_n "checking for strtold declaration... " >&6; }
35270   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35271     if ${glibcxx_cv_func_strtold_use+:} false; then :
35272   $as_echo_n "(cached) " >&6
35273 else
35274
35275
35276       ac_ext=cpp
35277 ac_cpp='$CXXCPP $CPPFLAGS'
35278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35281
35282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35283 /* end confdefs.h.  */
35284 #include <stdlib.h>
35285 int
35286 main ()
35287 {
35288  strtold(0, 0);
35289   ;
35290   return 0;
35291 }
35292 _ACEOF
35293 if ac_fn_cxx_try_compile "$LINENO"; then :
35294   glibcxx_cv_func_strtold_use=yes
35295 else
35296   glibcxx_cv_func_strtold_use=no
35297 fi
35298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35299       ac_ext=c
35300 ac_cpp='$CPP $CPPFLAGS'
35301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35304
35305
35306 fi
35307
35308   fi
35309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35310 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35311   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35312     for ac_func in strtold
35313 do :
35314   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35315 if test "x$ac_cv_func_strtold" = xyes; then :
35316   cat >>confdefs.h <<_ACEOF
35317 #define HAVE_STRTOLD 1
35318 _ACEOF
35319
35320 fi
35321 done
35322
35323   fi
35324
35325
35326
35327
35328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35329 $as_echo_n "checking for strtof declaration... " >&6; }
35330   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35331     if ${glibcxx_cv_func_strtof_use+:} false; then :
35332   $as_echo_n "(cached) " >&6
35333 else
35334
35335
35336       ac_ext=cpp
35337 ac_cpp='$CXXCPP $CPPFLAGS'
35338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35341
35342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35343 /* end confdefs.h.  */
35344 #include <stdlib.h>
35345 int
35346 main ()
35347 {
35348  strtof(0, 0);
35349   ;
35350   return 0;
35351 }
35352 _ACEOF
35353 if ac_fn_cxx_try_compile "$LINENO"; then :
35354   glibcxx_cv_func_strtof_use=yes
35355 else
35356   glibcxx_cv_func_strtof_use=no
35357 fi
35358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35359       ac_ext=c
35360 ac_cpp='$CPP $CPPFLAGS'
35361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35364
35365
35366 fi
35367
35368   fi
35369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35370 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35371   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35372     for ac_func in strtof
35373 do :
35374   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35375 if test "x$ac_cv_func_strtof" = xyes; then :
35376   cat >>confdefs.h <<_ACEOF
35377 #define HAVE_STRTOF 1
35378 _ACEOF
35379
35380 fi
35381 done
35382
35383   fi
35384
35385
35386
35387
35388   CXXFLAGS="$ac_save_CXXFLAGS"
35389
35390
35391     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35392
35393     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35394
35395     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35396
35397     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35398
35399
35400     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35401
35402     $as_echo "#define HAVE_MODF 1" >>confdefs.h
35403
35404     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35405
35406     ;;
35407
35408   *-aix*)
35409
35410   # If we're not using GNU ld, then there's no point in even trying these
35411   # tests.  Check for that first.  We should have already tested for gld
35412   # by now (in libtool), but require it now just to be safe...
35413   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35414   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35415
35416
35417
35418   # The name set by libtool depends on the version of libtool.  Shame on us
35419   # for depending on an impl detail, but c'est la vie.  Older versions used
35420   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35421   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35422   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35423   # set (hence we're using an older libtool), then set it.
35424   if test x${with_gnu_ld+set} != xset; then
35425     if test x${ac_cv_prog_gnu_ld+set} != xset; then
35426       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35427       with_gnu_ld=no
35428     else
35429       with_gnu_ld=$ac_cv_prog_gnu_ld
35430     fi
35431   fi
35432
35433   # Start by getting the version number.  I think the libtool test already
35434   # does some of this, but throws away the result.
35435   glibcxx_ld_is_gold=no
35436   glibcxx_ld_is_mold=no
35437   if test x"$with_gnu_ld" = x"yes"; then
35438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35439 $as_echo_n "checking for ld version... " >&6; }
35440
35441     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35442       glibcxx_ld_is_gold=yes
35443     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35444       glibcxx_ld_is_mold=yes
35445     fi
35446     ldver=`$LD --version 2>/dev/null |
35447            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35448
35449     glibcxx_gnu_ld_version=`echo $ldver | \
35450            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35452 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35453   fi
35454
35455   # Set --gc-sections.
35456   glibcxx_have_gc_sections=no
35457   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35458     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35459       glibcxx_have_gc_sections=yes
35460     fi
35461   else
35462     glibcxx_gcsections_min_ld=21602
35463     if test x"$with_gnu_ld" = x"yes" &&
35464         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35465       glibcxx_have_gc_sections=yes
35466     fi
35467   fi
35468   if test "$glibcxx_have_gc_sections" = "yes"; then
35469     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35470     # NB: This flag only works reliably after 2.16.1. Configure tests
35471     # for this are difficult, so hard wire a value that should work.
35472
35473     ac_test_CFLAGS="${CFLAGS+set}"
35474     ac_save_CFLAGS="$CFLAGS"
35475     CFLAGS='-Wl,--gc-sections'
35476
35477     # Check for -Wl,--gc-sections
35478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35479 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35480     if test x$gcc_no_link = xyes; then
35481   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35482 fi
35483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35484 /* end confdefs.h.  */
35485  int one(void) { return 1; }
35486      int two(void) { return 2; }
35487
35488 int
35489 main ()
35490 {
35491  two();
35492   ;
35493   return 0;
35494 }
35495 _ACEOF
35496 if ac_fn_c_try_link "$LINENO"; then :
35497   ac_gcsections=yes
35498 else
35499   ac_gcsections=no
35500 fi
35501 rm -f core conftest.err conftest.$ac_objext \
35502     conftest$ac_exeext conftest.$ac_ext
35503     if test "$ac_gcsections" = "yes"; then
35504       rm -f conftest.c
35505       touch conftest.c
35506       if $CC -c conftest.c; then
35507         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35508            grep "Warning: gc-sections option ignored" > /dev/null; then
35509           ac_gcsections=no
35510         fi
35511       fi
35512       rm -f conftest.c conftest.o conftest
35513     fi
35514     if test "$ac_gcsections" = "yes"; then
35515       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35516     fi
35517     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35518 $as_echo "$ac_gcsections" >&6; }
35519
35520     if test "$ac_test_CFLAGS" = set; then
35521       CFLAGS="$ac_save_CFLAGS"
35522     else
35523       # this is the suspicious part
35524       CFLAGS=''
35525     fi
35526   fi
35527
35528   # Set -z,relro.
35529   # Note this is only for shared objects.
35530   ac_ld_relro=no
35531   if test x"$with_gnu_ld" = x"yes"; then
35532     # cygwin and mingw uses PE, which has no ELF relro support,
35533     # multi target ld may confuse configure machinery
35534     case "$host" in
35535     *-*-cygwin*)
35536      ;;
35537     *-*-mingw*)
35538      ;;
35539     *)
35540       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35541 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35542       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35543       if test -n "$cxx_z_relo"; then
35544         OPT_LDFLAGS="-Wl,-z,relro"
35545         ac_ld_relro=yes
35546       fi
35547       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35548 $as_echo "$ac_ld_relro" >&6; }
35549     esac
35550   fi
35551
35552   # Set linker optimization flags.
35553   if test x"$with_gnu_ld" = x"yes"; then
35554     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35555   fi
35556
35557
35558
35559
35560
35561   ac_test_CXXFLAGS="${CXXFLAGS+set}"
35562   ac_save_CXXFLAGS="$CXXFLAGS"
35563   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35564
35565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35566 $as_echo_n "checking for sin in -lm... " >&6; }
35567 if ${ac_cv_lib_m_sin+:} false; then :
35568   $as_echo_n "(cached) " >&6
35569 else
35570   ac_check_lib_save_LIBS=$LIBS
35571 LIBS="-lm  $LIBS"
35572 if test x$gcc_no_link = xyes; then
35573   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35574 fi
35575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35576 /* end confdefs.h.  */
35577
35578 /* Override any GCC internal prototype to avoid an error.
35579    Use char because int might match the return type of a GCC
35580    builtin and then its argument prototype would still apply.  */
35581 #ifdef __cplusplus
35582 extern "C"
35583 #endif
35584 char sin ();
35585 int
35586 main ()
35587 {
35588 return sin ();
35589   ;
35590   return 0;
35591 }
35592 _ACEOF
35593 if ac_fn_c_try_link "$LINENO"; then :
35594   ac_cv_lib_m_sin=yes
35595 else
35596   ac_cv_lib_m_sin=no
35597 fi
35598 rm -f core conftest.err conftest.$ac_objext \
35599     conftest$ac_exeext conftest.$ac_ext
35600 LIBS=$ac_check_lib_save_LIBS
35601 fi
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35603 $as_echo "$ac_cv_lib_m_sin" >&6; }
35604 if test "x$ac_cv_lib_m_sin" = xyes; then :
35605   libm="-lm"
35606 fi
35607
35608   ac_save_LIBS="$LIBS"
35609   LIBS="$LIBS $libm"
35610
35611
35612
35613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35614 $as_echo_n "checking for isinf declaration... " >&6; }
35615   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35616     if ${glibcxx_cv_func_isinf_use+:} false; then :
35617   $as_echo_n "(cached) " >&6
35618 else
35619
35620
35621       ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626
35627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h.  */
35629 #include <math.h>
35630                       #ifdef HAVE_IEEEFP_H
35631                       #include <ieeefp.h>
35632                       #endif
35633
35634 int
35635 main ()
35636 {
35637  isinf(0);
35638   ;
35639   return 0;
35640 }
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643   glibcxx_cv_func_isinf_use=yes
35644 else
35645   glibcxx_cv_func_isinf_use=no
35646 fi
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35648       ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35653
35654
35655 fi
35656
35657   fi
35658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35659 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35660
35661   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35662     for ac_func in isinf
35663 do :
35664   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35665 if test "x$ac_cv_func_isinf" = xyes; then :
35666   cat >>confdefs.h <<_ACEOF
35667 #define HAVE_ISINF 1
35668 _ACEOF
35669
35670 fi
35671 done
35672
35673   else
35674
35675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35676 $as_echo_n "checking for _isinf declaration... " >&6; }
35677   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35678     if ${glibcxx_cv_func__isinf_use+:} false; then :
35679   $as_echo_n "(cached) " >&6
35680 else
35681
35682
35683       ac_ext=cpp
35684 ac_cpp='$CXXCPP $CPPFLAGS'
35685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688
35689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35690 /* end confdefs.h.  */
35691 #include <math.h>
35692                       #ifdef HAVE_IEEEFP_H
35693                       #include <ieeefp.h>
35694                       #endif
35695
35696 int
35697 main ()
35698 {
35699  _isinf(0);
35700   ;
35701   return 0;
35702 }
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705   glibcxx_cv_func__isinf_use=yes
35706 else
35707   glibcxx_cv_func__isinf_use=no
35708 fi
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710       ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35715
35716
35717 fi
35718
35719   fi
35720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35721 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35722
35723     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35724       for ac_func in _isinf
35725 do :
35726   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35727 if test "x$ac_cv_func__isinf" = xyes; then :
35728   cat >>confdefs.h <<_ACEOF
35729 #define HAVE__ISINF 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735     fi
35736   fi
35737
35738
35739
35740
35741
35742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35743 $as_echo_n "checking for isnan declaration... " >&6; }
35744   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35745     if ${glibcxx_cv_func_isnan_use+:} false; then :
35746   $as_echo_n "(cached) " >&6
35747 else
35748
35749
35750       ac_ext=cpp
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755
35756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h.  */
35758 #include <math.h>
35759                       #ifdef HAVE_IEEEFP_H
35760                       #include <ieeefp.h>
35761                       #endif
35762
35763 int
35764 main ()
35765 {
35766  isnan(0);
35767   ;
35768   return 0;
35769 }
35770 _ACEOF
35771 if ac_fn_cxx_try_compile "$LINENO"; then :
35772   glibcxx_cv_func_isnan_use=yes
35773 else
35774   glibcxx_cv_func_isnan_use=no
35775 fi
35776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35777       ac_ext=c
35778 ac_cpp='$CPP $CPPFLAGS'
35779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35782
35783
35784 fi
35785
35786   fi
35787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35788 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35789
35790   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35791     for ac_func in isnan
35792 do :
35793   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35794 if test "x$ac_cv_func_isnan" = xyes; then :
35795   cat >>confdefs.h <<_ACEOF
35796 #define HAVE_ISNAN 1
35797 _ACEOF
35798
35799 fi
35800 done
35801
35802   else
35803
35804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35805 $as_echo_n "checking for _isnan declaration... " >&6; }
35806   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35807     if ${glibcxx_cv_func__isnan_use+:} false; then :
35808   $as_echo_n "(cached) " >&6
35809 else
35810
35811
35812       ac_ext=cpp
35813 ac_cpp='$CXXCPP $CPPFLAGS'
35814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817
35818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35819 /* end confdefs.h.  */
35820 #include <math.h>
35821                       #ifdef HAVE_IEEEFP_H
35822                       #include <ieeefp.h>
35823                       #endif
35824
35825 int
35826 main ()
35827 {
35828  _isnan(0);
35829   ;
35830   return 0;
35831 }
35832 _ACEOF
35833 if ac_fn_cxx_try_compile "$LINENO"; then :
35834   glibcxx_cv_func__isnan_use=yes
35835 else
35836   glibcxx_cv_func__isnan_use=no
35837 fi
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839       ac_ext=c
35840 ac_cpp='$CPP $CPPFLAGS'
35841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844
35845
35846 fi
35847
35848   fi
35849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35850 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35851
35852     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35853       for ac_func in _isnan
35854 do :
35855   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35856 if test "x$ac_cv_func__isnan" = xyes; then :
35857   cat >>confdefs.h <<_ACEOF
35858 #define HAVE__ISNAN 1
35859 _ACEOF
35860
35861 fi
35862 done
35863
35864     fi
35865   fi
35866
35867
35868
35869
35870
35871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35872 $as_echo_n "checking for finite declaration... " >&6; }
35873   if test x${glibcxx_cv_func_finite_use+set} != xset; then
35874     if ${glibcxx_cv_func_finite_use+:} false; then :
35875   $as_echo_n "(cached) " >&6
35876 else
35877
35878
35879       ac_ext=cpp
35880 ac_cpp='$CXXCPP $CPPFLAGS'
35881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35884
35885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35886 /* end confdefs.h.  */
35887 #include <math.h>
35888                       #ifdef HAVE_IEEEFP_H
35889                       #include <ieeefp.h>
35890                       #endif
35891
35892 int
35893 main ()
35894 {
35895  finite(0);
35896   ;
35897   return 0;
35898 }
35899 _ACEOF
35900 if ac_fn_cxx_try_compile "$LINENO"; then :
35901   glibcxx_cv_func_finite_use=yes
35902 else
35903   glibcxx_cv_func_finite_use=no
35904 fi
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35906       ac_ext=c
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35911
35912
35913 fi
35914
35915   fi
35916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35917 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35918
35919   if test x$glibcxx_cv_func_finite_use = x"yes"; then
35920     for ac_func in finite
35921 do :
35922   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35923 if test "x$ac_cv_func_finite" = xyes; then :
35924   cat >>confdefs.h <<_ACEOF
35925 #define HAVE_FINITE 1
35926 _ACEOF
35927
35928 fi
35929 done
35930
35931   else
35932
35933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35934 $as_echo_n "checking for _finite declaration... " >&6; }
35935   if test x${glibcxx_cv_func__finite_use+set} != xset; then
35936     if ${glibcxx_cv_func__finite_use+:} false; then :
35937   $as_echo_n "(cached) " >&6
35938 else
35939
35940
35941       ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946
35947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h.  */
35949 #include <math.h>
35950                       #ifdef HAVE_IEEEFP_H
35951                       #include <ieeefp.h>
35952                       #endif
35953
35954 int
35955 main ()
35956 {
35957  _finite(0);
35958   ;
35959   return 0;
35960 }
35961 _ACEOF
35962 if ac_fn_cxx_try_compile "$LINENO"; then :
35963   glibcxx_cv_func__finite_use=yes
35964 else
35965   glibcxx_cv_func__finite_use=no
35966 fi
35967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968       ac_ext=c
35969 ac_cpp='$CPP $CPPFLAGS'
35970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35973
35974
35975 fi
35976
35977   fi
35978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35979 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35980
35981     if test x$glibcxx_cv_func__finite_use = x"yes"; then
35982       for ac_func in _finite
35983 do :
35984   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35985 if test "x$ac_cv_func__finite" = xyes; then :
35986   cat >>confdefs.h <<_ACEOF
35987 #define HAVE__FINITE 1
35988 _ACEOF
35989
35990 fi
35991 done
35992
35993     fi
35994   fi
35995
35996
35997
35998
35999
36000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36001 $as_echo_n "checking for sincos declaration... " >&6; }
36002   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36003     if ${glibcxx_cv_func_sincos_use+:} false; then :
36004   $as_echo_n "(cached) " >&6
36005 else
36006
36007
36008       ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36013
36014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36015 /* end confdefs.h.  */
36016 #include <math.h>
36017 int
36018 main ()
36019 {
36020  sincos(0, 0, 0);
36021   ;
36022   return 0;
36023 }
36024 _ACEOF
36025 if ac_fn_cxx_try_compile "$LINENO"; then :
36026   glibcxx_cv_func_sincos_use=yes
36027 else
36028   glibcxx_cv_func_sincos_use=no
36029 fi
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031       ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036
36037
36038 fi
36039
36040   fi
36041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36042 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36043
36044   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36045     for ac_func in sincos
36046 do :
36047   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36048 if test "x$ac_cv_func_sincos" = xyes; then :
36049   cat >>confdefs.h <<_ACEOF
36050 #define HAVE_SINCOS 1
36051 _ACEOF
36052
36053 fi
36054 done
36055
36056   else
36057
36058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36059 $as_echo_n "checking for _sincos declaration... " >&6; }
36060   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36061     if ${glibcxx_cv_func__sincos_use+:} false; then :
36062   $as_echo_n "(cached) " >&6
36063 else
36064
36065
36066       ac_ext=cpp
36067 ac_cpp='$CXXCPP $CPPFLAGS'
36068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36071
36072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36073 /* end confdefs.h.  */
36074 #include <math.h>
36075 int
36076 main ()
36077 {
36078  _sincos(0, 0, 0);
36079   ;
36080   return 0;
36081 }
36082 _ACEOF
36083 if ac_fn_cxx_try_compile "$LINENO"; then :
36084   glibcxx_cv_func__sincos_use=yes
36085 else
36086   glibcxx_cv_func__sincos_use=no
36087 fi
36088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36089       ac_ext=c
36090 ac_cpp='$CPP $CPPFLAGS'
36091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36094
36095
36096 fi
36097
36098   fi
36099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36100 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36101
36102     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36103       for ac_func in _sincos
36104 do :
36105   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36106 if test "x$ac_cv_func__sincos" = xyes; then :
36107   cat >>confdefs.h <<_ACEOF
36108 #define HAVE__SINCOS 1
36109 _ACEOF
36110
36111 fi
36112 done
36113
36114     fi
36115   fi
36116
36117
36118
36119
36120
36121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36122 $as_echo_n "checking for fpclass declaration... " >&6; }
36123   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36124     if ${glibcxx_cv_func_fpclass_use+:} false; then :
36125   $as_echo_n "(cached) " >&6
36126 else
36127
36128
36129       ac_ext=cpp
36130 ac_cpp='$CXXCPP $CPPFLAGS'
36131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36134
36135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 /* end confdefs.h.  */
36137 #include <math.h>
36138                       #ifdef HAVE_IEEEFP_H
36139                       #include <ieeefp.h>
36140                       #endif
36141
36142 int
36143 main ()
36144 {
36145  fpclass(0);
36146   ;
36147   return 0;
36148 }
36149 _ACEOF
36150 if ac_fn_cxx_try_compile "$LINENO"; then :
36151   glibcxx_cv_func_fpclass_use=yes
36152 else
36153   glibcxx_cv_func_fpclass_use=no
36154 fi
36155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36156       ac_ext=c
36157 ac_cpp='$CPP $CPPFLAGS'
36158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36161
36162
36163 fi
36164
36165   fi
36166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36167 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36168
36169   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36170     for ac_func in fpclass
36171 do :
36172   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36173 if test "x$ac_cv_func_fpclass" = xyes; then :
36174   cat >>confdefs.h <<_ACEOF
36175 #define HAVE_FPCLASS 1
36176 _ACEOF
36177
36178 fi
36179 done
36180
36181   else
36182
36183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36184 $as_echo_n "checking for _fpclass declaration... " >&6; }
36185   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36186     if ${glibcxx_cv_func__fpclass_use+:} false; then :
36187   $as_echo_n "(cached) " >&6
36188 else
36189
36190
36191       ac_ext=cpp
36192 ac_cpp='$CXXCPP $CPPFLAGS'
36193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36196
36197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36198 /* end confdefs.h.  */
36199 #include <math.h>
36200                       #ifdef HAVE_IEEEFP_H
36201                       #include <ieeefp.h>
36202                       #endif
36203
36204 int
36205 main ()
36206 {
36207  _fpclass(0);
36208   ;
36209   return 0;
36210 }
36211 _ACEOF
36212 if ac_fn_cxx_try_compile "$LINENO"; then :
36213   glibcxx_cv_func__fpclass_use=yes
36214 else
36215   glibcxx_cv_func__fpclass_use=no
36216 fi
36217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36218       ac_ext=c
36219 ac_cpp='$CPP $CPPFLAGS'
36220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36223
36224
36225 fi
36226
36227   fi
36228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36229 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36230
36231     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36232       for ac_func in _fpclass
36233 do :
36234   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36235 if test "x$ac_cv_func__fpclass" = xyes; then :
36236   cat >>confdefs.h <<_ACEOF
36237 #define HAVE__FPCLASS 1
36238 _ACEOF
36239
36240 fi
36241 done
36242
36243     fi
36244   fi
36245
36246
36247
36248
36249
36250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36251 $as_echo_n "checking for qfpclass declaration... " >&6; }
36252   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36253     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36254   $as_echo_n "(cached) " >&6
36255 else
36256
36257
36258       ac_ext=cpp
36259 ac_cpp='$CXXCPP $CPPFLAGS'
36260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263
36264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36265 /* end confdefs.h.  */
36266 #include <math.h>
36267                       #ifdef HAVE_IEEEFP_H
36268                       #include <ieeefp.h>
36269                       #endif
36270
36271 int
36272 main ()
36273 {
36274  qfpclass(0);
36275   ;
36276   return 0;
36277 }
36278 _ACEOF
36279 if ac_fn_cxx_try_compile "$LINENO"; then :
36280   glibcxx_cv_func_qfpclass_use=yes
36281 else
36282   glibcxx_cv_func_qfpclass_use=no
36283 fi
36284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36285       ac_ext=c
36286 ac_cpp='$CPP $CPPFLAGS'
36287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36290
36291
36292 fi
36293
36294   fi
36295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36296 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36297
36298   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36299     for ac_func in qfpclass
36300 do :
36301   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36302 if test "x$ac_cv_func_qfpclass" = xyes; then :
36303   cat >>confdefs.h <<_ACEOF
36304 #define HAVE_QFPCLASS 1
36305 _ACEOF
36306
36307 fi
36308 done
36309
36310   else
36311
36312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36313 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36314   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36315     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36316   $as_echo_n "(cached) " >&6
36317 else
36318
36319
36320       ac_ext=cpp
36321 ac_cpp='$CXXCPP $CPPFLAGS'
36322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36325
36326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36327 /* end confdefs.h.  */
36328 #include <math.h>
36329                       #ifdef HAVE_IEEEFP_H
36330                       #include <ieeefp.h>
36331                       #endif
36332
36333 int
36334 main ()
36335 {
36336  _qfpclass(0);
36337   ;
36338   return 0;
36339 }
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342   glibcxx_cv_func__qfpclass_use=yes
36343 else
36344   glibcxx_cv_func__qfpclass_use=no
36345 fi
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347       ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352
36353
36354 fi
36355
36356   fi
36357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36358 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36359
36360     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36361       for ac_func in _qfpclass
36362 do :
36363   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36364 if test "x$ac_cv_func__qfpclass" = xyes; then :
36365   cat >>confdefs.h <<_ACEOF
36366 #define HAVE__QFPCLASS 1
36367 _ACEOF
36368
36369 fi
36370 done
36371
36372     fi
36373   fi
36374
36375
36376
36377
36378
36379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36380 $as_echo_n "checking for hypot declaration... " >&6; }
36381   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36382     if ${glibcxx_cv_func_hypot_use+:} false; then :
36383   $as_echo_n "(cached) " >&6
36384 else
36385
36386
36387       ac_ext=cpp
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36392
36393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36394 /* end confdefs.h.  */
36395 #include <math.h>
36396 int
36397 main ()
36398 {
36399  hypot(0, 0);
36400   ;
36401   return 0;
36402 }
36403 _ACEOF
36404 if ac_fn_cxx_try_compile "$LINENO"; then :
36405   glibcxx_cv_func_hypot_use=yes
36406 else
36407   glibcxx_cv_func_hypot_use=no
36408 fi
36409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410       ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36415
36416
36417 fi
36418
36419   fi
36420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36421 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36422
36423   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36424     for ac_func in hypot
36425 do :
36426   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36427 if test "x$ac_cv_func_hypot" = xyes; then :
36428   cat >>confdefs.h <<_ACEOF
36429 #define HAVE_HYPOT 1
36430 _ACEOF
36431
36432 fi
36433 done
36434
36435   else
36436
36437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36438 $as_echo_n "checking for _hypot declaration... " >&6; }
36439   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36440     if ${glibcxx_cv_func__hypot_use+:} false; then :
36441   $as_echo_n "(cached) " >&6
36442 else
36443
36444
36445       ac_ext=cpp
36446 ac_cpp='$CXXCPP $CPPFLAGS'
36447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36450
36451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36452 /* end confdefs.h.  */
36453 #include <math.h>
36454 int
36455 main ()
36456 {
36457  _hypot(0, 0);
36458   ;
36459   return 0;
36460 }
36461 _ACEOF
36462 if ac_fn_cxx_try_compile "$LINENO"; then :
36463   glibcxx_cv_func__hypot_use=yes
36464 else
36465   glibcxx_cv_func__hypot_use=no
36466 fi
36467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36468       ac_ext=c
36469 ac_cpp='$CPP $CPPFLAGS'
36470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36473
36474
36475 fi
36476
36477   fi
36478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36479 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36480
36481     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36482       for ac_func in _hypot
36483 do :
36484   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36485 if test "x$ac_cv_func__hypot" = xyes; then :
36486   cat >>confdefs.h <<_ACEOF
36487 #define HAVE__HYPOT 1
36488 _ACEOF
36489
36490 fi
36491 done
36492
36493     fi
36494   fi
36495
36496
36497
36498
36499
36500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36501 $as_echo_n "checking for float trig functions... " >&6; }
36502   if ${glibcxx_cv_func_float_trig_use+:} false; then :
36503   $as_echo_n "(cached) " >&6
36504 else
36505
36506
36507     ac_ext=cpp
36508 ac_cpp='$CXXCPP $CPPFLAGS'
36509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36512
36513     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36514 /* end confdefs.h.  */
36515 #include <math.h>
36516 int
36517 main ()
36518 {
36519 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36520   ;
36521   return 0;
36522 }
36523 _ACEOF
36524 if ac_fn_cxx_try_compile "$LINENO"; then :
36525   glibcxx_cv_func_float_trig_use=yes
36526 else
36527   glibcxx_cv_func_float_trig_use=no
36528 fi
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36530     ac_ext=c
36531 ac_cpp='$CPP $CPPFLAGS'
36532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36535
36536 fi
36537
36538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36539 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36540   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36541     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36542 do :
36543   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36546   cat >>confdefs.h <<_ACEOF
36547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36548 _ACEOF
36549
36550 fi
36551 done
36552
36553   else
36554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36555 $as_echo_n "checking for _float trig functions... " >&6; }
36556     if ${glibcxx_cv_func__float_trig_use+:} false; then :
36557   $as_echo_n "(cached) " >&6
36558 else
36559
36560
36561       ac_ext=cpp
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36566
36567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 /* end confdefs.h.  */
36569 #include <math.h>
36570 int
36571 main ()
36572 {
36573 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36574   ;
36575   return 0;
36576 }
36577 _ACEOF
36578 if ac_fn_cxx_try_compile "$LINENO"; then :
36579   glibcxx_cv_func__float_trig_use=yes
36580 else
36581   glibcxx_cv_func__float_trig_use=no
36582 fi
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584       ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590 fi
36591
36592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36593 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36594     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36595       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36596 do :
36597   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36600   cat >>confdefs.h <<_ACEOF
36601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36602 _ACEOF
36603
36604 fi
36605 done
36606
36607     fi
36608   fi
36609
36610
36611
36612
36613
36614     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36615 $as_echo_n "checking for float round functions... " >&6; }
36616   if ${glibcxx_cv_func_float_round_use+:} false; then :
36617   $as_echo_n "(cached) " >&6
36618 else
36619
36620
36621     ac_ext=cpp
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36626
36627     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h.  */
36629 #include <math.h>
36630 int
36631 main ()
36632 {
36633 ceilf (0); floorf (0);
36634   ;
36635   return 0;
36636 }
36637 _ACEOF
36638 if ac_fn_cxx_try_compile "$LINENO"; then :
36639   glibcxx_cv_func_float_round_use=yes
36640 else
36641   glibcxx_cv_func_float_round_use=no
36642 fi
36643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36644     ac_ext=c
36645 ac_cpp='$CPP $CPPFLAGS'
36646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649
36650 fi
36651
36652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36653 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36654   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36655     for ac_func in ceilf floorf
36656 do :
36657   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36660   cat >>confdefs.h <<_ACEOF
36661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36662 _ACEOF
36663
36664 fi
36665 done
36666
36667   else
36668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36669 $as_echo_n "checking for _float round functions... " >&6; }
36670     if ${glibcxx_cv_func__float_round_use+:} false; then :
36671   $as_echo_n "(cached) " >&6
36672 else
36673
36674
36675       ac_ext=cpp
36676 ac_cpp='$CXXCPP $CPPFLAGS'
36677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36680
36681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36682 /* end confdefs.h.  */
36683 #include <math.h>
36684 int
36685 main ()
36686 {
36687 _ceilf (0); _floorf (0);
36688   ;
36689   return 0;
36690 }
36691 _ACEOF
36692 if ac_fn_cxx_try_compile "$LINENO"; then :
36693   glibcxx_cv_func__float_round_use=yes
36694 else
36695   glibcxx_cv_func__float_round_use=no
36696 fi
36697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36698       ac_ext=c
36699 ac_cpp='$CPP $CPPFLAGS'
36700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36703
36704 fi
36705
36706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36707 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36708     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36709       for ac_func in _ceilf _floorf
36710 do :
36711   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36713 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36714   cat >>confdefs.h <<_ACEOF
36715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721     fi
36722   fi
36723
36724
36725
36726
36727
36728
36729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36730 $as_echo_n "checking for expf declaration... " >&6; }
36731   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36732     if ${glibcxx_cv_func_expf_use+:} false; then :
36733   $as_echo_n "(cached) " >&6
36734 else
36735
36736
36737       ac_ext=cpp
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36742
36743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36744 /* end confdefs.h.  */
36745 #include <math.h>
36746                       #ifdef HAVE_IEEEFP_H
36747                       #include <ieeefp.h>
36748                       #endif
36749
36750 int
36751 main ()
36752 {
36753  expf(0);
36754   ;
36755   return 0;
36756 }
36757 _ACEOF
36758 if ac_fn_cxx_try_compile "$LINENO"; then :
36759   glibcxx_cv_func_expf_use=yes
36760 else
36761   glibcxx_cv_func_expf_use=no
36762 fi
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764       ac_ext=c
36765 ac_cpp='$CPP $CPPFLAGS'
36766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36769
36770
36771 fi
36772
36773   fi
36774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36775 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36776
36777   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36778     for ac_func in expf
36779 do :
36780   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36781 if test "x$ac_cv_func_expf" = xyes; then :
36782   cat >>confdefs.h <<_ACEOF
36783 #define HAVE_EXPF 1
36784 _ACEOF
36785
36786 fi
36787 done
36788
36789   else
36790
36791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36792 $as_echo_n "checking for _expf declaration... " >&6; }
36793   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36794     if ${glibcxx_cv_func__expf_use+:} false; then :
36795   $as_echo_n "(cached) " >&6
36796 else
36797
36798
36799       ac_ext=cpp
36800 ac_cpp='$CXXCPP $CPPFLAGS'
36801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804
36805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36806 /* end confdefs.h.  */
36807 #include <math.h>
36808                       #ifdef HAVE_IEEEFP_H
36809                       #include <ieeefp.h>
36810                       #endif
36811
36812 int
36813 main ()
36814 {
36815  _expf(0);
36816   ;
36817   return 0;
36818 }
36819 _ACEOF
36820 if ac_fn_cxx_try_compile "$LINENO"; then :
36821   glibcxx_cv_func__expf_use=yes
36822 else
36823   glibcxx_cv_func__expf_use=no
36824 fi
36825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36826       ac_ext=c
36827 ac_cpp='$CPP $CPPFLAGS'
36828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831
36832
36833 fi
36834
36835   fi
36836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36837 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36838
36839     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36840       for ac_func in _expf
36841 do :
36842   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36843 if test "x$ac_cv_func__expf" = xyes; then :
36844   cat >>confdefs.h <<_ACEOF
36845 #define HAVE__EXPF 1
36846 _ACEOF
36847
36848 fi
36849 done
36850
36851     fi
36852   fi
36853
36854
36855
36856
36857
36858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36859 $as_echo_n "checking for isnanf declaration... " >&6; }
36860   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36861     if ${glibcxx_cv_func_isnanf_use+:} false; then :
36862   $as_echo_n "(cached) " >&6
36863 else
36864
36865
36866       ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36871
36872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h.  */
36874 #include <math.h>
36875                       #ifdef HAVE_IEEEFP_H
36876                       #include <ieeefp.h>
36877                       #endif
36878
36879 int
36880 main ()
36881 {
36882  isnanf(0);
36883   ;
36884   return 0;
36885 }
36886 _ACEOF
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888   glibcxx_cv_func_isnanf_use=yes
36889 else
36890   glibcxx_cv_func_isnanf_use=no
36891 fi
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893       ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36898
36899
36900 fi
36901
36902   fi
36903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36904 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36905
36906   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36907     for ac_func in isnanf
36908 do :
36909   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36910 if test "x$ac_cv_func_isnanf" = xyes; then :
36911   cat >>confdefs.h <<_ACEOF
36912 #define HAVE_ISNANF 1
36913 _ACEOF
36914
36915 fi
36916 done
36917
36918   else
36919
36920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36921 $as_echo_n "checking for _isnanf declaration... " >&6; }
36922   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36923     if ${glibcxx_cv_func__isnanf_use+:} false; then :
36924   $as_echo_n "(cached) " >&6
36925 else
36926
36927
36928       ac_ext=cpp
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933
36934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36935 /* end confdefs.h.  */
36936 #include <math.h>
36937                       #ifdef HAVE_IEEEFP_H
36938                       #include <ieeefp.h>
36939                       #endif
36940
36941 int
36942 main ()
36943 {
36944  _isnanf(0);
36945   ;
36946   return 0;
36947 }
36948 _ACEOF
36949 if ac_fn_cxx_try_compile "$LINENO"; then :
36950   glibcxx_cv_func__isnanf_use=yes
36951 else
36952   glibcxx_cv_func__isnanf_use=no
36953 fi
36954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36955       ac_ext=c
36956 ac_cpp='$CPP $CPPFLAGS'
36957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36960
36961
36962 fi
36963
36964   fi
36965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36966 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36967
36968     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36969       for ac_func in _isnanf
36970 do :
36971   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36972 if test "x$ac_cv_func__isnanf" = xyes; then :
36973   cat >>confdefs.h <<_ACEOF
36974 #define HAVE__ISNANF 1
36975 _ACEOF
36976
36977 fi
36978 done
36979
36980     fi
36981   fi
36982
36983
36984
36985
36986
36987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36988 $as_echo_n "checking for isinff declaration... " >&6; }
36989   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36990     if ${glibcxx_cv_func_isinff_use+:} false; then :
36991   $as_echo_n "(cached) " >&6
36992 else
36993
36994
36995       ac_ext=cpp
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37000
37001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 /* end confdefs.h.  */
37003 #include <math.h>
37004                       #ifdef HAVE_IEEEFP_H
37005                       #include <ieeefp.h>
37006                       #endif
37007
37008 int
37009 main ()
37010 {
37011  isinff(0);
37012   ;
37013   return 0;
37014 }
37015 _ACEOF
37016 if ac_fn_cxx_try_compile "$LINENO"; then :
37017   glibcxx_cv_func_isinff_use=yes
37018 else
37019   glibcxx_cv_func_isinff_use=no
37020 fi
37021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37022       ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37027
37028
37029 fi
37030
37031   fi
37032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37033 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37034
37035   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37036     for ac_func in isinff
37037 do :
37038   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37039 if test "x$ac_cv_func_isinff" = xyes; then :
37040   cat >>confdefs.h <<_ACEOF
37041 #define HAVE_ISINFF 1
37042 _ACEOF
37043
37044 fi
37045 done
37046
37047   else
37048
37049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37050 $as_echo_n "checking for _isinff declaration... " >&6; }
37051   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37052     if ${glibcxx_cv_func__isinff_use+:} false; then :
37053   $as_echo_n "(cached) " >&6
37054 else
37055
37056
37057       ac_ext=cpp
37058 ac_cpp='$CXXCPP $CPPFLAGS'
37059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37062
37063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37064 /* end confdefs.h.  */
37065 #include <math.h>
37066                       #ifdef HAVE_IEEEFP_H
37067                       #include <ieeefp.h>
37068                       #endif
37069
37070 int
37071 main ()
37072 {
37073  _isinff(0);
37074   ;
37075   return 0;
37076 }
37077 _ACEOF
37078 if ac_fn_cxx_try_compile "$LINENO"; then :
37079   glibcxx_cv_func__isinff_use=yes
37080 else
37081   glibcxx_cv_func__isinff_use=no
37082 fi
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37084       ac_ext=c
37085 ac_cpp='$CPP $CPPFLAGS'
37086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37089
37090
37091 fi
37092
37093   fi
37094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37095 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37096
37097     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37098       for ac_func in _isinff
37099 do :
37100   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37101 if test "x$ac_cv_func__isinff" = xyes; then :
37102   cat >>confdefs.h <<_ACEOF
37103 #define HAVE__ISINFF 1
37104 _ACEOF
37105
37106 fi
37107 done
37108
37109     fi
37110   fi
37111
37112
37113
37114
37115
37116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37117 $as_echo_n "checking for atan2f declaration... " >&6; }
37118   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37119     if ${glibcxx_cv_func_atan2f_use+:} false; then :
37120   $as_echo_n "(cached) " >&6
37121 else
37122
37123
37124       ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129
37130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h.  */
37132 #include <math.h>
37133 int
37134 main ()
37135 {
37136  atan2f(0, 0);
37137   ;
37138   return 0;
37139 }
37140 _ACEOF
37141 if ac_fn_cxx_try_compile "$LINENO"; then :
37142   glibcxx_cv_func_atan2f_use=yes
37143 else
37144   glibcxx_cv_func_atan2f_use=no
37145 fi
37146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37147       ac_ext=c
37148 ac_cpp='$CPP $CPPFLAGS'
37149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37152
37153
37154 fi
37155
37156   fi
37157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37158 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37159
37160   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37161     for ac_func in atan2f
37162 do :
37163   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37164 if test "x$ac_cv_func_atan2f" = xyes; then :
37165   cat >>confdefs.h <<_ACEOF
37166 #define HAVE_ATAN2F 1
37167 _ACEOF
37168
37169 fi
37170 done
37171
37172   else
37173
37174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37175 $as_echo_n "checking for _atan2f declaration... " >&6; }
37176   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37177     if ${glibcxx_cv_func__atan2f_use+:} false; then :
37178   $as_echo_n "(cached) " >&6
37179 else
37180
37181
37182       ac_ext=cpp
37183 ac_cpp='$CXXCPP $CPPFLAGS'
37184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37187
37188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37189 /* end confdefs.h.  */
37190 #include <math.h>
37191 int
37192 main ()
37193 {
37194  _atan2f(0, 0);
37195   ;
37196   return 0;
37197 }
37198 _ACEOF
37199 if ac_fn_cxx_try_compile "$LINENO"; then :
37200   glibcxx_cv_func__atan2f_use=yes
37201 else
37202   glibcxx_cv_func__atan2f_use=no
37203 fi
37204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37205       ac_ext=c
37206 ac_cpp='$CPP $CPPFLAGS'
37207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37210
37211
37212 fi
37213
37214   fi
37215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37216 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37217
37218     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37219       for ac_func in _atan2f
37220 do :
37221   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37222 if test "x$ac_cv_func__atan2f" = xyes; then :
37223   cat >>confdefs.h <<_ACEOF
37224 #define HAVE__ATAN2F 1
37225 _ACEOF
37226
37227 fi
37228 done
37229
37230     fi
37231   fi
37232
37233
37234
37235
37236
37237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37238 $as_echo_n "checking for fabsf declaration... " >&6; }
37239   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37240     if ${glibcxx_cv_func_fabsf_use+:} false; then :
37241   $as_echo_n "(cached) " >&6
37242 else
37243
37244
37245       ac_ext=cpp
37246 ac_cpp='$CXXCPP $CPPFLAGS'
37247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250
37251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37252 /* end confdefs.h.  */
37253 #include <math.h>
37254                       #ifdef HAVE_IEEEFP_H
37255                       #include <ieeefp.h>
37256                       #endif
37257
37258 int
37259 main ()
37260 {
37261  fabsf(0);
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 if ac_fn_cxx_try_compile "$LINENO"; then :
37267   glibcxx_cv_func_fabsf_use=yes
37268 else
37269   glibcxx_cv_func_fabsf_use=no
37270 fi
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37272       ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37277
37278
37279 fi
37280
37281   fi
37282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37283 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37284
37285   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37286     for ac_func in fabsf
37287 do :
37288   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37289 if test "x$ac_cv_func_fabsf" = xyes; then :
37290   cat >>confdefs.h <<_ACEOF
37291 #define HAVE_FABSF 1
37292 _ACEOF
37293
37294 fi
37295 done
37296
37297   else
37298
37299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37300 $as_echo_n "checking for _fabsf declaration... " >&6; }
37301   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37302     if ${glibcxx_cv_func__fabsf_use+:} false; then :
37303   $as_echo_n "(cached) " >&6
37304 else
37305
37306
37307       ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37312
37313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h.  */
37315 #include <math.h>
37316                       #ifdef HAVE_IEEEFP_H
37317                       #include <ieeefp.h>
37318                       #endif
37319
37320 int
37321 main ()
37322 {
37323  _fabsf(0);
37324   ;
37325   return 0;
37326 }
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329   glibcxx_cv_func__fabsf_use=yes
37330 else
37331   glibcxx_cv_func__fabsf_use=no
37332 fi
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334       ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37339
37340
37341 fi
37342
37343   fi
37344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37345 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37346
37347     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37348       for ac_func in _fabsf
37349 do :
37350   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37351 if test "x$ac_cv_func__fabsf" = xyes; then :
37352   cat >>confdefs.h <<_ACEOF
37353 #define HAVE__FABSF 1
37354 _ACEOF
37355
37356 fi
37357 done
37358
37359     fi
37360   fi
37361
37362
37363
37364
37365
37366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37367 $as_echo_n "checking for fmodf declaration... " >&6; }
37368   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37369     if ${glibcxx_cv_func_fmodf_use+:} false; then :
37370   $as_echo_n "(cached) " >&6
37371 else
37372
37373
37374       ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379
37380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37381 /* end confdefs.h.  */
37382 #include <math.h>
37383 int
37384 main ()
37385 {
37386  fmodf(0, 0);
37387   ;
37388   return 0;
37389 }
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392   glibcxx_cv_func_fmodf_use=yes
37393 else
37394   glibcxx_cv_func_fmodf_use=no
37395 fi
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397       ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37402
37403
37404 fi
37405
37406   fi
37407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37408 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37409
37410   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37411     for ac_func in fmodf
37412 do :
37413   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37414 if test "x$ac_cv_func_fmodf" = xyes; then :
37415   cat >>confdefs.h <<_ACEOF
37416 #define HAVE_FMODF 1
37417 _ACEOF
37418
37419 fi
37420 done
37421
37422   else
37423
37424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37425 $as_echo_n "checking for _fmodf declaration... " >&6; }
37426   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37427     if ${glibcxx_cv_func__fmodf_use+:} false; then :
37428   $as_echo_n "(cached) " >&6
37429 else
37430
37431
37432       ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37437
37438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h.  */
37440 #include <math.h>
37441 int
37442 main ()
37443 {
37444  _fmodf(0, 0);
37445   ;
37446   return 0;
37447 }
37448 _ACEOF
37449 if ac_fn_cxx_try_compile "$LINENO"; then :
37450   glibcxx_cv_func__fmodf_use=yes
37451 else
37452   glibcxx_cv_func__fmodf_use=no
37453 fi
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455       ac_ext=c
37456 ac_cpp='$CPP $CPPFLAGS'
37457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37460
37461
37462 fi
37463
37464   fi
37465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37466 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37467
37468     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37469       for ac_func in _fmodf
37470 do :
37471   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37472 if test "x$ac_cv_func__fmodf" = xyes; then :
37473   cat >>confdefs.h <<_ACEOF
37474 #define HAVE__FMODF 1
37475 _ACEOF
37476
37477 fi
37478 done
37479
37480     fi
37481   fi
37482
37483
37484
37485
37486
37487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37488 $as_echo_n "checking for frexpf declaration... " >&6; }
37489   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37490     if ${glibcxx_cv_func_frexpf_use+:} false; then :
37491   $as_echo_n "(cached) " >&6
37492 else
37493
37494
37495       ac_ext=cpp
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37500
37501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37502 /* end confdefs.h.  */
37503 #include <math.h>
37504 int
37505 main ()
37506 {
37507  frexpf(0, 0);
37508   ;
37509   return 0;
37510 }
37511 _ACEOF
37512 if ac_fn_cxx_try_compile "$LINENO"; then :
37513   glibcxx_cv_func_frexpf_use=yes
37514 else
37515   glibcxx_cv_func_frexpf_use=no
37516 fi
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518       ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37523
37524
37525 fi
37526
37527   fi
37528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37529 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37530
37531   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37532     for ac_func in frexpf
37533 do :
37534   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37535 if test "x$ac_cv_func_frexpf" = xyes; then :
37536   cat >>confdefs.h <<_ACEOF
37537 #define HAVE_FREXPF 1
37538 _ACEOF
37539
37540 fi
37541 done
37542
37543   else
37544
37545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37546 $as_echo_n "checking for _frexpf declaration... " >&6; }
37547   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37548     if ${glibcxx_cv_func__frexpf_use+:} false; then :
37549   $as_echo_n "(cached) " >&6
37550 else
37551
37552
37553       ac_ext=cpp
37554 ac_cpp='$CXXCPP $CPPFLAGS'
37555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37558
37559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37560 /* end confdefs.h.  */
37561 #include <math.h>
37562 int
37563 main ()
37564 {
37565  _frexpf(0, 0);
37566   ;
37567   return 0;
37568 }
37569 _ACEOF
37570 if ac_fn_cxx_try_compile "$LINENO"; then :
37571   glibcxx_cv_func__frexpf_use=yes
37572 else
37573   glibcxx_cv_func__frexpf_use=no
37574 fi
37575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37576       ac_ext=c
37577 ac_cpp='$CPP $CPPFLAGS'
37578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581
37582
37583 fi
37584
37585   fi
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37587 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37588
37589     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37590       for ac_func in _frexpf
37591 do :
37592   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37593 if test "x$ac_cv_func__frexpf" = xyes; then :
37594   cat >>confdefs.h <<_ACEOF
37595 #define HAVE__FREXPF 1
37596 _ACEOF
37597
37598 fi
37599 done
37600
37601     fi
37602   fi
37603
37604
37605
37606
37607
37608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37609 $as_echo_n "checking for hypotf declaration... " >&6; }
37610   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37611     if ${glibcxx_cv_func_hypotf_use+:} false; then :
37612   $as_echo_n "(cached) " >&6
37613 else
37614
37615
37616       ac_ext=cpp
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37621
37622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37623 /* end confdefs.h.  */
37624 #include <math.h>
37625 int
37626 main ()
37627 {
37628  hypotf(0, 0);
37629   ;
37630   return 0;
37631 }
37632 _ACEOF
37633 if ac_fn_cxx_try_compile "$LINENO"; then :
37634   glibcxx_cv_func_hypotf_use=yes
37635 else
37636   glibcxx_cv_func_hypotf_use=no
37637 fi
37638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37639       ac_ext=c
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37644
37645
37646 fi
37647
37648   fi
37649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37650 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37651
37652   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37653     for ac_func in hypotf
37654 do :
37655   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37656 if test "x$ac_cv_func_hypotf" = xyes; then :
37657   cat >>confdefs.h <<_ACEOF
37658 #define HAVE_HYPOTF 1
37659 _ACEOF
37660
37661 fi
37662 done
37663
37664   else
37665
37666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37667 $as_echo_n "checking for _hypotf declaration... " >&6; }
37668   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37669     if ${glibcxx_cv_func__hypotf_use+:} false; then :
37670   $as_echo_n "(cached) " >&6
37671 else
37672
37673
37674       ac_ext=cpp
37675 ac_cpp='$CXXCPP $CPPFLAGS'
37676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37679
37680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37681 /* end confdefs.h.  */
37682 #include <math.h>
37683 int
37684 main ()
37685 {
37686  _hypotf(0, 0);
37687   ;
37688   return 0;
37689 }
37690 _ACEOF
37691 if ac_fn_cxx_try_compile "$LINENO"; then :
37692   glibcxx_cv_func__hypotf_use=yes
37693 else
37694   glibcxx_cv_func__hypotf_use=no
37695 fi
37696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37697       ac_ext=c
37698 ac_cpp='$CPP $CPPFLAGS'
37699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37702
37703
37704 fi
37705
37706   fi
37707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37708 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37709
37710     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37711       for ac_func in _hypotf
37712 do :
37713   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37714 if test "x$ac_cv_func__hypotf" = xyes; then :
37715   cat >>confdefs.h <<_ACEOF
37716 #define HAVE__HYPOTF 1
37717 _ACEOF
37718
37719 fi
37720 done
37721
37722     fi
37723   fi
37724
37725
37726
37727
37728
37729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37730 $as_echo_n "checking for ldexpf declaration... " >&6; }
37731   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37732     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37733   $as_echo_n "(cached) " >&6
37734 else
37735
37736
37737       ac_ext=cpp
37738 ac_cpp='$CXXCPP $CPPFLAGS'
37739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37742
37743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37744 /* end confdefs.h.  */
37745 #include <math.h>
37746 int
37747 main ()
37748 {
37749  ldexpf(0, 0);
37750   ;
37751   return 0;
37752 }
37753 _ACEOF
37754 if ac_fn_cxx_try_compile "$LINENO"; then :
37755   glibcxx_cv_func_ldexpf_use=yes
37756 else
37757   glibcxx_cv_func_ldexpf_use=no
37758 fi
37759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37760       ac_ext=c
37761 ac_cpp='$CPP $CPPFLAGS'
37762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37765
37766
37767 fi
37768
37769   fi
37770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37771 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37772
37773   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37774     for ac_func in ldexpf
37775 do :
37776   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37777 if test "x$ac_cv_func_ldexpf" = xyes; then :
37778   cat >>confdefs.h <<_ACEOF
37779 #define HAVE_LDEXPF 1
37780 _ACEOF
37781
37782 fi
37783 done
37784
37785   else
37786
37787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37788 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37789   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37790     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37791   $as_echo_n "(cached) " >&6
37792 else
37793
37794
37795       ac_ext=cpp
37796 ac_cpp='$CXXCPP $CPPFLAGS'
37797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37800
37801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37802 /* end confdefs.h.  */
37803 #include <math.h>
37804 int
37805 main ()
37806 {
37807  _ldexpf(0, 0);
37808   ;
37809   return 0;
37810 }
37811 _ACEOF
37812 if ac_fn_cxx_try_compile "$LINENO"; then :
37813   glibcxx_cv_func__ldexpf_use=yes
37814 else
37815   glibcxx_cv_func__ldexpf_use=no
37816 fi
37817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37818       ac_ext=c
37819 ac_cpp='$CPP $CPPFLAGS'
37820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37823
37824
37825 fi
37826
37827   fi
37828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37829 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37830
37831     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37832       for ac_func in _ldexpf
37833 do :
37834   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37835 if test "x$ac_cv_func__ldexpf" = xyes; then :
37836   cat >>confdefs.h <<_ACEOF
37837 #define HAVE__LDEXPF 1
37838 _ACEOF
37839
37840 fi
37841 done
37842
37843     fi
37844   fi
37845
37846
37847
37848
37849
37850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37851 $as_echo_n "checking for logf declaration... " >&6; }
37852   if test x${glibcxx_cv_func_logf_use+set} != xset; then
37853     if ${glibcxx_cv_func_logf_use+:} false; then :
37854   $as_echo_n "(cached) " >&6
37855 else
37856
37857
37858       ac_ext=cpp
37859 ac_cpp='$CXXCPP $CPPFLAGS'
37860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863
37864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865 /* end confdefs.h.  */
37866 #include <math.h>
37867                       #ifdef HAVE_IEEEFP_H
37868                       #include <ieeefp.h>
37869                       #endif
37870
37871 int
37872 main ()
37873 {
37874  logf(0);
37875   ;
37876   return 0;
37877 }
37878 _ACEOF
37879 if ac_fn_cxx_try_compile "$LINENO"; then :
37880   glibcxx_cv_func_logf_use=yes
37881 else
37882   glibcxx_cv_func_logf_use=no
37883 fi
37884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37885       ac_ext=c
37886 ac_cpp='$CPP $CPPFLAGS'
37887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37890
37891
37892 fi
37893
37894   fi
37895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37896 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37897
37898   if test x$glibcxx_cv_func_logf_use = x"yes"; then
37899     for ac_func in logf
37900 do :
37901   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37902 if test "x$ac_cv_func_logf" = xyes; then :
37903   cat >>confdefs.h <<_ACEOF
37904 #define HAVE_LOGF 1
37905 _ACEOF
37906
37907 fi
37908 done
37909
37910   else
37911
37912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37913 $as_echo_n "checking for _logf declaration... " >&6; }
37914   if test x${glibcxx_cv_func__logf_use+set} != xset; then
37915     if ${glibcxx_cv_func__logf_use+:} false; then :
37916   $as_echo_n "(cached) " >&6
37917 else
37918
37919
37920       ac_ext=cpp
37921 ac_cpp='$CXXCPP $CPPFLAGS'
37922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37925
37926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37927 /* end confdefs.h.  */
37928 #include <math.h>
37929                       #ifdef HAVE_IEEEFP_H
37930                       #include <ieeefp.h>
37931                       #endif
37932
37933 int
37934 main ()
37935 {
37936  _logf(0);
37937   ;
37938   return 0;
37939 }
37940 _ACEOF
37941 if ac_fn_cxx_try_compile "$LINENO"; then :
37942   glibcxx_cv_func__logf_use=yes
37943 else
37944   glibcxx_cv_func__logf_use=no
37945 fi
37946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37947       ac_ext=c
37948 ac_cpp='$CPP $CPPFLAGS'
37949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37952
37953
37954 fi
37955
37956   fi
37957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37958 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37959
37960     if test x$glibcxx_cv_func__logf_use = x"yes"; then
37961       for ac_func in _logf
37962 do :
37963   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37964 if test "x$ac_cv_func__logf" = xyes; then :
37965   cat >>confdefs.h <<_ACEOF
37966 #define HAVE__LOGF 1
37967 _ACEOF
37968
37969 fi
37970 done
37971
37972     fi
37973   fi
37974
37975
37976
37977
37978
37979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37980 $as_echo_n "checking for log10f declaration... " >&6; }
37981   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37982     if ${glibcxx_cv_func_log10f_use+:} false; then :
37983   $as_echo_n "(cached) " >&6
37984 else
37985
37986
37987       ac_ext=cpp
37988 ac_cpp='$CXXCPP $CPPFLAGS'
37989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37992
37993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37994 /* end confdefs.h.  */
37995 #include <math.h>
37996                       #ifdef HAVE_IEEEFP_H
37997                       #include <ieeefp.h>
37998                       #endif
37999
38000 int
38001 main ()
38002 {
38003  log10f(0);
38004   ;
38005   return 0;
38006 }
38007 _ACEOF
38008 if ac_fn_cxx_try_compile "$LINENO"; then :
38009   glibcxx_cv_func_log10f_use=yes
38010 else
38011   glibcxx_cv_func_log10f_use=no
38012 fi
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38014       ac_ext=c
38015 ac_cpp='$CPP $CPPFLAGS'
38016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38019
38020
38021 fi
38022
38023   fi
38024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38025 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38026
38027   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38028     for ac_func in log10f
38029 do :
38030   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38031 if test "x$ac_cv_func_log10f" = xyes; then :
38032   cat >>confdefs.h <<_ACEOF
38033 #define HAVE_LOG10F 1
38034 _ACEOF
38035
38036 fi
38037 done
38038
38039   else
38040
38041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38042 $as_echo_n "checking for _log10f declaration... " >&6; }
38043   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38044     if ${glibcxx_cv_func__log10f_use+:} false; then :
38045   $as_echo_n "(cached) " >&6
38046 else
38047
38048
38049       ac_ext=cpp
38050 ac_cpp='$CXXCPP $CPPFLAGS'
38051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38054
38055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38056 /* end confdefs.h.  */
38057 #include <math.h>
38058                       #ifdef HAVE_IEEEFP_H
38059                       #include <ieeefp.h>
38060                       #endif
38061
38062 int
38063 main ()
38064 {
38065  _log10f(0);
38066   ;
38067   return 0;
38068 }
38069 _ACEOF
38070 if ac_fn_cxx_try_compile "$LINENO"; then :
38071   glibcxx_cv_func__log10f_use=yes
38072 else
38073   glibcxx_cv_func__log10f_use=no
38074 fi
38075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38076       ac_ext=c
38077 ac_cpp='$CPP $CPPFLAGS'
38078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38081
38082
38083 fi
38084
38085   fi
38086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38087 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38088
38089     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38090       for ac_func in _log10f
38091 do :
38092   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38093 if test "x$ac_cv_func__log10f" = xyes; then :
38094   cat >>confdefs.h <<_ACEOF
38095 #define HAVE__LOG10F 1
38096 _ACEOF
38097
38098 fi
38099 done
38100
38101     fi
38102   fi
38103
38104
38105
38106
38107
38108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38109 $as_echo_n "checking for modff declaration... " >&6; }
38110   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38111     if ${glibcxx_cv_func_modff_use+:} false; then :
38112   $as_echo_n "(cached) " >&6
38113 else
38114
38115
38116       ac_ext=cpp
38117 ac_cpp='$CXXCPP $CPPFLAGS'
38118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38121
38122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38123 /* end confdefs.h.  */
38124 #include <math.h>
38125 int
38126 main ()
38127 {
38128  modff(0, 0);
38129   ;
38130   return 0;
38131 }
38132 _ACEOF
38133 if ac_fn_cxx_try_compile "$LINENO"; then :
38134   glibcxx_cv_func_modff_use=yes
38135 else
38136   glibcxx_cv_func_modff_use=no
38137 fi
38138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38139       ac_ext=c
38140 ac_cpp='$CPP $CPPFLAGS'
38141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38144
38145
38146 fi
38147
38148   fi
38149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38150 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38151
38152   if test x$glibcxx_cv_func_modff_use = x"yes"; then
38153     for ac_func in modff
38154 do :
38155   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38156 if test "x$ac_cv_func_modff" = xyes; then :
38157   cat >>confdefs.h <<_ACEOF
38158 #define HAVE_MODFF 1
38159 _ACEOF
38160
38161 fi
38162 done
38163
38164   else
38165
38166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38167 $as_echo_n "checking for _modff declaration... " >&6; }
38168   if test x${glibcxx_cv_func__modff_use+set} != xset; then
38169     if ${glibcxx_cv_func__modff_use+:} false; then :
38170   $as_echo_n "(cached) " >&6
38171 else
38172
38173
38174       ac_ext=cpp
38175 ac_cpp='$CXXCPP $CPPFLAGS'
38176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38179
38180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38181 /* end confdefs.h.  */
38182 #include <math.h>
38183 int
38184 main ()
38185 {
38186  _modff(0, 0);
38187   ;
38188   return 0;
38189 }
38190 _ACEOF
38191 if ac_fn_cxx_try_compile "$LINENO"; then :
38192   glibcxx_cv_func__modff_use=yes
38193 else
38194   glibcxx_cv_func__modff_use=no
38195 fi
38196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38197       ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202
38203
38204 fi
38205
38206   fi
38207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38208 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38209
38210     if test x$glibcxx_cv_func__modff_use = x"yes"; then
38211       for ac_func in _modff
38212 do :
38213   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38214 if test "x$ac_cv_func__modff" = xyes; then :
38215   cat >>confdefs.h <<_ACEOF
38216 #define HAVE__MODFF 1
38217 _ACEOF
38218
38219 fi
38220 done
38221
38222     fi
38223   fi
38224
38225
38226
38227
38228
38229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38230 $as_echo_n "checking for modf declaration... " >&6; }
38231   if test x${glibcxx_cv_func_modf_use+set} != xset; then
38232     if ${glibcxx_cv_func_modf_use+:} false; then :
38233   $as_echo_n "(cached) " >&6
38234 else
38235
38236
38237       ac_ext=cpp
38238 ac_cpp='$CXXCPP $CPPFLAGS'
38239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38242
38243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h.  */
38245 #include <math.h>
38246 int
38247 main ()
38248 {
38249  modf(0, 0);
38250   ;
38251   return 0;
38252 }
38253 _ACEOF
38254 if ac_fn_cxx_try_compile "$LINENO"; then :
38255   glibcxx_cv_func_modf_use=yes
38256 else
38257   glibcxx_cv_func_modf_use=no
38258 fi
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38260       ac_ext=c
38261 ac_cpp='$CPP $CPPFLAGS'
38262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38265
38266
38267 fi
38268
38269   fi
38270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38271 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38272
38273   if test x$glibcxx_cv_func_modf_use = x"yes"; then
38274     for ac_func in modf
38275 do :
38276   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38277 if test "x$ac_cv_func_modf" = xyes; then :
38278   cat >>confdefs.h <<_ACEOF
38279 #define HAVE_MODF 1
38280 _ACEOF
38281
38282 fi
38283 done
38284
38285   else
38286
38287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38288 $as_echo_n "checking for _modf declaration... " >&6; }
38289   if test x${glibcxx_cv_func__modf_use+set} != xset; then
38290     if ${glibcxx_cv_func__modf_use+:} false; then :
38291   $as_echo_n "(cached) " >&6
38292 else
38293
38294
38295       ac_ext=cpp
38296 ac_cpp='$CXXCPP $CPPFLAGS'
38297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38300
38301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h.  */
38303 #include <math.h>
38304 int
38305 main ()
38306 {
38307  _modf(0, 0);
38308   ;
38309   return 0;
38310 }
38311 _ACEOF
38312 if ac_fn_cxx_try_compile "$LINENO"; then :
38313   glibcxx_cv_func__modf_use=yes
38314 else
38315   glibcxx_cv_func__modf_use=no
38316 fi
38317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38318       ac_ext=c
38319 ac_cpp='$CPP $CPPFLAGS'
38320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38323
38324
38325 fi
38326
38327   fi
38328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38329 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38330
38331     if test x$glibcxx_cv_func__modf_use = x"yes"; then
38332       for ac_func in _modf
38333 do :
38334   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38335 if test "x$ac_cv_func__modf" = xyes; then :
38336   cat >>confdefs.h <<_ACEOF
38337 #define HAVE__MODF 1
38338 _ACEOF
38339
38340 fi
38341 done
38342
38343     fi
38344   fi
38345
38346
38347
38348
38349
38350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38351 $as_echo_n "checking for powf declaration... " >&6; }
38352   if test x${glibcxx_cv_func_powf_use+set} != xset; then
38353     if ${glibcxx_cv_func_powf_use+:} false; then :
38354   $as_echo_n "(cached) " >&6
38355 else
38356
38357
38358       ac_ext=cpp
38359 ac_cpp='$CXXCPP $CPPFLAGS'
38360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38363
38364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 /* end confdefs.h.  */
38366 #include <math.h>
38367 int
38368 main ()
38369 {
38370  powf(0, 0);
38371   ;
38372   return 0;
38373 }
38374 _ACEOF
38375 if ac_fn_cxx_try_compile "$LINENO"; then :
38376   glibcxx_cv_func_powf_use=yes
38377 else
38378   glibcxx_cv_func_powf_use=no
38379 fi
38380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38381       ac_ext=c
38382 ac_cpp='$CPP $CPPFLAGS'
38383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38386
38387
38388 fi
38389
38390   fi
38391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38392 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38393
38394   if test x$glibcxx_cv_func_powf_use = x"yes"; then
38395     for ac_func in powf
38396 do :
38397   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38398 if test "x$ac_cv_func_powf" = xyes; then :
38399   cat >>confdefs.h <<_ACEOF
38400 #define HAVE_POWF 1
38401 _ACEOF
38402
38403 fi
38404 done
38405
38406   else
38407
38408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38409 $as_echo_n "checking for _powf declaration... " >&6; }
38410   if test x${glibcxx_cv_func__powf_use+set} != xset; then
38411     if ${glibcxx_cv_func__powf_use+:} false; then :
38412   $as_echo_n "(cached) " >&6
38413 else
38414
38415
38416       ac_ext=cpp
38417 ac_cpp='$CXXCPP $CPPFLAGS'
38418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38421
38422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38423 /* end confdefs.h.  */
38424 #include <math.h>
38425 int
38426 main ()
38427 {
38428  _powf(0, 0);
38429   ;
38430   return 0;
38431 }
38432 _ACEOF
38433 if ac_fn_cxx_try_compile "$LINENO"; then :
38434   glibcxx_cv_func__powf_use=yes
38435 else
38436   glibcxx_cv_func__powf_use=no
38437 fi
38438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38439       ac_ext=c
38440 ac_cpp='$CPP $CPPFLAGS'
38441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38444
38445
38446 fi
38447
38448   fi
38449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38450 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38451
38452     if test x$glibcxx_cv_func__powf_use = x"yes"; then
38453       for ac_func in _powf
38454 do :
38455   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38456 if test "x$ac_cv_func__powf" = xyes; then :
38457   cat >>confdefs.h <<_ACEOF
38458 #define HAVE__POWF 1
38459 _ACEOF
38460
38461 fi
38462 done
38463
38464     fi
38465   fi
38466
38467
38468
38469
38470
38471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38472 $as_echo_n "checking for sqrtf declaration... " >&6; }
38473   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38474     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38475   $as_echo_n "(cached) " >&6
38476 else
38477
38478
38479       ac_ext=cpp
38480 ac_cpp='$CXXCPP $CPPFLAGS'
38481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38484
38485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38486 /* end confdefs.h.  */
38487 #include <math.h>
38488                       #ifdef HAVE_IEEEFP_H
38489                       #include <ieeefp.h>
38490                       #endif
38491
38492 int
38493 main ()
38494 {
38495  sqrtf(0);
38496   ;
38497   return 0;
38498 }
38499 _ACEOF
38500 if ac_fn_cxx_try_compile "$LINENO"; then :
38501   glibcxx_cv_func_sqrtf_use=yes
38502 else
38503   glibcxx_cv_func_sqrtf_use=no
38504 fi
38505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38506       ac_ext=c
38507 ac_cpp='$CPP $CPPFLAGS'
38508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38511
38512
38513 fi
38514
38515   fi
38516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38517 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38518
38519   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38520     for ac_func in sqrtf
38521 do :
38522   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38523 if test "x$ac_cv_func_sqrtf" = xyes; then :
38524   cat >>confdefs.h <<_ACEOF
38525 #define HAVE_SQRTF 1
38526 _ACEOF
38527
38528 fi
38529 done
38530
38531   else
38532
38533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38534 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38535   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38536     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38537   $as_echo_n "(cached) " >&6
38538 else
38539
38540
38541       ac_ext=cpp
38542 ac_cpp='$CXXCPP $CPPFLAGS'
38543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38546
38547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38548 /* end confdefs.h.  */
38549 #include <math.h>
38550                       #ifdef HAVE_IEEEFP_H
38551                       #include <ieeefp.h>
38552                       #endif
38553
38554 int
38555 main ()
38556 {
38557  _sqrtf(0);
38558   ;
38559   return 0;
38560 }
38561 _ACEOF
38562 if ac_fn_cxx_try_compile "$LINENO"; then :
38563   glibcxx_cv_func__sqrtf_use=yes
38564 else
38565   glibcxx_cv_func__sqrtf_use=no
38566 fi
38567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38568       ac_ext=c
38569 ac_cpp='$CPP $CPPFLAGS'
38570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38573
38574
38575 fi
38576
38577   fi
38578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38579 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38580
38581     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38582       for ac_func in _sqrtf
38583 do :
38584   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38585 if test "x$ac_cv_func__sqrtf" = xyes; then :
38586   cat >>confdefs.h <<_ACEOF
38587 #define HAVE__SQRTF 1
38588 _ACEOF
38589
38590 fi
38591 done
38592
38593     fi
38594   fi
38595
38596
38597
38598
38599
38600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38601 $as_echo_n "checking for sincosf declaration... " >&6; }
38602   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38603     if ${glibcxx_cv_func_sincosf_use+:} false; then :
38604   $as_echo_n "(cached) " >&6
38605 else
38606
38607
38608       ac_ext=cpp
38609 ac_cpp='$CXXCPP $CPPFLAGS'
38610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38613
38614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38615 /* end confdefs.h.  */
38616 #include <math.h>
38617 int
38618 main ()
38619 {
38620  sincosf(0, 0, 0);
38621   ;
38622   return 0;
38623 }
38624 _ACEOF
38625 if ac_fn_cxx_try_compile "$LINENO"; then :
38626   glibcxx_cv_func_sincosf_use=yes
38627 else
38628   glibcxx_cv_func_sincosf_use=no
38629 fi
38630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38631       ac_ext=c
38632 ac_cpp='$CPP $CPPFLAGS'
38633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38636
38637
38638 fi
38639
38640   fi
38641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38642 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38643
38644   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38645     for ac_func in sincosf
38646 do :
38647   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38648 if test "x$ac_cv_func_sincosf" = xyes; then :
38649   cat >>confdefs.h <<_ACEOF
38650 #define HAVE_SINCOSF 1
38651 _ACEOF
38652
38653 fi
38654 done
38655
38656   else
38657
38658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38659 $as_echo_n "checking for _sincosf declaration... " >&6; }
38660   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38661     if ${glibcxx_cv_func__sincosf_use+:} false; then :
38662   $as_echo_n "(cached) " >&6
38663 else
38664
38665
38666       ac_ext=cpp
38667 ac_cpp='$CXXCPP $CPPFLAGS'
38668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38671
38672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38673 /* end confdefs.h.  */
38674 #include <math.h>
38675 int
38676 main ()
38677 {
38678  _sincosf(0, 0, 0);
38679   ;
38680   return 0;
38681 }
38682 _ACEOF
38683 if ac_fn_cxx_try_compile "$LINENO"; then :
38684   glibcxx_cv_func__sincosf_use=yes
38685 else
38686   glibcxx_cv_func__sincosf_use=no
38687 fi
38688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38689       ac_ext=c
38690 ac_cpp='$CPP $CPPFLAGS'
38691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38694
38695
38696 fi
38697
38698   fi
38699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38700 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38701
38702     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38703       for ac_func in _sincosf
38704 do :
38705   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38706 if test "x$ac_cv_func__sincosf" = xyes; then :
38707   cat >>confdefs.h <<_ACEOF
38708 #define HAVE__SINCOSF 1
38709 _ACEOF
38710
38711 fi
38712 done
38713
38714     fi
38715   fi
38716
38717
38718
38719
38720
38721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38722 $as_echo_n "checking for finitef declaration... " >&6; }
38723   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38724     if ${glibcxx_cv_func_finitef_use+:} false; then :
38725   $as_echo_n "(cached) " >&6
38726 else
38727
38728
38729       ac_ext=cpp
38730 ac_cpp='$CXXCPP $CPPFLAGS'
38731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38734
38735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38736 /* end confdefs.h.  */
38737 #include <math.h>
38738                       #ifdef HAVE_IEEEFP_H
38739                       #include <ieeefp.h>
38740                       #endif
38741
38742 int
38743 main ()
38744 {
38745  finitef(0);
38746   ;
38747   return 0;
38748 }
38749 _ACEOF
38750 if ac_fn_cxx_try_compile "$LINENO"; then :
38751   glibcxx_cv_func_finitef_use=yes
38752 else
38753   glibcxx_cv_func_finitef_use=no
38754 fi
38755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38756       ac_ext=c
38757 ac_cpp='$CPP $CPPFLAGS'
38758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38761
38762
38763 fi
38764
38765   fi
38766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38767 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38768
38769   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38770     for ac_func in finitef
38771 do :
38772   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38773 if test "x$ac_cv_func_finitef" = xyes; then :
38774   cat >>confdefs.h <<_ACEOF
38775 #define HAVE_FINITEF 1
38776 _ACEOF
38777
38778 fi
38779 done
38780
38781   else
38782
38783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38784 $as_echo_n "checking for _finitef declaration... " >&6; }
38785   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38786     if ${glibcxx_cv_func__finitef_use+:} false; then :
38787   $as_echo_n "(cached) " >&6
38788 else
38789
38790
38791       ac_ext=cpp
38792 ac_cpp='$CXXCPP $CPPFLAGS'
38793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38796
38797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38798 /* end confdefs.h.  */
38799 #include <math.h>
38800                       #ifdef HAVE_IEEEFP_H
38801                       #include <ieeefp.h>
38802                       #endif
38803
38804 int
38805 main ()
38806 {
38807  _finitef(0);
38808   ;
38809   return 0;
38810 }
38811 _ACEOF
38812 if ac_fn_cxx_try_compile "$LINENO"; then :
38813   glibcxx_cv_func__finitef_use=yes
38814 else
38815   glibcxx_cv_func__finitef_use=no
38816 fi
38817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38818       ac_ext=c
38819 ac_cpp='$CPP $CPPFLAGS'
38820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38823
38824
38825 fi
38826
38827   fi
38828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38829 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38830
38831     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38832       for ac_func in _finitef
38833 do :
38834   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38835 if test "x$ac_cv_func__finitef" = xyes; then :
38836   cat >>confdefs.h <<_ACEOF
38837 #define HAVE__FINITEF 1
38838 _ACEOF
38839
38840 fi
38841 done
38842
38843     fi
38844   fi
38845
38846
38847
38848
38849
38850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38851 $as_echo_n "checking for long double trig functions... " >&6; }
38852   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38853   $as_echo_n "(cached) " >&6
38854 else
38855
38856
38857     ac_ext=cpp
38858 ac_cpp='$CXXCPP $CPPFLAGS'
38859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862
38863     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38864 /* end confdefs.h.  */
38865 #include <math.h>
38866 int
38867 main ()
38868 {
38869 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38870   ;
38871   return 0;
38872 }
38873 _ACEOF
38874 if ac_fn_cxx_try_compile "$LINENO"; then :
38875   glibcxx_cv_func_long_double_trig_use=yes
38876 else
38877   glibcxx_cv_func_long_double_trig_use=no
38878 fi
38879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38880     ac_ext=c
38881 ac_cpp='$CPP $CPPFLAGS'
38882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885
38886 fi
38887
38888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38889 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38890   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38891     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38892 do :
38893   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38895 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38896   cat >>confdefs.h <<_ACEOF
38897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38898 _ACEOF
38899
38900 fi
38901 done
38902
38903   else
38904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38905 $as_echo_n "checking for _long double trig functions... " >&6; }
38906     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38907   $as_echo_n "(cached) " >&6
38908 else
38909
38910
38911       ac_ext=cpp
38912 ac_cpp='$CXXCPP $CPPFLAGS'
38913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38916
38917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38918 /* end confdefs.h.  */
38919 #include <math.h>
38920 int
38921 main ()
38922 {
38923 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38924   ;
38925   return 0;
38926 }
38927 _ACEOF
38928 if ac_fn_cxx_try_compile "$LINENO"; then :
38929   glibcxx_cv_func__long_double_trig_use=yes
38930 else
38931   glibcxx_cv_func__long_double_trig_use=no
38932 fi
38933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38934       ac_ext=c
38935 ac_cpp='$CPP $CPPFLAGS'
38936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38939
38940 fi
38941
38942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38943 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38944     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38945       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38946 do :
38947   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38949 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38950   cat >>confdefs.h <<_ACEOF
38951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38952 _ACEOF
38953
38954 fi
38955 done
38956
38957     fi
38958   fi
38959
38960
38961
38962
38963
38964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38965 $as_echo_n "checking for long double round functions... " >&6; }
38966   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38967   $as_echo_n "(cached) " >&6
38968 else
38969
38970
38971     ac_ext=cpp
38972 ac_cpp='$CXXCPP $CPPFLAGS'
38973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976
38977     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38978 /* end confdefs.h.  */
38979 #include <math.h>
38980 int
38981 main ()
38982 {
38983 ceill (0); floorl (0);
38984   ;
38985   return 0;
38986 }
38987 _ACEOF
38988 if ac_fn_cxx_try_compile "$LINENO"; then :
38989   glibcxx_cv_func_long_double_round_use=yes
38990 else
38991   glibcxx_cv_func_long_double_round_use=no
38992 fi
38993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38994     ac_ext=c
38995 ac_cpp='$CPP $CPPFLAGS'
38996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38999
39000 fi
39001
39002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39003 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39004   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39005     for ac_func in ceill floorl
39006 do :
39007   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39009 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39010   cat >>confdefs.h <<_ACEOF
39011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39012 _ACEOF
39013
39014 fi
39015 done
39016
39017   else
39018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39019 $as_echo_n "checking for _long double round functions... " >&6; }
39020     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39021   $as_echo_n "(cached) " >&6
39022 else
39023
39024
39025       ac_ext=cpp
39026 ac_cpp='$CXXCPP $CPPFLAGS'
39027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39030
39031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39032 /* end confdefs.h.  */
39033 #include <math.h>
39034 int
39035 main ()
39036 {
39037 _ceill (0); _floorl (0);
39038   ;
39039   return 0;
39040 }
39041 _ACEOF
39042 if ac_fn_cxx_try_compile "$LINENO"; then :
39043   glibcxx_cv_func__long_double_round_use=yes
39044 else
39045   glibcxx_cv_func__long_double_round_use=no
39046 fi
39047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39048       ac_ext=c
39049 ac_cpp='$CPP $CPPFLAGS'
39050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39053
39054 fi
39055
39056     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39057 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39058     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39059       for ac_func in _ceill _floorl
39060 do :
39061   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39064   cat >>confdefs.h <<_ACEOF
39065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071     fi
39072   fi
39073
39074
39075
39076
39077
39078
39079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39080 $as_echo_n "checking for isnanl declaration... " >&6; }
39081   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39082     if ${glibcxx_cv_func_isnanl_use+:} false; then :
39083   $as_echo_n "(cached) " >&6
39084 else
39085
39086
39087       ac_ext=cpp
39088 ac_cpp='$CXXCPP $CPPFLAGS'
39089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39092
39093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39094 /* end confdefs.h.  */
39095 #include <math.h>
39096                       #ifdef HAVE_IEEEFP_H
39097                       #include <ieeefp.h>
39098                       #endif
39099
39100 int
39101 main ()
39102 {
39103  isnanl(0);
39104   ;
39105   return 0;
39106 }
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109   glibcxx_cv_func_isnanl_use=yes
39110 else
39111   glibcxx_cv_func_isnanl_use=no
39112 fi
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114       ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39119
39120
39121 fi
39122
39123   fi
39124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39125 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39126
39127   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39128     for ac_func in isnanl
39129 do :
39130   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39131 if test "x$ac_cv_func_isnanl" = xyes; then :
39132   cat >>confdefs.h <<_ACEOF
39133 #define HAVE_ISNANL 1
39134 _ACEOF
39135
39136 fi
39137 done
39138
39139   else
39140
39141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39142 $as_echo_n "checking for _isnanl declaration... " >&6; }
39143   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39144     if ${glibcxx_cv_func__isnanl_use+:} false; then :
39145   $as_echo_n "(cached) " >&6
39146 else
39147
39148
39149       ac_ext=cpp
39150 ac_cpp='$CXXCPP $CPPFLAGS'
39151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154
39155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39156 /* end confdefs.h.  */
39157 #include <math.h>
39158                       #ifdef HAVE_IEEEFP_H
39159                       #include <ieeefp.h>
39160                       #endif
39161
39162 int
39163 main ()
39164 {
39165  _isnanl(0);
39166   ;
39167   return 0;
39168 }
39169 _ACEOF
39170 if ac_fn_cxx_try_compile "$LINENO"; then :
39171   glibcxx_cv_func__isnanl_use=yes
39172 else
39173   glibcxx_cv_func__isnanl_use=no
39174 fi
39175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39176       ac_ext=c
39177 ac_cpp='$CPP $CPPFLAGS'
39178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39181
39182
39183 fi
39184
39185   fi
39186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39187 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39188
39189     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39190       for ac_func in _isnanl
39191 do :
39192   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39193 if test "x$ac_cv_func__isnanl" = xyes; then :
39194   cat >>confdefs.h <<_ACEOF
39195 #define HAVE__ISNANL 1
39196 _ACEOF
39197
39198 fi
39199 done
39200
39201     fi
39202   fi
39203
39204
39205
39206
39207
39208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39209 $as_echo_n "checking for isinfl declaration... " >&6; }
39210   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39211     if ${glibcxx_cv_func_isinfl_use+:} false; then :
39212   $as_echo_n "(cached) " >&6
39213 else
39214
39215
39216       ac_ext=cpp
39217 ac_cpp='$CXXCPP $CPPFLAGS'
39218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221
39222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 /* end confdefs.h.  */
39224 #include <math.h>
39225                       #ifdef HAVE_IEEEFP_H
39226                       #include <ieeefp.h>
39227                       #endif
39228
39229 int
39230 main ()
39231 {
39232  isinfl(0);
39233   ;
39234   return 0;
39235 }
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238   glibcxx_cv_func_isinfl_use=yes
39239 else
39240   glibcxx_cv_func_isinfl_use=no
39241 fi
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243       ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248
39249
39250 fi
39251
39252   fi
39253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39254 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39255
39256   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39257     for ac_func in isinfl
39258 do :
39259   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39260 if test "x$ac_cv_func_isinfl" = xyes; then :
39261   cat >>confdefs.h <<_ACEOF
39262 #define HAVE_ISINFL 1
39263 _ACEOF
39264
39265 fi
39266 done
39267
39268   else
39269
39270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39271 $as_echo_n "checking for _isinfl declaration... " >&6; }
39272   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39273     if ${glibcxx_cv_func__isinfl_use+:} false; then :
39274   $as_echo_n "(cached) " >&6
39275 else
39276
39277
39278       ac_ext=cpp
39279 ac_cpp='$CXXCPP $CPPFLAGS'
39280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283
39284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39285 /* end confdefs.h.  */
39286 #include <math.h>
39287                       #ifdef HAVE_IEEEFP_H
39288                       #include <ieeefp.h>
39289                       #endif
39290
39291 int
39292 main ()
39293 {
39294  _isinfl(0);
39295   ;
39296   return 0;
39297 }
39298 _ACEOF
39299 if ac_fn_cxx_try_compile "$LINENO"; then :
39300   glibcxx_cv_func__isinfl_use=yes
39301 else
39302   glibcxx_cv_func__isinfl_use=no
39303 fi
39304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305       ac_ext=c
39306 ac_cpp='$CPP $CPPFLAGS'
39307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310
39311
39312 fi
39313
39314   fi
39315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39316 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39317
39318     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39319       for ac_func in _isinfl
39320 do :
39321   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39322 if test "x$ac_cv_func__isinfl" = xyes; then :
39323   cat >>confdefs.h <<_ACEOF
39324 #define HAVE__ISINFL 1
39325 _ACEOF
39326
39327 fi
39328 done
39329
39330     fi
39331   fi
39332
39333
39334
39335
39336
39337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39338 $as_echo_n "checking for atan2l declaration... " >&6; }
39339   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39340     if ${glibcxx_cv_func_atan2l_use+:} false; then :
39341   $as_echo_n "(cached) " >&6
39342 else
39343
39344
39345       ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350
39351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h.  */
39353 #include <math.h>
39354 int
39355 main ()
39356 {
39357  atan2l(0, 0);
39358   ;
39359   return 0;
39360 }
39361 _ACEOF
39362 if ac_fn_cxx_try_compile "$LINENO"; then :
39363   glibcxx_cv_func_atan2l_use=yes
39364 else
39365   glibcxx_cv_func_atan2l_use=no
39366 fi
39367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39368       ac_ext=c
39369 ac_cpp='$CPP $CPPFLAGS'
39370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39373
39374
39375 fi
39376
39377   fi
39378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39379 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39380
39381   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39382     for ac_func in atan2l
39383 do :
39384   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39385 if test "x$ac_cv_func_atan2l" = xyes; then :
39386   cat >>confdefs.h <<_ACEOF
39387 #define HAVE_ATAN2L 1
39388 _ACEOF
39389
39390 fi
39391 done
39392
39393   else
39394
39395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39396 $as_echo_n "checking for _atan2l declaration... " >&6; }
39397   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39398     if ${glibcxx_cv_func__atan2l_use+:} false; then :
39399   $as_echo_n "(cached) " >&6
39400 else
39401
39402
39403       ac_ext=cpp
39404 ac_cpp='$CXXCPP $CPPFLAGS'
39405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408
39409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39410 /* end confdefs.h.  */
39411 #include <math.h>
39412 int
39413 main ()
39414 {
39415  _atan2l(0, 0);
39416   ;
39417   return 0;
39418 }
39419 _ACEOF
39420 if ac_fn_cxx_try_compile "$LINENO"; then :
39421   glibcxx_cv_func__atan2l_use=yes
39422 else
39423   glibcxx_cv_func__atan2l_use=no
39424 fi
39425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39426       ac_ext=c
39427 ac_cpp='$CPP $CPPFLAGS'
39428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39431
39432
39433 fi
39434
39435   fi
39436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39437 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39438
39439     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39440       for ac_func in _atan2l
39441 do :
39442   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39443 if test "x$ac_cv_func__atan2l" = xyes; then :
39444   cat >>confdefs.h <<_ACEOF
39445 #define HAVE__ATAN2L 1
39446 _ACEOF
39447
39448 fi
39449 done
39450
39451     fi
39452   fi
39453
39454
39455
39456
39457
39458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39459 $as_echo_n "checking for expl declaration... " >&6; }
39460   if test x${glibcxx_cv_func_expl_use+set} != xset; then
39461     if ${glibcxx_cv_func_expl_use+:} false; then :
39462   $as_echo_n "(cached) " >&6
39463 else
39464
39465
39466       ac_ext=cpp
39467 ac_cpp='$CXXCPP $CPPFLAGS'
39468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471
39472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39473 /* end confdefs.h.  */
39474 #include <math.h>
39475                       #ifdef HAVE_IEEEFP_H
39476                       #include <ieeefp.h>
39477                       #endif
39478
39479 int
39480 main ()
39481 {
39482  expl(0);
39483   ;
39484   return 0;
39485 }
39486 _ACEOF
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488   glibcxx_cv_func_expl_use=yes
39489 else
39490   glibcxx_cv_func_expl_use=no
39491 fi
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493       ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39498
39499
39500 fi
39501
39502   fi
39503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39504 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39505
39506   if test x$glibcxx_cv_func_expl_use = x"yes"; then
39507     for ac_func in expl
39508 do :
39509   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39510 if test "x$ac_cv_func_expl" = xyes; then :
39511   cat >>confdefs.h <<_ACEOF
39512 #define HAVE_EXPL 1
39513 _ACEOF
39514
39515 fi
39516 done
39517
39518   else
39519
39520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39521 $as_echo_n "checking for _expl declaration... " >&6; }
39522   if test x${glibcxx_cv_func__expl_use+set} != xset; then
39523     if ${glibcxx_cv_func__expl_use+:} false; then :
39524   $as_echo_n "(cached) " >&6
39525 else
39526
39527
39528       ac_ext=cpp
39529 ac_cpp='$CXXCPP $CPPFLAGS'
39530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533
39534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39535 /* end confdefs.h.  */
39536 #include <math.h>
39537                       #ifdef HAVE_IEEEFP_H
39538                       #include <ieeefp.h>
39539                       #endif
39540
39541 int
39542 main ()
39543 {
39544  _expl(0);
39545   ;
39546   return 0;
39547 }
39548 _ACEOF
39549 if ac_fn_cxx_try_compile "$LINENO"; then :
39550   glibcxx_cv_func__expl_use=yes
39551 else
39552   glibcxx_cv_func__expl_use=no
39553 fi
39554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39555       ac_ext=c
39556 ac_cpp='$CPP $CPPFLAGS'
39557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39560
39561
39562 fi
39563
39564   fi
39565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39566 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39567
39568     if test x$glibcxx_cv_func__expl_use = x"yes"; then
39569       for ac_func in _expl
39570 do :
39571   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39572 if test "x$ac_cv_func__expl" = xyes; then :
39573   cat >>confdefs.h <<_ACEOF
39574 #define HAVE__EXPL 1
39575 _ACEOF
39576
39577 fi
39578 done
39579
39580     fi
39581   fi
39582
39583
39584
39585
39586
39587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39588 $as_echo_n "checking for fabsl declaration... " >&6; }
39589   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39590     if ${glibcxx_cv_func_fabsl_use+:} false; then :
39591   $as_echo_n "(cached) " >&6
39592 else
39593
39594
39595       ac_ext=cpp
39596 ac_cpp='$CXXCPP $CPPFLAGS'
39597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39600
39601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39602 /* end confdefs.h.  */
39603 #include <math.h>
39604                       #ifdef HAVE_IEEEFP_H
39605                       #include <ieeefp.h>
39606                       #endif
39607
39608 int
39609 main ()
39610 {
39611  fabsl(0);
39612   ;
39613   return 0;
39614 }
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617   glibcxx_cv_func_fabsl_use=yes
39618 else
39619   glibcxx_cv_func_fabsl_use=no
39620 fi
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622       ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627
39628
39629 fi
39630
39631   fi
39632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39633 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39634
39635   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39636     for ac_func in fabsl
39637 do :
39638   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39639 if test "x$ac_cv_func_fabsl" = xyes; then :
39640   cat >>confdefs.h <<_ACEOF
39641 #define HAVE_FABSL 1
39642 _ACEOF
39643
39644 fi
39645 done
39646
39647   else
39648
39649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39650 $as_echo_n "checking for _fabsl declaration... " >&6; }
39651   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39652     if ${glibcxx_cv_func__fabsl_use+:} false; then :
39653   $as_echo_n "(cached) " >&6
39654 else
39655
39656
39657       ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662
39663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39664 /* end confdefs.h.  */
39665 #include <math.h>
39666                       #ifdef HAVE_IEEEFP_H
39667                       #include <ieeefp.h>
39668                       #endif
39669
39670 int
39671 main ()
39672 {
39673  _fabsl(0);
39674   ;
39675   return 0;
39676 }
39677 _ACEOF
39678 if ac_fn_cxx_try_compile "$LINENO"; then :
39679   glibcxx_cv_func__fabsl_use=yes
39680 else
39681   glibcxx_cv_func__fabsl_use=no
39682 fi
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684       ac_ext=c
39685 ac_cpp='$CPP $CPPFLAGS'
39686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39689
39690
39691 fi
39692
39693   fi
39694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39695 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39696
39697     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39698       for ac_func in _fabsl
39699 do :
39700   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39701 if test "x$ac_cv_func__fabsl" = xyes; then :
39702   cat >>confdefs.h <<_ACEOF
39703 #define HAVE__FABSL 1
39704 _ACEOF
39705
39706 fi
39707 done
39708
39709     fi
39710   fi
39711
39712
39713
39714
39715
39716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39717 $as_echo_n "checking for fmodl declaration... " >&6; }
39718   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39719     if ${glibcxx_cv_func_fmodl_use+:} false; then :
39720   $as_echo_n "(cached) " >&6
39721 else
39722
39723
39724       ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39729
39730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h.  */
39732 #include <math.h>
39733 int
39734 main ()
39735 {
39736  fmodl(0, 0);
39737   ;
39738   return 0;
39739 }
39740 _ACEOF
39741 if ac_fn_cxx_try_compile "$LINENO"; then :
39742   glibcxx_cv_func_fmodl_use=yes
39743 else
39744   glibcxx_cv_func_fmodl_use=no
39745 fi
39746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39747       ac_ext=c
39748 ac_cpp='$CPP $CPPFLAGS'
39749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39752
39753
39754 fi
39755
39756   fi
39757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39758 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39759
39760   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39761     for ac_func in fmodl
39762 do :
39763   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39764 if test "x$ac_cv_func_fmodl" = xyes; then :
39765   cat >>confdefs.h <<_ACEOF
39766 #define HAVE_FMODL 1
39767 _ACEOF
39768
39769 fi
39770 done
39771
39772   else
39773
39774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39775 $as_echo_n "checking for _fmodl declaration... " >&6; }
39776   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39777     if ${glibcxx_cv_func__fmodl_use+:} false; then :
39778   $as_echo_n "(cached) " >&6
39779 else
39780
39781
39782       ac_ext=cpp
39783 ac_cpp='$CXXCPP $CPPFLAGS'
39784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39787
39788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39789 /* end confdefs.h.  */
39790 #include <math.h>
39791 int
39792 main ()
39793 {
39794  _fmodl(0, 0);
39795   ;
39796   return 0;
39797 }
39798 _ACEOF
39799 if ac_fn_cxx_try_compile "$LINENO"; then :
39800   glibcxx_cv_func__fmodl_use=yes
39801 else
39802   glibcxx_cv_func__fmodl_use=no
39803 fi
39804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39805       ac_ext=c
39806 ac_cpp='$CPP $CPPFLAGS'
39807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39810
39811
39812 fi
39813
39814   fi
39815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39816 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39817
39818     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39819       for ac_func in _fmodl
39820 do :
39821   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39822 if test "x$ac_cv_func__fmodl" = xyes; then :
39823   cat >>confdefs.h <<_ACEOF
39824 #define HAVE__FMODL 1
39825 _ACEOF
39826
39827 fi
39828 done
39829
39830     fi
39831   fi
39832
39833
39834
39835
39836
39837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39838 $as_echo_n "checking for frexpl declaration... " >&6; }
39839   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39840     if ${glibcxx_cv_func_frexpl_use+:} false; then :
39841   $as_echo_n "(cached) " >&6
39842 else
39843
39844
39845       ac_ext=cpp
39846 ac_cpp='$CXXCPP $CPPFLAGS'
39847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39850
39851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39852 /* end confdefs.h.  */
39853 #include <math.h>
39854 int
39855 main ()
39856 {
39857  frexpl(0, 0);
39858   ;
39859   return 0;
39860 }
39861 _ACEOF
39862 if ac_fn_cxx_try_compile "$LINENO"; then :
39863   glibcxx_cv_func_frexpl_use=yes
39864 else
39865   glibcxx_cv_func_frexpl_use=no
39866 fi
39867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39868       ac_ext=c
39869 ac_cpp='$CPP $CPPFLAGS'
39870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39873
39874
39875 fi
39876
39877   fi
39878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39879 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39880
39881   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39882     for ac_func in frexpl
39883 do :
39884   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39885 if test "x$ac_cv_func_frexpl" = xyes; then :
39886   cat >>confdefs.h <<_ACEOF
39887 #define HAVE_FREXPL 1
39888 _ACEOF
39889
39890 fi
39891 done
39892
39893   else
39894
39895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39896 $as_echo_n "checking for _frexpl declaration... " >&6; }
39897   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39898     if ${glibcxx_cv_func__frexpl_use+:} false; then :
39899   $as_echo_n "(cached) " >&6
39900 else
39901
39902
39903       ac_ext=cpp
39904 ac_cpp='$CXXCPP $CPPFLAGS'
39905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39908
39909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39910 /* end confdefs.h.  */
39911 #include <math.h>
39912 int
39913 main ()
39914 {
39915  _frexpl(0, 0);
39916   ;
39917   return 0;
39918 }
39919 _ACEOF
39920 if ac_fn_cxx_try_compile "$LINENO"; then :
39921   glibcxx_cv_func__frexpl_use=yes
39922 else
39923   glibcxx_cv_func__frexpl_use=no
39924 fi
39925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39926       ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39931
39932
39933 fi
39934
39935   fi
39936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39937 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39938
39939     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39940       for ac_func in _frexpl
39941 do :
39942   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39943 if test "x$ac_cv_func__frexpl" = xyes; then :
39944   cat >>confdefs.h <<_ACEOF
39945 #define HAVE__FREXPL 1
39946 _ACEOF
39947
39948 fi
39949 done
39950
39951     fi
39952   fi
39953
39954
39955
39956
39957
39958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39959 $as_echo_n "checking for hypotl declaration... " >&6; }
39960   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39961     if ${glibcxx_cv_func_hypotl_use+:} false; then :
39962   $as_echo_n "(cached) " >&6
39963 else
39964
39965
39966       ac_ext=cpp
39967 ac_cpp='$CXXCPP $CPPFLAGS'
39968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39971
39972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39973 /* end confdefs.h.  */
39974 #include <math.h>
39975 int
39976 main ()
39977 {
39978  hypotl(0, 0);
39979   ;
39980   return 0;
39981 }
39982 _ACEOF
39983 if ac_fn_cxx_try_compile "$LINENO"; then :
39984   glibcxx_cv_func_hypotl_use=yes
39985 else
39986   glibcxx_cv_func_hypotl_use=no
39987 fi
39988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39989       ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994
39995
39996 fi
39997
39998   fi
39999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40000 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40001
40002   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40003     for ac_func in hypotl
40004 do :
40005   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40006 if test "x$ac_cv_func_hypotl" = xyes; then :
40007   cat >>confdefs.h <<_ACEOF
40008 #define HAVE_HYPOTL 1
40009 _ACEOF
40010
40011 fi
40012 done
40013
40014   else
40015
40016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40017 $as_echo_n "checking for _hypotl declaration... " >&6; }
40018   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40019     if ${glibcxx_cv_func__hypotl_use+:} false; then :
40020   $as_echo_n "(cached) " >&6
40021 else
40022
40023
40024       ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029
40030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h.  */
40032 #include <math.h>
40033 int
40034 main ()
40035 {
40036  _hypotl(0, 0);
40037   ;
40038   return 0;
40039 }
40040 _ACEOF
40041 if ac_fn_cxx_try_compile "$LINENO"; then :
40042   glibcxx_cv_func__hypotl_use=yes
40043 else
40044   glibcxx_cv_func__hypotl_use=no
40045 fi
40046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40047       ac_ext=c
40048 ac_cpp='$CPP $CPPFLAGS'
40049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052
40053
40054 fi
40055
40056   fi
40057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40058 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40059
40060     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40061       for ac_func in _hypotl
40062 do :
40063   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40064 if test "x$ac_cv_func__hypotl" = xyes; then :
40065   cat >>confdefs.h <<_ACEOF
40066 #define HAVE__HYPOTL 1
40067 _ACEOF
40068
40069 fi
40070 done
40071
40072     fi
40073   fi
40074
40075
40076
40077
40078
40079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40080 $as_echo_n "checking for ldexpl declaration... " >&6; }
40081   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40082     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40083   $as_echo_n "(cached) " >&6
40084 else
40085
40086
40087       ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40092
40093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h.  */
40095 #include <math.h>
40096 int
40097 main ()
40098 {
40099  ldexpl(0, 0);
40100   ;
40101   return 0;
40102 }
40103 _ACEOF
40104 if ac_fn_cxx_try_compile "$LINENO"; then :
40105   glibcxx_cv_func_ldexpl_use=yes
40106 else
40107   glibcxx_cv_func_ldexpl_use=no
40108 fi
40109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40110       ac_ext=c
40111 ac_cpp='$CPP $CPPFLAGS'
40112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40115
40116
40117 fi
40118
40119   fi
40120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40121 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40122
40123   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40124     for ac_func in ldexpl
40125 do :
40126   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40127 if test "x$ac_cv_func_ldexpl" = xyes; then :
40128   cat >>confdefs.h <<_ACEOF
40129 #define HAVE_LDEXPL 1
40130 _ACEOF
40131
40132 fi
40133 done
40134
40135   else
40136
40137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40138 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40139   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40140     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40141   $as_echo_n "(cached) " >&6
40142 else
40143
40144
40145       ac_ext=cpp
40146 ac_cpp='$CXXCPP $CPPFLAGS'
40147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40150
40151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40152 /* end confdefs.h.  */
40153 #include <math.h>
40154 int
40155 main ()
40156 {
40157  _ldexpl(0, 0);
40158   ;
40159   return 0;
40160 }
40161 _ACEOF
40162 if ac_fn_cxx_try_compile "$LINENO"; then :
40163   glibcxx_cv_func__ldexpl_use=yes
40164 else
40165   glibcxx_cv_func__ldexpl_use=no
40166 fi
40167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40168       ac_ext=c
40169 ac_cpp='$CPP $CPPFLAGS'
40170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40173
40174
40175 fi
40176
40177   fi
40178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40179 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40180
40181     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40182       for ac_func in _ldexpl
40183 do :
40184   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40185 if test "x$ac_cv_func__ldexpl" = xyes; then :
40186   cat >>confdefs.h <<_ACEOF
40187 #define HAVE__LDEXPL 1
40188 _ACEOF
40189
40190 fi
40191 done
40192
40193     fi
40194   fi
40195
40196
40197
40198
40199
40200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40201 $as_echo_n "checking for logl declaration... " >&6; }
40202   if test x${glibcxx_cv_func_logl_use+set} != xset; then
40203     if ${glibcxx_cv_func_logl_use+:} false; then :
40204   $as_echo_n "(cached) " >&6
40205 else
40206
40207
40208       ac_ext=cpp
40209 ac_cpp='$CXXCPP $CPPFLAGS'
40210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40213
40214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40215 /* end confdefs.h.  */
40216 #include <math.h>
40217                       #ifdef HAVE_IEEEFP_H
40218                       #include <ieeefp.h>
40219                       #endif
40220
40221 int
40222 main ()
40223 {
40224  logl(0);
40225   ;
40226   return 0;
40227 }
40228 _ACEOF
40229 if ac_fn_cxx_try_compile "$LINENO"; then :
40230   glibcxx_cv_func_logl_use=yes
40231 else
40232   glibcxx_cv_func_logl_use=no
40233 fi
40234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40235       ac_ext=c
40236 ac_cpp='$CPP $CPPFLAGS'
40237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40240
40241
40242 fi
40243
40244   fi
40245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40246 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40247
40248   if test x$glibcxx_cv_func_logl_use = x"yes"; then
40249     for ac_func in logl
40250 do :
40251   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40252 if test "x$ac_cv_func_logl" = xyes; then :
40253   cat >>confdefs.h <<_ACEOF
40254 #define HAVE_LOGL 1
40255 _ACEOF
40256
40257 fi
40258 done
40259
40260   else
40261
40262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40263 $as_echo_n "checking for _logl declaration... " >&6; }
40264   if test x${glibcxx_cv_func__logl_use+set} != xset; then
40265     if ${glibcxx_cv_func__logl_use+:} false; then :
40266   $as_echo_n "(cached) " >&6
40267 else
40268
40269
40270       ac_ext=cpp
40271 ac_cpp='$CXXCPP $CPPFLAGS'
40272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40275
40276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40277 /* end confdefs.h.  */
40278 #include <math.h>
40279                       #ifdef HAVE_IEEEFP_H
40280                       #include <ieeefp.h>
40281                       #endif
40282
40283 int
40284 main ()
40285 {
40286  _logl(0);
40287   ;
40288   return 0;
40289 }
40290 _ACEOF
40291 if ac_fn_cxx_try_compile "$LINENO"; then :
40292   glibcxx_cv_func__logl_use=yes
40293 else
40294   glibcxx_cv_func__logl_use=no
40295 fi
40296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40297       ac_ext=c
40298 ac_cpp='$CPP $CPPFLAGS'
40299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40302
40303
40304 fi
40305
40306   fi
40307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40308 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40309
40310     if test x$glibcxx_cv_func__logl_use = x"yes"; then
40311       for ac_func in _logl
40312 do :
40313   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40314 if test "x$ac_cv_func__logl" = xyes; then :
40315   cat >>confdefs.h <<_ACEOF
40316 #define HAVE__LOGL 1
40317 _ACEOF
40318
40319 fi
40320 done
40321
40322     fi
40323   fi
40324
40325
40326
40327
40328
40329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40330 $as_echo_n "checking for log10l declaration... " >&6; }
40331   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40332     if ${glibcxx_cv_func_log10l_use+:} false; then :
40333   $as_echo_n "(cached) " >&6
40334 else
40335
40336
40337       ac_ext=cpp
40338 ac_cpp='$CXXCPP $CPPFLAGS'
40339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342
40343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40344 /* end confdefs.h.  */
40345 #include <math.h>
40346                       #ifdef HAVE_IEEEFP_H
40347                       #include <ieeefp.h>
40348                       #endif
40349
40350 int
40351 main ()
40352 {
40353  log10l(0);
40354   ;
40355   return 0;
40356 }
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359   glibcxx_cv_func_log10l_use=yes
40360 else
40361   glibcxx_cv_func_log10l_use=no
40362 fi
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364       ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369
40370
40371 fi
40372
40373   fi
40374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40375 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40376
40377   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40378     for ac_func in log10l
40379 do :
40380   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40381 if test "x$ac_cv_func_log10l" = xyes; then :
40382   cat >>confdefs.h <<_ACEOF
40383 #define HAVE_LOG10L 1
40384 _ACEOF
40385
40386 fi
40387 done
40388
40389   else
40390
40391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40392 $as_echo_n "checking for _log10l declaration... " >&6; }
40393   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40394     if ${glibcxx_cv_func__log10l_use+:} false; then :
40395   $as_echo_n "(cached) " >&6
40396 else
40397
40398
40399       ac_ext=cpp
40400 ac_cpp='$CXXCPP $CPPFLAGS'
40401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40404
40405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40406 /* end confdefs.h.  */
40407 #include <math.h>
40408                       #ifdef HAVE_IEEEFP_H
40409                       #include <ieeefp.h>
40410                       #endif
40411
40412 int
40413 main ()
40414 {
40415  _log10l(0);
40416   ;
40417   return 0;
40418 }
40419 _ACEOF
40420 if ac_fn_cxx_try_compile "$LINENO"; then :
40421   glibcxx_cv_func__log10l_use=yes
40422 else
40423   glibcxx_cv_func__log10l_use=no
40424 fi
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426       ac_ext=c
40427 ac_cpp='$CPP $CPPFLAGS'
40428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40431
40432
40433 fi
40434
40435   fi
40436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40437 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40438
40439     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40440       for ac_func in _log10l
40441 do :
40442   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40443 if test "x$ac_cv_func__log10l" = xyes; then :
40444   cat >>confdefs.h <<_ACEOF
40445 #define HAVE__LOG10L 1
40446 _ACEOF
40447
40448 fi
40449 done
40450
40451     fi
40452   fi
40453
40454
40455
40456
40457
40458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40459 $as_echo_n "checking for modfl declaration... " >&6; }
40460   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40461     if ${glibcxx_cv_func_modfl_use+:} false; then :
40462   $as_echo_n "(cached) " >&6
40463 else
40464
40465
40466       ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471
40472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h.  */
40474 #include <math.h>
40475 int
40476 main ()
40477 {
40478  modfl(0, 0);
40479   ;
40480   return 0;
40481 }
40482 _ACEOF
40483 if ac_fn_cxx_try_compile "$LINENO"; then :
40484   glibcxx_cv_func_modfl_use=yes
40485 else
40486   glibcxx_cv_func_modfl_use=no
40487 fi
40488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40489       ac_ext=c
40490 ac_cpp='$CPP $CPPFLAGS'
40491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40494
40495
40496 fi
40497
40498   fi
40499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40500 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40501
40502   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40503     for ac_func in modfl
40504 do :
40505   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40506 if test "x$ac_cv_func_modfl" = xyes; then :
40507   cat >>confdefs.h <<_ACEOF
40508 #define HAVE_MODFL 1
40509 _ACEOF
40510
40511 fi
40512 done
40513
40514   else
40515
40516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40517 $as_echo_n "checking for _modfl declaration... " >&6; }
40518   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40519     if ${glibcxx_cv_func__modfl_use+:} false; then :
40520   $as_echo_n "(cached) " >&6
40521 else
40522
40523
40524       ac_ext=cpp
40525 ac_cpp='$CXXCPP $CPPFLAGS'
40526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40529
40530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40531 /* end confdefs.h.  */
40532 #include <math.h>
40533 int
40534 main ()
40535 {
40536  _modfl(0, 0);
40537   ;
40538   return 0;
40539 }
40540 _ACEOF
40541 if ac_fn_cxx_try_compile "$LINENO"; then :
40542   glibcxx_cv_func__modfl_use=yes
40543 else
40544   glibcxx_cv_func__modfl_use=no
40545 fi
40546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40547       ac_ext=c
40548 ac_cpp='$CPP $CPPFLAGS'
40549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40552
40553
40554 fi
40555
40556   fi
40557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40558 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40559
40560     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40561       for ac_func in _modfl
40562 do :
40563   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40564 if test "x$ac_cv_func__modfl" = xyes; then :
40565   cat >>confdefs.h <<_ACEOF
40566 #define HAVE__MODFL 1
40567 _ACEOF
40568
40569 fi
40570 done
40571
40572     fi
40573   fi
40574
40575
40576
40577
40578
40579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40580 $as_echo_n "checking for powl declaration... " >&6; }
40581   if test x${glibcxx_cv_func_powl_use+set} != xset; then
40582     if ${glibcxx_cv_func_powl_use+:} false; then :
40583   $as_echo_n "(cached) " >&6
40584 else
40585
40586
40587       ac_ext=cpp
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592
40593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 /* end confdefs.h.  */
40595 #include <math.h>
40596 int
40597 main ()
40598 {
40599  powl(0, 0);
40600   ;
40601   return 0;
40602 }
40603 _ACEOF
40604 if ac_fn_cxx_try_compile "$LINENO"; then :
40605   glibcxx_cv_func_powl_use=yes
40606 else
40607   glibcxx_cv_func_powl_use=no
40608 fi
40609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40610       ac_ext=c
40611 ac_cpp='$CPP $CPPFLAGS'
40612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40615
40616
40617 fi
40618
40619   fi
40620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40621 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40622
40623   if test x$glibcxx_cv_func_powl_use = x"yes"; then
40624     for ac_func in powl
40625 do :
40626   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40627 if test "x$ac_cv_func_powl" = xyes; then :
40628   cat >>confdefs.h <<_ACEOF
40629 #define HAVE_POWL 1
40630 _ACEOF
40631
40632 fi
40633 done
40634
40635   else
40636
40637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40638 $as_echo_n "checking for _powl declaration... " >&6; }
40639   if test x${glibcxx_cv_func__powl_use+set} != xset; then
40640     if ${glibcxx_cv_func__powl_use+:} false; then :
40641   $as_echo_n "(cached) " >&6
40642 else
40643
40644
40645       ac_ext=cpp
40646 ac_cpp='$CXXCPP $CPPFLAGS'
40647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40650
40651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40652 /* end confdefs.h.  */
40653 #include <math.h>
40654 int
40655 main ()
40656 {
40657  _powl(0, 0);
40658   ;
40659   return 0;
40660 }
40661 _ACEOF
40662 if ac_fn_cxx_try_compile "$LINENO"; then :
40663   glibcxx_cv_func__powl_use=yes
40664 else
40665   glibcxx_cv_func__powl_use=no
40666 fi
40667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40668       ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674
40675 fi
40676
40677   fi
40678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40679 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40680
40681     if test x$glibcxx_cv_func__powl_use = x"yes"; then
40682       for ac_func in _powl
40683 do :
40684   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40685 if test "x$ac_cv_func__powl" = xyes; then :
40686   cat >>confdefs.h <<_ACEOF
40687 #define HAVE__POWL 1
40688 _ACEOF
40689
40690 fi
40691 done
40692
40693     fi
40694   fi
40695
40696
40697
40698
40699
40700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40701 $as_echo_n "checking for sqrtl declaration... " >&6; }
40702   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40703     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40704   $as_echo_n "(cached) " >&6
40705 else
40706
40707
40708       ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h.  */
40716 #include <math.h>
40717                       #ifdef HAVE_IEEEFP_H
40718                       #include <ieeefp.h>
40719                       #endif
40720
40721 int
40722 main ()
40723 {
40724  sqrtl(0);
40725   ;
40726   return 0;
40727 }
40728 _ACEOF
40729 if ac_fn_cxx_try_compile "$LINENO"; then :
40730   glibcxx_cv_func_sqrtl_use=yes
40731 else
40732   glibcxx_cv_func_sqrtl_use=no
40733 fi
40734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40735       ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40740
40741
40742 fi
40743
40744   fi
40745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40746 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40747
40748   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40749     for ac_func in sqrtl
40750 do :
40751   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40752 if test "x$ac_cv_func_sqrtl" = xyes; then :
40753   cat >>confdefs.h <<_ACEOF
40754 #define HAVE_SQRTL 1
40755 _ACEOF
40756
40757 fi
40758 done
40759
40760   else
40761
40762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40763 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40764   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40765     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40766   $as_echo_n "(cached) " >&6
40767 else
40768
40769
40770       ac_ext=cpp
40771 ac_cpp='$CXXCPP $CPPFLAGS'
40772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40775
40776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40777 /* end confdefs.h.  */
40778 #include <math.h>
40779                       #ifdef HAVE_IEEEFP_H
40780                       #include <ieeefp.h>
40781                       #endif
40782
40783 int
40784 main ()
40785 {
40786  _sqrtl(0);
40787   ;
40788   return 0;
40789 }
40790 _ACEOF
40791 if ac_fn_cxx_try_compile "$LINENO"; then :
40792   glibcxx_cv_func__sqrtl_use=yes
40793 else
40794   glibcxx_cv_func__sqrtl_use=no
40795 fi
40796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40797       ac_ext=c
40798 ac_cpp='$CPP $CPPFLAGS'
40799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40802
40803
40804 fi
40805
40806   fi
40807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40808 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40809
40810     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40811       for ac_func in _sqrtl
40812 do :
40813   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40814 if test "x$ac_cv_func__sqrtl" = xyes; then :
40815   cat >>confdefs.h <<_ACEOF
40816 #define HAVE__SQRTL 1
40817 _ACEOF
40818
40819 fi
40820 done
40821
40822     fi
40823   fi
40824
40825
40826
40827
40828
40829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40830 $as_echo_n "checking for sincosl declaration... " >&6; }
40831   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40832     if ${glibcxx_cv_func_sincosl_use+:} false; then :
40833   $as_echo_n "(cached) " >&6
40834 else
40835
40836
40837       ac_ext=cpp
40838 ac_cpp='$CXXCPP $CPPFLAGS'
40839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40842
40843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40844 /* end confdefs.h.  */
40845 #include <math.h>
40846 int
40847 main ()
40848 {
40849  sincosl(0, 0, 0);
40850   ;
40851   return 0;
40852 }
40853 _ACEOF
40854 if ac_fn_cxx_try_compile "$LINENO"; then :
40855   glibcxx_cv_func_sincosl_use=yes
40856 else
40857   glibcxx_cv_func_sincosl_use=no
40858 fi
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40860       ac_ext=c
40861 ac_cpp='$CPP $CPPFLAGS'
40862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40865
40866
40867 fi
40868
40869   fi
40870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40871 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40872
40873   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40874     for ac_func in sincosl
40875 do :
40876   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40877 if test "x$ac_cv_func_sincosl" = xyes; then :
40878   cat >>confdefs.h <<_ACEOF
40879 #define HAVE_SINCOSL 1
40880 _ACEOF
40881
40882 fi
40883 done
40884
40885   else
40886
40887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40888 $as_echo_n "checking for _sincosl declaration... " >&6; }
40889   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40890     if ${glibcxx_cv_func__sincosl_use+:} false; then :
40891   $as_echo_n "(cached) " >&6
40892 else
40893
40894
40895       ac_ext=cpp
40896 ac_cpp='$CXXCPP $CPPFLAGS'
40897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40900
40901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40902 /* end confdefs.h.  */
40903 #include <math.h>
40904 int
40905 main ()
40906 {
40907  _sincosl(0, 0, 0);
40908   ;
40909   return 0;
40910 }
40911 _ACEOF
40912 if ac_fn_cxx_try_compile "$LINENO"; then :
40913   glibcxx_cv_func__sincosl_use=yes
40914 else
40915   glibcxx_cv_func__sincosl_use=no
40916 fi
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918       ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923
40924
40925 fi
40926
40927   fi
40928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40929 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40930
40931     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40932       for ac_func in _sincosl
40933 do :
40934   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40935 if test "x$ac_cv_func__sincosl" = xyes; then :
40936   cat >>confdefs.h <<_ACEOF
40937 #define HAVE__SINCOSL 1
40938 _ACEOF
40939
40940 fi
40941 done
40942
40943     fi
40944   fi
40945
40946
40947
40948
40949
40950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40951 $as_echo_n "checking for finitel declaration... " >&6; }
40952   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40953     if ${glibcxx_cv_func_finitel_use+:} false; then :
40954   $as_echo_n "(cached) " >&6
40955 else
40956
40957
40958       ac_ext=cpp
40959 ac_cpp='$CXXCPP $CPPFLAGS'
40960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40963
40964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40965 /* end confdefs.h.  */
40966 #include <math.h>
40967                       #ifdef HAVE_IEEEFP_H
40968                       #include <ieeefp.h>
40969                       #endif
40970
40971 int
40972 main ()
40973 {
40974  finitel(0);
40975   ;
40976   return 0;
40977 }
40978 _ACEOF
40979 if ac_fn_cxx_try_compile "$LINENO"; then :
40980   glibcxx_cv_func_finitel_use=yes
40981 else
40982   glibcxx_cv_func_finitel_use=no
40983 fi
40984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40985       ac_ext=c
40986 ac_cpp='$CPP $CPPFLAGS'
40987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40990
40991
40992 fi
40993
40994   fi
40995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40996 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40997
40998   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40999     for ac_func in finitel
41000 do :
41001   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41002 if test "x$ac_cv_func_finitel" = xyes; then :
41003   cat >>confdefs.h <<_ACEOF
41004 #define HAVE_FINITEL 1
41005 _ACEOF
41006
41007 fi
41008 done
41009
41010   else
41011
41012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41013 $as_echo_n "checking for _finitel declaration... " >&6; }
41014   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41015     if ${glibcxx_cv_func__finitel_use+:} false; then :
41016   $as_echo_n "(cached) " >&6
41017 else
41018
41019
41020       ac_ext=cpp
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41025
41026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41027 /* end confdefs.h.  */
41028 #include <math.h>
41029                       #ifdef HAVE_IEEEFP_H
41030                       #include <ieeefp.h>
41031                       #endif
41032
41033 int
41034 main ()
41035 {
41036  _finitel(0);
41037   ;
41038   return 0;
41039 }
41040 _ACEOF
41041 if ac_fn_cxx_try_compile "$LINENO"; then :
41042   glibcxx_cv_func__finitel_use=yes
41043 else
41044   glibcxx_cv_func__finitel_use=no
41045 fi
41046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41047       ac_ext=c
41048 ac_cpp='$CPP $CPPFLAGS'
41049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41052
41053
41054 fi
41055
41056   fi
41057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41058 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41059
41060     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41061       for ac_func in _finitel
41062 do :
41063   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41064 if test "x$ac_cv_func__finitel" = xyes; then :
41065   cat >>confdefs.h <<_ACEOF
41066 #define HAVE__FINITEL 1
41067 _ACEOF
41068
41069 fi
41070 done
41071
41072     fi
41073   fi
41074
41075
41076
41077
41078   LIBS="$ac_save_LIBS"
41079   CXXFLAGS="$ac_save_CXXFLAGS"
41080
41081
41082   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41083   ac_save_CXXFLAGS="$CXXFLAGS"
41084   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41085
41086
41087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41088 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41089   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41090     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41091   $as_echo_n "(cached) " >&6
41092 else
41093
41094
41095       ac_ext=cpp
41096 ac_cpp='$CXXCPP $CPPFLAGS'
41097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41100
41101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41102 /* end confdefs.h.  */
41103 #include <stdlib.h>
41104 int
41105 main ()
41106 {
41107  at_quick_exit(0);
41108   ;
41109   return 0;
41110 }
41111 _ACEOF
41112 if ac_fn_cxx_try_compile "$LINENO"; then :
41113   glibcxx_cv_func_at_quick_exit_use=yes
41114 else
41115   glibcxx_cv_func_at_quick_exit_use=no
41116 fi
41117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41118       ac_ext=c
41119 ac_cpp='$CPP $CPPFLAGS'
41120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41123
41124
41125 fi
41126
41127   fi
41128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41129 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41130   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41131     for ac_func in at_quick_exit
41132 do :
41133   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41134 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41135   cat >>confdefs.h <<_ACEOF
41136 #define HAVE_AT_QUICK_EXIT 1
41137 _ACEOF
41138
41139 fi
41140 done
41141
41142   fi
41143
41144
41145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41146 $as_echo_n "checking for quick_exit declaration... " >&6; }
41147   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41148     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41149   $as_echo_n "(cached) " >&6
41150 else
41151
41152
41153       ac_ext=cpp
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158
41159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41160 /* end confdefs.h.  */
41161 #include <stdlib.h>
41162 int
41163 main ()
41164 {
41165  quick_exit(0);
41166   ;
41167   return 0;
41168 }
41169 _ACEOF
41170 if ac_fn_cxx_try_compile "$LINENO"; then :
41171   glibcxx_cv_func_quick_exit_use=yes
41172 else
41173   glibcxx_cv_func_quick_exit_use=no
41174 fi
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41176       ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181
41182
41183 fi
41184
41185   fi
41186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41187 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41188   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41189     for ac_func in quick_exit
41190 do :
41191   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41192 if test "x$ac_cv_func_quick_exit" = xyes; then :
41193   cat >>confdefs.h <<_ACEOF
41194 #define HAVE_QUICK_EXIT 1
41195 _ACEOF
41196
41197 fi
41198 done
41199
41200   fi
41201
41202
41203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41204 $as_echo_n "checking for strtold declaration... " >&6; }
41205   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41206     if ${glibcxx_cv_func_strtold_use+:} false; then :
41207   $as_echo_n "(cached) " >&6
41208 else
41209
41210
41211       ac_ext=cpp
41212 ac_cpp='$CXXCPP $CPPFLAGS'
41213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41216
41217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41218 /* end confdefs.h.  */
41219 #include <stdlib.h>
41220 int
41221 main ()
41222 {
41223  strtold(0, 0);
41224   ;
41225   return 0;
41226 }
41227 _ACEOF
41228 if ac_fn_cxx_try_compile "$LINENO"; then :
41229   glibcxx_cv_func_strtold_use=yes
41230 else
41231   glibcxx_cv_func_strtold_use=no
41232 fi
41233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41234       ac_ext=c
41235 ac_cpp='$CPP $CPPFLAGS'
41236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239
41240
41241 fi
41242
41243   fi
41244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41245 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41246   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41247     for ac_func in strtold
41248 do :
41249   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41250 if test "x$ac_cv_func_strtold" = xyes; then :
41251   cat >>confdefs.h <<_ACEOF
41252 #define HAVE_STRTOLD 1
41253 _ACEOF
41254
41255 fi
41256 done
41257
41258   fi
41259
41260
41261
41262
41263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41264 $as_echo_n "checking for strtof declaration... " >&6; }
41265   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41266     if ${glibcxx_cv_func_strtof_use+:} false; then :
41267   $as_echo_n "(cached) " >&6
41268 else
41269
41270
41271       ac_ext=cpp
41272 ac_cpp='$CXXCPP $CPPFLAGS'
41273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41276
41277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41278 /* end confdefs.h.  */
41279 #include <stdlib.h>
41280 int
41281 main ()
41282 {
41283  strtof(0, 0);
41284   ;
41285   return 0;
41286 }
41287 _ACEOF
41288 if ac_fn_cxx_try_compile "$LINENO"; then :
41289   glibcxx_cv_func_strtof_use=yes
41290 else
41291   glibcxx_cv_func_strtof_use=no
41292 fi
41293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41294       ac_ext=c
41295 ac_cpp='$CPP $CPPFLAGS'
41296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41299
41300
41301 fi
41302
41303   fi
41304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41305 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41306   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41307     for ac_func in strtof
41308 do :
41309   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41310 if test "x$ac_cv_func_strtof" = xyes; then :
41311   cat >>confdefs.h <<_ACEOF
41312 #define HAVE_STRTOF 1
41313 _ACEOF
41314
41315 fi
41316 done
41317
41318   fi
41319
41320
41321
41322
41323   CXXFLAGS="$ac_save_CXXFLAGS"
41324
41325     $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41326
41327     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41328
41329     # We don't yet support AIX's TLS ABI.
41330     #GCC_CHECK_TLS
41331
41332
41333
41334
41335
41336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41337 $as_echo_n "checking for iconv... " >&6; }
41338 if ${am_cv_func_iconv+:} false; then :
41339   $as_echo_n "(cached) " >&6
41340 else
41341
41342     am_cv_func_iconv="no, consider installing GNU libiconv"
41343     am_cv_lib_iconv=no
41344                     am_save_CPPFLAGS="$CPPFLAGS"
41345     CPPFLAGS="$CPPFLAGS $INCICONV"
41346     if test x$gcc_no_link = xyes; then
41347   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41348 fi
41349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41350 /* end confdefs.h.  */
41351 #include <stdlib.h>
41352 #include <iconv.h>
41353 int
41354 main ()
41355 {
41356 iconv_t cd = iconv_open("","");
41357        iconv(cd,NULL,NULL,NULL,NULL);
41358        iconv_close(cd);
41359   ;
41360   return 0;
41361 }
41362 _ACEOF
41363 if ac_fn_c_try_link "$LINENO"; then :
41364   am_cv_func_iconv=yes
41365 fi
41366 rm -f core conftest.err conftest.$ac_objext \
41367     conftest$ac_exeext conftest.$ac_ext
41368     CPPFLAGS="$am_save_CPPFLAGS"
41369
41370     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41371       for _libs in .libs _libs; do
41372         am_save_CPPFLAGS="$CPPFLAGS"
41373         am_save_LIBS="$LIBS"
41374         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41375         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41376         if test x$gcc_no_link = xyes; then
41377   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41378 fi
41379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41380 /* end confdefs.h.  */
41381 #include <stdlib.h>
41382 #include <iconv.h>
41383 int
41384 main ()
41385 {
41386 iconv_t cd = iconv_open("","");
41387            iconv(cd,NULL,NULL,NULL,NULL);
41388            iconv_close(cd);
41389   ;
41390   return 0;
41391 }
41392 _ACEOF
41393 if ac_fn_c_try_link "$LINENO"; then :
41394   INCICONV="-I../libiconv/include"
41395           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41396           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41397           am_cv_lib_iconv=yes
41398           am_cv_func_iconv=yes
41399 fi
41400 rm -f core conftest.err conftest.$ac_objext \
41401     conftest$ac_exeext conftest.$ac_ext
41402         CPPFLAGS="$am_save_CPPFLAGS"
41403         LIBS="$am_save_LIBS"
41404         if test "$am_cv_func_iconv" = "yes"; then
41405           break
41406         fi
41407       done
41408     fi
41409
41410     if test "$am_cv_func_iconv" != yes; then
41411       am_save_CPPFLAGS="$CPPFLAGS"
41412       am_save_LIBS="$LIBS"
41413       CPPFLAGS="$CPPFLAGS $INCICONV"
41414       LIBS="$LIBS $LIBICONV"
41415       if test x$gcc_no_link = xyes; then
41416   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41417 fi
41418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41419 /* end confdefs.h.  */
41420 #include <stdlib.h>
41421 #include <iconv.h>
41422 int
41423 main ()
41424 {
41425 iconv_t cd = iconv_open("","");
41426          iconv(cd,NULL,NULL,NULL,NULL);
41427          iconv_close(cd);
41428   ;
41429   return 0;
41430 }
41431 _ACEOF
41432 if ac_fn_c_try_link "$LINENO"; then :
41433   am_cv_lib_iconv=yes
41434         am_cv_func_iconv=yes
41435 fi
41436 rm -f core conftest.err conftest.$ac_objext \
41437     conftest$ac_exeext conftest.$ac_ext
41438       CPPFLAGS="$am_save_CPPFLAGS"
41439       LIBS="$am_save_LIBS"
41440     fi
41441
41442 fi
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41444 $as_echo "$am_cv_func_iconv" >&6; }
41445   if test "$am_cv_func_iconv" = yes; then
41446
41447 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41448
41449   fi
41450   if test "$am_cv_lib_iconv" = yes; then
41451
41452   for element in $INCICONV; do
41453     haveit=
41454     for x in $CPPFLAGS; do
41455
41456   acl_save_prefix="$prefix"
41457   prefix="$acl_final_prefix"
41458   acl_save_exec_prefix="$exec_prefix"
41459   exec_prefix="$acl_final_exec_prefix"
41460   eval x=\"$x\"
41461   exec_prefix="$acl_save_exec_prefix"
41462   prefix="$acl_save_prefix"
41463
41464       if test "X$x" = "X$element"; then
41465         haveit=yes
41466         break
41467       fi
41468     done
41469     if test -z "$haveit"; then
41470       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41471     fi
41472   done
41473
41474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41475 $as_echo_n "checking how to link with libiconv... " >&6; }
41476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41477 $as_echo "$LIBICONV" >&6; }
41478   else
41479     LIBICONV=
41480     LTLIBICONV=
41481   fi
41482
41483
41484
41485   if test "$am_cv_func_iconv" = yes; then
41486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41487 $as_echo_n "checking for iconv declaration... " >&6; }
41488     if ${am_cv_proto_iconv+:} false; then :
41489   $as_echo_n "(cached) " >&6
41490 else
41491
41492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41493 /* end confdefs.h.  */
41494
41495 #include <stdlib.h>
41496 #include <iconv.h>
41497 extern
41498 #ifdef __cplusplus
41499 "C"
41500 #endif
41501 #if defined(__STDC__) || defined(__cplusplus)
41502 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41503 #else
41504 size_t iconv();
41505 #endif
41506
41507 int
41508 main ()
41509 {
41510
41511   ;
41512   return 0;
41513 }
41514 _ACEOF
41515 if ac_fn_c_try_compile "$LINENO"; then :
41516   am_cv_proto_iconv_arg1=""
41517 else
41518   am_cv_proto_iconv_arg1="const"
41519 fi
41520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41521       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);"
41522 fi
41523
41524     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41526          }$am_cv_proto_iconv" >&5
41527 $as_echo "${ac_t:-
41528          }$am_cv_proto_iconv" >&6; }
41529
41530 cat >>confdefs.h <<_ACEOF
41531 #define ICONV_CONST $am_cv_proto_iconv_arg1
41532 _ACEOF
41533
41534   fi
41535
41536
41537     $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41538
41539     ;;
41540
41541   *-darwin*)
41542     # Darwin versions vary, but the linker should work in a cross environment,
41543     # so we just check for all the features here.
41544     # Check for available headers.
41545
41546     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41547
41548   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41549   ac_save_CXXFLAGS="$CXXFLAGS"
41550   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41551
41552     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41553 $as_echo_n "checking for sin in -lm... " >&6; }
41554 if ${ac_cv_lib_m_sin+:} false; then :
41555   $as_echo_n "(cached) " >&6
41556 else
41557   ac_check_lib_save_LIBS=$LIBS
41558 LIBS="-lm  $LIBS"
41559 if test x$gcc_no_link = xyes; then
41560   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41561 fi
41562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41563 /* end confdefs.h.  */
41564
41565 /* Override any GCC internal prototype to avoid an error.
41566    Use char because int might match the return type of a GCC
41567    builtin and then its argument prototype would still apply.  */
41568 #ifdef __cplusplus
41569 extern "C"
41570 #endif
41571 char sin ();
41572 int
41573 main ()
41574 {
41575 return sin ();
41576   ;
41577   return 0;
41578 }
41579 _ACEOF
41580 if ac_fn_c_try_link "$LINENO"; then :
41581   ac_cv_lib_m_sin=yes
41582 else
41583   ac_cv_lib_m_sin=no
41584 fi
41585 rm -f core conftest.err conftest.$ac_objext \
41586     conftest$ac_exeext conftest.$ac_ext
41587 LIBS=$ac_check_lib_save_LIBS
41588 fi
41589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41590 $as_echo "$ac_cv_lib_m_sin" >&6; }
41591 if test "x$ac_cv_lib_m_sin" = xyes; then :
41592   libm="-lm"
41593 fi
41594
41595   ac_save_LIBS="$LIBS"
41596   LIBS="$LIBS $libm"
41597
41598
41599
41600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41601 $as_echo_n "checking for isinf declaration... " >&6; }
41602   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41603     if ${glibcxx_cv_func_isinf_use+:} false; then :
41604   $as_echo_n "(cached) " >&6
41605 else
41606
41607
41608       ac_ext=cpp
41609 ac_cpp='$CXXCPP $CPPFLAGS'
41610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41613
41614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41615 /* end confdefs.h.  */
41616 #include <math.h>
41617                       #ifdef HAVE_IEEEFP_H
41618                       #include <ieeefp.h>
41619                       #endif
41620
41621 int
41622 main ()
41623 {
41624  isinf(0);
41625   ;
41626   return 0;
41627 }
41628 _ACEOF
41629 if ac_fn_cxx_try_compile "$LINENO"; then :
41630   glibcxx_cv_func_isinf_use=yes
41631 else
41632   glibcxx_cv_func_isinf_use=no
41633 fi
41634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41635       ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642 fi
41643
41644   fi
41645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41646 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41647
41648   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41649     for ac_func in isinf
41650 do :
41651   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41652 if test "x$ac_cv_func_isinf" = xyes; then :
41653   cat >>confdefs.h <<_ACEOF
41654 #define HAVE_ISINF 1
41655 _ACEOF
41656
41657 fi
41658 done
41659
41660   else
41661
41662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41663 $as_echo_n "checking for _isinf declaration... " >&6; }
41664   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41665     if ${glibcxx_cv_func__isinf_use+:} false; then :
41666   $as_echo_n "(cached) " >&6
41667 else
41668
41669
41670       ac_ext=cpp
41671 ac_cpp='$CXXCPP $CPPFLAGS'
41672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675
41676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41677 /* end confdefs.h.  */
41678 #include <math.h>
41679                       #ifdef HAVE_IEEEFP_H
41680                       #include <ieeefp.h>
41681                       #endif
41682
41683 int
41684 main ()
41685 {
41686  _isinf(0);
41687   ;
41688   return 0;
41689 }
41690 _ACEOF
41691 if ac_fn_cxx_try_compile "$LINENO"; then :
41692   glibcxx_cv_func__isinf_use=yes
41693 else
41694   glibcxx_cv_func__isinf_use=no
41695 fi
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697       ac_ext=c
41698 ac_cpp='$CPP $CPPFLAGS'
41699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702
41703
41704 fi
41705
41706   fi
41707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41708 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41709
41710     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41711       for ac_func in _isinf
41712 do :
41713   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41714 if test "x$ac_cv_func__isinf" = xyes; then :
41715   cat >>confdefs.h <<_ACEOF
41716 #define HAVE__ISINF 1
41717 _ACEOF
41718
41719 fi
41720 done
41721
41722     fi
41723   fi
41724
41725
41726
41727
41728
41729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41730 $as_echo_n "checking for isnan declaration... " >&6; }
41731   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41732     if ${glibcxx_cv_func_isnan_use+:} false; then :
41733   $as_echo_n "(cached) " >&6
41734 else
41735
41736
41737       ac_ext=cpp
41738 ac_cpp='$CXXCPP $CPPFLAGS'
41739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41742
41743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41744 /* end confdefs.h.  */
41745 #include <math.h>
41746                       #ifdef HAVE_IEEEFP_H
41747                       #include <ieeefp.h>
41748                       #endif
41749
41750 int
41751 main ()
41752 {
41753  isnan(0);
41754   ;
41755   return 0;
41756 }
41757 _ACEOF
41758 if ac_fn_cxx_try_compile "$LINENO"; then :
41759   glibcxx_cv_func_isnan_use=yes
41760 else
41761   glibcxx_cv_func_isnan_use=no
41762 fi
41763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41764       ac_ext=c
41765 ac_cpp='$CPP $CPPFLAGS'
41766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41769
41770
41771 fi
41772
41773   fi
41774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41775 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41776
41777   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41778     for ac_func in isnan
41779 do :
41780   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41781 if test "x$ac_cv_func_isnan" = xyes; then :
41782   cat >>confdefs.h <<_ACEOF
41783 #define HAVE_ISNAN 1
41784 _ACEOF
41785
41786 fi
41787 done
41788
41789   else
41790
41791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41792 $as_echo_n "checking for _isnan declaration... " >&6; }
41793   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41794     if ${glibcxx_cv_func__isnan_use+:} false; then :
41795   $as_echo_n "(cached) " >&6
41796 else
41797
41798
41799       ac_ext=cpp
41800 ac_cpp='$CXXCPP $CPPFLAGS'
41801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41804
41805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41806 /* end confdefs.h.  */
41807 #include <math.h>
41808                       #ifdef HAVE_IEEEFP_H
41809                       #include <ieeefp.h>
41810                       #endif
41811
41812 int
41813 main ()
41814 {
41815  _isnan(0);
41816   ;
41817   return 0;
41818 }
41819 _ACEOF
41820 if ac_fn_cxx_try_compile "$LINENO"; then :
41821   glibcxx_cv_func__isnan_use=yes
41822 else
41823   glibcxx_cv_func__isnan_use=no
41824 fi
41825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41826       ac_ext=c
41827 ac_cpp='$CPP $CPPFLAGS'
41828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831
41832
41833 fi
41834
41835   fi
41836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41837 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41838
41839     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41840       for ac_func in _isnan
41841 do :
41842   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41843 if test "x$ac_cv_func__isnan" = xyes; then :
41844   cat >>confdefs.h <<_ACEOF
41845 #define HAVE__ISNAN 1
41846 _ACEOF
41847
41848 fi
41849 done
41850
41851     fi
41852   fi
41853
41854
41855
41856
41857
41858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41859 $as_echo_n "checking for finite declaration... " >&6; }
41860   if test x${glibcxx_cv_func_finite_use+set} != xset; then
41861     if ${glibcxx_cv_func_finite_use+:} false; then :
41862   $as_echo_n "(cached) " >&6
41863 else
41864
41865
41866       ac_ext=cpp
41867 ac_cpp='$CXXCPP $CPPFLAGS'
41868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41871
41872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41873 /* end confdefs.h.  */
41874 #include <math.h>
41875                       #ifdef HAVE_IEEEFP_H
41876                       #include <ieeefp.h>
41877                       #endif
41878
41879 int
41880 main ()
41881 {
41882  finite(0);
41883   ;
41884   return 0;
41885 }
41886 _ACEOF
41887 if ac_fn_cxx_try_compile "$LINENO"; then :
41888   glibcxx_cv_func_finite_use=yes
41889 else
41890   glibcxx_cv_func_finite_use=no
41891 fi
41892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41893       ac_ext=c
41894 ac_cpp='$CPP $CPPFLAGS'
41895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41898
41899
41900 fi
41901
41902   fi
41903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41904 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41905
41906   if test x$glibcxx_cv_func_finite_use = x"yes"; then
41907     for ac_func in finite
41908 do :
41909   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41910 if test "x$ac_cv_func_finite" = xyes; then :
41911   cat >>confdefs.h <<_ACEOF
41912 #define HAVE_FINITE 1
41913 _ACEOF
41914
41915 fi
41916 done
41917
41918   else
41919
41920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41921 $as_echo_n "checking for _finite declaration... " >&6; }
41922   if test x${glibcxx_cv_func__finite_use+set} != xset; then
41923     if ${glibcxx_cv_func__finite_use+:} false; then :
41924   $as_echo_n "(cached) " >&6
41925 else
41926
41927
41928       ac_ext=cpp
41929 ac_cpp='$CXXCPP $CPPFLAGS'
41930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41933
41934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41935 /* end confdefs.h.  */
41936 #include <math.h>
41937                       #ifdef HAVE_IEEEFP_H
41938                       #include <ieeefp.h>
41939                       #endif
41940
41941 int
41942 main ()
41943 {
41944  _finite(0);
41945   ;
41946   return 0;
41947 }
41948 _ACEOF
41949 if ac_fn_cxx_try_compile "$LINENO"; then :
41950   glibcxx_cv_func__finite_use=yes
41951 else
41952   glibcxx_cv_func__finite_use=no
41953 fi
41954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41955       ac_ext=c
41956 ac_cpp='$CPP $CPPFLAGS'
41957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960
41961
41962 fi
41963
41964   fi
41965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41966 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41967
41968     if test x$glibcxx_cv_func__finite_use = x"yes"; then
41969       for ac_func in _finite
41970 do :
41971   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41972 if test "x$ac_cv_func__finite" = xyes; then :
41973   cat >>confdefs.h <<_ACEOF
41974 #define HAVE__FINITE 1
41975 _ACEOF
41976
41977 fi
41978 done
41979
41980     fi
41981   fi
41982
41983
41984
41985
41986
41987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41988 $as_echo_n "checking for sincos declaration... " >&6; }
41989   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41990     if ${glibcxx_cv_func_sincos_use+:} false; then :
41991   $as_echo_n "(cached) " >&6
41992 else
41993
41994
41995       ac_ext=cpp
41996 ac_cpp='$CXXCPP $CPPFLAGS'
41997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42000
42001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42002 /* end confdefs.h.  */
42003 #include <math.h>
42004 int
42005 main ()
42006 {
42007  sincos(0, 0, 0);
42008   ;
42009   return 0;
42010 }
42011 _ACEOF
42012 if ac_fn_cxx_try_compile "$LINENO"; then :
42013   glibcxx_cv_func_sincos_use=yes
42014 else
42015   glibcxx_cv_func_sincos_use=no
42016 fi
42017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42018       ac_ext=c
42019 ac_cpp='$CPP $CPPFLAGS'
42020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42023
42024
42025 fi
42026
42027   fi
42028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42029 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42030
42031   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42032     for ac_func in sincos
42033 do :
42034   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42035 if test "x$ac_cv_func_sincos" = xyes; then :
42036   cat >>confdefs.h <<_ACEOF
42037 #define HAVE_SINCOS 1
42038 _ACEOF
42039
42040 fi
42041 done
42042
42043   else
42044
42045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42046 $as_echo_n "checking for _sincos declaration... " >&6; }
42047   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42048     if ${glibcxx_cv_func__sincos_use+:} false; then :
42049   $as_echo_n "(cached) " >&6
42050 else
42051
42052
42053       ac_ext=cpp
42054 ac_cpp='$CXXCPP $CPPFLAGS'
42055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42058
42059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42060 /* end confdefs.h.  */
42061 #include <math.h>
42062 int
42063 main ()
42064 {
42065  _sincos(0, 0, 0);
42066   ;
42067   return 0;
42068 }
42069 _ACEOF
42070 if ac_fn_cxx_try_compile "$LINENO"; then :
42071   glibcxx_cv_func__sincos_use=yes
42072 else
42073   glibcxx_cv_func__sincos_use=no
42074 fi
42075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42076       ac_ext=c
42077 ac_cpp='$CPP $CPPFLAGS'
42078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081
42082
42083 fi
42084
42085   fi
42086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42087 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42088
42089     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42090       for ac_func in _sincos
42091 do :
42092   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42093 if test "x$ac_cv_func__sincos" = xyes; then :
42094   cat >>confdefs.h <<_ACEOF
42095 #define HAVE__SINCOS 1
42096 _ACEOF
42097
42098 fi
42099 done
42100
42101     fi
42102   fi
42103
42104
42105
42106
42107
42108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42109 $as_echo_n "checking for fpclass declaration... " >&6; }
42110   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42111     if ${glibcxx_cv_func_fpclass_use+:} false; then :
42112   $as_echo_n "(cached) " >&6
42113 else
42114
42115
42116       ac_ext=cpp
42117 ac_cpp='$CXXCPP $CPPFLAGS'
42118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42121
42122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42123 /* end confdefs.h.  */
42124 #include <math.h>
42125                       #ifdef HAVE_IEEEFP_H
42126                       #include <ieeefp.h>
42127                       #endif
42128
42129 int
42130 main ()
42131 {
42132  fpclass(0);
42133   ;
42134   return 0;
42135 }
42136 _ACEOF
42137 if ac_fn_cxx_try_compile "$LINENO"; then :
42138   glibcxx_cv_func_fpclass_use=yes
42139 else
42140   glibcxx_cv_func_fpclass_use=no
42141 fi
42142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42143       ac_ext=c
42144 ac_cpp='$CPP $CPPFLAGS'
42145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42148
42149
42150 fi
42151
42152   fi
42153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42154 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42155
42156   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42157     for ac_func in fpclass
42158 do :
42159   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42160 if test "x$ac_cv_func_fpclass" = xyes; then :
42161   cat >>confdefs.h <<_ACEOF
42162 #define HAVE_FPCLASS 1
42163 _ACEOF
42164
42165 fi
42166 done
42167
42168   else
42169
42170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42171 $as_echo_n "checking for _fpclass declaration... " >&6; }
42172   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42173     if ${glibcxx_cv_func__fpclass_use+:} false; then :
42174   $as_echo_n "(cached) " >&6
42175 else
42176
42177
42178       ac_ext=cpp
42179 ac_cpp='$CXXCPP $CPPFLAGS'
42180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42183
42184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42185 /* end confdefs.h.  */
42186 #include <math.h>
42187                       #ifdef HAVE_IEEEFP_H
42188                       #include <ieeefp.h>
42189                       #endif
42190
42191 int
42192 main ()
42193 {
42194  _fpclass(0);
42195   ;
42196   return 0;
42197 }
42198 _ACEOF
42199 if ac_fn_cxx_try_compile "$LINENO"; then :
42200   glibcxx_cv_func__fpclass_use=yes
42201 else
42202   glibcxx_cv_func__fpclass_use=no
42203 fi
42204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42205       ac_ext=c
42206 ac_cpp='$CPP $CPPFLAGS'
42207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42210
42211
42212 fi
42213
42214   fi
42215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42216 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42217
42218     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42219       for ac_func in _fpclass
42220 do :
42221   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42222 if test "x$ac_cv_func__fpclass" = xyes; then :
42223   cat >>confdefs.h <<_ACEOF
42224 #define HAVE__FPCLASS 1
42225 _ACEOF
42226
42227 fi
42228 done
42229
42230     fi
42231   fi
42232
42233
42234
42235
42236
42237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42238 $as_echo_n "checking for qfpclass declaration... " >&6; }
42239   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42240     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42241   $as_echo_n "(cached) " >&6
42242 else
42243
42244
42245       ac_ext=cpp
42246 ac_cpp='$CXXCPP $CPPFLAGS'
42247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42250
42251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42252 /* end confdefs.h.  */
42253 #include <math.h>
42254                       #ifdef HAVE_IEEEFP_H
42255                       #include <ieeefp.h>
42256                       #endif
42257
42258 int
42259 main ()
42260 {
42261  qfpclass(0);
42262   ;
42263   return 0;
42264 }
42265 _ACEOF
42266 if ac_fn_cxx_try_compile "$LINENO"; then :
42267   glibcxx_cv_func_qfpclass_use=yes
42268 else
42269   glibcxx_cv_func_qfpclass_use=no
42270 fi
42271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42272       ac_ext=c
42273 ac_cpp='$CPP $CPPFLAGS'
42274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42277
42278
42279 fi
42280
42281   fi
42282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42283 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42284
42285   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42286     for ac_func in qfpclass
42287 do :
42288   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42289 if test "x$ac_cv_func_qfpclass" = xyes; then :
42290   cat >>confdefs.h <<_ACEOF
42291 #define HAVE_QFPCLASS 1
42292 _ACEOF
42293
42294 fi
42295 done
42296
42297   else
42298
42299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42300 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42301   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42302     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42303   $as_echo_n "(cached) " >&6
42304 else
42305
42306
42307       ac_ext=cpp
42308 ac_cpp='$CXXCPP $CPPFLAGS'
42309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42312
42313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42314 /* end confdefs.h.  */
42315 #include <math.h>
42316                       #ifdef HAVE_IEEEFP_H
42317                       #include <ieeefp.h>
42318                       #endif
42319
42320 int
42321 main ()
42322 {
42323  _qfpclass(0);
42324   ;
42325   return 0;
42326 }
42327 _ACEOF
42328 if ac_fn_cxx_try_compile "$LINENO"; then :
42329   glibcxx_cv_func__qfpclass_use=yes
42330 else
42331   glibcxx_cv_func__qfpclass_use=no
42332 fi
42333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42334       ac_ext=c
42335 ac_cpp='$CPP $CPPFLAGS'
42336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339
42340
42341 fi
42342
42343   fi
42344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42345 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42346
42347     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42348       for ac_func in _qfpclass
42349 do :
42350   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42351 if test "x$ac_cv_func__qfpclass" = xyes; then :
42352   cat >>confdefs.h <<_ACEOF
42353 #define HAVE__QFPCLASS 1
42354 _ACEOF
42355
42356 fi
42357 done
42358
42359     fi
42360   fi
42361
42362
42363
42364
42365
42366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42367 $as_echo_n "checking for hypot declaration... " >&6; }
42368   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42369     if ${glibcxx_cv_func_hypot_use+:} false; then :
42370   $as_echo_n "(cached) " >&6
42371 else
42372
42373
42374       ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379
42380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h.  */
42382 #include <math.h>
42383 int
42384 main ()
42385 {
42386  hypot(0, 0);
42387   ;
42388   return 0;
42389 }
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392   glibcxx_cv_func_hypot_use=yes
42393 else
42394   glibcxx_cv_func_hypot_use=no
42395 fi
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397       ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402
42403
42404 fi
42405
42406   fi
42407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42408 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42409
42410   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42411     for ac_func in hypot
42412 do :
42413   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42414 if test "x$ac_cv_func_hypot" = xyes; then :
42415   cat >>confdefs.h <<_ACEOF
42416 #define HAVE_HYPOT 1
42417 _ACEOF
42418
42419 fi
42420 done
42421
42422   else
42423
42424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42425 $as_echo_n "checking for _hypot declaration... " >&6; }
42426   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42427     if ${glibcxx_cv_func__hypot_use+:} false; then :
42428   $as_echo_n "(cached) " >&6
42429 else
42430
42431
42432       ac_ext=cpp
42433 ac_cpp='$CXXCPP $CPPFLAGS'
42434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42437
42438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42439 /* end confdefs.h.  */
42440 #include <math.h>
42441 int
42442 main ()
42443 {
42444  _hypot(0, 0);
42445   ;
42446   return 0;
42447 }
42448 _ACEOF
42449 if ac_fn_cxx_try_compile "$LINENO"; then :
42450   glibcxx_cv_func__hypot_use=yes
42451 else
42452   glibcxx_cv_func__hypot_use=no
42453 fi
42454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42455       ac_ext=c
42456 ac_cpp='$CPP $CPPFLAGS'
42457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460
42461
42462 fi
42463
42464   fi
42465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42466 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42467
42468     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42469       for ac_func in _hypot
42470 do :
42471   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42472 if test "x$ac_cv_func__hypot" = xyes; then :
42473   cat >>confdefs.h <<_ACEOF
42474 #define HAVE__HYPOT 1
42475 _ACEOF
42476
42477 fi
42478 done
42479
42480     fi
42481   fi
42482
42483
42484
42485
42486
42487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42488 $as_echo_n "checking for float trig functions... " >&6; }
42489   if ${glibcxx_cv_func_float_trig_use+:} false; then :
42490   $as_echo_n "(cached) " >&6
42491 else
42492
42493
42494     ac_ext=cpp
42495 ac_cpp='$CXXCPP $CPPFLAGS'
42496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42499
42500     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42501 /* end confdefs.h.  */
42502 #include <math.h>
42503 int
42504 main ()
42505 {
42506 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42507   ;
42508   return 0;
42509 }
42510 _ACEOF
42511 if ac_fn_cxx_try_compile "$LINENO"; then :
42512   glibcxx_cv_func_float_trig_use=yes
42513 else
42514   glibcxx_cv_func_float_trig_use=no
42515 fi
42516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42517     ac_ext=c
42518 ac_cpp='$CPP $CPPFLAGS'
42519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42522
42523 fi
42524
42525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42526 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42527   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42528     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42529 do :
42530   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42532 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42533   cat >>confdefs.h <<_ACEOF
42534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42535 _ACEOF
42536
42537 fi
42538 done
42539
42540   else
42541     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42542 $as_echo_n "checking for _float trig functions... " >&6; }
42543     if ${glibcxx_cv_func__float_trig_use+:} false; then :
42544   $as_echo_n "(cached) " >&6
42545 else
42546
42547
42548       ac_ext=cpp
42549 ac_cpp='$CXXCPP $CPPFLAGS'
42550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553
42554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42555 /* end confdefs.h.  */
42556 #include <math.h>
42557 int
42558 main ()
42559 {
42560 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42561   ;
42562   return 0;
42563 }
42564 _ACEOF
42565 if ac_fn_cxx_try_compile "$LINENO"; then :
42566   glibcxx_cv_func__float_trig_use=yes
42567 else
42568   glibcxx_cv_func__float_trig_use=no
42569 fi
42570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42571       ac_ext=c
42572 ac_cpp='$CPP $CPPFLAGS'
42573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42576
42577 fi
42578
42579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42580 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42581     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42582       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42583 do :
42584   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42587   cat >>confdefs.h <<_ACEOF
42588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42589 _ACEOF
42590
42591 fi
42592 done
42593
42594     fi
42595   fi
42596
42597
42598
42599
42600
42601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42602 $as_echo_n "checking for float round functions... " >&6; }
42603   if ${glibcxx_cv_func_float_round_use+:} false; then :
42604   $as_echo_n "(cached) " >&6
42605 else
42606
42607
42608     ac_ext=cpp
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42613
42614     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42615 /* end confdefs.h.  */
42616 #include <math.h>
42617 int
42618 main ()
42619 {
42620 ceilf (0); floorf (0);
42621   ;
42622   return 0;
42623 }
42624 _ACEOF
42625 if ac_fn_cxx_try_compile "$LINENO"; then :
42626   glibcxx_cv_func_float_round_use=yes
42627 else
42628   glibcxx_cv_func_float_round_use=no
42629 fi
42630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42631     ac_ext=c
42632 ac_cpp='$CPP $CPPFLAGS'
42633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42636
42637 fi
42638
42639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42640 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42641   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42642     for ac_func in ceilf floorf
42643 do :
42644   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42647   cat >>confdefs.h <<_ACEOF
42648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42649 _ACEOF
42650
42651 fi
42652 done
42653
42654   else
42655     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42656 $as_echo_n "checking for _float round functions... " >&6; }
42657     if ${glibcxx_cv_func__float_round_use+:} false; then :
42658   $as_echo_n "(cached) " >&6
42659 else
42660
42661
42662       ac_ext=cpp
42663 ac_cpp='$CXXCPP $CPPFLAGS'
42664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42667
42668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42669 /* end confdefs.h.  */
42670 #include <math.h>
42671 int
42672 main ()
42673 {
42674 _ceilf (0); _floorf (0);
42675   ;
42676   return 0;
42677 }
42678 _ACEOF
42679 if ac_fn_cxx_try_compile "$LINENO"; then :
42680   glibcxx_cv_func__float_round_use=yes
42681 else
42682   glibcxx_cv_func__float_round_use=no
42683 fi
42684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42685       ac_ext=c
42686 ac_cpp='$CPP $CPPFLAGS'
42687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42690
42691 fi
42692
42693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42694 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42695     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42696       for ac_func in _ceilf _floorf
42697 do :
42698   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42701   cat >>confdefs.h <<_ACEOF
42702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42703 _ACEOF
42704
42705 fi
42706 done
42707
42708     fi
42709   fi
42710
42711
42712
42713
42714
42715
42716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42717 $as_echo_n "checking for expf declaration... " >&6; }
42718   if test x${glibcxx_cv_func_expf_use+set} != xset; then
42719     if ${glibcxx_cv_func_expf_use+:} false; then :
42720   $as_echo_n "(cached) " >&6
42721 else
42722
42723
42724       ac_ext=cpp
42725 ac_cpp='$CXXCPP $CPPFLAGS'
42726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42729
42730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42731 /* end confdefs.h.  */
42732 #include <math.h>
42733                       #ifdef HAVE_IEEEFP_H
42734                       #include <ieeefp.h>
42735                       #endif
42736
42737 int
42738 main ()
42739 {
42740  expf(0);
42741   ;
42742   return 0;
42743 }
42744 _ACEOF
42745 if ac_fn_cxx_try_compile "$LINENO"; then :
42746   glibcxx_cv_func_expf_use=yes
42747 else
42748   glibcxx_cv_func_expf_use=no
42749 fi
42750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42751       ac_ext=c
42752 ac_cpp='$CPP $CPPFLAGS'
42753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42756
42757
42758 fi
42759
42760   fi
42761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42762 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42763
42764   if test x$glibcxx_cv_func_expf_use = x"yes"; then
42765     for ac_func in expf
42766 do :
42767   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42768 if test "x$ac_cv_func_expf" = xyes; then :
42769   cat >>confdefs.h <<_ACEOF
42770 #define HAVE_EXPF 1
42771 _ACEOF
42772
42773 fi
42774 done
42775
42776   else
42777
42778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42779 $as_echo_n "checking for _expf declaration... " >&6; }
42780   if test x${glibcxx_cv_func__expf_use+set} != xset; then
42781     if ${glibcxx_cv_func__expf_use+:} false; then :
42782   $as_echo_n "(cached) " >&6
42783 else
42784
42785
42786       ac_ext=cpp
42787 ac_cpp='$CXXCPP $CPPFLAGS'
42788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42791
42792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42793 /* end confdefs.h.  */
42794 #include <math.h>
42795                       #ifdef HAVE_IEEEFP_H
42796                       #include <ieeefp.h>
42797                       #endif
42798
42799 int
42800 main ()
42801 {
42802  _expf(0);
42803   ;
42804   return 0;
42805 }
42806 _ACEOF
42807 if ac_fn_cxx_try_compile "$LINENO"; then :
42808   glibcxx_cv_func__expf_use=yes
42809 else
42810   glibcxx_cv_func__expf_use=no
42811 fi
42812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42813       ac_ext=c
42814 ac_cpp='$CPP $CPPFLAGS'
42815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42818
42819
42820 fi
42821
42822   fi
42823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42824 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42825
42826     if test x$glibcxx_cv_func__expf_use = x"yes"; then
42827       for ac_func in _expf
42828 do :
42829   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42830 if test "x$ac_cv_func__expf" = xyes; then :
42831   cat >>confdefs.h <<_ACEOF
42832 #define HAVE__EXPF 1
42833 _ACEOF
42834
42835 fi
42836 done
42837
42838     fi
42839   fi
42840
42841
42842
42843
42844
42845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42846 $as_echo_n "checking for isnanf declaration... " >&6; }
42847   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42848     if ${glibcxx_cv_func_isnanf_use+:} false; then :
42849   $as_echo_n "(cached) " >&6
42850 else
42851
42852
42853       ac_ext=cpp
42854 ac_cpp='$CXXCPP $CPPFLAGS'
42855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858
42859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42860 /* end confdefs.h.  */
42861 #include <math.h>
42862                       #ifdef HAVE_IEEEFP_H
42863                       #include <ieeefp.h>
42864                       #endif
42865
42866 int
42867 main ()
42868 {
42869  isnanf(0);
42870   ;
42871   return 0;
42872 }
42873 _ACEOF
42874 if ac_fn_cxx_try_compile "$LINENO"; then :
42875   glibcxx_cv_func_isnanf_use=yes
42876 else
42877   glibcxx_cv_func_isnanf_use=no
42878 fi
42879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42880       ac_ext=c
42881 ac_cpp='$CPP $CPPFLAGS'
42882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42885
42886
42887 fi
42888
42889   fi
42890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42891 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42892
42893   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42894     for ac_func in isnanf
42895 do :
42896   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42897 if test "x$ac_cv_func_isnanf" = xyes; then :
42898   cat >>confdefs.h <<_ACEOF
42899 #define HAVE_ISNANF 1
42900 _ACEOF
42901
42902 fi
42903 done
42904
42905   else
42906
42907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42908 $as_echo_n "checking for _isnanf declaration... " >&6; }
42909   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42910     if ${glibcxx_cv_func__isnanf_use+:} false; then :
42911   $as_echo_n "(cached) " >&6
42912 else
42913
42914
42915       ac_ext=cpp
42916 ac_cpp='$CXXCPP $CPPFLAGS'
42917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42920
42921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42922 /* end confdefs.h.  */
42923 #include <math.h>
42924                       #ifdef HAVE_IEEEFP_H
42925                       #include <ieeefp.h>
42926                       #endif
42927
42928 int
42929 main ()
42930 {
42931  _isnanf(0);
42932   ;
42933   return 0;
42934 }
42935 _ACEOF
42936 if ac_fn_cxx_try_compile "$LINENO"; then :
42937   glibcxx_cv_func__isnanf_use=yes
42938 else
42939   glibcxx_cv_func__isnanf_use=no
42940 fi
42941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42942       ac_ext=c
42943 ac_cpp='$CPP $CPPFLAGS'
42944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42947
42948
42949 fi
42950
42951   fi
42952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42953 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42954
42955     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42956       for ac_func in _isnanf
42957 do :
42958   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42959 if test "x$ac_cv_func__isnanf" = xyes; then :
42960   cat >>confdefs.h <<_ACEOF
42961 #define HAVE__ISNANF 1
42962 _ACEOF
42963
42964 fi
42965 done
42966
42967     fi
42968   fi
42969
42970
42971
42972
42973
42974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42975 $as_echo_n "checking for isinff declaration... " >&6; }
42976   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42977     if ${glibcxx_cv_func_isinff_use+:} false; then :
42978   $as_echo_n "(cached) " >&6
42979 else
42980
42981
42982       ac_ext=cpp
42983 ac_cpp='$CXXCPP $CPPFLAGS'
42984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987
42988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42989 /* end confdefs.h.  */
42990 #include <math.h>
42991                       #ifdef HAVE_IEEEFP_H
42992                       #include <ieeefp.h>
42993                       #endif
42994
42995 int
42996 main ()
42997 {
42998  isinff(0);
42999   ;
43000   return 0;
43001 }
43002 _ACEOF
43003 if ac_fn_cxx_try_compile "$LINENO"; then :
43004   glibcxx_cv_func_isinff_use=yes
43005 else
43006   glibcxx_cv_func_isinff_use=no
43007 fi
43008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43009       ac_ext=c
43010 ac_cpp='$CPP $CPPFLAGS'
43011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43014
43015
43016 fi
43017
43018   fi
43019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43020 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43021
43022   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43023     for ac_func in isinff
43024 do :
43025   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43026 if test "x$ac_cv_func_isinff" = xyes; then :
43027   cat >>confdefs.h <<_ACEOF
43028 #define HAVE_ISINFF 1
43029 _ACEOF
43030
43031 fi
43032 done
43033
43034   else
43035
43036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43037 $as_echo_n "checking for _isinff declaration... " >&6; }
43038   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43039     if ${glibcxx_cv_func__isinff_use+:} false; then :
43040   $as_echo_n "(cached) " >&6
43041 else
43042
43043
43044       ac_ext=cpp
43045 ac_cpp='$CXXCPP $CPPFLAGS'
43046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049
43050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43051 /* end confdefs.h.  */
43052 #include <math.h>
43053                       #ifdef HAVE_IEEEFP_H
43054                       #include <ieeefp.h>
43055                       #endif
43056
43057 int
43058 main ()
43059 {
43060  _isinff(0);
43061   ;
43062   return 0;
43063 }
43064 _ACEOF
43065 if ac_fn_cxx_try_compile "$LINENO"; then :
43066   glibcxx_cv_func__isinff_use=yes
43067 else
43068   glibcxx_cv_func__isinff_use=no
43069 fi
43070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43071       ac_ext=c
43072 ac_cpp='$CPP $CPPFLAGS'
43073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076
43077
43078 fi
43079
43080   fi
43081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43082 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43083
43084     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43085       for ac_func in _isinff
43086 do :
43087   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43088 if test "x$ac_cv_func__isinff" = xyes; then :
43089   cat >>confdefs.h <<_ACEOF
43090 #define HAVE__ISINFF 1
43091 _ACEOF
43092
43093 fi
43094 done
43095
43096     fi
43097   fi
43098
43099
43100
43101
43102
43103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43104 $as_echo_n "checking for atan2f declaration... " >&6; }
43105   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43106     if ${glibcxx_cv_func_atan2f_use+:} false; then :
43107   $as_echo_n "(cached) " >&6
43108 else
43109
43110
43111       ac_ext=cpp
43112 ac_cpp='$CXXCPP $CPPFLAGS'
43113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43116
43117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43118 /* end confdefs.h.  */
43119 #include <math.h>
43120 int
43121 main ()
43122 {
43123  atan2f(0, 0);
43124   ;
43125   return 0;
43126 }
43127 _ACEOF
43128 if ac_fn_cxx_try_compile "$LINENO"; then :
43129   glibcxx_cv_func_atan2f_use=yes
43130 else
43131   glibcxx_cv_func_atan2f_use=no
43132 fi
43133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43134       ac_ext=c
43135 ac_cpp='$CPP $CPPFLAGS'
43136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43139
43140
43141 fi
43142
43143   fi
43144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43145 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43146
43147   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43148     for ac_func in atan2f
43149 do :
43150   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43151 if test "x$ac_cv_func_atan2f" = xyes; then :
43152   cat >>confdefs.h <<_ACEOF
43153 #define HAVE_ATAN2F 1
43154 _ACEOF
43155
43156 fi
43157 done
43158
43159   else
43160
43161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43162 $as_echo_n "checking for _atan2f declaration... " >&6; }
43163   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43164     if ${glibcxx_cv_func__atan2f_use+:} false; then :
43165   $as_echo_n "(cached) " >&6
43166 else
43167
43168
43169       ac_ext=cpp
43170 ac_cpp='$CXXCPP $CPPFLAGS'
43171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174
43175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43176 /* end confdefs.h.  */
43177 #include <math.h>
43178 int
43179 main ()
43180 {
43181  _atan2f(0, 0);
43182   ;
43183   return 0;
43184 }
43185 _ACEOF
43186 if ac_fn_cxx_try_compile "$LINENO"; then :
43187   glibcxx_cv_func__atan2f_use=yes
43188 else
43189   glibcxx_cv_func__atan2f_use=no
43190 fi
43191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43192       ac_ext=c
43193 ac_cpp='$CPP $CPPFLAGS'
43194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43197
43198
43199 fi
43200
43201   fi
43202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43203 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43204
43205     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43206       for ac_func in _atan2f
43207 do :
43208   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43209 if test "x$ac_cv_func__atan2f" = xyes; then :
43210   cat >>confdefs.h <<_ACEOF
43211 #define HAVE__ATAN2F 1
43212 _ACEOF
43213
43214 fi
43215 done
43216
43217     fi
43218   fi
43219
43220
43221
43222
43223
43224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43225 $as_echo_n "checking for fabsf declaration... " >&6; }
43226   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43227     if ${glibcxx_cv_func_fabsf_use+:} false; then :
43228   $as_echo_n "(cached) " >&6
43229 else
43230
43231
43232       ac_ext=cpp
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237
43238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43239 /* end confdefs.h.  */
43240 #include <math.h>
43241                       #ifdef HAVE_IEEEFP_H
43242                       #include <ieeefp.h>
43243                       #endif
43244
43245 int
43246 main ()
43247 {
43248  fabsf(0);
43249   ;
43250   return 0;
43251 }
43252 _ACEOF
43253 if ac_fn_cxx_try_compile "$LINENO"; then :
43254   glibcxx_cv_func_fabsf_use=yes
43255 else
43256   glibcxx_cv_func_fabsf_use=no
43257 fi
43258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43259       ac_ext=c
43260 ac_cpp='$CPP $CPPFLAGS'
43261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264
43265
43266 fi
43267
43268   fi
43269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43270 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43271
43272   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43273     for ac_func in fabsf
43274 do :
43275   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43276 if test "x$ac_cv_func_fabsf" = xyes; then :
43277   cat >>confdefs.h <<_ACEOF
43278 #define HAVE_FABSF 1
43279 _ACEOF
43280
43281 fi
43282 done
43283
43284   else
43285
43286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43287 $as_echo_n "checking for _fabsf declaration... " >&6; }
43288   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43289     if ${glibcxx_cv_func__fabsf_use+:} false; then :
43290   $as_echo_n "(cached) " >&6
43291 else
43292
43293
43294       ac_ext=cpp
43295 ac_cpp='$CXXCPP $CPPFLAGS'
43296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43299
43300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43301 /* end confdefs.h.  */
43302 #include <math.h>
43303                       #ifdef HAVE_IEEEFP_H
43304                       #include <ieeefp.h>
43305                       #endif
43306
43307 int
43308 main ()
43309 {
43310  _fabsf(0);
43311   ;
43312   return 0;
43313 }
43314 _ACEOF
43315 if ac_fn_cxx_try_compile "$LINENO"; then :
43316   glibcxx_cv_func__fabsf_use=yes
43317 else
43318   glibcxx_cv_func__fabsf_use=no
43319 fi
43320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43321       ac_ext=c
43322 ac_cpp='$CPP $CPPFLAGS'
43323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43326
43327
43328 fi
43329
43330   fi
43331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43332 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43333
43334     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43335       for ac_func in _fabsf
43336 do :
43337   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43338 if test "x$ac_cv_func__fabsf" = xyes; then :
43339   cat >>confdefs.h <<_ACEOF
43340 #define HAVE__FABSF 1
43341 _ACEOF
43342
43343 fi
43344 done
43345
43346     fi
43347   fi
43348
43349
43350
43351
43352
43353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43354 $as_echo_n "checking for fmodf declaration... " >&6; }
43355   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43356     if ${glibcxx_cv_func_fmodf_use+:} false; then :
43357   $as_echo_n "(cached) " >&6
43358 else
43359
43360
43361       ac_ext=cpp
43362 ac_cpp='$CXXCPP $CPPFLAGS'
43363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43366
43367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43368 /* end confdefs.h.  */
43369 #include <math.h>
43370 int
43371 main ()
43372 {
43373  fmodf(0, 0);
43374   ;
43375   return 0;
43376 }
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379   glibcxx_cv_func_fmodf_use=yes
43380 else
43381   glibcxx_cv_func_fmodf_use=no
43382 fi
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384       ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389
43390
43391 fi
43392
43393   fi
43394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43395 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43396
43397   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43398     for ac_func in fmodf
43399 do :
43400   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43401 if test "x$ac_cv_func_fmodf" = xyes; then :
43402   cat >>confdefs.h <<_ACEOF
43403 #define HAVE_FMODF 1
43404 _ACEOF
43405
43406 fi
43407 done
43408
43409   else
43410
43411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43412 $as_echo_n "checking for _fmodf declaration... " >&6; }
43413   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43414     if ${glibcxx_cv_func__fmodf_use+:} false; then :
43415   $as_echo_n "(cached) " >&6
43416 else
43417
43418
43419       ac_ext=cpp
43420 ac_cpp='$CXXCPP $CPPFLAGS'
43421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43424
43425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43426 /* end confdefs.h.  */
43427 #include <math.h>
43428 int
43429 main ()
43430 {
43431  _fmodf(0, 0);
43432   ;
43433   return 0;
43434 }
43435 _ACEOF
43436 if ac_fn_cxx_try_compile "$LINENO"; then :
43437   glibcxx_cv_func__fmodf_use=yes
43438 else
43439   glibcxx_cv_func__fmodf_use=no
43440 fi
43441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43442       ac_ext=c
43443 ac_cpp='$CPP $CPPFLAGS'
43444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43447
43448
43449 fi
43450
43451   fi
43452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43453 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43454
43455     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43456       for ac_func in _fmodf
43457 do :
43458   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43459 if test "x$ac_cv_func__fmodf" = xyes; then :
43460   cat >>confdefs.h <<_ACEOF
43461 #define HAVE__FMODF 1
43462 _ACEOF
43463
43464 fi
43465 done
43466
43467     fi
43468   fi
43469
43470
43471
43472
43473
43474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43475 $as_echo_n "checking for frexpf declaration... " >&6; }
43476   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43477     if ${glibcxx_cv_func_frexpf_use+:} false; then :
43478   $as_echo_n "(cached) " >&6
43479 else
43480
43481
43482       ac_ext=cpp
43483 ac_cpp='$CXXCPP $CPPFLAGS'
43484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43487
43488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43489 /* end confdefs.h.  */
43490 #include <math.h>
43491 int
43492 main ()
43493 {
43494  frexpf(0, 0);
43495   ;
43496   return 0;
43497 }
43498 _ACEOF
43499 if ac_fn_cxx_try_compile "$LINENO"; then :
43500   glibcxx_cv_func_frexpf_use=yes
43501 else
43502   glibcxx_cv_func_frexpf_use=no
43503 fi
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43505       ac_ext=c
43506 ac_cpp='$CPP $CPPFLAGS'
43507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510
43511
43512 fi
43513
43514   fi
43515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43516 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43517
43518   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43519     for ac_func in frexpf
43520 do :
43521   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43522 if test "x$ac_cv_func_frexpf" = xyes; then :
43523   cat >>confdefs.h <<_ACEOF
43524 #define HAVE_FREXPF 1
43525 _ACEOF
43526
43527 fi
43528 done
43529
43530   else
43531
43532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43533 $as_echo_n "checking for _frexpf declaration... " >&6; }
43534   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43535     if ${glibcxx_cv_func__frexpf_use+:} false; then :
43536   $as_echo_n "(cached) " >&6
43537 else
43538
43539
43540       ac_ext=cpp
43541 ac_cpp='$CXXCPP $CPPFLAGS'
43542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43545
43546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43547 /* end confdefs.h.  */
43548 #include <math.h>
43549 int
43550 main ()
43551 {
43552  _frexpf(0, 0);
43553   ;
43554   return 0;
43555 }
43556 _ACEOF
43557 if ac_fn_cxx_try_compile "$LINENO"; then :
43558   glibcxx_cv_func__frexpf_use=yes
43559 else
43560   glibcxx_cv_func__frexpf_use=no
43561 fi
43562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43563       ac_ext=c
43564 ac_cpp='$CPP $CPPFLAGS'
43565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43568
43569
43570 fi
43571
43572   fi
43573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43574 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43575
43576     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43577       for ac_func in _frexpf
43578 do :
43579   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43580 if test "x$ac_cv_func__frexpf" = xyes; then :
43581   cat >>confdefs.h <<_ACEOF
43582 #define HAVE__FREXPF 1
43583 _ACEOF
43584
43585 fi
43586 done
43587
43588     fi
43589   fi
43590
43591
43592
43593
43594
43595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43596 $as_echo_n "checking for hypotf declaration... " >&6; }
43597   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43598     if ${glibcxx_cv_func_hypotf_use+:} false; then :
43599   $as_echo_n "(cached) " >&6
43600 else
43601
43602
43603       ac_ext=cpp
43604 ac_cpp='$CXXCPP $CPPFLAGS'
43605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43608
43609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43610 /* end confdefs.h.  */
43611 #include <math.h>
43612 int
43613 main ()
43614 {
43615  hypotf(0, 0);
43616   ;
43617   return 0;
43618 }
43619 _ACEOF
43620 if ac_fn_cxx_try_compile "$LINENO"; then :
43621   glibcxx_cv_func_hypotf_use=yes
43622 else
43623   glibcxx_cv_func_hypotf_use=no
43624 fi
43625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43626       ac_ext=c
43627 ac_cpp='$CPP $CPPFLAGS'
43628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43631
43632
43633 fi
43634
43635   fi
43636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43637 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43638
43639   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43640     for ac_func in hypotf
43641 do :
43642   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43643 if test "x$ac_cv_func_hypotf" = xyes; then :
43644   cat >>confdefs.h <<_ACEOF
43645 #define HAVE_HYPOTF 1
43646 _ACEOF
43647
43648 fi
43649 done
43650
43651   else
43652
43653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43654 $as_echo_n "checking for _hypotf declaration... " >&6; }
43655   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43656     if ${glibcxx_cv_func__hypotf_use+:} false; then :
43657   $as_echo_n "(cached) " >&6
43658 else
43659
43660
43661       ac_ext=cpp
43662 ac_cpp='$CXXCPP $CPPFLAGS'
43663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666
43667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43668 /* end confdefs.h.  */
43669 #include <math.h>
43670 int
43671 main ()
43672 {
43673  _hypotf(0, 0);
43674   ;
43675   return 0;
43676 }
43677 _ACEOF
43678 if ac_fn_cxx_try_compile "$LINENO"; then :
43679   glibcxx_cv_func__hypotf_use=yes
43680 else
43681   glibcxx_cv_func__hypotf_use=no
43682 fi
43683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43684       ac_ext=c
43685 ac_cpp='$CPP $CPPFLAGS'
43686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43689
43690
43691 fi
43692
43693   fi
43694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43695 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43696
43697     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43698       for ac_func in _hypotf
43699 do :
43700   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43701 if test "x$ac_cv_func__hypotf" = xyes; then :
43702   cat >>confdefs.h <<_ACEOF
43703 #define HAVE__HYPOTF 1
43704 _ACEOF
43705
43706 fi
43707 done
43708
43709     fi
43710   fi
43711
43712
43713
43714
43715
43716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43717 $as_echo_n "checking for ldexpf declaration... " >&6; }
43718   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43719     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43720   $as_echo_n "(cached) " >&6
43721 else
43722
43723
43724       ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729
43730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h.  */
43732 #include <math.h>
43733 int
43734 main ()
43735 {
43736  ldexpf(0, 0);
43737   ;
43738   return 0;
43739 }
43740 _ACEOF
43741 if ac_fn_cxx_try_compile "$LINENO"; then :
43742   glibcxx_cv_func_ldexpf_use=yes
43743 else
43744   glibcxx_cv_func_ldexpf_use=no
43745 fi
43746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43747       ac_ext=c
43748 ac_cpp='$CPP $CPPFLAGS'
43749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43752
43753
43754 fi
43755
43756   fi
43757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43758 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43759
43760   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43761     for ac_func in ldexpf
43762 do :
43763   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43764 if test "x$ac_cv_func_ldexpf" = xyes; then :
43765   cat >>confdefs.h <<_ACEOF
43766 #define HAVE_LDEXPF 1
43767 _ACEOF
43768
43769 fi
43770 done
43771
43772   else
43773
43774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43775 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43776   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43777     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43778   $as_echo_n "(cached) " >&6
43779 else
43780
43781
43782       ac_ext=cpp
43783 ac_cpp='$CXXCPP $CPPFLAGS'
43784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43787
43788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43789 /* end confdefs.h.  */
43790 #include <math.h>
43791 int
43792 main ()
43793 {
43794  _ldexpf(0, 0);
43795   ;
43796   return 0;
43797 }
43798 _ACEOF
43799 if ac_fn_cxx_try_compile "$LINENO"; then :
43800   glibcxx_cv_func__ldexpf_use=yes
43801 else
43802   glibcxx_cv_func__ldexpf_use=no
43803 fi
43804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43805       ac_ext=c
43806 ac_cpp='$CPP $CPPFLAGS'
43807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43810
43811
43812 fi
43813
43814   fi
43815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43816 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43817
43818     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43819       for ac_func in _ldexpf
43820 do :
43821   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43822 if test "x$ac_cv_func__ldexpf" = xyes; then :
43823   cat >>confdefs.h <<_ACEOF
43824 #define HAVE__LDEXPF 1
43825 _ACEOF
43826
43827 fi
43828 done
43829
43830     fi
43831   fi
43832
43833
43834
43835
43836
43837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43838 $as_echo_n "checking for logf declaration... " >&6; }
43839   if test x${glibcxx_cv_func_logf_use+set} != xset; then
43840     if ${glibcxx_cv_func_logf_use+:} false; then :
43841   $as_echo_n "(cached) " >&6
43842 else
43843
43844
43845       ac_ext=cpp
43846 ac_cpp='$CXXCPP $CPPFLAGS'
43847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43850
43851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43852 /* end confdefs.h.  */
43853 #include <math.h>
43854                       #ifdef HAVE_IEEEFP_H
43855                       #include <ieeefp.h>
43856                       #endif
43857
43858 int
43859 main ()
43860 {
43861  logf(0);
43862   ;
43863   return 0;
43864 }
43865 _ACEOF
43866 if ac_fn_cxx_try_compile "$LINENO"; then :
43867   glibcxx_cv_func_logf_use=yes
43868 else
43869   glibcxx_cv_func_logf_use=no
43870 fi
43871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43872       ac_ext=c
43873 ac_cpp='$CPP $CPPFLAGS'
43874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43877
43878
43879 fi
43880
43881   fi
43882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43883 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43884
43885   if test x$glibcxx_cv_func_logf_use = x"yes"; then
43886     for ac_func in logf
43887 do :
43888   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43889 if test "x$ac_cv_func_logf" = xyes; then :
43890   cat >>confdefs.h <<_ACEOF
43891 #define HAVE_LOGF 1
43892 _ACEOF
43893
43894 fi
43895 done
43896
43897   else
43898
43899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43900 $as_echo_n "checking for _logf declaration... " >&6; }
43901   if test x${glibcxx_cv_func__logf_use+set} != xset; then
43902     if ${glibcxx_cv_func__logf_use+:} false; then :
43903   $as_echo_n "(cached) " >&6
43904 else
43905
43906
43907       ac_ext=cpp
43908 ac_cpp='$CXXCPP $CPPFLAGS'
43909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43912
43913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43914 /* end confdefs.h.  */
43915 #include <math.h>
43916                       #ifdef HAVE_IEEEFP_H
43917                       #include <ieeefp.h>
43918                       #endif
43919
43920 int
43921 main ()
43922 {
43923  _logf(0);
43924   ;
43925   return 0;
43926 }
43927 _ACEOF
43928 if ac_fn_cxx_try_compile "$LINENO"; then :
43929   glibcxx_cv_func__logf_use=yes
43930 else
43931   glibcxx_cv_func__logf_use=no
43932 fi
43933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43934       ac_ext=c
43935 ac_cpp='$CPP $CPPFLAGS'
43936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43939
43940
43941 fi
43942
43943   fi
43944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43945 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43946
43947     if test x$glibcxx_cv_func__logf_use = x"yes"; then
43948       for ac_func in _logf
43949 do :
43950   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43951 if test "x$ac_cv_func__logf" = xyes; then :
43952   cat >>confdefs.h <<_ACEOF
43953 #define HAVE__LOGF 1
43954 _ACEOF
43955
43956 fi
43957 done
43958
43959     fi
43960   fi
43961
43962
43963
43964
43965
43966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43967 $as_echo_n "checking for log10f declaration... " >&6; }
43968   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43969     if ${glibcxx_cv_func_log10f_use+:} false; then :
43970   $as_echo_n "(cached) " >&6
43971 else
43972
43973
43974       ac_ext=cpp
43975 ac_cpp='$CXXCPP $CPPFLAGS'
43976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43979
43980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43981 /* end confdefs.h.  */
43982 #include <math.h>
43983                       #ifdef HAVE_IEEEFP_H
43984                       #include <ieeefp.h>
43985                       #endif
43986
43987 int
43988 main ()
43989 {
43990  log10f(0);
43991   ;
43992   return 0;
43993 }
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996   glibcxx_cv_func_log10f_use=yes
43997 else
43998   glibcxx_cv_func_log10f_use=no
43999 fi
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001       ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44006
44007
44008 fi
44009
44010   fi
44011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44012 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44013
44014   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44015     for ac_func in log10f
44016 do :
44017   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44018 if test "x$ac_cv_func_log10f" = xyes; then :
44019   cat >>confdefs.h <<_ACEOF
44020 #define HAVE_LOG10F 1
44021 _ACEOF
44022
44023 fi
44024 done
44025
44026   else
44027
44028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44029 $as_echo_n "checking for _log10f declaration... " >&6; }
44030   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44031     if ${glibcxx_cv_func__log10f_use+:} false; then :
44032   $as_echo_n "(cached) " >&6
44033 else
44034
44035
44036       ac_ext=cpp
44037 ac_cpp='$CXXCPP $CPPFLAGS'
44038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041
44042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44043 /* end confdefs.h.  */
44044 #include <math.h>
44045                       #ifdef HAVE_IEEEFP_H
44046                       #include <ieeefp.h>
44047                       #endif
44048
44049 int
44050 main ()
44051 {
44052  _log10f(0);
44053   ;
44054   return 0;
44055 }
44056 _ACEOF
44057 if ac_fn_cxx_try_compile "$LINENO"; then :
44058   glibcxx_cv_func__log10f_use=yes
44059 else
44060   glibcxx_cv_func__log10f_use=no
44061 fi
44062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44063       ac_ext=c
44064 ac_cpp='$CPP $CPPFLAGS'
44065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44068
44069
44070 fi
44071
44072   fi
44073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44074 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44075
44076     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44077       for ac_func in _log10f
44078 do :
44079   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44080 if test "x$ac_cv_func__log10f" = xyes; then :
44081   cat >>confdefs.h <<_ACEOF
44082 #define HAVE__LOG10F 1
44083 _ACEOF
44084
44085 fi
44086 done
44087
44088     fi
44089   fi
44090
44091
44092
44093
44094
44095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44096 $as_echo_n "checking for modff declaration... " >&6; }
44097   if test x${glibcxx_cv_func_modff_use+set} != xset; then
44098     if ${glibcxx_cv_func_modff_use+:} false; then :
44099   $as_echo_n "(cached) " >&6
44100 else
44101
44102
44103       ac_ext=cpp
44104 ac_cpp='$CXXCPP $CPPFLAGS'
44105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44108
44109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44110 /* end confdefs.h.  */
44111 #include <math.h>
44112 int
44113 main ()
44114 {
44115  modff(0, 0);
44116   ;
44117   return 0;
44118 }
44119 _ACEOF
44120 if ac_fn_cxx_try_compile "$LINENO"; then :
44121   glibcxx_cv_func_modff_use=yes
44122 else
44123   glibcxx_cv_func_modff_use=no
44124 fi
44125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44126       ac_ext=c
44127 ac_cpp='$CPP $CPPFLAGS'
44128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44131
44132
44133 fi
44134
44135   fi
44136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44137 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44138
44139   if test x$glibcxx_cv_func_modff_use = x"yes"; then
44140     for ac_func in modff
44141 do :
44142   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44143 if test "x$ac_cv_func_modff" = xyes; then :
44144   cat >>confdefs.h <<_ACEOF
44145 #define HAVE_MODFF 1
44146 _ACEOF
44147
44148 fi
44149 done
44150
44151   else
44152
44153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44154 $as_echo_n "checking for _modff declaration... " >&6; }
44155   if test x${glibcxx_cv_func__modff_use+set} != xset; then
44156     if ${glibcxx_cv_func__modff_use+:} false; then :
44157   $as_echo_n "(cached) " >&6
44158 else
44159
44160
44161       ac_ext=cpp
44162 ac_cpp='$CXXCPP $CPPFLAGS'
44163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44166
44167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44168 /* end confdefs.h.  */
44169 #include <math.h>
44170 int
44171 main ()
44172 {
44173  _modff(0, 0);
44174   ;
44175   return 0;
44176 }
44177 _ACEOF
44178 if ac_fn_cxx_try_compile "$LINENO"; then :
44179   glibcxx_cv_func__modff_use=yes
44180 else
44181   glibcxx_cv_func__modff_use=no
44182 fi
44183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44184       ac_ext=c
44185 ac_cpp='$CPP $CPPFLAGS'
44186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44189
44190
44191 fi
44192
44193   fi
44194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44195 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44196
44197     if test x$glibcxx_cv_func__modff_use = x"yes"; then
44198       for ac_func in _modff
44199 do :
44200   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44201 if test "x$ac_cv_func__modff" = xyes; then :
44202   cat >>confdefs.h <<_ACEOF
44203 #define HAVE__MODFF 1
44204 _ACEOF
44205
44206 fi
44207 done
44208
44209     fi
44210   fi
44211
44212
44213
44214
44215
44216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44217 $as_echo_n "checking for modf declaration... " >&6; }
44218   if test x${glibcxx_cv_func_modf_use+set} != xset; then
44219     if ${glibcxx_cv_func_modf_use+:} false; then :
44220   $as_echo_n "(cached) " >&6
44221 else
44222
44223
44224       ac_ext=cpp
44225 ac_cpp='$CXXCPP $CPPFLAGS'
44226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44229
44230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44231 /* end confdefs.h.  */
44232 #include <math.h>
44233 int
44234 main ()
44235 {
44236  modf(0, 0);
44237   ;
44238   return 0;
44239 }
44240 _ACEOF
44241 if ac_fn_cxx_try_compile "$LINENO"; then :
44242   glibcxx_cv_func_modf_use=yes
44243 else
44244   glibcxx_cv_func_modf_use=no
44245 fi
44246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44247       ac_ext=c
44248 ac_cpp='$CPP $CPPFLAGS'
44249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44252
44253
44254 fi
44255
44256   fi
44257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44258 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44259
44260   if test x$glibcxx_cv_func_modf_use = x"yes"; then
44261     for ac_func in modf
44262 do :
44263   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44264 if test "x$ac_cv_func_modf" = xyes; then :
44265   cat >>confdefs.h <<_ACEOF
44266 #define HAVE_MODF 1
44267 _ACEOF
44268
44269 fi
44270 done
44271
44272   else
44273
44274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44275 $as_echo_n "checking for _modf declaration... " >&6; }
44276   if test x${glibcxx_cv_func__modf_use+set} != xset; then
44277     if ${glibcxx_cv_func__modf_use+:} false; then :
44278   $as_echo_n "(cached) " >&6
44279 else
44280
44281
44282       ac_ext=cpp
44283 ac_cpp='$CXXCPP $CPPFLAGS'
44284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44287
44288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44289 /* end confdefs.h.  */
44290 #include <math.h>
44291 int
44292 main ()
44293 {
44294  _modf(0, 0);
44295   ;
44296   return 0;
44297 }
44298 _ACEOF
44299 if ac_fn_cxx_try_compile "$LINENO"; then :
44300   glibcxx_cv_func__modf_use=yes
44301 else
44302   glibcxx_cv_func__modf_use=no
44303 fi
44304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44305       ac_ext=c
44306 ac_cpp='$CPP $CPPFLAGS'
44307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310
44311
44312 fi
44313
44314   fi
44315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44316 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44317
44318     if test x$glibcxx_cv_func__modf_use = x"yes"; then
44319       for ac_func in _modf
44320 do :
44321   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44322 if test "x$ac_cv_func__modf" = xyes; then :
44323   cat >>confdefs.h <<_ACEOF
44324 #define HAVE__MODF 1
44325 _ACEOF
44326
44327 fi
44328 done
44329
44330     fi
44331   fi
44332
44333
44334
44335
44336
44337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44338 $as_echo_n "checking for powf declaration... " >&6; }
44339   if test x${glibcxx_cv_func_powf_use+set} != xset; then
44340     if ${glibcxx_cv_func_powf_use+:} false; then :
44341   $as_echo_n "(cached) " >&6
44342 else
44343
44344
44345       ac_ext=cpp
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350
44351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44352 /* end confdefs.h.  */
44353 #include <math.h>
44354 int
44355 main ()
44356 {
44357  powf(0, 0);
44358   ;
44359   return 0;
44360 }
44361 _ACEOF
44362 if ac_fn_cxx_try_compile "$LINENO"; then :
44363   glibcxx_cv_func_powf_use=yes
44364 else
44365   glibcxx_cv_func_powf_use=no
44366 fi
44367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44368       ac_ext=c
44369 ac_cpp='$CPP $CPPFLAGS'
44370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44373
44374
44375 fi
44376
44377   fi
44378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44379 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44380
44381   if test x$glibcxx_cv_func_powf_use = x"yes"; then
44382     for ac_func in powf
44383 do :
44384   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44385 if test "x$ac_cv_func_powf" = xyes; then :
44386   cat >>confdefs.h <<_ACEOF
44387 #define HAVE_POWF 1
44388 _ACEOF
44389
44390 fi
44391 done
44392
44393   else
44394
44395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44396 $as_echo_n "checking for _powf declaration... " >&6; }
44397   if test x${glibcxx_cv_func__powf_use+set} != xset; then
44398     if ${glibcxx_cv_func__powf_use+:} false; then :
44399   $as_echo_n "(cached) " >&6
44400 else
44401
44402
44403       ac_ext=cpp
44404 ac_cpp='$CXXCPP $CPPFLAGS'
44405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44408
44409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44410 /* end confdefs.h.  */
44411 #include <math.h>
44412 int
44413 main ()
44414 {
44415  _powf(0, 0);
44416   ;
44417   return 0;
44418 }
44419 _ACEOF
44420 if ac_fn_cxx_try_compile "$LINENO"; then :
44421   glibcxx_cv_func__powf_use=yes
44422 else
44423   glibcxx_cv_func__powf_use=no
44424 fi
44425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44426       ac_ext=c
44427 ac_cpp='$CPP $CPPFLAGS'
44428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44431
44432
44433 fi
44434
44435   fi
44436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44437 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44438
44439     if test x$glibcxx_cv_func__powf_use = x"yes"; then
44440       for ac_func in _powf
44441 do :
44442   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44443 if test "x$ac_cv_func__powf" = xyes; then :
44444   cat >>confdefs.h <<_ACEOF
44445 #define HAVE__POWF 1
44446 _ACEOF
44447
44448 fi
44449 done
44450
44451     fi
44452   fi
44453
44454
44455
44456
44457
44458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44459 $as_echo_n "checking for sqrtf declaration... " >&6; }
44460   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44461     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44462   $as_echo_n "(cached) " >&6
44463 else
44464
44465
44466       ac_ext=cpp
44467 ac_cpp='$CXXCPP $CPPFLAGS'
44468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44471
44472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44473 /* end confdefs.h.  */
44474 #include <math.h>
44475                       #ifdef HAVE_IEEEFP_H
44476                       #include <ieeefp.h>
44477                       #endif
44478
44479 int
44480 main ()
44481 {
44482  sqrtf(0);
44483   ;
44484   return 0;
44485 }
44486 _ACEOF
44487 if ac_fn_cxx_try_compile "$LINENO"; then :
44488   glibcxx_cv_func_sqrtf_use=yes
44489 else
44490   glibcxx_cv_func_sqrtf_use=no
44491 fi
44492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44493       ac_ext=c
44494 ac_cpp='$CPP $CPPFLAGS'
44495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44498
44499
44500 fi
44501
44502   fi
44503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44504 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44505
44506   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44507     for ac_func in sqrtf
44508 do :
44509   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44510 if test "x$ac_cv_func_sqrtf" = xyes; then :
44511   cat >>confdefs.h <<_ACEOF
44512 #define HAVE_SQRTF 1
44513 _ACEOF
44514
44515 fi
44516 done
44517
44518   else
44519
44520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44521 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44522   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44523     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44524   $as_echo_n "(cached) " >&6
44525 else
44526
44527
44528       ac_ext=cpp
44529 ac_cpp='$CXXCPP $CPPFLAGS'
44530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44533
44534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44535 /* end confdefs.h.  */
44536 #include <math.h>
44537                       #ifdef HAVE_IEEEFP_H
44538                       #include <ieeefp.h>
44539                       #endif
44540
44541 int
44542 main ()
44543 {
44544  _sqrtf(0);
44545   ;
44546   return 0;
44547 }
44548 _ACEOF
44549 if ac_fn_cxx_try_compile "$LINENO"; then :
44550   glibcxx_cv_func__sqrtf_use=yes
44551 else
44552   glibcxx_cv_func__sqrtf_use=no
44553 fi
44554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44555       ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560
44561
44562 fi
44563
44564   fi
44565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44566 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44567
44568     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44569       for ac_func in _sqrtf
44570 do :
44571   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44572 if test "x$ac_cv_func__sqrtf" = xyes; then :
44573   cat >>confdefs.h <<_ACEOF
44574 #define HAVE__SQRTF 1
44575 _ACEOF
44576
44577 fi
44578 done
44579
44580     fi
44581   fi
44582
44583
44584
44585
44586
44587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44588 $as_echo_n "checking for sincosf declaration... " >&6; }
44589   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44590     if ${glibcxx_cv_func_sincosf_use+:} false; then :
44591   $as_echo_n "(cached) " >&6
44592 else
44593
44594
44595       ac_ext=cpp
44596 ac_cpp='$CXXCPP $CPPFLAGS'
44597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44600
44601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44602 /* end confdefs.h.  */
44603 #include <math.h>
44604 int
44605 main ()
44606 {
44607  sincosf(0, 0, 0);
44608   ;
44609   return 0;
44610 }
44611 _ACEOF
44612 if ac_fn_cxx_try_compile "$LINENO"; then :
44613   glibcxx_cv_func_sincosf_use=yes
44614 else
44615   glibcxx_cv_func_sincosf_use=no
44616 fi
44617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44618       ac_ext=c
44619 ac_cpp='$CPP $CPPFLAGS'
44620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44623
44624
44625 fi
44626
44627   fi
44628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44629 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44630
44631   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44632     for ac_func in sincosf
44633 do :
44634   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44635 if test "x$ac_cv_func_sincosf" = xyes; then :
44636   cat >>confdefs.h <<_ACEOF
44637 #define HAVE_SINCOSF 1
44638 _ACEOF
44639
44640 fi
44641 done
44642
44643   else
44644
44645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44646 $as_echo_n "checking for _sincosf declaration... " >&6; }
44647   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44648     if ${glibcxx_cv_func__sincosf_use+:} false; then :
44649   $as_echo_n "(cached) " >&6
44650 else
44651
44652
44653       ac_ext=cpp
44654 ac_cpp='$CXXCPP $CPPFLAGS'
44655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44658
44659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44660 /* end confdefs.h.  */
44661 #include <math.h>
44662 int
44663 main ()
44664 {
44665  _sincosf(0, 0, 0);
44666   ;
44667   return 0;
44668 }
44669 _ACEOF
44670 if ac_fn_cxx_try_compile "$LINENO"; then :
44671   glibcxx_cv_func__sincosf_use=yes
44672 else
44673   glibcxx_cv_func__sincosf_use=no
44674 fi
44675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44676       ac_ext=c
44677 ac_cpp='$CPP $CPPFLAGS'
44678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681
44682
44683 fi
44684
44685   fi
44686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44687 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44688
44689     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44690       for ac_func in _sincosf
44691 do :
44692   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44693 if test "x$ac_cv_func__sincosf" = xyes; then :
44694   cat >>confdefs.h <<_ACEOF
44695 #define HAVE__SINCOSF 1
44696 _ACEOF
44697
44698 fi
44699 done
44700
44701     fi
44702   fi
44703
44704
44705
44706
44707
44708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44709 $as_echo_n "checking for finitef declaration... " >&6; }
44710   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44711     if ${glibcxx_cv_func_finitef_use+:} false; then :
44712   $as_echo_n "(cached) " >&6
44713 else
44714
44715
44716       ac_ext=cpp
44717 ac_cpp='$CXXCPP $CPPFLAGS'
44718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44721
44722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h.  */
44724 #include <math.h>
44725                       #ifdef HAVE_IEEEFP_H
44726                       #include <ieeefp.h>
44727                       #endif
44728
44729 int
44730 main ()
44731 {
44732  finitef(0);
44733   ;
44734   return 0;
44735 }
44736 _ACEOF
44737 if ac_fn_cxx_try_compile "$LINENO"; then :
44738   glibcxx_cv_func_finitef_use=yes
44739 else
44740   glibcxx_cv_func_finitef_use=no
44741 fi
44742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44743       ac_ext=c
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44748
44749
44750 fi
44751
44752   fi
44753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44754 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44755
44756   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44757     for ac_func in finitef
44758 do :
44759   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44760 if test "x$ac_cv_func_finitef" = xyes; then :
44761   cat >>confdefs.h <<_ACEOF
44762 #define HAVE_FINITEF 1
44763 _ACEOF
44764
44765 fi
44766 done
44767
44768   else
44769
44770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44771 $as_echo_n "checking for _finitef declaration... " >&6; }
44772   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44773     if ${glibcxx_cv_func__finitef_use+:} false; then :
44774   $as_echo_n "(cached) " >&6
44775 else
44776
44777
44778       ac_ext=cpp
44779 ac_cpp='$CXXCPP $CPPFLAGS'
44780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44783
44784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44785 /* end confdefs.h.  */
44786 #include <math.h>
44787                       #ifdef HAVE_IEEEFP_H
44788                       #include <ieeefp.h>
44789                       #endif
44790
44791 int
44792 main ()
44793 {
44794  _finitef(0);
44795   ;
44796   return 0;
44797 }
44798 _ACEOF
44799 if ac_fn_cxx_try_compile "$LINENO"; then :
44800   glibcxx_cv_func__finitef_use=yes
44801 else
44802   glibcxx_cv_func__finitef_use=no
44803 fi
44804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44805       ac_ext=c
44806 ac_cpp='$CPP $CPPFLAGS'
44807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44810
44811
44812 fi
44813
44814   fi
44815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44816 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44817
44818     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44819       for ac_func in _finitef
44820 do :
44821   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44822 if test "x$ac_cv_func__finitef" = xyes; then :
44823   cat >>confdefs.h <<_ACEOF
44824 #define HAVE__FINITEF 1
44825 _ACEOF
44826
44827 fi
44828 done
44829
44830     fi
44831   fi
44832
44833
44834
44835
44836
44837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44838 $as_echo_n "checking for long double trig functions... " >&6; }
44839   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44840   $as_echo_n "(cached) " >&6
44841 else
44842
44843
44844     ac_ext=cpp
44845 ac_cpp='$CXXCPP $CPPFLAGS'
44846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44849
44850     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44851 /* end confdefs.h.  */
44852 #include <math.h>
44853 int
44854 main ()
44855 {
44856 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44857   ;
44858   return 0;
44859 }
44860 _ACEOF
44861 if ac_fn_cxx_try_compile "$LINENO"; then :
44862   glibcxx_cv_func_long_double_trig_use=yes
44863 else
44864   glibcxx_cv_func_long_double_trig_use=no
44865 fi
44866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44867     ac_ext=c
44868 ac_cpp='$CPP $CPPFLAGS'
44869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44872
44873 fi
44874
44875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44876 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44877   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44878     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44879 do :
44880   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44882 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44883   cat >>confdefs.h <<_ACEOF
44884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44885 _ACEOF
44886
44887 fi
44888 done
44889
44890   else
44891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44892 $as_echo_n "checking for _long double trig functions... " >&6; }
44893     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44894   $as_echo_n "(cached) " >&6
44895 else
44896
44897
44898       ac_ext=cpp
44899 ac_cpp='$CXXCPP $CPPFLAGS'
44900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44903
44904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44905 /* end confdefs.h.  */
44906 #include <math.h>
44907 int
44908 main ()
44909 {
44910 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44911   ;
44912   return 0;
44913 }
44914 _ACEOF
44915 if ac_fn_cxx_try_compile "$LINENO"; then :
44916   glibcxx_cv_func__long_double_trig_use=yes
44917 else
44918   glibcxx_cv_func__long_double_trig_use=no
44919 fi
44920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44921       ac_ext=c
44922 ac_cpp='$CPP $CPPFLAGS'
44923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926
44927 fi
44928
44929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44930 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44931     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44932       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44933 do :
44934   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44937   cat >>confdefs.h <<_ACEOF
44938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44939 _ACEOF
44940
44941 fi
44942 done
44943
44944     fi
44945   fi
44946
44947
44948
44949
44950
44951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44952 $as_echo_n "checking for long double round functions... " >&6; }
44953   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44954   $as_echo_n "(cached) " >&6
44955 else
44956
44957
44958     ac_ext=cpp
44959 ac_cpp='$CXXCPP $CPPFLAGS'
44960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44963
44964     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44965 /* end confdefs.h.  */
44966 #include <math.h>
44967 int
44968 main ()
44969 {
44970 ceill (0); floorl (0);
44971   ;
44972   return 0;
44973 }
44974 _ACEOF
44975 if ac_fn_cxx_try_compile "$LINENO"; then :
44976   glibcxx_cv_func_long_double_round_use=yes
44977 else
44978   glibcxx_cv_func_long_double_round_use=no
44979 fi
44980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44981     ac_ext=c
44982 ac_cpp='$CPP $CPPFLAGS'
44983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44986
44987 fi
44988
44989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44990 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44991   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44992     for ac_func in ceill floorl
44993 do :
44994   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44997   cat >>confdefs.h <<_ACEOF
44998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44999 _ACEOF
45000
45001 fi
45002 done
45003
45004   else
45005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45006 $as_echo_n "checking for _long double round functions... " >&6; }
45007     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45008   $as_echo_n "(cached) " >&6
45009 else
45010
45011
45012       ac_ext=cpp
45013 ac_cpp='$CXXCPP $CPPFLAGS'
45014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45017
45018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45019 /* end confdefs.h.  */
45020 #include <math.h>
45021 int
45022 main ()
45023 {
45024 _ceill (0); _floorl (0);
45025   ;
45026   return 0;
45027 }
45028 _ACEOF
45029 if ac_fn_cxx_try_compile "$LINENO"; then :
45030   glibcxx_cv_func__long_double_round_use=yes
45031 else
45032   glibcxx_cv_func__long_double_round_use=no
45033 fi
45034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45035       ac_ext=c
45036 ac_cpp='$CPP $CPPFLAGS'
45037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45040
45041 fi
45042
45043     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45044 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45045     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45046       for ac_func in _ceill _floorl
45047 do :
45048   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45050 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45051   cat >>confdefs.h <<_ACEOF
45052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45053 _ACEOF
45054
45055 fi
45056 done
45057
45058     fi
45059   fi
45060
45061
45062
45063
45064
45065
45066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45067 $as_echo_n "checking for isnanl declaration... " >&6; }
45068   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45069     if ${glibcxx_cv_func_isnanl_use+:} false; then :
45070   $as_echo_n "(cached) " >&6
45071 else
45072
45073
45074       ac_ext=cpp
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45079
45080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45081 /* end confdefs.h.  */
45082 #include <math.h>
45083                       #ifdef HAVE_IEEEFP_H
45084                       #include <ieeefp.h>
45085                       #endif
45086
45087 int
45088 main ()
45089 {
45090  isnanl(0);
45091   ;
45092   return 0;
45093 }
45094 _ACEOF
45095 if ac_fn_cxx_try_compile "$LINENO"; then :
45096   glibcxx_cv_func_isnanl_use=yes
45097 else
45098   glibcxx_cv_func_isnanl_use=no
45099 fi
45100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45101       ac_ext=c
45102 ac_cpp='$CPP $CPPFLAGS'
45103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45106
45107
45108 fi
45109
45110   fi
45111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45112 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45113
45114   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45115     for ac_func in isnanl
45116 do :
45117   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45118 if test "x$ac_cv_func_isnanl" = xyes; then :
45119   cat >>confdefs.h <<_ACEOF
45120 #define HAVE_ISNANL 1
45121 _ACEOF
45122
45123 fi
45124 done
45125
45126   else
45127
45128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45129 $as_echo_n "checking for _isnanl declaration... " >&6; }
45130   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45131     if ${glibcxx_cv_func__isnanl_use+:} false; then :
45132   $as_echo_n "(cached) " >&6
45133 else
45134
45135
45136       ac_ext=cpp
45137 ac_cpp='$CXXCPP $CPPFLAGS'
45138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45141
45142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45143 /* end confdefs.h.  */
45144 #include <math.h>
45145                       #ifdef HAVE_IEEEFP_H
45146                       #include <ieeefp.h>
45147                       #endif
45148
45149 int
45150 main ()
45151 {
45152  _isnanl(0);
45153   ;
45154   return 0;
45155 }
45156 _ACEOF
45157 if ac_fn_cxx_try_compile "$LINENO"; then :
45158   glibcxx_cv_func__isnanl_use=yes
45159 else
45160   glibcxx_cv_func__isnanl_use=no
45161 fi
45162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45163       ac_ext=c
45164 ac_cpp='$CPP $CPPFLAGS'
45165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45168
45169
45170 fi
45171
45172   fi
45173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45174 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45175
45176     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45177       for ac_func in _isnanl
45178 do :
45179   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45180 if test "x$ac_cv_func__isnanl" = xyes; then :
45181   cat >>confdefs.h <<_ACEOF
45182 #define HAVE__ISNANL 1
45183 _ACEOF
45184
45185 fi
45186 done
45187
45188     fi
45189   fi
45190
45191
45192
45193
45194
45195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45196 $as_echo_n "checking for isinfl declaration... " >&6; }
45197   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45198     if ${glibcxx_cv_func_isinfl_use+:} false; then :
45199   $as_echo_n "(cached) " >&6
45200 else
45201
45202
45203       ac_ext=cpp
45204 ac_cpp='$CXXCPP $CPPFLAGS'
45205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45208
45209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45210 /* end confdefs.h.  */
45211 #include <math.h>
45212                       #ifdef HAVE_IEEEFP_H
45213                       #include <ieeefp.h>
45214                       #endif
45215
45216 int
45217 main ()
45218 {
45219  isinfl(0);
45220   ;
45221   return 0;
45222 }
45223 _ACEOF
45224 if ac_fn_cxx_try_compile "$LINENO"; then :
45225   glibcxx_cv_func_isinfl_use=yes
45226 else
45227   glibcxx_cv_func_isinfl_use=no
45228 fi
45229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45230       ac_ext=c
45231 ac_cpp='$CPP $CPPFLAGS'
45232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45235
45236
45237 fi
45238
45239   fi
45240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45241 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45242
45243   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45244     for ac_func in isinfl
45245 do :
45246   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45247 if test "x$ac_cv_func_isinfl" = xyes; then :
45248   cat >>confdefs.h <<_ACEOF
45249 #define HAVE_ISINFL 1
45250 _ACEOF
45251
45252 fi
45253 done
45254
45255   else
45256
45257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45258 $as_echo_n "checking for _isinfl declaration... " >&6; }
45259   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45260     if ${glibcxx_cv_func__isinfl_use+:} false; then :
45261   $as_echo_n "(cached) " >&6
45262 else
45263
45264
45265       ac_ext=cpp
45266 ac_cpp='$CXXCPP $CPPFLAGS'
45267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270
45271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45272 /* end confdefs.h.  */
45273 #include <math.h>
45274                       #ifdef HAVE_IEEEFP_H
45275                       #include <ieeefp.h>
45276                       #endif
45277
45278 int
45279 main ()
45280 {
45281  _isinfl(0);
45282   ;
45283   return 0;
45284 }
45285 _ACEOF
45286 if ac_fn_cxx_try_compile "$LINENO"; then :
45287   glibcxx_cv_func__isinfl_use=yes
45288 else
45289   glibcxx_cv_func__isinfl_use=no
45290 fi
45291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45292       ac_ext=c
45293 ac_cpp='$CPP $CPPFLAGS'
45294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297
45298
45299 fi
45300
45301   fi
45302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45303 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45304
45305     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45306       for ac_func in _isinfl
45307 do :
45308   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45309 if test "x$ac_cv_func__isinfl" = xyes; then :
45310   cat >>confdefs.h <<_ACEOF
45311 #define HAVE__ISINFL 1
45312 _ACEOF
45313
45314 fi
45315 done
45316
45317     fi
45318   fi
45319
45320
45321
45322
45323
45324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45325 $as_echo_n "checking for atan2l declaration... " >&6; }
45326   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45327     if ${glibcxx_cv_func_atan2l_use+:} false; then :
45328   $as_echo_n "(cached) " >&6
45329 else
45330
45331
45332       ac_ext=cpp
45333 ac_cpp='$CXXCPP $CPPFLAGS'
45334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45337
45338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45339 /* end confdefs.h.  */
45340 #include <math.h>
45341 int
45342 main ()
45343 {
45344  atan2l(0, 0);
45345   ;
45346   return 0;
45347 }
45348 _ACEOF
45349 if ac_fn_cxx_try_compile "$LINENO"; then :
45350   glibcxx_cv_func_atan2l_use=yes
45351 else
45352   glibcxx_cv_func_atan2l_use=no
45353 fi
45354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45355       ac_ext=c
45356 ac_cpp='$CPP $CPPFLAGS'
45357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45360
45361
45362 fi
45363
45364   fi
45365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45366 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45367
45368   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45369     for ac_func in atan2l
45370 do :
45371   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45372 if test "x$ac_cv_func_atan2l" = xyes; then :
45373   cat >>confdefs.h <<_ACEOF
45374 #define HAVE_ATAN2L 1
45375 _ACEOF
45376
45377 fi
45378 done
45379
45380   else
45381
45382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45383 $as_echo_n "checking for _atan2l declaration... " >&6; }
45384   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45385     if ${glibcxx_cv_func__atan2l_use+:} false; then :
45386   $as_echo_n "(cached) " >&6
45387 else
45388
45389
45390       ac_ext=cpp
45391 ac_cpp='$CXXCPP $CPPFLAGS'
45392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45395
45396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45397 /* end confdefs.h.  */
45398 #include <math.h>
45399 int
45400 main ()
45401 {
45402  _atan2l(0, 0);
45403   ;
45404   return 0;
45405 }
45406 _ACEOF
45407 if ac_fn_cxx_try_compile "$LINENO"; then :
45408   glibcxx_cv_func__atan2l_use=yes
45409 else
45410   glibcxx_cv_func__atan2l_use=no
45411 fi
45412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45413       ac_ext=c
45414 ac_cpp='$CPP $CPPFLAGS'
45415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45418
45419
45420 fi
45421
45422   fi
45423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45424 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45425
45426     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45427       for ac_func in _atan2l
45428 do :
45429   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45430 if test "x$ac_cv_func__atan2l" = xyes; then :
45431   cat >>confdefs.h <<_ACEOF
45432 #define HAVE__ATAN2L 1
45433 _ACEOF
45434
45435 fi
45436 done
45437
45438     fi
45439   fi
45440
45441
45442
45443
45444
45445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45446 $as_echo_n "checking for expl declaration... " >&6; }
45447   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45448     if ${glibcxx_cv_func_expl_use+:} false; then :
45449   $as_echo_n "(cached) " >&6
45450 else
45451
45452
45453       ac_ext=cpp
45454 ac_cpp='$CXXCPP $CPPFLAGS'
45455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45458
45459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45460 /* end confdefs.h.  */
45461 #include <math.h>
45462                       #ifdef HAVE_IEEEFP_H
45463                       #include <ieeefp.h>
45464                       #endif
45465
45466 int
45467 main ()
45468 {
45469  expl(0);
45470   ;
45471   return 0;
45472 }
45473 _ACEOF
45474 if ac_fn_cxx_try_compile "$LINENO"; then :
45475   glibcxx_cv_func_expl_use=yes
45476 else
45477   glibcxx_cv_func_expl_use=no
45478 fi
45479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45480       ac_ext=c
45481 ac_cpp='$CPP $CPPFLAGS'
45482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45485
45486
45487 fi
45488
45489   fi
45490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45491 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45492
45493   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45494     for ac_func in expl
45495 do :
45496   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45497 if test "x$ac_cv_func_expl" = xyes; then :
45498   cat >>confdefs.h <<_ACEOF
45499 #define HAVE_EXPL 1
45500 _ACEOF
45501
45502 fi
45503 done
45504
45505   else
45506
45507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45508 $as_echo_n "checking for _expl declaration... " >&6; }
45509   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45510     if ${glibcxx_cv_func__expl_use+:} false; then :
45511   $as_echo_n "(cached) " >&6
45512 else
45513
45514
45515       ac_ext=cpp
45516 ac_cpp='$CXXCPP $CPPFLAGS'
45517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45520
45521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45522 /* end confdefs.h.  */
45523 #include <math.h>
45524                       #ifdef HAVE_IEEEFP_H
45525                       #include <ieeefp.h>
45526                       #endif
45527
45528 int
45529 main ()
45530 {
45531  _expl(0);
45532   ;
45533   return 0;
45534 }
45535 _ACEOF
45536 if ac_fn_cxx_try_compile "$LINENO"; then :
45537   glibcxx_cv_func__expl_use=yes
45538 else
45539   glibcxx_cv_func__expl_use=no
45540 fi
45541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45542       ac_ext=c
45543 ac_cpp='$CPP $CPPFLAGS'
45544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547
45548
45549 fi
45550
45551   fi
45552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45553 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45554
45555     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45556       for ac_func in _expl
45557 do :
45558   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45559 if test "x$ac_cv_func__expl" = xyes; then :
45560   cat >>confdefs.h <<_ACEOF
45561 #define HAVE__EXPL 1
45562 _ACEOF
45563
45564 fi
45565 done
45566
45567     fi
45568   fi
45569
45570
45571
45572
45573
45574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45575 $as_echo_n "checking for fabsl declaration... " >&6; }
45576   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45577     if ${glibcxx_cv_func_fabsl_use+:} false; then :
45578   $as_echo_n "(cached) " >&6
45579 else
45580
45581
45582       ac_ext=cpp
45583 ac_cpp='$CXXCPP $CPPFLAGS'
45584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45587
45588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45589 /* end confdefs.h.  */
45590 #include <math.h>
45591                       #ifdef HAVE_IEEEFP_H
45592                       #include <ieeefp.h>
45593                       #endif
45594
45595 int
45596 main ()
45597 {
45598  fabsl(0);
45599   ;
45600   return 0;
45601 }
45602 _ACEOF
45603 if ac_fn_cxx_try_compile "$LINENO"; then :
45604   glibcxx_cv_func_fabsl_use=yes
45605 else
45606   glibcxx_cv_func_fabsl_use=no
45607 fi
45608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45609       ac_ext=c
45610 ac_cpp='$CPP $CPPFLAGS'
45611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45614
45615
45616 fi
45617
45618   fi
45619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45620 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45621
45622   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45623     for ac_func in fabsl
45624 do :
45625   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45626 if test "x$ac_cv_func_fabsl" = xyes; then :
45627   cat >>confdefs.h <<_ACEOF
45628 #define HAVE_FABSL 1
45629 _ACEOF
45630
45631 fi
45632 done
45633
45634   else
45635
45636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45637 $as_echo_n "checking for _fabsl declaration... " >&6; }
45638   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45639     if ${glibcxx_cv_func__fabsl_use+:} false; then :
45640   $as_echo_n "(cached) " >&6
45641 else
45642
45643
45644       ac_ext=cpp
45645 ac_cpp='$CXXCPP $CPPFLAGS'
45646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649
45650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45651 /* end confdefs.h.  */
45652 #include <math.h>
45653                       #ifdef HAVE_IEEEFP_H
45654                       #include <ieeefp.h>
45655                       #endif
45656
45657 int
45658 main ()
45659 {
45660  _fabsl(0);
45661   ;
45662   return 0;
45663 }
45664 _ACEOF
45665 if ac_fn_cxx_try_compile "$LINENO"; then :
45666   glibcxx_cv_func__fabsl_use=yes
45667 else
45668   glibcxx_cv_func__fabsl_use=no
45669 fi
45670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45671       ac_ext=c
45672 ac_cpp='$CPP $CPPFLAGS'
45673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676
45677
45678 fi
45679
45680   fi
45681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45682 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45683
45684     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45685       for ac_func in _fabsl
45686 do :
45687   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45688 if test "x$ac_cv_func__fabsl" = xyes; then :
45689   cat >>confdefs.h <<_ACEOF
45690 #define HAVE__FABSL 1
45691 _ACEOF
45692
45693 fi
45694 done
45695
45696     fi
45697   fi
45698
45699
45700
45701
45702
45703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45704 $as_echo_n "checking for fmodl declaration... " >&6; }
45705   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45706     if ${glibcxx_cv_func_fmodl_use+:} false; then :
45707   $as_echo_n "(cached) " >&6
45708 else
45709
45710
45711       ac_ext=cpp
45712 ac_cpp='$CXXCPP $CPPFLAGS'
45713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45716
45717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45718 /* end confdefs.h.  */
45719 #include <math.h>
45720 int
45721 main ()
45722 {
45723  fmodl(0, 0);
45724   ;
45725   return 0;
45726 }
45727 _ACEOF
45728 if ac_fn_cxx_try_compile "$LINENO"; then :
45729   glibcxx_cv_func_fmodl_use=yes
45730 else
45731   glibcxx_cv_func_fmodl_use=no
45732 fi
45733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45734       ac_ext=c
45735 ac_cpp='$CPP $CPPFLAGS'
45736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45739
45740
45741 fi
45742
45743   fi
45744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45745 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45746
45747   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45748     for ac_func in fmodl
45749 do :
45750   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45751 if test "x$ac_cv_func_fmodl" = xyes; then :
45752   cat >>confdefs.h <<_ACEOF
45753 #define HAVE_FMODL 1
45754 _ACEOF
45755
45756 fi
45757 done
45758
45759   else
45760
45761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45762 $as_echo_n "checking for _fmodl declaration... " >&6; }
45763   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45764     if ${glibcxx_cv_func__fmodl_use+:} false; then :
45765   $as_echo_n "(cached) " >&6
45766 else
45767
45768
45769       ac_ext=cpp
45770 ac_cpp='$CXXCPP $CPPFLAGS'
45771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45774
45775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45776 /* end confdefs.h.  */
45777 #include <math.h>
45778 int
45779 main ()
45780 {
45781  _fmodl(0, 0);
45782   ;
45783   return 0;
45784 }
45785 _ACEOF
45786 if ac_fn_cxx_try_compile "$LINENO"; then :
45787   glibcxx_cv_func__fmodl_use=yes
45788 else
45789   glibcxx_cv_func__fmodl_use=no
45790 fi
45791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45792       ac_ext=c
45793 ac_cpp='$CPP $CPPFLAGS'
45794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797
45798
45799 fi
45800
45801   fi
45802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45803 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45804
45805     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45806       for ac_func in _fmodl
45807 do :
45808   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45809 if test "x$ac_cv_func__fmodl" = xyes; then :
45810   cat >>confdefs.h <<_ACEOF
45811 #define HAVE__FMODL 1
45812 _ACEOF
45813
45814 fi
45815 done
45816
45817     fi
45818   fi
45819
45820
45821
45822
45823
45824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45825 $as_echo_n "checking for frexpl declaration... " >&6; }
45826   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45827     if ${glibcxx_cv_func_frexpl_use+:} false; then :
45828   $as_echo_n "(cached) " >&6
45829 else
45830
45831
45832       ac_ext=cpp
45833 ac_cpp='$CXXCPP $CPPFLAGS'
45834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45837
45838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45839 /* end confdefs.h.  */
45840 #include <math.h>
45841 int
45842 main ()
45843 {
45844  frexpl(0, 0);
45845   ;
45846   return 0;
45847 }
45848 _ACEOF
45849 if ac_fn_cxx_try_compile "$LINENO"; then :
45850   glibcxx_cv_func_frexpl_use=yes
45851 else
45852   glibcxx_cv_func_frexpl_use=no
45853 fi
45854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45855       ac_ext=c
45856 ac_cpp='$CPP $CPPFLAGS'
45857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45860
45861
45862 fi
45863
45864   fi
45865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45866 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45867
45868   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45869     for ac_func in frexpl
45870 do :
45871   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45872 if test "x$ac_cv_func_frexpl" = xyes; then :
45873   cat >>confdefs.h <<_ACEOF
45874 #define HAVE_FREXPL 1
45875 _ACEOF
45876
45877 fi
45878 done
45879
45880   else
45881
45882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45883 $as_echo_n "checking for _frexpl declaration... " >&6; }
45884   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45885     if ${glibcxx_cv_func__frexpl_use+:} false; then :
45886   $as_echo_n "(cached) " >&6
45887 else
45888
45889
45890       ac_ext=cpp
45891 ac_cpp='$CXXCPP $CPPFLAGS'
45892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45895
45896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45897 /* end confdefs.h.  */
45898 #include <math.h>
45899 int
45900 main ()
45901 {
45902  _frexpl(0, 0);
45903   ;
45904   return 0;
45905 }
45906 _ACEOF
45907 if ac_fn_cxx_try_compile "$LINENO"; then :
45908   glibcxx_cv_func__frexpl_use=yes
45909 else
45910   glibcxx_cv_func__frexpl_use=no
45911 fi
45912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45913       ac_ext=c
45914 ac_cpp='$CPP $CPPFLAGS'
45915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918
45919
45920 fi
45921
45922   fi
45923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45924 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45925
45926     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45927       for ac_func in _frexpl
45928 do :
45929   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45930 if test "x$ac_cv_func__frexpl" = xyes; then :
45931   cat >>confdefs.h <<_ACEOF
45932 #define HAVE__FREXPL 1
45933 _ACEOF
45934
45935 fi
45936 done
45937
45938     fi
45939   fi
45940
45941
45942
45943
45944
45945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45946 $as_echo_n "checking for hypotl declaration... " >&6; }
45947   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45948     if ${glibcxx_cv_func_hypotl_use+:} false; then :
45949   $as_echo_n "(cached) " >&6
45950 else
45951
45952
45953       ac_ext=cpp
45954 ac_cpp='$CXXCPP $CPPFLAGS'
45955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45958
45959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h.  */
45961 #include <math.h>
45962 int
45963 main ()
45964 {
45965  hypotl(0, 0);
45966   ;
45967   return 0;
45968 }
45969 _ACEOF
45970 if ac_fn_cxx_try_compile "$LINENO"; then :
45971   glibcxx_cv_func_hypotl_use=yes
45972 else
45973   glibcxx_cv_func_hypotl_use=no
45974 fi
45975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976       ac_ext=c
45977 ac_cpp='$CPP $CPPFLAGS'
45978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45981
45982
45983 fi
45984
45985   fi
45986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45987 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45988
45989   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45990     for ac_func in hypotl
45991 do :
45992   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45993 if test "x$ac_cv_func_hypotl" = xyes; then :
45994   cat >>confdefs.h <<_ACEOF
45995 #define HAVE_HYPOTL 1
45996 _ACEOF
45997
45998 fi
45999 done
46000
46001   else
46002
46003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46004 $as_echo_n "checking for _hypotl declaration... " >&6; }
46005   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46006     if ${glibcxx_cv_func__hypotl_use+:} false; then :
46007   $as_echo_n "(cached) " >&6
46008 else
46009
46010
46011       ac_ext=cpp
46012 ac_cpp='$CXXCPP $CPPFLAGS'
46013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46016
46017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46018 /* end confdefs.h.  */
46019 #include <math.h>
46020 int
46021 main ()
46022 {
46023  _hypotl(0, 0);
46024   ;
46025   return 0;
46026 }
46027 _ACEOF
46028 if ac_fn_cxx_try_compile "$LINENO"; then :
46029   glibcxx_cv_func__hypotl_use=yes
46030 else
46031   glibcxx_cv_func__hypotl_use=no
46032 fi
46033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46034       ac_ext=c
46035 ac_cpp='$CPP $CPPFLAGS'
46036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039
46040
46041 fi
46042
46043   fi
46044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46045 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46046
46047     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46048       for ac_func in _hypotl
46049 do :
46050   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46051 if test "x$ac_cv_func__hypotl" = xyes; then :
46052   cat >>confdefs.h <<_ACEOF
46053 #define HAVE__HYPOTL 1
46054 _ACEOF
46055
46056 fi
46057 done
46058
46059     fi
46060   fi
46061
46062
46063
46064
46065
46066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46067 $as_echo_n "checking for ldexpl declaration... " >&6; }
46068   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46069     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46070   $as_echo_n "(cached) " >&6
46071 else
46072
46073
46074       ac_ext=cpp
46075 ac_cpp='$CXXCPP $CPPFLAGS'
46076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46079
46080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46081 /* end confdefs.h.  */
46082 #include <math.h>
46083 int
46084 main ()
46085 {
46086  ldexpl(0, 0);
46087   ;
46088   return 0;
46089 }
46090 _ACEOF
46091 if ac_fn_cxx_try_compile "$LINENO"; then :
46092   glibcxx_cv_func_ldexpl_use=yes
46093 else
46094   glibcxx_cv_func_ldexpl_use=no
46095 fi
46096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46097       ac_ext=c
46098 ac_cpp='$CPP $CPPFLAGS'
46099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46102
46103
46104 fi
46105
46106   fi
46107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46108 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46109
46110   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46111     for ac_func in ldexpl
46112 do :
46113   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46114 if test "x$ac_cv_func_ldexpl" = xyes; then :
46115   cat >>confdefs.h <<_ACEOF
46116 #define HAVE_LDEXPL 1
46117 _ACEOF
46118
46119 fi
46120 done
46121
46122   else
46123
46124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46125 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46126   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46127     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46128   $as_echo_n "(cached) " >&6
46129 else
46130
46131
46132       ac_ext=cpp
46133 ac_cpp='$CXXCPP $CPPFLAGS'
46134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46137
46138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46139 /* end confdefs.h.  */
46140 #include <math.h>
46141 int
46142 main ()
46143 {
46144  _ldexpl(0, 0);
46145   ;
46146   return 0;
46147 }
46148 _ACEOF
46149 if ac_fn_cxx_try_compile "$LINENO"; then :
46150   glibcxx_cv_func__ldexpl_use=yes
46151 else
46152   glibcxx_cv_func__ldexpl_use=no
46153 fi
46154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46155       ac_ext=c
46156 ac_cpp='$CPP $CPPFLAGS'
46157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46160
46161
46162 fi
46163
46164   fi
46165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46166 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46167
46168     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46169       for ac_func in _ldexpl
46170 do :
46171   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46172 if test "x$ac_cv_func__ldexpl" = xyes; then :
46173   cat >>confdefs.h <<_ACEOF
46174 #define HAVE__LDEXPL 1
46175 _ACEOF
46176
46177 fi
46178 done
46179
46180     fi
46181   fi
46182
46183
46184
46185
46186
46187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46188 $as_echo_n "checking for logl declaration... " >&6; }
46189   if test x${glibcxx_cv_func_logl_use+set} != xset; then
46190     if ${glibcxx_cv_func_logl_use+:} false; then :
46191   $as_echo_n "(cached) " >&6
46192 else
46193
46194
46195       ac_ext=cpp
46196 ac_cpp='$CXXCPP $CPPFLAGS'
46197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46200
46201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46202 /* end confdefs.h.  */
46203 #include <math.h>
46204                       #ifdef HAVE_IEEEFP_H
46205                       #include <ieeefp.h>
46206                       #endif
46207
46208 int
46209 main ()
46210 {
46211  logl(0);
46212   ;
46213   return 0;
46214 }
46215 _ACEOF
46216 if ac_fn_cxx_try_compile "$LINENO"; then :
46217   glibcxx_cv_func_logl_use=yes
46218 else
46219   glibcxx_cv_func_logl_use=no
46220 fi
46221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46222       ac_ext=c
46223 ac_cpp='$CPP $CPPFLAGS'
46224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46227
46228
46229 fi
46230
46231   fi
46232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46233 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46234
46235   if test x$glibcxx_cv_func_logl_use = x"yes"; then
46236     for ac_func in logl
46237 do :
46238   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46239 if test "x$ac_cv_func_logl" = xyes; then :
46240   cat >>confdefs.h <<_ACEOF
46241 #define HAVE_LOGL 1
46242 _ACEOF
46243
46244 fi
46245 done
46246
46247   else
46248
46249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46250 $as_echo_n "checking for _logl declaration... " >&6; }
46251   if test x${glibcxx_cv_func__logl_use+set} != xset; then
46252     if ${glibcxx_cv_func__logl_use+:} false; then :
46253   $as_echo_n "(cached) " >&6
46254 else
46255
46256
46257       ac_ext=cpp
46258 ac_cpp='$CXXCPP $CPPFLAGS'
46259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46262
46263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46264 /* end confdefs.h.  */
46265 #include <math.h>
46266                       #ifdef HAVE_IEEEFP_H
46267                       #include <ieeefp.h>
46268                       #endif
46269
46270 int
46271 main ()
46272 {
46273  _logl(0);
46274   ;
46275   return 0;
46276 }
46277 _ACEOF
46278 if ac_fn_cxx_try_compile "$LINENO"; then :
46279   glibcxx_cv_func__logl_use=yes
46280 else
46281   glibcxx_cv_func__logl_use=no
46282 fi
46283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46284       ac_ext=c
46285 ac_cpp='$CPP $CPPFLAGS'
46286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46289
46290
46291 fi
46292
46293   fi
46294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46295 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46296
46297     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46298       for ac_func in _logl
46299 do :
46300   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46301 if test "x$ac_cv_func__logl" = xyes; then :
46302   cat >>confdefs.h <<_ACEOF
46303 #define HAVE__LOGL 1
46304 _ACEOF
46305
46306 fi
46307 done
46308
46309     fi
46310   fi
46311
46312
46313
46314
46315
46316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46317 $as_echo_n "checking for log10l declaration... " >&6; }
46318   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46319     if ${glibcxx_cv_func_log10l_use+:} false; then :
46320   $as_echo_n "(cached) " >&6
46321 else
46322
46323
46324       ac_ext=cpp
46325 ac_cpp='$CXXCPP $CPPFLAGS'
46326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46329
46330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46331 /* end confdefs.h.  */
46332 #include <math.h>
46333                       #ifdef HAVE_IEEEFP_H
46334                       #include <ieeefp.h>
46335                       #endif
46336
46337 int
46338 main ()
46339 {
46340  log10l(0);
46341   ;
46342   return 0;
46343 }
46344 _ACEOF
46345 if ac_fn_cxx_try_compile "$LINENO"; then :
46346   glibcxx_cv_func_log10l_use=yes
46347 else
46348   glibcxx_cv_func_log10l_use=no
46349 fi
46350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46351       ac_ext=c
46352 ac_cpp='$CPP $CPPFLAGS'
46353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46356
46357
46358 fi
46359
46360   fi
46361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46362 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46363
46364   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46365     for ac_func in log10l
46366 do :
46367   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46368 if test "x$ac_cv_func_log10l" = xyes; then :
46369   cat >>confdefs.h <<_ACEOF
46370 #define HAVE_LOG10L 1
46371 _ACEOF
46372
46373 fi
46374 done
46375
46376   else
46377
46378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46379 $as_echo_n "checking for _log10l declaration... " >&6; }
46380   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46381     if ${glibcxx_cv_func__log10l_use+:} false; then :
46382   $as_echo_n "(cached) " >&6
46383 else
46384
46385
46386       ac_ext=cpp
46387 ac_cpp='$CXXCPP $CPPFLAGS'
46388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46391
46392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46393 /* end confdefs.h.  */
46394 #include <math.h>
46395                       #ifdef HAVE_IEEEFP_H
46396                       #include <ieeefp.h>
46397                       #endif
46398
46399 int
46400 main ()
46401 {
46402  _log10l(0);
46403   ;
46404   return 0;
46405 }
46406 _ACEOF
46407 if ac_fn_cxx_try_compile "$LINENO"; then :
46408   glibcxx_cv_func__log10l_use=yes
46409 else
46410   glibcxx_cv_func__log10l_use=no
46411 fi
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46413       ac_ext=c
46414 ac_cpp='$CPP $CPPFLAGS'
46415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418
46419
46420 fi
46421
46422   fi
46423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46424 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46425
46426     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46427       for ac_func in _log10l
46428 do :
46429   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46430 if test "x$ac_cv_func__log10l" = xyes; then :
46431   cat >>confdefs.h <<_ACEOF
46432 #define HAVE__LOG10L 1
46433 _ACEOF
46434
46435 fi
46436 done
46437
46438     fi
46439   fi
46440
46441
46442
46443
46444
46445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46446 $as_echo_n "checking for modfl declaration... " >&6; }
46447   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46448     if ${glibcxx_cv_func_modfl_use+:} false; then :
46449   $as_echo_n "(cached) " >&6
46450 else
46451
46452
46453       ac_ext=cpp
46454 ac_cpp='$CXXCPP $CPPFLAGS'
46455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46458
46459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46460 /* end confdefs.h.  */
46461 #include <math.h>
46462 int
46463 main ()
46464 {
46465  modfl(0, 0);
46466   ;
46467   return 0;
46468 }
46469 _ACEOF
46470 if ac_fn_cxx_try_compile "$LINENO"; then :
46471   glibcxx_cv_func_modfl_use=yes
46472 else
46473   glibcxx_cv_func_modfl_use=no
46474 fi
46475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46476       ac_ext=c
46477 ac_cpp='$CPP $CPPFLAGS'
46478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46481
46482
46483 fi
46484
46485   fi
46486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46487 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46488
46489   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46490     for ac_func in modfl
46491 do :
46492   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46493 if test "x$ac_cv_func_modfl" = xyes; then :
46494   cat >>confdefs.h <<_ACEOF
46495 #define HAVE_MODFL 1
46496 _ACEOF
46497
46498 fi
46499 done
46500
46501   else
46502
46503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46504 $as_echo_n "checking for _modfl declaration... " >&6; }
46505   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46506     if ${glibcxx_cv_func__modfl_use+:} false; then :
46507   $as_echo_n "(cached) " >&6
46508 else
46509
46510
46511       ac_ext=cpp
46512 ac_cpp='$CXXCPP $CPPFLAGS'
46513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516
46517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46518 /* end confdefs.h.  */
46519 #include <math.h>
46520 int
46521 main ()
46522 {
46523  _modfl(0, 0);
46524   ;
46525   return 0;
46526 }
46527 _ACEOF
46528 if ac_fn_cxx_try_compile "$LINENO"; then :
46529   glibcxx_cv_func__modfl_use=yes
46530 else
46531   glibcxx_cv_func__modfl_use=no
46532 fi
46533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46534       ac_ext=c
46535 ac_cpp='$CPP $CPPFLAGS'
46536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539
46540
46541 fi
46542
46543   fi
46544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46545 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46546
46547     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46548       for ac_func in _modfl
46549 do :
46550   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46551 if test "x$ac_cv_func__modfl" = xyes; then :
46552   cat >>confdefs.h <<_ACEOF
46553 #define HAVE__MODFL 1
46554 _ACEOF
46555
46556 fi
46557 done
46558
46559     fi
46560   fi
46561
46562
46563
46564
46565
46566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46567 $as_echo_n "checking for powl declaration... " >&6; }
46568   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46569     if ${glibcxx_cv_func_powl_use+:} false; then :
46570   $as_echo_n "(cached) " >&6
46571 else
46572
46573
46574       ac_ext=cpp
46575 ac_cpp='$CXXCPP $CPPFLAGS'
46576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46579
46580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46581 /* end confdefs.h.  */
46582 #include <math.h>
46583 int
46584 main ()
46585 {
46586  powl(0, 0);
46587   ;
46588   return 0;
46589 }
46590 _ACEOF
46591 if ac_fn_cxx_try_compile "$LINENO"; then :
46592   glibcxx_cv_func_powl_use=yes
46593 else
46594   glibcxx_cv_func_powl_use=no
46595 fi
46596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46597       ac_ext=c
46598 ac_cpp='$CPP $CPPFLAGS'
46599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46602
46603
46604 fi
46605
46606   fi
46607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46608 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46609
46610   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46611     for ac_func in powl
46612 do :
46613   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46614 if test "x$ac_cv_func_powl" = xyes; then :
46615   cat >>confdefs.h <<_ACEOF
46616 #define HAVE_POWL 1
46617 _ACEOF
46618
46619 fi
46620 done
46621
46622   else
46623
46624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46625 $as_echo_n "checking for _powl declaration... " >&6; }
46626   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46627     if ${glibcxx_cv_func__powl_use+:} false; then :
46628   $as_echo_n "(cached) " >&6
46629 else
46630
46631
46632       ac_ext=cpp
46633 ac_cpp='$CXXCPP $CPPFLAGS'
46634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46637
46638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46639 /* end confdefs.h.  */
46640 #include <math.h>
46641 int
46642 main ()
46643 {
46644  _powl(0, 0);
46645   ;
46646   return 0;
46647 }
46648 _ACEOF
46649 if ac_fn_cxx_try_compile "$LINENO"; then :
46650   glibcxx_cv_func__powl_use=yes
46651 else
46652   glibcxx_cv_func__powl_use=no
46653 fi
46654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46655       ac_ext=c
46656 ac_cpp='$CPP $CPPFLAGS'
46657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46660
46661
46662 fi
46663
46664   fi
46665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46666 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46667
46668     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46669       for ac_func in _powl
46670 do :
46671   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46672 if test "x$ac_cv_func__powl" = xyes; then :
46673   cat >>confdefs.h <<_ACEOF
46674 #define HAVE__POWL 1
46675 _ACEOF
46676
46677 fi
46678 done
46679
46680     fi
46681   fi
46682
46683
46684
46685
46686
46687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46688 $as_echo_n "checking for sqrtl declaration... " >&6; }
46689   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46690     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46691   $as_echo_n "(cached) " >&6
46692 else
46693
46694
46695       ac_ext=cpp
46696 ac_cpp='$CXXCPP $CPPFLAGS'
46697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46700
46701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46702 /* end confdefs.h.  */
46703 #include <math.h>
46704                       #ifdef HAVE_IEEEFP_H
46705                       #include <ieeefp.h>
46706                       #endif
46707
46708 int
46709 main ()
46710 {
46711  sqrtl(0);
46712   ;
46713   return 0;
46714 }
46715 _ACEOF
46716 if ac_fn_cxx_try_compile "$LINENO"; then :
46717   glibcxx_cv_func_sqrtl_use=yes
46718 else
46719   glibcxx_cv_func_sqrtl_use=no
46720 fi
46721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46722       ac_ext=c
46723 ac_cpp='$CPP $CPPFLAGS'
46724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46727
46728
46729 fi
46730
46731   fi
46732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46733 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46734
46735   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46736     for ac_func in sqrtl
46737 do :
46738   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46739 if test "x$ac_cv_func_sqrtl" = xyes; then :
46740   cat >>confdefs.h <<_ACEOF
46741 #define HAVE_SQRTL 1
46742 _ACEOF
46743
46744 fi
46745 done
46746
46747   else
46748
46749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46750 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46751   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46752     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46753   $as_echo_n "(cached) " >&6
46754 else
46755
46756
46757       ac_ext=cpp
46758 ac_cpp='$CXXCPP $CPPFLAGS'
46759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46762
46763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46764 /* end confdefs.h.  */
46765 #include <math.h>
46766                       #ifdef HAVE_IEEEFP_H
46767                       #include <ieeefp.h>
46768                       #endif
46769
46770 int
46771 main ()
46772 {
46773  _sqrtl(0);
46774   ;
46775   return 0;
46776 }
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779   glibcxx_cv_func__sqrtl_use=yes
46780 else
46781   glibcxx_cv_func__sqrtl_use=no
46782 fi
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784       ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789
46790
46791 fi
46792
46793   fi
46794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46795 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46796
46797     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46798       for ac_func in _sqrtl
46799 do :
46800   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46801 if test "x$ac_cv_func__sqrtl" = xyes; then :
46802   cat >>confdefs.h <<_ACEOF
46803 #define HAVE__SQRTL 1
46804 _ACEOF
46805
46806 fi
46807 done
46808
46809     fi
46810   fi
46811
46812
46813
46814
46815
46816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46817 $as_echo_n "checking for sincosl declaration... " >&6; }
46818   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46819     if ${glibcxx_cv_func_sincosl_use+:} false; then :
46820   $as_echo_n "(cached) " >&6
46821 else
46822
46823
46824       ac_ext=cpp
46825 ac_cpp='$CXXCPP $CPPFLAGS'
46826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46829
46830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46831 /* end confdefs.h.  */
46832 #include <math.h>
46833 int
46834 main ()
46835 {
46836  sincosl(0, 0, 0);
46837   ;
46838   return 0;
46839 }
46840 _ACEOF
46841 if ac_fn_cxx_try_compile "$LINENO"; then :
46842   glibcxx_cv_func_sincosl_use=yes
46843 else
46844   glibcxx_cv_func_sincosl_use=no
46845 fi
46846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46847       ac_ext=c
46848 ac_cpp='$CPP $CPPFLAGS'
46849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46852
46853
46854 fi
46855
46856   fi
46857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46858 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46859
46860   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46861     for ac_func in sincosl
46862 do :
46863   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46864 if test "x$ac_cv_func_sincosl" = xyes; then :
46865   cat >>confdefs.h <<_ACEOF
46866 #define HAVE_SINCOSL 1
46867 _ACEOF
46868
46869 fi
46870 done
46871
46872   else
46873
46874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46875 $as_echo_n "checking for _sincosl declaration... " >&6; }
46876   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46877     if ${glibcxx_cv_func__sincosl_use+:} false; then :
46878   $as_echo_n "(cached) " >&6
46879 else
46880
46881
46882       ac_ext=cpp
46883 ac_cpp='$CXXCPP $CPPFLAGS'
46884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46887
46888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46889 /* end confdefs.h.  */
46890 #include <math.h>
46891 int
46892 main ()
46893 {
46894  _sincosl(0, 0, 0);
46895   ;
46896   return 0;
46897 }
46898 _ACEOF
46899 if ac_fn_cxx_try_compile "$LINENO"; then :
46900   glibcxx_cv_func__sincosl_use=yes
46901 else
46902   glibcxx_cv_func__sincosl_use=no
46903 fi
46904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46905       ac_ext=c
46906 ac_cpp='$CPP $CPPFLAGS'
46907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46910
46911
46912 fi
46913
46914   fi
46915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46916 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46917
46918     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46919       for ac_func in _sincosl
46920 do :
46921   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46922 if test "x$ac_cv_func__sincosl" = xyes; then :
46923   cat >>confdefs.h <<_ACEOF
46924 #define HAVE__SINCOSL 1
46925 _ACEOF
46926
46927 fi
46928 done
46929
46930     fi
46931   fi
46932
46933
46934
46935
46936
46937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46938 $as_echo_n "checking for finitel declaration... " >&6; }
46939   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46940     if ${glibcxx_cv_func_finitel_use+:} false; then :
46941   $as_echo_n "(cached) " >&6
46942 else
46943
46944
46945       ac_ext=cpp
46946 ac_cpp='$CXXCPP $CPPFLAGS'
46947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46950
46951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46952 /* end confdefs.h.  */
46953 #include <math.h>
46954                       #ifdef HAVE_IEEEFP_H
46955                       #include <ieeefp.h>
46956                       #endif
46957
46958 int
46959 main ()
46960 {
46961  finitel(0);
46962   ;
46963   return 0;
46964 }
46965 _ACEOF
46966 if ac_fn_cxx_try_compile "$LINENO"; then :
46967   glibcxx_cv_func_finitel_use=yes
46968 else
46969   glibcxx_cv_func_finitel_use=no
46970 fi
46971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46972       ac_ext=c
46973 ac_cpp='$CPP $CPPFLAGS'
46974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46977
46978
46979 fi
46980
46981   fi
46982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46983 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46984
46985   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46986     for ac_func in finitel
46987 do :
46988   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46989 if test "x$ac_cv_func_finitel" = xyes; then :
46990   cat >>confdefs.h <<_ACEOF
46991 #define HAVE_FINITEL 1
46992 _ACEOF
46993
46994 fi
46995 done
46996
46997   else
46998
46999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47000 $as_echo_n "checking for _finitel declaration... " >&6; }
47001   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47002     if ${glibcxx_cv_func__finitel_use+:} false; then :
47003   $as_echo_n "(cached) " >&6
47004 else
47005
47006
47007       ac_ext=cpp
47008 ac_cpp='$CXXCPP $CPPFLAGS'
47009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47012
47013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47014 /* end confdefs.h.  */
47015 #include <math.h>
47016                       #ifdef HAVE_IEEEFP_H
47017                       #include <ieeefp.h>
47018                       #endif
47019
47020 int
47021 main ()
47022 {
47023  _finitel(0);
47024   ;
47025   return 0;
47026 }
47027 _ACEOF
47028 if ac_fn_cxx_try_compile "$LINENO"; then :
47029   glibcxx_cv_func__finitel_use=yes
47030 else
47031   glibcxx_cv_func__finitel_use=no
47032 fi
47033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47034       ac_ext=c
47035 ac_cpp='$CPP $CPPFLAGS'
47036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47039
47040
47041 fi
47042
47043   fi
47044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47045 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47046
47047     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47048       for ac_func in _finitel
47049 do :
47050   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47051 if test "x$ac_cv_func__finitel" = xyes; then :
47052   cat >>confdefs.h <<_ACEOF
47053 #define HAVE__FINITEL 1
47054 _ACEOF
47055
47056 fi
47057 done
47058
47059     fi
47060   fi
47061
47062
47063
47064
47065   LIBS="$ac_save_LIBS"
47066   CXXFLAGS="$ac_save_CXXFLAGS"
47067
47068
47069   ac_test_CXXFLAGS="${CXXFLAGS+set}"
47070   ac_save_CXXFLAGS="$CXXFLAGS"
47071   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47072
47073
47074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47075 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47076   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47077     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47078   $as_echo_n "(cached) " >&6
47079 else
47080
47081
47082       ac_ext=cpp
47083 ac_cpp='$CXXCPP $CPPFLAGS'
47084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087
47088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47089 /* end confdefs.h.  */
47090 #include <stdlib.h>
47091 int
47092 main ()
47093 {
47094  at_quick_exit(0);
47095   ;
47096   return 0;
47097 }
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100   glibcxx_cv_func_at_quick_exit_use=yes
47101 else
47102   glibcxx_cv_func_at_quick_exit_use=no
47103 fi
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105       ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47110
47111
47112 fi
47113
47114   fi
47115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47116 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47117   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47118     for ac_func in at_quick_exit
47119 do :
47120   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47121 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47122   cat >>confdefs.h <<_ACEOF
47123 #define HAVE_AT_QUICK_EXIT 1
47124 _ACEOF
47125
47126 fi
47127 done
47128
47129   fi
47130
47131
47132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47133 $as_echo_n "checking for quick_exit declaration... " >&6; }
47134   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47135     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47136   $as_echo_n "(cached) " >&6
47137 else
47138
47139
47140       ac_ext=cpp
47141 ac_cpp='$CXXCPP $CPPFLAGS'
47142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47145
47146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147 /* end confdefs.h.  */
47148 #include <stdlib.h>
47149 int
47150 main ()
47151 {
47152  quick_exit(0);
47153   ;
47154   return 0;
47155 }
47156 _ACEOF
47157 if ac_fn_cxx_try_compile "$LINENO"; then :
47158   glibcxx_cv_func_quick_exit_use=yes
47159 else
47160   glibcxx_cv_func_quick_exit_use=no
47161 fi
47162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47163       ac_ext=c
47164 ac_cpp='$CPP $CPPFLAGS'
47165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47168
47169
47170 fi
47171
47172   fi
47173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47174 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47175   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47176     for ac_func in quick_exit
47177 do :
47178   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47179 if test "x$ac_cv_func_quick_exit" = xyes; then :
47180   cat >>confdefs.h <<_ACEOF
47181 #define HAVE_QUICK_EXIT 1
47182 _ACEOF
47183
47184 fi
47185 done
47186
47187   fi
47188
47189
47190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47191 $as_echo_n "checking for strtold declaration... " >&6; }
47192   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47193     if ${glibcxx_cv_func_strtold_use+:} false; then :
47194   $as_echo_n "(cached) " >&6
47195 else
47196
47197
47198       ac_ext=cpp
47199 ac_cpp='$CXXCPP $CPPFLAGS'
47200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47203
47204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47205 /* end confdefs.h.  */
47206 #include <stdlib.h>
47207 int
47208 main ()
47209 {
47210  strtold(0, 0);
47211   ;
47212   return 0;
47213 }
47214 _ACEOF
47215 if ac_fn_cxx_try_compile "$LINENO"; then :
47216   glibcxx_cv_func_strtold_use=yes
47217 else
47218   glibcxx_cv_func_strtold_use=no
47219 fi
47220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47221       ac_ext=c
47222 ac_cpp='$CPP $CPPFLAGS'
47223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226
47227
47228 fi
47229
47230   fi
47231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47232 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47233   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47234     for ac_func in strtold
47235 do :
47236   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47237 if test "x$ac_cv_func_strtold" = xyes; then :
47238   cat >>confdefs.h <<_ACEOF
47239 #define HAVE_STRTOLD 1
47240 _ACEOF
47241
47242 fi
47243 done
47244
47245   fi
47246
47247
47248
47249
47250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47251 $as_echo_n "checking for strtof declaration... " >&6; }
47252   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47253     if ${glibcxx_cv_func_strtof_use+:} false; then :
47254   $as_echo_n "(cached) " >&6
47255 else
47256
47257
47258       ac_ext=cpp
47259 ac_cpp='$CXXCPP $CPPFLAGS'
47260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47263
47264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47265 /* end confdefs.h.  */
47266 #include <stdlib.h>
47267 int
47268 main ()
47269 {
47270  strtof(0, 0);
47271   ;
47272   return 0;
47273 }
47274 _ACEOF
47275 if ac_fn_cxx_try_compile "$LINENO"; then :
47276   glibcxx_cv_func_strtof_use=yes
47277 else
47278   glibcxx_cv_func_strtof_use=no
47279 fi
47280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47281       ac_ext=c
47282 ac_cpp='$CPP $CPPFLAGS'
47283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47286
47287
47288 fi
47289
47290   fi
47291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47292 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47293   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47294     for ac_func in strtof
47295 do :
47296   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47297 if test "x$ac_cv_func_strtof" = xyes; then :
47298   cat >>confdefs.h <<_ACEOF
47299 #define HAVE_STRTOF 1
47300 _ACEOF
47301
47302 fi
47303 done
47304
47305   fi
47306
47307
47308
47309
47310   CXXFLAGS="$ac_save_CXXFLAGS"
47311
47312
47313     for ac_func in uselocale
47314 do :
47315   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47316 if test "x$ac_cv_func_uselocale" = xyes; then :
47317   cat >>confdefs.h <<_ACEOF
47318 #define HAVE_USELOCALE 1
47319 _ACEOF
47320
47321 fi
47322 done
47323
47324     ;;
47325
47326   *djgpp)
47327     # GLIBCXX_CHECK_MATH_SUPPORT
47328     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47329
47330     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47331
47332     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47333
47334     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47335
47336     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47337
47338     ;;
47339
47340   *-freebsd*)
47341     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47342
47343
47344   # If we're not using GNU ld, then there's no point in even trying these
47345   # tests.  Check for that first.  We should have already tested for gld
47346   # by now (in libtool), but require it now just to be safe...
47347   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47348   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47349
47350
47351
47352   # The name set by libtool depends on the version of libtool.  Shame on us
47353   # for depending on an impl detail, but c'est la vie.  Older versions used
47354   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47355   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47356   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47357   # set (hence we're using an older libtool), then set it.
47358   if test x${with_gnu_ld+set} != xset; then
47359     if test x${ac_cv_prog_gnu_ld+set} != xset; then
47360       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47361       with_gnu_ld=no
47362     else
47363       with_gnu_ld=$ac_cv_prog_gnu_ld
47364     fi
47365   fi
47366
47367   # Start by getting the version number.  I think the libtool test already
47368   # does some of this, but throws away the result.
47369   glibcxx_ld_is_gold=no
47370   glibcxx_ld_is_mold=no
47371   if test x"$with_gnu_ld" = x"yes"; then
47372     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47373 $as_echo_n "checking for ld version... " >&6; }
47374
47375     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47376       glibcxx_ld_is_gold=yes
47377     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47378       glibcxx_ld_is_mold=yes
47379     fi
47380     ldver=`$LD --version 2>/dev/null |
47381            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47382
47383     glibcxx_gnu_ld_version=`echo $ldver | \
47384            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47386 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47387   fi
47388
47389   # Set --gc-sections.
47390   glibcxx_have_gc_sections=no
47391   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47392     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47393       glibcxx_have_gc_sections=yes
47394     fi
47395   else
47396     glibcxx_gcsections_min_ld=21602
47397     if test x"$with_gnu_ld" = x"yes" &&
47398         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47399       glibcxx_have_gc_sections=yes
47400     fi
47401   fi
47402   if test "$glibcxx_have_gc_sections" = "yes"; then
47403     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47404     # NB: This flag only works reliably after 2.16.1. Configure tests
47405     # for this are difficult, so hard wire a value that should work.
47406
47407     ac_test_CFLAGS="${CFLAGS+set}"
47408     ac_save_CFLAGS="$CFLAGS"
47409     CFLAGS='-Wl,--gc-sections'
47410
47411     # Check for -Wl,--gc-sections
47412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47413 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47414     if test x$gcc_no_link = xyes; then
47415   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47416 fi
47417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47418 /* end confdefs.h.  */
47419  int one(void) { return 1; }
47420      int two(void) { return 2; }
47421
47422 int
47423 main ()
47424 {
47425  two();
47426   ;
47427   return 0;
47428 }
47429 _ACEOF
47430 if ac_fn_c_try_link "$LINENO"; then :
47431   ac_gcsections=yes
47432 else
47433   ac_gcsections=no
47434 fi
47435 rm -f core conftest.err conftest.$ac_objext \
47436     conftest$ac_exeext conftest.$ac_ext
47437     if test "$ac_gcsections" = "yes"; then
47438       rm -f conftest.c
47439       touch conftest.c
47440       if $CC -c conftest.c; then
47441         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47442            grep "Warning: gc-sections option ignored" > /dev/null; then
47443           ac_gcsections=no
47444         fi
47445       fi
47446       rm -f conftest.c conftest.o conftest
47447     fi
47448     if test "$ac_gcsections" = "yes"; then
47449       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47450     fi
47451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47452 $as_echo "$ac_gcsections" >&6; }
47453
47454     if test "$ac_test_CFLAGS" = set; then
47455       CFLAGS="$ac_save_CFLAGS"
47456     else
47457       # this is the suspicious part
47458       CFLAGS=''
47459     fi
47460   fi
47461
47462   # Set -z,relro.
47463   # Note this is only for shared objects.
47464   ac_ld_relro=no
47465   if test x"$with_gnu_ld" = x"yes"; then
47466     # cygwin and mingw uses PE, which has no ELF relro support,
47467     # multi target ld may confuse configure machinery
47468     case "$host" in
47469     *-*-cygwin*)
47470      ;;
47471     *-*-mingw*)
47472      ;;
47473     *)
47474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47475 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47476       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47477       if test -n "$cxx_z_relo"; then
47478         OPT_LDFLAGS="-Wl,-z,relro"
47479         ac_ld_relro=yes
47480       fi
47481       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47482 $as_echo "$ac_ld_relro" >&6; }
47483     esac
47484   fi
47485
47486   # Set linker optimization flags.
47487   if test x"$with_gnu_ld" = x"yes"; then
47488     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47489   fi
47490
47491
47492
47493
47494     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47495
47496     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47497
47498     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47499
47500     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47501
47502     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47503
47504     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47505
47506     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47507
47508     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47509
47510     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47511
47512
47513     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47514
47515     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47516
47517     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47518
47519     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47520
47521     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47522
47523     $as_echo "#define HAVE_COSF 1" >>confdefs.h
47524
47525     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47526
47527     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47528
47529     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47530
47531     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47532
47533     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47534
47535     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47536
47537     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47538
47539     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47540
47541     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47542
47543     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47544
47545     $as_echo "#define HAVE_POWF 1" >>confdefs.h
47546
47547     $as_echo "#define HAVE_SINF 1" >>confdefs.h
47548
47549     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47550
47551     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47552
47553     $as_echo "#define HAVE_TANF 1" >>confdefs.h
47554
47555     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47556
47557     if test x"long_double_math_on_this_cpu" = x"yes"; then
47558       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47559
47560       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47561
47562       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47563
47564     fi
47565     for ac_func in __cxa_thread_atexit
47566 do :
47567   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47568 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47569   cat >>confdefs.h <<_ACEOF
47570 #define HAVE___CXA_THREAD_ATEXIT 1
47571 _ACEOF
47572
47573 fi
47574 done
47575
47576     for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47577 do :
47578   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47581   cat >>confdefs.h <<_ACEOF
47582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47583 _ACEOF
47584
47585 fi
47586 done
47587
47588     for ac_func in timespec_get
47589 do :
47590   ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47591 if test "x$ac_cv_func_timespec_get" = xyes; then :
47592   cat >>confdefs.h <<_ACEOF
47593 #define HAVE_TIMESPEC_GET 1
47594 _ACEOF
47595
47596 fi
47597 done
47598
47599     for ac_func in sockatmark
47600 do :
47601   ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47602 if test "x$ac_cv_func_sockatmark" = xyes; then :
47603   cat >>confdefs.h <<_ACEOF
47604 #define HAVE_SOCKATMARK 1
47605 _ACEOF
47606
47607 fi
47608 done
47609
47610     for ac_func in uselocale
47611 do :
47612   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47613 if test "x$ac_cv_func_uselocale" = xyes; then :
47614   cat >>confdefs.h <<_ACEOF
47615 #define HAVE_USELOCALE 1
47616 _ACEOF
47617
47618 fi
47619 done
47620
47621     ;;
47622
47623   *-fuchsia*)
47624     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47625
47626     ;;
47627
47628   *-hpux*)
47629     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47630
47631
47632   # If we're not using GNU ld, then there's no point in even trying these
47633   # tests.  Check for that first.  We should have already tested for gld
47634   # by now (in libtool), but require it now just to be safe...
47635   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47636   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47637
47638
47639
47640   # The name set by libtool depends on the version of libtool.  Shame on us
47641   # for depending on an impl detail, but c'est la vie.  Older versions used
47642   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47643   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47644   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47645   # set (hence we're using an older libtool), then set it.
47646   if test x${with_gnu_ld+set} != xset; then
47647     if test x${ac_cv_prog_gnu_ld+set} != xset; then
47648       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47649       with_gnu_ld=no
47650     else
47651       with_gnu_ld=$ac_cv_prog_gnu_ld
47652     fi
47653   fi
47654
47655   # Start by getting the version number.  I think the libtool test already
47656   # does some of this, but throws away the result.
47657   glibcxx_ld_is_gold=no
47658   glibcxx_ld_is_mold=no
47659   if test x"$with_gnu_ld" = x"yes"; then
47660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47661 $as_echo_n "checking for ld version... " >&6; }
47662
47663     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47664       glibcxx_ld_is_gold=yes
47665     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47666       glibcxx_ld_is_mold=yes
47667     fi
47668     ldver=`$LD --version 2>/dev/null |
47669            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47670
47671     glibcxx_gnu_ld_version=`echo $ldver | \
47672            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47674 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47675   fi
47676
47677   # Set --gc-sections.
47678   glibcxx_have_gc_sections=no
47679   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47680     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47681       glibcxx_have_gc_sections=yes
47682     fi
47683   else
47684     glibcxx_gcsections_min_ld=21602
47685     if test x"$with_gnu_ld" = x"yes" &&
47686         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47687       glibcxx_have_gc_sections=yes
47688     fi
47689   fi
47690   if test "$glibcxx_have_gc_sections" = "yes"; then
47691     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47692     # NB: This flag only works reliably after 2.16.1. Configure tests
47693     # for this are difficult, so hard wire a value that should work.
47694
47695     ac_test_CFLAGS="${CFLAGS+set}"
47696     ac_save_CFLAGS="$CFLAGS"
47697     CFLAGS='-Wl,--gc-sections'
47698
47699     # Check for -Wl,--gc-sections
47700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47701 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47702     if test x$gcc_no_link = xyes; then
47703   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47704 fi
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h.  */
47707  int one(void) { return 1; }
47708      int two(void) { return 2; }
47709
47710 int
47711 main ()
47712 {
47713  two();
47714   ;
47715   return 0;
47716 }
47717 _ACEOF
47718 if ac_fn_c_try_link "$LINENO"; then :
47719   ac_gcsections=yes
47720 else
47721   ac_gcsections=no
47722 fi
47723 rm -f core conftest.err conftest.$ac_objext \
47724     conftest$ac_exeext conftest.$ac_ext
47725     if test "$ac_gcsections" = "yes"; then
47726       rm -f conftest.c
47727       touch conftest.c
47728       if $CC -c conftest.c; then
47729         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47730            grep "Warning: gc-sections option ignored" > /dev/null; then
47731           ac_gcsections=no
47732         fi
47733       fi
47734       rm -f conftest.c conftest.o conftest
47735     fi
47736     if test "$ac_gcsections" = "yes"; then
47737       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47738     fi
47739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47740 $as_echo "$ac_gcsections" >&6; }
47741
47742     if test "$ac_test_CFLAGS" = set; then
47743       CFLAGS="$ac_save_CFLAGS"
47744     else
47745       # this is the suspicious part
47746       CFLAGS=''
47747     fi
47748   fi
47749
47750   # Set -z,relro.
47751   # Note this is only for shared objects.
47752   ac_ld_relro=no
47753   if test x"$with_gnu_ld" = x"yes"; then
47754     # cygwin and mingw uses PE, which has no ELF relro support,
47755     # multi target ld may confuse configure machinery
47756     case "$host" in
47757     *-*-cygwin*)
47758      ;;
47759     *-*-mingw*)
47760      ;;
47761     *)
47762       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47763 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47764       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47765       if test -n "$cxx_z_relo"; then
47766         OPT_LDFLAGS="-Wl,-z,relro"
47767         ac_ld_relro=yes
47768       fi
47769       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47770 $as_echo "$ac_ld_relro" >&6; }
47771     esac
47772   fi
47773
47774   # Set linker optimization flags.
47775   if test x"$with_gnu_ld" = x"yes"; then
47776     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47777   fi
47778
47779
47780
47781
47782
47783     # GLIBCXX_CHECK_MATH_SUPPORT
47784     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47785
47786     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47787
47788     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47789
47790     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47791
47792     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47793
47794     $as_echo "#define HAVE_COSF 1" >>confdefs.h
47795
47796     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47797
47798     $as_echo "#define HAVE_SINF 1" >>confdefs.h
47799
47800     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47801
47802     $as_echo "#define HAVE_TANF 1" >>confdefs.h
47803
47804     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47805
47806     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47807
47808     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47809
47810     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47811
47812     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47813
47814     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47815
47816     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47817
47818     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47819
47820     $as_echo "#define HAVE_MODF 1" >>confdefs.h
47821
47822     $as_echo "#define HAVE_POWF 1" >>confdefs.h
47823
47824     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47825
47826
47827     # GLIBCXX_CHECK_STDLIB_SUPPORT
47828     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47829
47830
47831
47832
47833    # Check whether --enable-tls was given.
47834 if test "${enable_tls+set}" = set; then :
47835   enableval=$enable_tls;
47836       case "$enableval" in
47837        yes|no) ;;
47838        *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47839       esac
47840
47841 else
47842   enable_tls=yes
47843 fi
47844
47845
47846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47847 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47848 if ${gcc_cv_have_tls+:} false; then :
47849   $as_echo_n "(cached) " >&6
47850 else
47851
47852     if test "$cross_compiling" = yes; then :
47853                 if test x$gcc_no_link = xyes; then
47854   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47855 fi
47856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47857 /* end confdefs.h.  */
47858 __thread int a; int b; int main() { return a = b; }
47859 _ACEOF
47860 if ac_fn_c_try_link "$LINENO"; then :
47861   chktls_save_LDFLAGS="$LDFLAGS"
47862                           case $host in
47863             *-*-linux* | -*-uclinuxfdpic*)
47864               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47865               ;;
47866           esac
47867           chktls_save_CFLAGS="$CFLAGS"
47868           CFLAGS="-fPIC $CFLAGS"
47869                   if test x$gcc_no_link = xyes; then
47870   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47871 fi
47872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47873 /* end confdefs.h.  */
47874 int f() { return 0; }
47875 _ACEOF
47876 if ac_fn_c_try_link "$LINENO"; then :
47877   if test x$gcc_no_link = xyes; then
47878   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47879 fi
47880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47881 /* end confdefs.h.  */
47882 __thread int a; int b; int f() { return a = b; }
47883 _ACEOF
47884 if ac_fn_c_try_link "$LINENO"; then :
47885   gcc_cv_have_tls=yes
47886 else
47887   gcc_cv_have_tls=no
47888 fi
47889 rm -f core conftest.err conftest.$ac_objext \
47890     conftest$ac_exeext conftest.$ac_ext
47891 else
47892   gcc_cv_have_tls=yes
47893 fi
47894 rm -f core conftest.err conftest.$ac_objext \
47895     conftest$ac_exeext conftest.$ac_ext
47896           CFLAGS="$chktls_save_CFLAGS"
47897           LDFLAGS="$chktls_save_LDFLAGS"
47898 else
47899   gcc_cv_have_tls=no
47900 fi
47901 rm -f core conftest.err conftest.$ac_objext \
47902     conftest$ac_exeext conftest.$ac_ext
47903
47904
47905 else
47906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47907 /* end confdefs.h.  */
47908 __thread int a; int b; int main() { return a = b; }
47909 _ACEOF
47910 if ac_fn_c_try_run "$LINENO"; then :
47911                       chktls_save_LDFLAGS="$LDFLAGS"
47912       LDFLAGS="-static $LDFLAGS"
47913       if test x$gcc_no_link = xyes; then
47914   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47915 fi
47916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47917 /* end confdefs.h.  */
47918 int main() { return 0; }
47919 _ACEOF
47920 if ac_fn_c_try_link "$LINENO"; then :
47921   if test "$cross_compiling" = yes; then :
47922   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47924 as_fn_error $? "cannot run test program while cross compiling
47925 See \`config.log' for more details" "$LINENO" 5; }
47926 else
47927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47928 /* end confdefs.h.  */
47929 __thread int a; int b; int main() { return a = b; }
47930 _ACEOF
47931 if ac_fn_c_try_run "$LINENO"; then :
47932   gcc_cv_have_tls=yes
47933 else
47934   gcc_cv_have_tls=no
47935 fi
47936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47937   conftest.$ac_objext conftest.beam conftest.$ac_ext
47938 fi
47939
47940 else
47941   gcc_cv_have_tls=yes
47942 fi
47943 rm -f core conftest.err conftest.$ac_objext \
47944     conftest$ac_exeext conftest.$ac_ext
47945       LDFLAGS="$chktls_save_LDFLAGS"
47946       if test $gcc_cv_have_tls = yes; then
47947                                                 chktls_save_CFLAGS="$CFLAGS"
47948         thread_CFLAGS=failed
47949         for flag in '' '-pthread' '-lpthread'; do
47950           CFLAGS="$flag $chktls_save_CFLAGS"
47951           if test x$gcc_no_link = xyes; then
47952   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47953 fi
47954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47955 /* end confdefs.h.  */
47956 #include <pthread.h>
47957                 void *g(void *d) { return NULL; }
47958 int
47959 main ()
47960 {
47961 pthread_t t; pthread_create(&t,NULL,g,NULL);
47962   ;
47963   return 0;
47964 }
47965 _ACEOF
47966 if ac_fn_c_try_link "$LINENO"; then :
47967   thread_CFLAGS="$flag"
47968 fi
47969 rm -f core conftest.err conftest.$ac_objext \
47970     conftest$ac_exeext conftest.$ac_ext
47971           if test "X$thread_CFLAGS" != Xfailed; then
47972             break
47973           fi
47974         done
47975         CFLAGS="$chktls_save_CFLAGS"
47976         if test "X$thread_CFLAGS" != Xfailed; then
47977           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47978                                                   if test "$cross_compiling" = yes; then :
47979   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47981 as_fn_error $? "cannot run test program while cross compiling
47982 See \`config.log' for more details" "$LINENO" 5; }
47983 else
47984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47985 /* end confdefs.h.  */
47986 #include <pthread.h>
47987                 __thread int a;
47988                 static int *volatile a_in_other_thread;
47989                 static void *
47990                 thread_func (void *arg)
47991                 {
47992                   a_in_other_thread = &a;
47993                   return (void *)0;
47994                 }
47995 int
47996 main ()
47997 {
47998 pthread_t thread;
47999                 void *thread_retval;
48000                 int *volatile a_in_main_thread;
48001                 a_in_main_thread = &a;
48002                 if (pthread_create (&thread, (pthread_attr_t *)0,
48003                                     thread_func, (void *)0))
48004                   return 0;
48005                 if (pthread_join (thread, &thread_retval))
48006                   return 0;
48007                 return (a_in_other_thread == a_in_main_thread);
48008   ;
48009   return 0;
48010 }
48011 _ACEOF
48012 if ac_fn_c_try_run "$LINENO"; then :
48013   gcc_cv_have_tls=yes
48014 else
48015   gcc_cv_have_tls=no
48016 fi
48017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48018   conftest.$ac_objext conftest.beam conftest.$ac_ext
48019 fi
48020
48021           CFLAGS="$chktls_save_CFLAGS"
48022         fi
48023       fi
48024 else
48025   gcc_cv_have_tls=no
48026 fi
48027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48028   conftest.$ac_objext conftest.beam conftest.$ac_ext
48029 fi
48030
48031 fi
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48033 $as_echo "$gcc_cv_have_tls" >&6; }
48034   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48035
48036 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48037
48038   fi
48039     ;;
48040   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48041
48042   # All these tests are for C++; save the language and the compiler flags.
48043   # The CXXFLAGS thing is suspicious, but based on similar bits previously
48044   # found in GLIBCXX_CONFIGURE.
48045
48046   ac_ext=cpp
48047 ac_cpp='$CXXCPP $CPPFLAGS'
48048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48051
48052   ac_test_CXXFLAGS="${CXXFLAGS+set}"
48053   ac_save_CXXFLAGS="$CXXFLAGS"
48054
48055   # Check for -ffunction-sections -fdata-sections
48056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48058   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48060 /* end confdefs.h.  */
48061 int foo; void bar() { };
48062 int
48063 main ()
48064 {
48065
48066   ;
48067   return 0;
48068 }
48069 _ACEOF
48070 if ac_fn_cxx_try_compile "$LINENO"; then :
48071   ac_fdsections=yes
48072 else
48073   ac_fdsections=no
48074 fi
48075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48076   if test "$ac_test_CXXFLAGS" = set; then
48077     CXXFLAGS="$ac_save_CXXFLAGS"
48078   else
48079     # this is the suspicious part
48080     CXXFLAGS=''
48081   fi
48082   if test x"$ac_fdsections" = x"yes"; then
48083     SECTION_FLAGS='-ffunction-sections -fdata-sections'
48084   fi
48085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48086 $as_echo "$ac_fdsections" >&6; }
48087
48088   ac_ext=c
48089 ac_cpp='$CPP $CPPFLAGS'
48090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48093
48094
48095
48096
48097   # If we're not using GNU ld, then there's no point in even trying these
48098   # tests.  Check for that first.  We should have already tested for gld
48099   # by now (in libtool), but require it now just to be safe...
48100   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48101   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48102
48103
48104
48105   # The name set by libtool depends on the version of libtool.  Shame on us
48106   # for depending on an impl detail, but c'est la vie.  Older versions used
48107   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48108   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48109   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
48110   # set (hence we're using an older libtool), then set it.
48111   if test x${with_gnu_ld+set} != xset; then
48112     if test x${ac_cv_prog_gnu_ld+set} != xset; then
48113       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
48114       with_gnu_ld=no
48115     else
48116       with_gnu_ld=$ac_cv_prog_gnu_ld
48117     fi
48118   fi
48119
48120   # Start by getting the version number.  I think the libtool test already
48121   # does some of this, but throws away the result.
48122   glibcxx_ld_is_gold=no
48123   glibcxx_ld_is_mold=no
48124   if test x"$with_gnu_ld" = x"yes"; then
48125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48126 $as_echo_n "checking for ld version... " >&6; }
48127
48128     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48129       glibcxx_ld_is_gold=yes
48130     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48131       glibcxx_ld_is_mold=yes
48132     fi
48133     ldver=`$LD --version 2>/dev/null |
48134            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48135
48136     glibcxx_gnu_ld_version=`echo $ldver | \
48137            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48139 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48140   fi
48141
48142   # Set --gc-sections.
48143   glibcxx_have_gc_sections=no
48144   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48145     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48146       glibcxx_have_gc_sections=yes
48147     fi
48148   else
48149     glibcxx_gcsections_min_ld=21602
48150     if test x"$with_gnu_ld" = x"yes" &&
48151         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48152       glibcxx_have_gc_sections=yes
48153     fi
48154   fi
48155   if test "$glibcxx_have_gc_sections" = "yes"; then
48156     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
48157     # NB: This flag only works reliably after 2.16.1. Configure tests
48158     # for this are difficult, so hard wire a value that should work.
48159
48160     ac_test_CFLAGS="${CFLAGS+set}"
48161     ac_save_CFLAGS="$CFLAGS"
48162     CFLAGS='-Wl,--gc-sections'
48163
48164     # Check for -Wl,--gc-sections
48165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48166 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48167     if test x$gcc_no_link = xyes; then
48168   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48169 fi
48170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48171 /* end confdefs.h.  */
48172  int one(void) { return 1; }
48173      int two(void) { return 2; }
48174
48175 int
48176 main ()
48177 {
48178  two();
48179   ;
48180   return 0;
48181 }
48182 _ACEOF
48183 if ac_fn_c_try_link "$LINENO"; then :
48184   ac_gcsections=yes
48185 else
48186   ac_gcsections=no
48187 fi
48188 rm -f core conftest.err conftest.$ac_objext \
48189     conftest$ac_exeext conftest.$ac_ext
48190     if test "$ac_gcsections" = "yes"; then
48191       rm -f conftest.c
48192       touch conftest.c
48193       if $CC -c conftest.c; then
48194         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48195            grep "Warning: gc-sections option ignored" > /dev/null; then
48196           ac_gcsections=no
48197         fi
48198       fi
48199       rm -f conftest.c conftest.o conftest
48200     fi
48201     if test "$ac_gcsections" = "yes"; then
48202       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48203     fi
48204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48205 $as_echo "$ac_gcsections" >&6; }
48206
48207     if test "$ac_test_CFLAGS" = set; then
48208       CFLAGS="$ac_save_CFLAGS"
48209     else
48210       # this is the suspicious part
48211       CFLAGS=''
48212     fi
48213   fi
48214
48215   # Set -z,relro.
48216   # Note this is only for shared objects.
48217   ac_ld_relro=no
48218   if test x"$with_gnu_ld" = x"yes"; then
48219     # cygwin and mingw uses PE, which has no ELF relro support,
48220     # multi target ld may confuse configure machinery
48221     case "$host" in
48222     *-*-cygwin*)
48223      ;;
48224     *-*-mingw*)
48225      ;;
48226     *)
48227       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48229       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48230       if test -n "$cxx_z_relo"; then
48231         OPT_LDFLAGS="-Wl,-z,relro"
48232         ac_ld_relro=yes
48233       fi
48234       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48235 $as_echo "$ac_ld_relro" >&6; }
48236     esac
48237   fi
48238
48239   # Set linker optimization flags.
48240   if test x"$with_gnu_ld" = x"yes"; then
48241     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48242   fi
48243
48244
48245
48246
48247
48248   ac_test_CXXFLAGS="${CXXFLAGS+set}"
48249   ac_save_CXXFLAGS="$CXXFLAGS"
48250   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48251
48252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48253 $as_echo_n "checking for sin in -lm... " >&6; }
48254 if ${ac_cv_lib_m_sin+:} false; then :
48255   $as_echo_n "(cached) " >&6
48256 else
48257   ac_check_lib_save_LIBS=$LIBS
48258 LIBS="-lm  $LIBS"
48259 if test x$gcc_no_link = xyes; then
48260   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48261 fi
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h.  */
48264
48265 /* Override any GCC internal prototype to avoid an error.
48266    Use char because int might match the return type of a GCC
48267    builtin and then its argument prototype would still apply.  */
48268 #ifdef __cplusplus
48269 extern "C"
48270 #endif
48271 char sin ();
48272 int
48273 main ()
48274 {
48275 return sin ();
48276   ;
48277   return 0;
48278 }
48279 _ACEOF
48280 if ac_fn_c_try_link "$LINENO"; then :
48281   ac_cv_lib_m_sin=yes
48282 else
48283   ac_cv_lib_m_sin=no
48284 fi
48285 rm -f core conftest.err conftest.$ac_objext \
48286     conftest$ac_exeext conftest.$ac_ext
48287 LIBS=$ac_check_lib_save_LIBS
48288 fi
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48290 $as_echo "$ac_cv_lib_m_sin" >&6; }
48291 if test "x$ac_cv_lib_m_sin" = xyes; then :
48292   libm="-lm"
48293 fi
48294
48295   ac_save_LIBS="$LIBS"
48296   LIBS="$LIBS $libm"
48297
48298
48299
48300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48301 $as_echo_n "checking for isinf declaration... " >&6; }
48302   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48303     if ${glibcxx_cv_func_isinf_use+:} false; then :
48304   $as_echo_n "(cached) " >&6
48305 else
48306
48307
48308       ac_ext=cpp
48309 ac_cpp='$CXXCPP $CPPFLAGS'
48310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48313
48314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48315 /* end confdefs.h.  */
48316 #include <math.h>
48317                       #ifdef HAVE_IEEEFP_H
48318                       #include <ieeefp.h>
48319                       #endif
48320
48321 int
48322 main ()
48323 {
48324  isinf(0);
48325   ;
48326   return 0;
48327 }
48328 _ACEOF
48329 if ac_fn_cxx_try_compile "$LINENO"; then :
48330   glibcxx_cv_func_isinf_use=yes
48331 else
48332   glibcxx_cv_func_isinf_use=no
48333 fi
48334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48335       ac_ext=c
48336 ac_cpp='$CPP $CPPFLAGS'
48337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48340
48341
48342 fi
48343
48344   fi
48345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48346 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48347
48348   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48349     for ac_func in isinf
48350 do :
48351   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48352 if test "x$ac_cv_func_isinf" = xyes; then :
48353   cat >>confdefs.h <<_ACEOF
48354 #define HAVE_ISINF 1
48355 _ACEOF
48356
48357 fi
48358 done
48359
48360   else
48361
48362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48363 $as_echo_n "checking for _isinf declaration... " >&6; }
48364   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48365     if ${glibcxx_cv_func__isinf_use+:} false; then :
48366   $as_echo_n "(cached) " >&6
48367 else
48368
48369
48370       ac_ext=cpp
48371 ac_cpp='$CXXCPP $CPPFLAGS'
48372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48375
48376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48377 /* end confdefs.h.  */
48378 #include <math.h>
48379                       #ifdef HAVE_IEEEFP_H
48380                       #include <ieeefp.h>
48381                       #endif
48382
48383 int
48384 main ()
48385 {
48386  _isinf(0);
48387   ;
48388   return 0;
48389 }
48390 _ACEOF
48391 if ac_fn_cxx_try_compile "$LINENO"; then :
48392   glibcxx_cv_func__isinf_use=yes
48393 else
48394   glibcxx_cv_func__isinf_use=no
48395 fi
48396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48397       ac_ext=c
48398 ac_cpp='$CPP $CPPFLAGS'
48399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48402
48403
48404 fi
48405
48406   fi
48407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48408 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48409
48410     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48411       for ac_func in _isinf
48412 do :
48413   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48414 if test "x$ac_cv_func__isinf" = xyes; then :
48415   cat >>confdefs.h <<_ACEOF
48416 #define HAVE__ISINF 1
48417 _ACEOF
48418
48419 fi
48420 done
48421
48422     fi
48423   fi
48424
48425
48426
48427
48428
48429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48430 $as_echo_n "checking for isnan declaration... " >&6; }
48431   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48432     if ${glibcxx_cv_func_isnan_use+:} false; then :
48433   $as_echo_n "(cached) " >&6
48434 else
48435
48436
48437       ac_ext=cpp
48438 ac_cpp='$CXXCPP $CPPFLAGS'
48439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48442
48443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444 /* end confdefs.h.  */
48445 #include <math.h>
48446                       #ifdef HAVE_IEEEFP_H
48447                       #include <ieeefp.h>
48448                       #endif
48449
48450 int
48451 main ()
48452 {
48453  isnan(0);
48454   ;
48455   return 0;
48456 }
48457 _ACEOF
48458 if ac_fn_cxx_try_compile "$LINENO"; then :
48459   glibcxx_cv_func_isnan_use=yes
48460 else
48461   glibcxx_cv_func_isnan_use=no
48462 fi
48463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48464       ac_ext=c
48465 ac_cpp='$CPP $CPPFLAGS'
48466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48469
48470
48471 fi
48472
48473   fi
48474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48475 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48476
48477   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48478     for ac_func in isnan
48479 do :
48480   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48481 if test "x$ac_cv_func_isnan" = xyes; then :
48482   cat >>confdefs.h <<_ACEOF
48483 #define HAVE_ISNAN 1
48484 _ACEOF
48485
48486 fi
48487 done
48488
48489   else
48490
48491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48492 $as_echo_n "checking for _isnan declaration... " >&6; }
48493   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48494     if ${glibcxx_cv_func__isnan_use+:} false; then :
48495   $as_echo_n "(cached) " >&6
48496 else
48497
48498
48499       ac_ext=cpp
48500 ac_cpp='$CXXCPP $CPPFLAGS'
48501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48504
48505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48506 /* end confdefs.h.  */
48507 #include <math.h>
48508                       #ifdef HAVE_IEEEFP_H
48509                       #include <ieeefp.h>
48510                       #endif
48511
48512 int
48513 main ()
48514 {
48515  _isnan(0);
48516   ;
48517   return 0;
48518 }
48519 _ACEOF
48520 if ac_fn_cxx_try_compile "$LINENO"; then :
48521   glibcxx_cv_func__isnan_use=yes
48522 else
48523   glibcxx_cv_func__isnan_use=no
48524 fi
48525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48526       ac_ext=c
48527 ac_cpp='$CPP $CPPFLAGS'
48528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48531
48532
48533 fi
48534
48535   fi
48536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48537 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48538
48539     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48540       for ac_func in _isnan
48541 do :
48542   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48543 if test "x$ac_cv_func__isnan" = xyes; then :
48544   cat >>confdefs.h <<_ACEOF
48545 #define HAVE__ISNAN 1
48546 _ACEOF
48547
48548 fi
48549 done
48550
48551     fi
48552   fi
48553
48554
48555
48556
48557
48558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48559 $as_echo_n "checking for finite declaration... " >&6; }
48560   if test x${glibcxx_cv_func_finite_use+set} != xset; then
48561     if ${glibcxx_cv_func_finite_use+:} false; then :
48562   $as_echo_n "(cached) " >&6
48563 else
48564
48565
48566       ac_ext=cpp
48567 ac_cpp='$CXXCPP $CPPFLAGS'
48568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48571
48572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48573 /* end confdefs.h.  */
48574 #include <math.h>
48575                       #ifdef HAVE_IEEEFP_H
48576                       #include <ieeefp.h>
48577                       #endif
48578
48579 int
48580 main ()
48581 {
48582  finite(0);
48583   ;
48584   return 0;
48585 }
48586 _ACEOF
48587 if ac_fn_cxx_try_compile "$LINENO"; then :
48588   glibcxx_cv_func_finite_use=yes
48589 else
48590   glibcxx_cv_func_finite_use=no
48591 fi
48592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48593       ac_ext=c
48594 ac_cpp='$CPP $CPPFLAGS'
48595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48598
48599
48600 fi
48601
48602   fi
48603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48604 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48605
48606   if test x$glibcxx_cv_func_finite_use = x"yes"; then
48607     for ac_func in finite
48608 do :
48609   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48610 if test "x$ac_cv_func_finite" = xyes; then :
48611   cat >>confdefs.h <<_ACEOF
48612 #define HAVE_FINITE 1
48613 _ACEOF
48614
48615 fi
48616 done
48617
48618   else
48619
48620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48621 $as_echo_n "checking for _finite declaration... " >&6; }
48622   if test x${glibcxx_cv_func__finite_use+set} != xset; then
48623     if ${glibcxx_cv_func__finite_use+:} false; then :
48624   $as_echo_n "(cached) " >&6
48625 else
48626
48627
48628       ac_ext=cpp
48629 ac_cpp='$CXXCPP $CPPFLAGS'
48630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633
48634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48635 /* end confdefs.h.  */
48636 #include <math.h>
48637                       #ifdef HAVE_IEEEFP_H
48638                       #include <ieeefp.h>
48639                       #endif
48640
48641 int
48642 main ()
48643 {
48644  _finite(0);
48645   ;
48646   return 0;
48647 }
48648 _ACEOF
48649 if ac_fn_cxx_try_compile "$LINENO"; then :
48650   glibcxx_cv_func__finite_use=yes
48651 else
48652   glibcxx_cv_func__finite_use=no
48653 fi
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655       ac_ext=c
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660
48661
48662 fi
48663
48664   fi
48665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48666 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48667
48668     if test x$glibcxx_cv_func__finite_use = x"yes"; then
48669       for ac_func in _finite
48670 do :
48671   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48672 if test "x$ac_cv_func__finite" = xyes; then :
48673   cat >>confdefs.h <<_ACEOF
48674 #define HAVE__FINITE 1
48675 _ACEOF
48676
48677 fi
48678 done
48679
48680     fi
48681   fi
48682
48683
48684
48685
48686
48687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48688 $as_echo_n "checking for sincos declaration... " >&6; }
48689   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48690     if ${glibcxx_cv_func_sincos_use+:} false; then :
48691   $as_echo_n "(cached) " >&6
48692 else
48693
48694
48695       ac_ext=cpp
48696 ac_cpp='$CXXCPP $CPPFLAGS'
48697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48700
48701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48702 /* end confdefs.h.  */
48703 #include <math.h>
48704 int
48705 main ()
48706 {
48707  sincos(0, 0, 0);
48708   ;
48709   return 0;
48710 }
48711 _ACEOF
48712 if ac_fn_cxx_try_compile "$LINENO"; then :
48713   glibcxx_cv_func_sincos_use=yes
48714 else
48715   glibcxx_cv_func_sincos_use=no
48716 fi
48717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48718       ac_ext=c
48719 ac_cpp='$CPP $CPPFLAGS'
48720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48723
48724
48725 fi
48726
48727   fi
48728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48729 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48730
48731   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48732     for ac_func in sincos
48733 do :
48734   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48735 if test "x$ac_cv_func_sincos" = xyes; then :
48736   cat >>confdefs.h <<_ACEOF
48737 #define HAVE_SINCOS 1
48738 _ACEOF
48739
48740 fi
48741 done
48742
48743   else
48744
48745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48746 $as_echo_n "checking for _sincos declaration... " >&6; }
48747   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48748     if ${glibcxx_cv_func__sincos_use+:} false; then :
48749   $as_echo_n "(cached) " >&6
48750 else
48751
48752
48753       ac_ext=cpp
48754 ac_cpp='$CXXCPP $CPPFLAGS'
48755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48758
48759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48760 /* end confdefs.h.  */
48761 #include <math.h>
48762 int
48763 main ()
48764 {
48765  _sincos(0, 0, 0);
48766   ;
48767   return 0;
48768 }
48769 _ACEOF
48770 if ac_fn_cxx_try_compile "$LINENO"; then :
48771   glibcxx_cv_func__sincos_use=yes
48772 else
48773   glibcxx_cv_func__sincos_use=no
48774 fi
48775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48776       ac_ext=c
48777 ac_cpp='$CPP $CPPFLAGS'
48778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48781
48782
48783 fi
48784
48785   fi
48786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48787 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48788
48789     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48790       for ac_func in _sincos
48791 do :
48792   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48793 if test "x$ac_cv_func__sincos" = xyes; then :
48794   cat >>confdefs.h <<_ACEOF
48795 #define HAVE__SINCOS 1
48796 _ACEOF
48797
48798 fi
48799 done
48800
48801     fi
48802   fi
48803
48804
48805
48806
48807
48808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48809 $as_echo_n "checking for fpclass declaration... " >&6; }
48810   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48811     if ${glibcxx_cv_func_fpclass_use+:} false; then :
48812   $as_echo_n "(cached) " >&6
48813 else
48814
48815
48816       ac_ext=cpp
48817 ac_cpp='$CXXCPP $CPPFLAGS'
48818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48821
48822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48823 /* end confdefs.h.  */
48824 #include <math.h>
48825                       #ifdef HAVE_IEEEFP_H
48826                       #include <ieeefp.h>
48827                       #endif
48828
48829 int
48830 main ()
48831 {
48832  fpclass(0);
48833   ;
48834   return 0;
48835 }
48836 _ACEOF
48837 if ac_fn_cxx_try_compile "$LINENO"; then :
48838   glibcxx_cv_func_fpclass_use=yes
48839 else
48840   glibcxx_cv_func_fpclass_use=no
48841 fi
48842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48843       ac_ext=c
48844 ac_cpp='$CPP $CPPFLAGS'
48845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48848
48849
48850 fi
48851
48852   fi
48853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48854 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48855
48856   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48857     for ac_func in fpclass
48858 do :
48859   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48860 if test "x$ac_cv_func_fpclass" = xyes; then :
48861   cat >>confdefs.h <<_ACEOF
48862 #define HAVE_FPCLASS 1
48863 _ACEOF
48864
48865 fi
48866 done
48867
48868   else
48869
48870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48871 $as_echo_n "checking for _fpclass declaration... " >&6; }
48872   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48873     if ${glibcxx_cv_func__fpclass_use+:} false; then :
48874   $as_echo_n "(cached) " >&6
48875 else
48876
48877
48878       ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883
48884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h.  */
48886 #include <math.h>
48887                       #ifdef HAVE_IEEEFP_H
48888                       #include <ieeefp.h>
48889                       #endif
48890
48891 int
48892 main ()
48893 {
48894  _fpclass(0);
48895   ;
48896   return 0;
48897 }
48898 _ACEOF
48899 if ac_fn_cxx_try_compile "$LINENO"; then :
48900   glibcxx_cv_func__fpclass_use=yes
48901 else
48902   glibcxx_cv_func__fpclass_use=no
48903 fi
48904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48905       ac_ext=c
48906 ac_cpp='$CPP $CPPFLAGS'
48907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48910
48911
48912 fi
48913
48914   fi
48915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48916 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48917
48918     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48919       for ac_func in _fpclass
48920 do :
48921   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48922 if test "x$ac_cv_func__fpclass" = xyes; then :
48923   cat >>confdefs.h <<_ACEOF
48924 #define HAVE__FPCLASS 1
48925 _ACEOF
48926
48927 fi
48928 done
48929
48930     fi
48931   fi
48932
48933
48934
48935
48936
48937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48938 $as_echo_n "checking for qfpclass declaration... " >&6; }
48939   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48940     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48941   $as_echo_n "(cached) " >&6
48942 else
48943
48944
48945       ac_ext=cpp
48946 ac_cpp='$CXXCPP $CPPFLAGS'
48947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48950
48951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48952 /* end confdefs.h.  */
48953 #include <math.h>
48954                       #ifdef HAVE_IEEEFP_H
48955                       #include <ieeefp.h>
48956                       #endif
48957
48958 int
48959 main ()
48960 {
48961  qfpclass(0);
48962   ;
48963   return 0;
48964 }
48965 _ACEOF
48966 if ac_fn_cxx_try_compile "$LINENO"; then :
48967   glibcxx_cv_func_qfpclass_use=yes
48968 else
48969   glibcxx_cv_func_qfpclass_use=no
48970 fi
48971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48972       ac_ext=c
48973 ac_cpp='$CPP $CPPFLAGS'
48974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48977
48978
48979 fi
48980
48981   fi
48982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48983 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48984
48985   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48986     for ac_func in qfpclass
48987 do :
48988   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48989 if test "x$ac_cv_func_qfpclass" = xyes; then :
48990   cat >>confdefs.h <<_ACEOF
48991 #define HAVE_QFPCLASS 1
48992 _ACEOF
48993
48994 fi
48995 done
48996
48997   else
48998
48999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49000 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49001   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49002     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49003   $as_echo_n "(cached) " >&6
49004 else
49005
49006
49007       ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012
49013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h.  */
49015 #include <math.h>
49016                       #ifdef HAVE_IEEEFP_H
49017                       #include <ieeefp.h>
49018                       #endif
49019
49020 int
49021 main ()
49022 {
49023  _qfpclass(0);
49024   ;
49025   return 0;
49026 }
49027 _ACEOF
49028 if ac_fn_cxx_try_compile "$LINENO"; then :
49029   glibcxx_cv_func__qfpclass_use=yes
49030 else
49031   glibcxx_cv_func__qfpclass_use=no
49032 fi
49033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49034       ac_ext=c
49035 ac_cpp='$CPP $CPPFLAGS'
49036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039
49040
49041 fi
49042
49043   fi
49044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49045 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49046
49047     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49048       for ac_func in _qfpclass
49049 do :
49050   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49051 if test "x$ac_cv_func__qfpclass" = xyes; then :
49052   cat >>confdefs.h <<_ACEOF
49053 #define HAVE__QFPCLASS 1
49054 _ACEOF
49055
49056 fi
49057 done
49058
49059     fi
49060   fi
49061
49062
49063
49064
49065
49066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49067 $as_echo_n "checking for hypot declaration... " >&6; }
49068   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49069     if ${glibcxx_cv_func_hypot_use+:} false; then :
49070   $as_echo_n "(cached) " >&6
49071 else
49072
49073
49074       ac_ext=cpp
49075 ac_cpp='$CXXCPP $CPPFLAGS'
49076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49079
49080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49081 /* end confdefs.h.  */
49082 #include <math.h>
49083 int
49084 main ()
49085 {
49086  hypot(0, 0);
49087   ;
49088   return 0;
49089 }
49090 _ACEOF
49091 if ac_fn_cxx_try_compile "$LINENO"; then :
49092   glibcxx_cv_func_hypot_use=yes
49093 else
49094   glibcxx_cv_func_hypot_use=no
49095 fi
49096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49097       ac_ext=c
49098 ac_cpp='$CPP $CPPFLAGS'
49099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49102
49103
49104 fi
49105
49106   fi
49107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49108 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49109
49110   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49111     for ac_func in hypot
49112 do :
49113   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49114 if test "x$ac_cv_func_hypot" = xyes; then :
49115   cat >>confdefs.h <<_ACEOF
49116 #define HAVE_HYPOT 1
49117 _ACEOF
49118
49119 fi
49120 done
49121
49122   else
49123
49124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49125 $as_echo_n "checking for _hypot declaration... " >&6; }
49126   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49127     if ${glibcxx_cv_func__hypot_use+:} false; then :
49128   $as_echo_n "(cached) " >&6
49129 else
49130
49131
49132       ac_ext=cpp
49133 ac_cpp='$CXXCPP $CPPFLAGS'
49134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49137
49138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49139 /* end confdefs.h.  */
49140 #include <math.h>
49141 int
49142 main ()
49143 {
49144  _hypot(0, 0);
49145   ;
49146   return 0;
49147 }
49148 _ACEOF
49149 if ac_fn_cxx_try_compile "$LINENO"; then :
49150   glibcxx_cv_func__hypot_use=yes
49151 else
49152   glibcxx_cv_func__hypot_use=no
49153 fi
49154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49155       ac_ext=c
49156 ac_cpp='$CPP $CPPFLAGS'
49157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49160
49161
49162 fi
49163
49164   fi
49165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49166 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49167
49168     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49169       for ac_func in _hypot
49170 do :
49171   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49172 if test "x$ac_cv_func__hypot" = xyes; then :
49173   cat >>confdefs.h <<_ACEOF
49174 #define HAVE__HYPOT 1
49175 _ACEOF
49176
49177 fi
49178 done
49179
49180     fi
49181   fi
49182
49183
49184
49185
49186
49187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49188 $as_echo_n "checking for float trig functions... " >&6; }
49189   if ${glibcxx_cv_func_float_trig_use+:} false; then :
49190   $as_echo_n "(cached) " >&6
49191 else
49192
49193
49194     ac_ext=cpp
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199
49200     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49201 /* end confdefs.h.  */
49202 #include <math.h>
49203 int
49204 main ()
49205 {
49206 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49207   ;
49208   return 0;
49209 }
49210 _ACEOF
49211 if ac_fn_cxx_try_compile "$LINENO"; then :
49212   glibcxx_cv_func_float_trig_use=yes
49213 else
49214   glibcxx_cv_func_float_trig_use=no
49215 fi
49216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49217     ac_ext=c
49218 ac_cpp='$CPP $CPPFLAGS'
49219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49222
49223 fi
49224
49225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49226 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49227   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49228     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49229 do :
49230   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49233   cat >>confdefs.h <<_ACEOF
49234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49235 _ACEOF
49236
49237 fi
49238 done
49239
49240   else
49241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49242 $as_echo_n "checking for _float trig functions... " >&6; }
49243     if ${glibcxx_cv_func__float_trig_use+:} false; then :
49244   $as_echo_n "(cached) " >&6
49245 else
49246
49247
49248       ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253
49254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h.  */
49256 #include <math.h>
49257 int
49258 main ()
49259 {
49260 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49261   ;
49262   return 0;
49263 }
49264 _ACEOF
49265 if ac_fn_cxx_try_compile "$LINENO"; then :
49266   glibcxx_cv_func__float_trig_use=yes
49267 else
49268   glibcxx_cv_func__float_trig_use=no
49269 fi
49270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49271       ac_ext=c
49272 ac_cpp='$CPP $CPPFLAGS'
49273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276
49277 fi
49278
49279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49280 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49281     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49282       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49283 do :
49284   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49287   cat >>confdefs.h <<_ACEOF
49288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49289 _ACEOF
49290
49291 fi
49292 done
49293
49294     fi
49295   fi
49296
49297
49298
49299
49300
49301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49302 $as_echo_n "checking for float round functions... " >&6; }
49303   if ${glibcxx_cv_func_float_round_use+:} false; then :
49304   $as_echo_n "(cached) " >&6
49305 else
49306
49307
49308     ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49313
49314     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h.  */
49316 #include <math.h>
49317 int
49318 main ()
49319 {
49320 ceilf (0); floorf (0);
49321   ;
49322   return 0;
49323 }
49324 _ACEOF
49325 if ac_fn_cxx_try_compile "$LINENO"; then :
49326   glibcxx_cv_func_float_round_use=yes
49327 else
49328   glibcxx_cv_func_float_round_use=no
49329 fi
49330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49331     ac_ext=c
49332 ac_cpp='$CPP $CPPFLAGS'
49333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49336
49337 fi
49338
49339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49340 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49341   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49342     for ac_func in ceilf floorf
49343 do :
49344   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49346 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49347   cat >>confdefs.h <<_ACEOF
49348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49349 _ACEOF
49350
49351 fi
49352 done
49353
49354   else
49355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49356 $as_echo_n "checking for _float round functions... " >&6; }
49357     if ${glibcxx_cv_func__float_round_use+:} false; then :
49358   $as_echo_n "(cached) " >&6
49359 else
49360
49361
49362       ac_ext=cpp
49363 ac_cpp='$CXXCPP $CPPFLAGS'
49364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49367
49368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49369 /* end confdefs.h.  */
49370 #include <math.h>
49371 int
49372 main ()
49373 {
49374 _ceilf (0); _floorf (0);
49375   ;
49376   return 0;
49377 }
49378 _ACEOF
49379 if ac_fn_cxx_try_compile "$LINENO"; then :
49380   glibcxx_cv_func__float_round_use=yes
49381 else
49382   glibcxx_cv_func__float_round_use=no
49383 fi
49384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49385       ac_ext=c
49386 ac_cpp='$CPP $CPPFLAGS'
49387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49390
49391 fi
49392
49393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49394 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49395     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49396       for ac_func in _ceilf _floorf
49397 do :
49398   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49400 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49401   cat >>confdefs.h <<_ACEOF
49402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49403 _ACEOF
49404
49405 fi
49406 done
49407
49408     fi
49409   fi
49410
49411
49412
49413
49414
49415
49416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49417 $as_echo_n "checking for expf declaration... " >&6; }
49418   if test x${glibcxx_cv_func_expf_use+set} != xset; then
49419     if ${glibcxx_cv_func_expf_use+:} false; then :
49420   $as_echo_n "(cached) " >&6
49421 else
49422
49423
49424       ac_ext=cpp
49425 ac_cpp='$CXXCPP $CPPFLAGS'
49426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49429
49430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49431 /* end confdefs.h.  */
49432 #include <math.h>
49433                       #ifdef HAVE_IEEEFP_H
49434                       #include <ieeefp.h>
49435                       #endif
49436
49437 int
49438 main ()
49439 {
49440  expf(0);
49441   ;
49442   return 0;
49443 }
49444 _ACEOF
49445 if ac_fn_cxx_try_compile "$LINENO"; then :
49446   glibcxx_cv_func_expf_use=yes
49447 else
49448   glibcxx_cv_func_expf_use=no
49449 fi
49450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49451       ac_ext=c
49452 ac_cpp='$CPP $CPPFLAGS'
49453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49456
49457
49458 fi
49459
49460   fi
49461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49462 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49463
49464   if test x$glibcxx_cv_func_expf_use = x"yes"; then
49465     for ac_func in expf
49466 do :
49467   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49468 if test "x$ac_cv_func_expf" = xyes; then :
49469   cat >>confdefs.h <<_ACEOF
49470 #define HAVE_EXPF 1
49471 _ACEOF
49472
49473 fi
49474 done
49475
49476   else
49477
49478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49479 $as_echo_n "checking for _expf declaration... " >&6; }
49480   if test x${glibcxx_cv_func__expf_use+set} != xset; then
49481     if ${glibcxx_cv_func__expf_use+:} false; then :
49482   $as_echo_n "(cached) " >&6
49483 else
49484
49485
49486       ac_ext=cpp
49487 ac_cpp='$CXXCPP $CPPFLAGS'
49488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491
49492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49493 /* end confdefs.h.  */
49494 #include <math.h>
49495                       #ifdef HAVE_IEEEFP_H
49496                       #include <ieeefp.h>
49497                       #endif
49498
49499 int
49500 main ()
49501 {
49502  _expf(0);
49503   ;
49504   return 0;
49505 }
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508   glibcxx_cv_func__expf_use=yes
49509 else
49510   glibcxx_cv_func__expf_use=no
49511 fi
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513       ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518
49519
49520 fi
49521
49522   fi
49523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49524 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49525
49526     if test x$glibcxx_cv_func__expf_use = x"yes"; then
49527       for ac_func in _expf
49528 do :
49529   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49530 if test "x$ac_cv_func__expf" = xyes; then :
49531   cat >>confdefs.h <<_ACEOF
49532 #define HAVE__EXPF 1
49533 _ACEOF
49534
49535 fi
49536 done
49537
49538     fi
49539   fi
49540
49541
49542
49543
49544
49545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49546 $as_echo_n "checking for isnanf declaration... " >&6; }
49547   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49548     if ${glibcxx_cv_func_isnanf_use+:} false; then :
49549   $as_echo_n "(cached) " >&6
49550 else
49551
49552
49553       ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49558
49559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h.  */
49561 #include <math.h>
49562                       #ifdef HAVE_IEEEFP_H
49563                       #include <ieeefp.h>
49564                       #endif
49565
49566 int
49567 main ()
49568 {
49569  isnanf(0);
49570   ;
49571   return 0;
49572 }
49573 _ACEOF
49574 if ac_fn_cxx_try_compile "$LINENO"; then :
49575   glibcxx_cv_func_isnanf_use=yes
49576 else
49577   glibcxx_cv_func_isnanf_use=no
49578 fi
49579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49580       ac_ext=c
49581 ac_cpp='$CPP $CPPFLAGS'
49582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49585
49586
49587 fi
49588
49589   fi
49590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49591 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49592
49593   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49594     for ac_func in isnanf
49595 do :
49596   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49597 if test "x$ac_cv_func_isnanf" = xyes; then :
49598   cat >>confdefs.h <<_ACEOF
49599 #define HAVE_ISNANF 1
49600 _ACEOF
49601
49602 fi
49603 done
49604
49605   else
49606
49607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49608 $as_echo_n "checking for _isnanf declaration... " >&6; }
49609   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49610     if ${glibcxx_cv_func__isnanf_use+:} false; then :
49611   $as_echo_n "(cached) " >&6
49612 else
49613
49614
49615       ac_ext=cpp
49616 ac_cpp='$CXXCPP $CPPFLAGS'
49617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620
49621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49622 /* end confdefs.h.  */
49623 #include <math.h>
49624                       #ifdef HAVE_IEEEFP_H
49625                       #include <ieeefp.h>
49626                       #endif
49627
49628 int
49629 main ()
49630 {
49631  _isnanf(0);
49632   ;
49633   return 0;
49634 }
49635 _ACEOF
49636 if ac_fn_cxx_try_compile "$LINENO"; then :
49637   glibcxx_cv_func__isnanf_use=yes
49638 else
49639   glibcxx_cv_func__isnanf_use=no
49640 fi
49641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49642       ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647
49648
49649 fi
49650
49651   fi
49652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49653 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49654
49655     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49656       for ac_func in _isnanf
49657 do :
49658   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49659 if test "x$ac_cv_func__isnanf" = xyes; then :
49660   cat >>confdefs.h <<_ACEOF
49661 #define HAVE__ISNANF 1
49662 _ACEOF
49663
49664 fi
49665 done
49666
49667     fi
49668   fi
49669
49670
49671
49672
49673
49674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49675 $as_echo_n "checking for isinff declaration... " >&6; }
49676   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49677     if ${glibcxx_cv_func_isinff_use+:} false; then :
49678   $as_echo_n "(cached) " >&6
49679 else
49680
49681
49682       ac_ext=cpp
49683 ac_cpp='$CXXCPP $CPPFLAGS'
49684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49687
49688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49689 /* end confdefs.h.  */
49690 #include <math.h>
49691                       #ifdef HAVE_IEEEFP_H
49692                       #include <ieeefp.h>
49693                       #endif
49694
49695 int
49696 main ()
49697 {
49698  isinff(0);
49699   ;
49700   return 0;
49701 }
49702 _ACEOF
49703 if ac_fn_cxx_try_compile "$LINENO"; then :
49704   glibcxx_cv_func_isinff_use=yes
49705 else
49706   glibcxx_cv_func_isinff_use=no
49707 fi
49708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709       ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49714
49715
49716 fi
49717
49718   fi
49719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49720 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49721
49722   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49723     for ac_func in isinff
49724 do :
49725   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49726 if test "x$ac_cv_func_isinff" = xyes; then :
49727   cat >>confdefs.h <<_ACEOF
49728 #define HAVE_ISINFF 1
49729 _ACEOF
49730
49731 fi
49732 done
49733
49734   else
49735
49736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49737 $as_echo_n "checking for _isinff declaration... " >&6; }
49738   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49739     if ${glibcxx_cv_func__isinff_use+:} false; then :
49740   $as_echo_n "(cached) " >&6
49741 else
49742
49743
49744       ac_ext=cpp
49745 ac_cpp='$CXXCPP $CPPFLAGS'
49746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49749
49750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49751 /* end confdefs.h.  */
49752 #include <math.h>
49753                       #ifdef HAVE_IEEEFP_H
49754                       #include <ieeefp.h>
49755                       #endif
49756
49757 int
49758 main ()
49759 {
49760  _isinff(0);
49761   ;
49762   return 0;
49763 }
49764 _ACEOF
49765 if ac_fn_cxx_try_compile "$LINENO"; then :
49766   glibcxx_cv_func__isinff_use=yes
49767 else
49768   glibcxx_cv_func__isinff_use=no
49769 fi
49770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49771       ac_ext=c
49772 ac_cpp='$CPP $CPPFLAGS'
49773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776
49777
49778 fi
49779
49780   fi
49781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49782 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49783
49784     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49785       for ac_func in _isinff
49786 do :
49787   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49788 if test "x$ac_cv_func__isinff" = xyes; then :
49789   cat >>confdefs.h <<_ACEOF
49790 #define HAVE__ISINFF 1
49791 _ACEOF
49792
49793 fi
49794 done
49795
49796     fi
49797   fi
49798
49799
49800
49801
49802
49803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49804 $as_echo_n "checking for atan2f declaration... " >&6; }
49805   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49806     if ${glibcxx_cv_func_atan2f_use+:} false; then :
49807   $as_echo_n "(cached) " >&6
49808 else
49809
49810
49811       ac_ext=cpp
49812 ac_cpp='$CXXCPP $CPPFLAGS'
49813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816
49817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818 /* end confdefs.h.  */
49819 #include <math.h>
49820 int
49821 main ()
49822 {
49823  atan2f(0, 0);
49824   ;
49825   return 0;
49826 }
49827 _ACEOF
49828 if ac_fn_cxx_try_compile "$LINENO"; then :
49829   glibcxx_cv_func_atan2f_use=yes
49830 else
49831   glibcxx_cv_func_atan2f_use=no
49832 fi
49833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49834       ac_ext=c
49835 ac_cpp='$CPP $CPPFLAGS'
49836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49839
49840
49841 fi
49842
49843   fi
49844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49845 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49846
49847   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49848     for ac_func in atan2f
49849 do :
49850   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49851 if test "x$ac_cv_func_atan2f" = xyes; then :
49852   cat >>confdefs.h <<_ACEOF
49853 #define HAVE_ATAN2F 1
49854 _ACEOF
49855
49856 fi
49857 done
49858
49859   else
49860
49861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49862 $as_echo_n "checking for _atan2f declaration... " >&6; }
49863   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49864     if ${glibcxx_cv_func__atan2f_use+:} false; then :
49865   $as_echo_n "(cached) " >&6
49866 else
49867
49868
49869       ac_ext=cpp
49870 ac_cpp='$CXXCPP $CPPFLAGS'
49871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874
49875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49876 /* end confdefs.h.  */
49877 #include <math.h>
49878 int
49879 main ()
49880 {
49881  _atan2f(0, 0);
49882   ;
49883   return 0;
49884 }
49885 _ACEOF
49886 if ac_fn_cxx_try_compile "$LINENO"; then :
49887   glibcxx_cv_func__atan2f_use=yes
49888 else
49889   glibcxx_cv_func__atan2f_use=no
49890 fi
49891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49892       ac_ext=c
49893 ac_cpp='$CPP $CPPFLAGS'
49894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49897
49898
49899 fi
49900
49901   fi
49902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49903 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49904
49905     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49906       for ac_func in _atan2f
49907 do :
49908   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49909 if test "x$ac_cv_func__atan2f" = xyes; then :
49910   cat >>confdefs.h <<_ACEOF
49911 #define HAVE__ATAN2F 1
49912 _ACEOF
49913
49914 fi
49915 done
49916
49917     fi
49918   fi
49919
49920
49921
49922
49923
49924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49925 $as_echo_n "checking for fabsf declaration... " >&6; }
49926   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49927     if ${glibcxx_cv_func_fabsf_use+:} false; then :
49928   $as_echo_n "(cached) " >&6
49929 else
49930
49931
49932       ac_ext=cpp
49933 ac_cpp='$CXXCPP $CPPFLAGS'
49934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49937
49938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49939 /* end confdefs.h.  */
49940 #include <math.h>
49941                       #ifdef HAVE_IEEEFP_H
49942                       #include <ieeefp.h>
49943                       #endif
49944
49945 int
49946 main ()
49947 {
49948  fabsf(0);
49949   ;
49950   return 0;
49951 }
49952 _ACEOF
49953 if ac_fn_cxx_try_compile "$LINENO"; then :
49954   glibcxx_cv_func_fabsf_use=yes
49955 else
49956   glibcxx_cv_func_fabsf_use=no
49957 fi
49958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49959       ac_ext=c
49960 ac_cpp='$CPP $CPPFLAGS'
49961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49964
49965
49966 fi
49967
49968   fi
49969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49970 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49971
49972   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49973     for ac_func in fabsf
49974 do :
49975   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49976 if test "x$ac_cv_func_fabsf" = xyes; then :
49977   cat >>confdefs.h <<_ACEOF
49978 #define HAVE_FABSF 1
49979 _ACEOF
49980
49981 fi
49982 done
49983
49984   else
49985
49986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49987 $as_echo_n "checking for _fabsf declaration... " >&6; }
49988   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49989     if ${glibcxx_cv_func__fabsf_use+:} false; then :
49990   $as_echo_n "(cached) " >&6
49991 else
49992
49993
49994       ac_ext=cpp
49995 ac_cpp='$CXXCPP $CPPFLAGS'
49996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999
50000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50001 /* end confdefs.h.  */
50002 #include <math.h>
50003                       #ifdef HAVE_IEEEFP_H
50004                       #include <ieeefp.h>
50005                       #endif
50006
50007 int
50008 main ()
50009 {
50010  _fabsf(0);
50011   ;
50012   return 0;
50013 }
50014 _ACEOF
50015 if ac_fn_cxx_try_compile "$LINENO"; then :
50016   glibcxx_cv_func__fabsf_use=yes
50017 else
50018   glibcxx_cv_func__fabsf_use=no
50019 fi
50020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50021       ac_ext=c
50022 ac_cpp='$CPP $CPPFLAGS'
50023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026
50027
50028 fi
50029
50030   fi
50031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50032 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50033
50034     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50035       for ac_func in _fabsf
50036 do :
50037   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50038 if test "x$ac_cv_func__fabsf" = xyes; then :
50039   cat >>confdefs.h <<_ACEOF
50040 #define HAVE__FABSF 1
50041 _ACEOF
50042
50043 fi
50044 done
50045
50046     fi
50047   fi
50048
50049
50050
50051
50052
50053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50054 $as_echo_n "checking for fmodf declaration... " >&6; }
50055   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50056     if ${glibcxx_cv_func_fmodf_use+:} false; then :
50057   $as_echo_n "(cached) " >&6
50058 else
50059
50060
50061       ac_ext=cpp
50062 ac_cpp='$CXXCPP $CPPFLAGS'
50063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066
50067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50068 /* end confdefs.h.  */
50069 #include <math.h>
50070 int
50071 main ()
50072 {
50073  fmodf(0, 0);
50074   ;
50075   return 0;
50076 }
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079   glibcxx_cv_func_fmodf_use=yes
50080 else
50081   glibcxx_cv_func_fmodf_use=no
50082 fi
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084       ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089
50090
50091 fi
50092
50093   fi
50094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50095 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50096
50097   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50098     for ac_func in fmodf
50099 do :
50100   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50101 if test "x$ac_cv_func_fmodf" = xyes; then :
50102   cat >>confdefs.h <<_ACEOF
50103 #define HAVE_FMODF 1
50104 _ACEOF
50105
50106 fi
50107 done
50108
50109   else
50110
50111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50112 $as_echo_n "checking for _fmodf declaration... " >&6; }
50113   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50114     if ${glibcxx_cv_func__fmodf_use+:} false; then :
50115   $as_echo_n "(cached) " >&6
50116 else
50117
50118
50119       ac_ext=cpp
50120 ac_cpp='$CXXCPP $CPPFLAGS'
50121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124
50125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50126 /* end confdefs.h.  */
50127 #include <math.h>
50128 int
50129 main ()
50130 {
50131  _fmodf(0, 0);
50132   ;
50133   return 0;
50134 }
50135 _ACEOF
50136 if ac_fn_cxx_try_compile "$LINENO"; then :
50137   glibcxx_cv_func__fmodf_use=yes
50138 else
50139   glibcxx_cv_func__fmodf_use=no
50140 fi
50141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50142       ac_ext=c
50143 ac_cpp='$CPP $CPPFLAGS'
50144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147
50148
50149 fi
50150
50151   fi
50152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50153 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50154
50155     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50156       for ac_func in _fmodf
50157 do :
50158   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50159 if test "x$ac_cv_func__fmodf" = xyes; then :
50160   cat >>confdefs.h <<_ACEOF
50161 #define HAVE__FMODF 1
50162 _ACEOF
50163
50164 fi
50165 done
50166
50167     fi
50168   fi
50169
50170
50171
50172
50173
50174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50175 $as_echo_n "checking for frexpf declaration... " >&6; }
50176   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50177     if ${glibcxx_cv_func_frexpf_use+:} false; then :
50178   $as_echo_n "(cached) " >&6
50179 else
50180
50181
50182       ac_ext=cpp
50183 ac_cpp='$CXXCPP $CPPFLAGS'
50184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50187
50188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50189 /* end confdefs.h.  */
50190 #include <math.h>
50191 int
50192 main ()
50193 {
50194  frexpf(0, 0);
50195   ;
50196   return 0;
50197 }
50198 _ACEOF
50199 if ac_fn_cxx_try_compile "$LINENO"; then :
50200   glibcxx_cv_func_frexpf_use=yes
50201 else
50202   glibcxx_cv_func_frexpf_use=no
50203 fi
50204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205       ac_ext=c
50206 ac_cpp='$CPP $CPPFLAGS'
50207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210
50211
50212 fi
50213
50214   fi
50215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50216 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50217
50218   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50219     for ac_func in frexpf
50220 do :
50221   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50222 if test "x$ac_cv_func_frexpf" = xyes; then :
50223   cat >>confdefs.h <<_ACEOF
50224 #define HAVE_FREXPF 1
50225 _ACEOF
50226
50227 fi
50228 done
50229
50230   else
50231
50232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50233 $as_echo_n "checking for _frexpf declaration... " >&6; }
50234   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50235     if ${glibcxx_cv_func__frexpf_use+:} false; then :
50236   $as_echo_n "(cached) " >&6
50237 else
50238
50239
50240       ac_ext=cpp
50241 ac_cpp='$CXXCPP $CPPFLAGS'
50242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245
50246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50247 /* end confdefs.h.  */
50248 #include <math.h>
50249 int
50250 main ()
50251 {
50252  _frexpf(0, 0);
50253   ;
50254   return 0;
50255 }
50256 _ACEOF
50257 if ac_fn_cxx_try_compile "$LINENO"; then :
50258   glibcxx_cv_func__frexpf_use=yes
50259 else
50260   glibcxx_cv_func__frexpf_use=no
50261 fi
50262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50263       ac_ext=c
50264 ac_cpp='$CPP $CPPFLAGS'
50265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50268
50269
50270 fi
50271
50272   fi
50273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50274 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50275
50276     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50277       for ac_func in _frexpf
50278 do :
50279   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50280 if test "x$ac_cv_func__frexpf" = xyes; then :
50281   cat >>confdefs.h <<_ACEOF
50282 #define HAVE__FREXPF 1
50283 _ACEOF
50284
50285 fi
50286 done
50287
50288     fi
50289   fi
50290
50291
50292
50293
50294
50295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50296 $as_echo_n "checking for hypotf declaration... " >&6; }
50297   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50298     if ${glibcxx_cv_func_hypotf_use+:} false; 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 <math.h>
50312 int
50313 main ()
50314 {
50315  hypotf(0, 0);
50316   ;
50317   return 0;
50318 }
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321   glibcxx_cv_func_hypotf_use=yes
50322 else
50323   glibcxx_cv_func_hypotf_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_hypotf_use" >&5
50337 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50338
50339   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50340     for ac_func in hypotf
50341 do :
50342   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50343 if test "x$ac_cv_func_hypotf" = xyes; then :
50344   cat >>confdefs.h <<_ACEOF
50345 #define HAVE_HYPOTF 1
50346 _ACEOF
50347
50348 fi
50349 done
50350
50351   else
50352
50353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50354 $as_echo_n "checking for _hypotf declaration... " >&6; }
50355   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50356     if ${glibcxx_cv_func__hypotf_use+:} false; then :
50357   $as_echo_n "(cached) " >&6
50358 else
50359
50360
50361       ac_ext=cpp
50362 ac_cpp='$CXXCPP $CPPFLAGS'
50363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366
50367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50368 /* end confdefs.h.  */
50369 #include <math.h>
50370 int
50371 main ()
50372 {
50373  _hypotf(0, 0);
50374   ;
50375   return 0;
50376 }
50377 _ACEOF
50378 if ac_fn_cxx_try_compile "$LINENO"; then :
50379   glibcxx_cv_func__hypotf_use=yes
50380 else
50381   glibcxx_cv_func__hypotf_use=no
50382 fi
50383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50384       ac_ext=c
50385 ac_cpp='$CPP $CPPFLAGS'
50386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50389
50390
50391 fi
50392
50393   fi
50394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50395 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50396
50397     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50398       for ac_func in _hypotf
50399 do :
50400   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50401 if test "x$ac_cv_func__hypotf" = xyes; then :
50402   cat >>confdefs.h <<_ACEOF
50403 #define HAVE__HYPOTF 1
50404 _ACEOF
50405
50406 fi
50407 done
50408
50409     fi
50410   fi
50411
50412
50413
50414
50415
50416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50417 $as_echo_n "checking for ldexpf declaration... " >&6; }
50418   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50419     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50420   $as_echo_n "(cached) " >&6
50421 else
50422
50423
50424       ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50429
50430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h.  */
50432 #include <math.h>
50433 int
50434 main ()
50435 {
50436  ldexpf(0, 0);
50437   ;
50438   return 0;
50439 }
50440 _ACEOF
50441 if ac_fn_cxx_try_compile "$LINENO"; then :
50442   glibcxx_cv_func_ldexpf_use=yes
50443 else
50444   glibcxx_cv_func_ldexpf_use=no
50445 fi
50446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50447       ac_ext=c
50448 ac_cpp='$CPP $CPPFLAGS'
50449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50452
50453
50454 fi
50455
50456   fi
50457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50458 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50459
50460   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50461     for ac_func in ldexpf
50462 do :
50463   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50464 if test "x$ac_cv_func_ldexpf" = xyes; then :
50465   cat >>confdefs.h <<_ACEOF
50466 #define HAVE_LDEXPF 1
50467 _ACEOF
50468
50469 fi
50470 done
50471
50472   else
50473
50474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50475 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50476   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50477     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50478   $as_echo_n "(cached) " >&6
50479 else
50480
50481
50482       ac_ext=cpp
50483 ac_cpp='$CXXCPP $CPPFLAGS'
50484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50487
50488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50489 /* end confdefs.h.  */
50490 #include <math.h>
50491 int
50492 main ()
50493 {
50494  _ldexpf(0, 0);
50495   ;
50496   return 0;
50497 }
50498 _ACEOF
50499 if ac_fn_cxx_try_compile "$LINENO"; then :
50500   glibcxx_cv_func__ldexpf_use=yes
50501 else
50502   glibcxx_cv_func__ldexpf_use=no
50503 fi
50504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50505       ac_ext=c
50506 ac_cpp='$CPP $CPPFLAGS'
50507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50510
50511
50512 fi
50513
50514   fi
50515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50516 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50517
50518     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50519       for ac_func in _ldexpf
50520 do :
50521   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50522 if test "x$ac_cv_func__ldexpf" = xyes; then :
50523   cat >>confdefs.h <<_ACEOF
50524 #define HAVE__LDEXPF 1
50525 _ACEOF
50526
50527 fi
50528 done
50529
50530     fi
50531   fi
50532
50533
50534
50535
50536
50537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50538 $as_echo_n "checking for logf declaration... " >&6; }
50539   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50540     if ${glibcxx_cv_func_logf_use+:} false; then :
50541   $as_echo_n "(cached) " >&6
50542 else
50543
50544
50545       ac_ext=cpp
50546 ac_cpp='$CXXCPP $CPPFLAGS'
50547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50550
50551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50552 /* end confdefs.h.  */
50553 #include <math.h>
50554                       #ifdef HAVE_IEEEFP_H
50555                       #include <ieeefp.h>
50556                       #endif
50557
50558 int
50559 main ()
50560 {
50561  logf(0);
50562   ;
50563   return 0;
50564 }
50565 _ACEOF
50566 if ac_fn_cxx_try_compile "$LINENO"; then :
50567   glibcxx_cv_func_logf_use=yes
50568 else
50569   glibcxx_cv_func_logf_use=no
50570 fi
50571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50572       ac_ext=c
50573 ac_cpp='$CPP $CPPFLAGS'
50574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577
50578
50579 fi
50580
50581   fi
50582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50583 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50584
50585   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50586     for ac_func in logf
50587 do :
50588   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50589 if test "x$ac_cv_func_logf" = xyes; then :
50590   cat >>confdefs.h <<_ACEOF
50591 #define HAVE_LOGF 1
50592 _ACEOF
50593
50594 fi
50595 done
50596
50597   else
50598
50599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50600 $as_echo_n "checking for _logf declaration... " >&6; }
50601   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50602     if ${glibcxx_cv_func__logf_use+:} false; then :
50603   $as_echo_n "(cached) " >&6
50604 else
50605
50606
50607       ac_ext=cpp
50608 ac_cpp='$CXXCPP $CPPFLAGS'
50609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50612
50613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50614 /* end confdefs.h.  */
50615 #include <math.h>
50616                       #ifdef HAVE_IEEEFP_H
50617                       #include <ieeefp.h>
50618                       #endif
50619
50620 int
50621 main ()
50622 {
50623  _logf(0);
50624   ;
50625   return 0;
50626 }
50627 _ACEOF
50628 if ac_fn_cxx_try_compile "$LINENO"; then :
50629   glibcxx_cv_func__logf_use=yes
50630 else
50631   glibcxx_cv_func__logf_use=no
50632 fi
50633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50634       ac_ext=c
50635 ac_cpp='$CPP $CPPFLAGS'
50636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50639
50640
50641 fi
50642
50643   fi
50644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50645 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50646
50647     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50648       for ac_func in _logf
50649 do :
50650   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50651 if test "x$ac_cv_func__logf" = xyes; then :
50652   cat >>confdefs.h <<_ACEOF
50653 #define HAVE__LOGF 1
50654 _ACEOF
50655
50656 fi
50657 done
50658
50659     fi
50660   fi
50661
50662
50663
50664
50665
50666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50667 $as_echo_n "checking for log10f declaration... " >&6; }
50668   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50669     if ${glibcxx_cv_func_log10f_use+:} false; then :
50670   $as_echo_n "(cached) " >&6
50671 else
50672
50673
50674       ac_ext=cpp
50675 ac_cpp='$CXXCPP $CPPFLAGS'
50676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50679
50680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50681 /* end confdefs.h.  */
50682 #include <math.h>
50683                       #ifdef HAVE_IEEEFP_H
50684                       #include <ieeefp.h>
50685                       #endif
50686
50687 int
50688 main ()
50689 {
50690  log10f(0);
50691   ;
50692   return 0;
50693 }
50694 _ACEOF
50695 if ac_fn_cxx_try_compile "$LINENO"; then :
50696   glibcxx_cv_func_log10f_use=yes
50697 else
50698   glibcxx_cv_func_log10f_use=no
50699 fi
50700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50701       ac_ext=c
50702 ac_cpp='$CPP $CPPFLAGS'
50703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50706
50707
50708 fi
50709
50710   fi
50711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50712 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50713
50714   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50715     for ac_func in log10f
50716 do :
50717   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50718 if test "x$ac_cv_func_log10f" = xyes; then :
50719   cat >>confdefs.h <<_ACEOF
50720 #define HAVE_LOG10F 1
50721 _ACEOF
50722
50723 fi
50724 done
50725
50726   else
50727
50728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50729 $as_echo_n "checking for _log10f declaration... " >&6; }
50730   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50731     if ${glibcxx_cv_func__log10f_use+:} false; then :
50732   $as_echo_n "(cached) " >&6
50733 else
50734
50735
50736       ac_ext=cpp
50737 ac_cpp='$CXXCPP $CPPFLAGS'
50738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50741
50742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50743 /* end confdefs.h.  */
50744 #include <math.h>
50745                       #ifdef HAVE_IEEEFP_H
50746                       #include <ieeefp.h>
50747                       #endif
50748
50749 int
50750 main ()
50751 {
50752  _log10f(0);
50753   ;
50754   return 0;
50755 }
50756 _ACEOF
50757 if ac_fn_cxx_try_compile "$LINENO"; then :
50758   glibcxx_cv_func__log10f_use=yes
50759 else
50760   glibcxx_cv_func__log10f_use=no
50761 fi
50762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50763       ac_ext=c
50764 ac_cpp='$CPP $CPPFLAGS'
50765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50768
50769
50770 fi
50771
50772   fi
50773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50774 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50775
50776     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50777       for ac_func in _log10f
50778 do :
50779   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50780 if test "x$ac_cv_func__log10f" = xyes; then :
50781   cat >>confdefs.h <<_ACEOF
50782 #define HAVE__LOG10F 1
50783 _ACEOF
50784
50785 fi
50786 done
50787
50788     fi
50789   fi
50790
50791
50792
50793
50794
50795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50796 $as_echo_n "checking for modff declaration... " >&6; }
50797   if test x${glibcxx_cv_func_modff_use+set} != xset; then
50798     if ${glibcxx_cv_func_modff_use+:} false; then :
50799   $as_echo_n "(cached) " >&6
50800 else
50801
50802
50803       ac_ext=cpp
50804 ac_cpp='$CXXCPP $CPPFLAGS'
50805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50808
50809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50810 /* end confdefs.h.  */
50811 #include <math.h>
50812 int
50813 main ()
50814 {
50815  modff(0, 0);
50816   ;
50817   return 0;
50818 }
50819 _ACEOF
50820 if ac_fn_cxx_try_compile "$LINENO"; then :
50821   glibcxx_cv_func_modff_use=yes
50822 else
50823   glibcxx_cv_func_modff_use=no
50824 fi
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826       ac_ext=c
50827 ac_cpp='$CPP $CPPFLAGS'
50828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50831
50832
50833 fi
50834
50835   fi
50836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50837 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50838
50839   if test x$glibcxx_cv_func_modff_use = x"yes"; then
50840     for ac_func in modff
50841 do :
50842   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50843 if test "x$ac_cv_func_modff" = xyes; then :
50844   cat >>confdefs.h <<_ACEOF
50845 #define HAVE_MODFF 1
50846 _ACEOF
50847
50848 fi
50849 done
50850
50851   else
50852
50853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50854 $as_echo_n "checking for _modff declaration... " >&6; }
50855   if test x${glibcxx_cv_func__modff_use+set} != xset; then
50856     if ${glibcxx_cv_func__modff_use+:} false; then :
50857   $as_echo_n "(cached) " >&6
50858 else
50859
50860
50861       ac_ext=cpp
50862 ac_cpp='$CXXCPP $CPPFLAGS'
50863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866
50867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50868 /* end confdefs.h.  */
50869 #include <math.h>
50870 int
50871 main ()
50872 {
50873  _modff(0, 0);
50874   ;
50875   return 0;
50876 }
50877 _ACEOF
50878 if ac_fn_cxx_try_compile "$LINENO"; then :
50879   glibcxx_cv_func__modff_use=yes
50880 else
50881   glibcxx_cv_func__modff_use=no
50882 fi
50883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50884       ac_ext=c
50885 ac_cpp='$CPP $CPPFLAGS'
50886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50889
50890
50891 fi
50892
50893   fi
50894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50895 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50896
50897     if test x$glibcxx_cv_func__modff_use = x"yes"; then
50898       for ac_func in _modff
50899 do :
50900   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50901 if test "x$ac_cv_func__modff" = xyes; then :
50902   cat >>confdefs.h <<_ACEOF
50903 #define HAVE__MODFF 1
50904 _ACEOF
50905
50906 fi
50907 done
50908
50909     fi
50910   fi
50911
50912
50913
50914
50915
50916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50917 $as_echo_n "checking for modf declaration... " >&6; }
50918   if test x${glibcxx_cv_func_modf_use+set} != xset; then
50919     if ${glibcxx_cv_func_modf_use+:} false; then :
50920   $as_echo_n "(cached) " >&6
50921 else
50922
50923
50924       ac_ext=cpp
50925 ac_cpp='$CXXCPP $CPPFLAGS'
50926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50929
50930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50931 /* end confdefs.h.  */
50932 #include <math.h>
50933 int
50934 main ()
50935 {
50936  modf(0, 0);
50937   ;
50938   return 0;
50939 }
50940 _ACEOF
50941 if ac_fn_cxx_try_compile "$LINENO"; then :
50942   glibcxx_cv_func_modf_use=yes
50943 else
50944   glibcxx_cv_func_modf_use=no
50945 fi
50946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50947       ac_ext=c
50948 ac_cpp='$CPP $CPPFLAGS'
50949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50952
50953
50954 fi
50955
50956   fi
50957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50958 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50959
50960   if test x$glibcxx_cv_func_modf_use = x"yes"; then
50961     for ac_func in modf
50962 do :
50963   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50964 if test "x$ac_cv_func_modf" = xyes; then :
50965   cat >>confdefs.h <<_ACEOF
50966 #define HAVE_MODF 1
50967 _ACEOF
50968
50969 fi
50970 done
50971
50972   else
50973
50974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50975 $as_echo_n "checking for _modf declaration... " >&6; }
50976   if test x${glibcxx_cv_func__modf_use+set} != xset; then
50977     if ${glibcxx_cv_func__modf_use+:} false; then :
50978   $as_echo_n "(cached) " >&6
50979 else
50980
50981
50982       ac_ext=cpp
50983 ac_cpp='$CXXCPP $CPPFLAGS'
50984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987
50988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50989 /* end confdefs.h.  */
50990 #include <math.h>
50991 int
50992 main ()
50993 {
50994  _modf(0, 0);
50995   ;
50996   return 0;
50997 }
50998 _ACEOF
50999 if ac_fn_cxx_try_compile "$LINENO"; then :
51000   glibcxx_cv_func__modf_use=yes
51001 else
51002   glibcxx_cv_func__modf_use=no
51003 fi
51004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51005       ac_ext=c
51006 ac_cpp='$CPP $CPPFLAGS'
51007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51010
51011
51012 fi
51013
51014   fi
51015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51016 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51017
51018     if test x$glibcxx_cv_func__modf_use = x"yes"; then
51019       for ac_func in _modf
51020 do :
51021   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51022 if test "x$ac_cv_func__modf" = xyes; then :
51023   cat >>confdefs.h <<_ACEOF
51024 #define HAVE__MODF 1
51025 _ACEOF
51026
51027 fi
51028 done
51029
51030     fi
51031   fi
51032
51033
51034
51035
51036
51037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51038 $as_echo_n "checking for powf declaration... " >&6; }
51039   if test x${glibcxx_cv_func_powf_use+set} != xset; then
51040     if ${glibcxx_cv_func_powf_use+:} false; then :
51041   $as_echo_n "(cached) " >&6
51042 else
51043
51044
51045       ac_ext=cpp
51046 ac_cpp='$CXXCPP $CPPFLAGS'
51047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51050
51051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51052 /* end confdefs.h.  */
51053 #include <math.h>
51054 int
51055 main ()
51056 {
51057  powf(0, 0);
51058   ;
51059   return 0;
51060 }
51061 _ACEOF
51062 if ac_fn_cxx_try_compile "$LINENO"; then :
51063   glibcxx_cv_func_powf_use=yes
51064 else
51065   glibcxx_cv_func_powf_use=no
51066 fi
51067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51068       ac_ext=c
51069 ac_cpp='$CPP $CPPFLAGS'
51070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51073
51074
51075 fi
51076
51077   fi
51078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51079 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51080
51081   if test x$glibcxx_cv_func_powf_use = x"yes"; then
51082     for ac_func in powf
51083 do :
51084   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51085 if test "x$ac_cv_func_powf" = xyes; then :
51086   cat >>confdefs.h <<_ACEOF
51087 #define HAVE_POWF 1
51088 _ACEOF
51089
51090 fi
51091 done
51092
51093   else
51094
51095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51096 $as_echo_n "checking for _powf declaration... " >&6; }
51097   if test x${glibcxx_cv_func__powf_use+set} != xset; then
51098     if ${glibcxx_cv_func__powf_use+:} false; then :
51099   $as_echo_n "(cached) " >&6
51100 else
51101
51102
51103       ac_ext=cpp
51104 ac_cpp='$CXXCPP $CPPFLAGS'
51105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51108
51109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51110 /* end confdefs.h.  */
51111 #include <math.h>
51112 int
51113 main ()
51114 {
51115  _powf(0, 0);
51116   ;
51117   return 0;
51118 }
51119 _ACEOF
51120 if ac_fn_cxx_try_compile "$LINENO"; then :
51121   glibcxx_cv_func__powf_use=yes
51122 else
51123   glibcxx_cv_func__powf_use=no
51124 fi
51125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51126       ac_ext=c
51127 ac_cpp='$CPP $CPPFLAGS'
51128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51131
51132
51133 fi
51134
51135   fi
51136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51137 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51138
51139     if test x$glibcxx_cv_func__powf_use = x"yes"; then
51140       for ac_func in _powf
51141 do :
51142   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51143 if test "x$ac_cv_func__powf" = xyes; then :
51144   cat >>confdefs.h <<_ACEOF
51145 #define HAVE__POWF 1
51146 _ACEOF
51147
51148 fi
51149 done
51150
51151     fi
51152   fi
51153
51154
51155
51156
51157
51158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51159 $as_echo_n "checking for sqrtf declaration... " >&6; }
51160   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51161     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51162   $as_echo_n "(cached) " >&6
51163 else
51164
51165
51166       ac_ext=cpp
51167 ac_cpp='$CXXCPP $CPPFLAGS'
51168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51171
51172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51173 /* end confdefs.h.  */
51174 #include <math.h>
51175                       #ifdef HAVE_IEEEFP_H
51176                       #include <ieeefp.h>
51177                       #endif
51178
51179 int
51180 main ()
51181 {
51182  sqrtf(0);
51183   ;
51184   return 0;
51185 }
51186 _ACEOF
51187 if ac_fn_cxx_try_compile "$LINENO"; then :
51188   glibcxx_cv_func_sqrtf_use=yes
51189 else
51190   glibcxx_cv_func_sqrtf_use=no
51191 fi
51192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51193       ac_ext=c
51194 ac_cpp='$CPP $CPPFLAGS'
51195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51198
51199
51200 fi
51201
51202   fi
51203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51204 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51205
51206   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51207     for ac_func in sqrtf
51208 do :
51209   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51210 if test "x$ac_cv_func_sqrtf" = xyes; then :
51211   cat >>confdefs.h <<_ACEOF
51212 #define HAVE_SQRTF 1
51213 _ACEOF
51214
51215 fi
51216 done
51217
51218   else
51219
51220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51221 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51222   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51223     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51224   $as_echo_n "(cached) " >&6
51225 else
51226
51227
51228       ac_ext=cpp
51229 ac_cpp='$CXXCPP $CPPFLAGS'
51230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51233
51234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51235 /* end confdefs.h.  */
51236 #include <math.h>
51237                       #ifdef HAVE_IEEEFP_H
51238                       #include <ieeefp.h>
51239                       #endif
51240
51241 int
51242 main ()
51243 {
51244  _sqrtf(0);
51245   ;
51246   return 0;
51247 }
51248 _ACEOF
51249 if ac_fn_cxx_try_compile "$LINENO"; then :
51250   glibcxx_cv_func__sqrtf_use=yes
51251 else
51252   glibcxx_cv_func__sqrtf_use=no
51253 fi
51254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51255       ac_ext=c
51256 ac_cpp='$CPP $CPPFLAGS'
51257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51260
51261
51262 fi
51263
51264   fi
51265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51266 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51267
51268     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51269       for ac_func in _sqrtf
51270 do :
51271   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51272 if test "x$ac_cv_func__sqrtf" = xyes; then :
51273   cat >>confdefs.h <<_ACEOF
51274 #define HAVE__SQRTF 1
51275 _ACEOF
51276
51277 fi
51278 done
51279
51280     fi
51281   fi
51282
51283
51284
51285
51286
51287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51288 $as_echo_n "checking for sincosf declaration... " >&6; }
51289   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51290     if ${glibcxx_cv_func_sincosf_use+:} false; then :
51291   $as_echo_n "(cached) " >&6
51292 else
51293
51294
51295       ac_ext=cpp
51296 ac_cpp='$CXXCPP $CPPFLAGS'
51297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51300
51301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51302 /* end confdefs.h.  */
51303 #include <math.h>
51304 int
51305 main ()
51306 {
51307  sincosf(0, 0, 0);
51308   ;
51309   return 0;
51310 }
51311 _ACEOF
51312 if ac_fn_cxx_try_compile "$LINENO"; then :
51313   glibcxx_cv_func_sincosf_use=yes
51314 else
51315   glibcxx_cv_func_sincosf_use=no
51316 fi
51317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51318       ac_ext=c
51319 ac_cpp='$CPP $CPPFLAGS'
51320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51323
51324
51325 fi
51326
51327   fi
51328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51329 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51330
51331   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51332     for ac_func in sincosf
51333 do :
51334   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51335 if test "x$ac_cv_func_sincosf" = xyes; then :
51336   cat >>confdefs.h <<_ACEOF
51337 #define HAVE_SINCOSF 1
51338 _ACEOF
51339
51340 fi
51341 done
51342
51343   else
51344
51345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51346 $as_echo_n "checking for _sincosf declaration... " >&6; }
51347   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51348     if ${glibcxx_cv_func__sincosf_use+:} false; then :
51349   $as_echo_n "(cached) " >&6
51350 else
51351
51352
51353       ac_ext=cpp
51354 ac_cpp='$CXXCPP $CPPFLAGS'
51355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51358
51359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h.  */
51361 #include <math.h>
51362 int
51363 main ()
51364 {
51365  _sincosf(0, 0, 0);
51366   ;
51367   return 0;
51368 }
51369 _ACEOF
51370 if ac_fn_cxx_try_compile "$LINENO"; then :
51371   glibcxx_cv_func__sincosf_use=yes
51372 else
51373   glibcxx_cv_func__sincosf_use=no
51374 fi
51375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51376       ac_ext=c
51377 ac_cpp='$CPP $CPPFLAGS'
51378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51381
51382
51383 fi
51384
51385   fi
51386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51387 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51388
51389     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51390       for ac_func in _sincosf
51391 do :
51392   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51393 if test "x$ac_cv_func__sincosf" = xyes; then :
51394   cat >>confdefs.h <<_ACEOF
51395 #define HAVE__SINCOSF 1
51396 _ACEOF
51397
51398 fi
51399 done
51400
51401     fi
51402   fi
51403
51404
51405
51406
51407
51408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51409 $as_echo_n "checking for finitef declaration... " >&6; }
51410   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51411     if ${glibcxx_cv_func_finitef_use+:} false; then :
51412   $as_echo_n "(cached) " >&6
51413 else
51414
51415
51416       ac_ext=cpp
51417 ac_cpp='$CXXCPP $CPPFLAGS'
51418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421
51422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51423 /* end confdefs.h.  */
51424 #include <math.h>
51425                       #ifdef HAVE_IEEEFP_H
51426                       #include <ieeefp.h>
51427                       #endif
51428
51429 int
51430 main ()
51431 {
51432  finitef(0);
51433   ;
51434   return 0;
51435 }
51436 _ACEOF
51437 if ac_fn_cxx_try_compile "$LINENO"; then :
51438   glibcxx_cv_func_finitef_use=yes
51439 else
51440   glibcxx_cv_func_finitef_use=no
51441 fi
51442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51443       ac_ext=c
51444 ac_cpp='$CPP $CPPFLAGS'
51445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51448
51449
51450 fi
51451
51452   fi
51453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51454 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51455
51456   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51457     for ac_func in finitef
51458 do :
51459   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51460 if test "x$ac_cv_func_finitef" = xyes; then :
51461   cat >>confdefs.h <<_ACEOF
51462 #define HAVE_FINITEF 1
51463 _ACEOF
51464
51465 fi
51466 done
51467
51468   else
51469
51470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51471 $as_echo_n "checking for _finitef declaration... " >&6; }
51472   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51473     if ${glibcxx_cv_func__finitef_use+:} false; then :
51474   $as_echo_n "(cached) " >&6
51475 else
51476
51477
51478       ac_ext=cpp
51479 ac_cpp='$CXXCPP $CPPFLAGS'
51480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51483
51484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51485 /* end confdefs.h.  */
51486 #include <math.h>
51487                       #ifdef HAVE_IEEEFP_H
51488                       #include <ieeefp.h>
51489                       #endif
51490
51491 int
51492 main ()
51493 {
51494  _finitef(0);
51495   ;
51496   return 0;
51497 }
51498 _ACEOF
51499 if ac_fn_cxx_try_compile "$LINENO"; then :
51500   glibcxx_cv_func__finitef_use=yes
51501 else
51502   glibcxx_cv_func__finitef_use=no
51503 fi
51504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51505       ac_ext=c
51506 ac_cpp='$CPP $CPPFLAGS'
51507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51510
51511
51512 fi
51513
51514   fi
51515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51516 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51517
51518     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51519       for ac_func in _finitef
51520 do :
51521   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51522 if test "x$ac_cv_func__finitef" = xyes; then :
51523   cat >>confdefs.h <<_ACEOF
51524 #define HAVE__FINITEF 1
51525 _ACEOF
51526
51527 fi
51528 done
51529
51530     fi
51531   fi
51532
51533
51534
51535
51536
51537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51538 $as_echo_n "checking for long double trig functions... " >&6; }
51539   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51540   $as_echo_n "(cached) " >&6
51541 else
51542
51543
51544     ac_ext=cpp
51545 ac_cpp='$CXXCPP $CPPFLAGS'
51546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549
51550     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51551 /* end confdefs.h.  */
51552 #include <math.h>
51553 int
51554 main ()
51555 {
51556 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51557   ;
51558   return 0;
51559 }
51560 _ACEOF
51561 if ac_fn_cxx_try_compile "$LINENO"; then :
51562   glibcxx_cv_func_long_double_trig_use=yes
51563 else
51564   glibcxx_cv_func_long_double_trig_use=no
51565 fi
51566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51567     ac_ext=c
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51572
51573 fi
51574
51575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51576 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51577   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51578     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51579 do :
51580   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51583   cat >>confdefs.h <<_ACEOF
51584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51585 _ACEOF
51586
51587 fi
51588 done
51589
51590   else
51591     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51592 $as_echo_n "checking for _long double trig functions... " >&6; }
51593     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51594   $as_echo_n "(cached) " >&6
51595 else
51596
51597
51598       ac_ext=cpp
51599 ac_cpp='$CXXCPP $CPPFLAGS'
51600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51603
51604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51605 /* end confdefs.h.  */
51606 #include <math.h>
51607 int
51608 main ()
51609 {
51610 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51611   ;
51612   return 0;
51613 }
51614 _ACEOF
51615 if ac_fn_cxx_try_compile "$LINENO"; then :
51616   glibcxx_cv_func__long_double_trig_use=yes
51617 else
51618   glibcxx_cv_func__long_double_trig_use=no
51619 fi
51620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51621       ac_ext=c
51622 ac_cpp='$CPP $CPPFLAGS'
51623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51626
51627 fi
51628
51629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51630 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51631     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51632       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51633 do :
51634   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51637   cat >>confdefs.h <<_ACEOF
51638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51639 _ACEOF
51640
51641 fi
51642 done
51643
51644     fi
51645   fi
51646
51647
51648
51649
51650
51651     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51652 $as_echo_n "checking for long double round functions... " >&6; }
51653   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51654   $as_echo_n "(cached) " >&6
51655 else
51656
51657
51658     ac_ext=cpp
51659 ac_cpp='$CXXCPP $CPPFLAGS'
51660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51663
51664     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51665 /* end confdefs.h.  */
51666 #include <math.h>
51667 int
51668 main ()
51669 {
51670 ceill (0); floorl (0);
51671   ;
51672   return 0;
51673 }
51674 _ACEOF
51675 if ac_fn_cxx_try_compile "$LINENO"; then :
51676   glibcxx_cv_func_long_double_round_use=yes
51677 else
51678   glibcxx_cv_func_long_double_round_use=no
51679 fi
51680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51681     ac_ext=c
51682 ac_cpp='$CPP $CPPFLAGS'
51683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51686
51687 fi
51688
51689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51690 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51691   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51692     for ac_func in ceill floorl
51693 do :
51694   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51696 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51697   cat >>confdefs.h <<_ACEOF
51698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51699 _ACEOF
51700
51701 fi
51702 done
51703
51704   else
51705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51706 $as_echo_n "checking for _long double round functions... " >&6; }
51707     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51708   $as_echo_n "(cached) " >&6
51709 else
51710
51711
51712       ac_ext=cpp
51713 ac_cpp='$CXXCPP $CPPFLAGS'
51714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51717
51718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51719 /* end confdefs.h.  */
51720 #include <math.h>
51721 int
51722 main ()
51723 {
51724 _ceill (0); _floorl (0);
51725   ;
51726   return 0;
51727 }
51728 _ACEOF
51729 if ac_fn_cxx_try_compile "$LINENO"; then :
51730   glibcxx_cv_func__long_double_round_use=yes
51731 else
51732   glibcxx_cv_func__long_double_round_use=no
51733 fi
51734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51735       ac_ext=c
51736 ac_cpp='$CPP $CPPFLAGS'
51737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51740
51741 fi
51742
51743     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51744 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51745     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51746       for ac_func in _ceill _floorl
51747 do :
51748   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51750 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51751   cat >>confdefs.h <<_ACEOF
51752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51753 _ACEOF
51754
51755 fi
51756 done
51757
51758     fi
51759   fi
51760
51761
51762
51763
51764
51765
51766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51767 $as_echo_n "checking for isnanl declaration... " >&6; }
51768   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51769     if ${glibcxx_cv_func_isnanl_use+:} false; then :
51770   $as_echo_n "(cached) " >&6
51771 else
51772
51773
51774       ac_ext=cpp
51775 ac_cpp='$CXXCPP $CPPFLAGS'
51776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51779
51780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51781 /* end confdefs.h.  */
51782 #include <math.h>
51783                       #ifdef HAVE_IEEEFP_H
51784                       #include <ieeefp.h>
51785                       #endif
51786
51787 int
51788 main ()
51789 {
51790  isnanl(0);
51791   ;
51792   return 0;
51793 }
51794 _ACEOF
51795 if ac_fn_cxx_try_compile "$LINENO"; then :
51796   glibcxx_cv_func_isnanl_use=yes
51797 else
51798   glibcxx_cv_func_isnanl_use=no
51799 fi
51800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51801       ac_ext=c
51802 ac_cpp='$CPP $CPPFLAGS'
51803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51806
51807
51808 fi
51809
51810   fi
51811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51812 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51813
51814   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51815     for ac_func in isnanl
51816 do :
51817   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51818 if test "x$ac_cv_func_isnanl" = xyes; then :
51819   cat >>confdefs.h <<_ACEOF
51820 #define HAVE_ISNANL 1
51821 _ACEOF
51822
51823 fi
51824 done
51825
51826   else
51827
51828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51829 $as_echo_n "checking for _isnanl declaration... " >&6; }
51830   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51831     if ${glibcxx_cv_func__isnanl_use+:} false; then :
51832   $as_echo_n "(cached) " >&6
51833 else
51834
51835
51836       ac_ext=cpp
51837 ac_cpp='$CXXCPP $CPPFLAGS'
51838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841
51842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51843 /* end confdefs.h.  */
51844 #include <math.h>
51845                       #ifdef HAVE_IEEEFP_H
51846                       #include <ieeefp.h>
51847                       #endif
51848
51849 int
51850 main ()
51851 {
51852  _isnanl(0);
51853   ;
51854   return 0;
51855 }
51856 _ACEOF
51857 if ac_fn_cxx_try_compile "$LINENO"; then :
51858   glibcxx_cv_func__isnanl_use=yes
51859 else
51860   glibcxx_cv_func__isnanl_use=no
51861 fi
51862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51863       ac_ext=c
51864 ac_cpp='$CPP $CPPFLAGS'
51865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51868
51869
51870 fi
51871
51872   fi
51873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51874 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51875
51876     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51877       for ac_func in _isnanl
51878 do :
51879   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51880 if test "x$ac_cv_func__isnanl" = xyes; then :
51881   cat >>confdefs.h <<_ACEOF
51882 #define HAVE__ISNANL 1
51883 _ACEOF
51884
51885 fi
51886 done
51887
51888     fi
51889   fi
51890
51891
51892
51893
51894
51895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51896 $as_echo_n "checking for isinfl declaration... " >&6; }
51897   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51898     if ${glibcxx_cv_func_isinfl_use+:} false; then :
51899   $as_echo_n "(cached) " >&6
51900 else
51901
51902
51903       ac_ext=cpp
51904 ac_cpp='$CXXCPP $CPPFLAGS'
51905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51908
51909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51910 /* end confdefs.h.  */
51911 #include <math.h>
51912                       #ifdef HAVE_IEEEFP_H
51913                       #include <ieeefp.h>
51914                       #endif
51915
51916 int
51917 main ()
51918 {
51919  isinfl(0);
51920   ;
51921   return 0;
51922 }
51923 _ACEOF
51924 if ac_fn_cxx_try_compile "$LINENO"; then :
51925   glibcxx_cv_func_isinfl_use=yes
51926 else
51927   glibcxx_cv_func_isinfl_use=no
51928 fi
51929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51930       ac_ext=c
51931 ac_cpp='$CPP $CPPFLAGS'
51932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51935
51936
51937 fi
51938
51939   fi
51940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51941 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51942
51943   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51944     for ac_func in isinfl
51945 do :
51946   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51947 if test "x$ac_cv_func_isinfl" = xyes; then :
51948   cat >>confdefs.h <<_ACEOF
51949 #define HAVE_ISINFL 1
51950 _ACEOF
51951
51952 fi
51953 done
51954
51955   else
51956
51957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51958 $as_echo_n "checking for _isinfl declaration... " >&6; }
51959   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51960     if ${glibcxx_cv_func__isinfl_use+:} false; then :
51961   $as_echo_n "(cached) " >&6
51962 else
51963
51964
51965       ac_ext=cpp
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51970
51971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51972 /* end confdefs.h.  */
51973 #include <math.h>
51974                       #ifdef HAVE_IEEEFP_H
51975                       #include <ieeefp.h>
51976                       #endif
51977
51978 int
51979 main ()
51980 {
51981  _isinfl(0);
51982   ;
51983   return 0;
51984 }
51985 _ACEOF
51986 if ac_fn_cxx_try_compile "$LINENO"; then :
51987   glibcxx_cv_func__isinfl_use=yes
51988 else
51989   glibcxx_cv_func__isinfl_use=no
51990 fi
51991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51992       ac_ext=c
51993 ac_cpp='$CPP $CPPFLAGS'
51994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997
51998
51999 fi
52000
52001   fi
52002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52003 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52004
52005     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52006       for ac_func in _isinfl
52007 do :
52008   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52009 if test "x$ac_cv_func__isinfl" = xyes; then :
52010   cat >>confdefs.h <<_ACEOF
52011 #define HAVE__ISINFL 1
52012 _ACEOF
52013
52014 fi
52015 done
52016
52017     fi
52018   fi
52019
52020
52021
52022
52023
52024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52025 $as_echo_n "checking for atan2l declaration... " >&6; }
52026   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52027     if ${glibcxx_cv_func_atan2l_use+:} false; then :
52028   $as_echo_n "(cached) " >&6
52029 else
52030
52031
52032       ac_ext=cpp
52033 ac_cpp='$CXXCPP $CPPFLAGS'
52034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52037
52038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52039 /* end confdefs.h.  */
52040 #include <math.h>
52041 int
52042 main ()
52043 {
52044  atan2l(0, 0);
52045   ;
52046   return 0;
52047 }
52048 _ACEOF
52049 if ac_fn_cxx_try_compile "$LINENO"; then :
52050   glibcxx_cv_func_atan2l_use=yes
52051 else
52052   glibcxx_cv_func_atan2l_use=no
52053 fi
52054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52055       ac_ext=c
52056 ac_cpp='$CPP $CPPFLAGS'
52057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52060
52061
52062 fi
52063
52064   fi
52065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52066 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52067
52068   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52069     for ac_func in atan2l
52070 do :
52071   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52072 if test "x$ac_cv_func_atan2l" = xyes; then :
52073   cat >>confdefs.h <<_ACEOF
52074 #define HAVE_ATAN2L 1
52075 _ACEOF
52076
52077 fi
52078 done
52079
52080   else
52081
52082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52083 $as_echo_n "checking for _atan2l declaration... " >&6; }
52084   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52085     if ${glibcxx_cv_func__atan2l_use+:} false; then :
52086   $as_echo_n "(cached) " >&6
52087 else
52088
52089
52090       ac_ext=cpp
52091 ac_cpp='$CXXCPP $CPPFLAGS'
52092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52095
52096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52097 /* end confdefs.h.  */
52098 #include <math.h>
52099 int
52100 main ()
52101 {
52102  _atan2l(0, 0);
52103   ;
52104   return 0;
52105 }
52106 _ACEOF
52107 if ac_fn_cxx_try_compile "$LINENO"; then :
52108   glibcxx_cv_func__atan2l_use=yes
52109 else
52110   glibcxx_cv_func__atan2l_use=no
52111 fi
52112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52113       ac_ext=c
52114 ac_cpp='$CPP $CPPFLAGS'
52115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52118
52119
52120 fi
52121
52122   fi
52123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52124 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52125
52126     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52127       for ac_func in _atan2l
52128 do :
52129   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52130 if test "x$ac_cv_func__atan2l" = xyes; then :
52131   cat >>confdefs.h <<_ACEOF
52132 #define HAVE__ATAN2L 1
52133 _ACEOF
52134
52135 fi
52136 done
52137
52138     fi
52139   fi
52140
52141
52142
52143
52144
52145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52146 $as_echo_n "checking for expl declaration... " >&6; }
52147   if test x${glibcxx_cv_func_expl_use+set} != xset; then
52148     if ${glibcxx_cv_func_expl_use+:} false; then :
52149   $as_echo_n "(cached) " >&6
52150 else
52151
52152
52153       ac_ext=cpp
52154 ac_cpp='$CXXCPP $CPPFLAGS'
52155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52158
52159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52160 /* end confdefs.h.  */
52161 #include <math.h>
52162                       #ifdef HAVE_IEEEFP_H
52163                       #include <ieeefp.h>
52164                       #endif
52165
52166 int
52167 main ()
52168 {
52169  expl(0);
52170   ;
52171   return 0;
52172 }
52173 _ACEOF
52174 if ac_fn_cxx_try_compile "$LINENO"; then :
52175   glibcxx_cv_func_expl_use=yes
52176 else
52177   glibcxx_cv_func_expl_use=no
52178 fi
52179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52180       ac_ext=c
52181 ac_cpp='$CPP $CPPFLAGS'
52182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52185
52186
52187 fi
52188
52189   fi
52190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52191 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52192
52193   if test x$glibcxx_cv_func_expl_use = x"yes"; then
52194     for ac_func in expl
52195 do :
52196   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52197 if test "x$ac_cv_func_expl" = xyes; then :
52198   cat >>confdefs.h <<_ACEOF
52199 #define HAVE_EXPL 1
52200 _ACEOF
52201
52202 fi
52203 done
52204
52205   else
52206
52207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52208 $as_echo_n "checking for _expl declaration... " >&6; }
52209   if test x${glibcxx_cv_func__expl_use+set} != xset; then
52210     if ${glibcxx_cv_func__expl_use+:} false; then :
52211   $as_echo_n "(cached) " >&6
52212 else
52213
52214
52215       ac_ext=cpp
52216 ac_cpp='$CXXCPP $CPPFLAGS'
52217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52220
52221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52222 /* end confdefs.h.  */
52223 #include <math.h>
52224                       #ifdef HAVE_IEEEFP_H
52225                       #include <ieeefp.h>
52226                       #endif
52227
52228 int
52229 main ()
52230 {
52231  _expl(0);
52232   ;
52233   return 0;
52234 }
52235 _ACEOF
52236 if ac_fn_cxx_try_compile "$LINENO"; then :
52237   glibcxx_cv_func__expl_use=yes
52238 else
52239   glibcxx_cv_func__expl_use=no
52240 fi
52241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52242       ac_ext=c
52243 ac_cpp='$CPP $CPPFLAGS'
52244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52247
52248
52249 fi
52250
52251   fi
52252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52253 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52254
52255     if test x$glibcxx_cv_func__expl_use = x"yes"; then
52256       for ac_func in _expl
52257 do :
52258   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52259 if test "x$ac_cv_func__expl" = xyes; then :
52260   cat >>confdefs.h <<_ACEOF
52261 #define HAVE__EXPL 1
52262 _ACEOF
52263
52264 fi
52265 done
52266
52267     fi
52268   fi
52269
52270
52271
52272
52273
52274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52275 $as_echo_n "checking for fabsl declaration... " >&6; }
52276   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52277     if ${glibcxx_cv_func_fabsl_use+:} false; then :
52278   $as_echo_n "(cached) " >&6
52279 else
52280
52281
52282       ac_ext=cpp
52283 ac_cpp='$CXXCPP $CPPFLAGS'
52284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52287
52288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52289 /* end confdefs.h.  */
52290 #include <math.h>
52291                       #ifdef HAVE_IEEEFP_H
52292                       #include <ieeefp.h>
52293                       #endif
52294
52295 int
52296 main ()
52297 {
52298  fabsl(0);
52299   ;
52300   return 0;
52301 }
52302 _ACEOF
52303 if ac_fn_cxx_try_compile "$LINENO"; then :
52304   glibcxx_cv_func_fabsl_use=yes
52305 else
52306   glibcxx_cv_func_fabsl_use=no
52307 fi
52308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52309       ac_ext=c
52310 ac_cpp='$CPP $CPPFLAGS'
52311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52314
52315
52316 fi
52317
52318   fi
52319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52320 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52321
52322   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52323     for ac_func in fabsl
52324 do :
52325   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52326 if test "x$ac_cv_func_fabsl" = xyes; then :
52327   cat >>confdefs.h <<_ACEOF
52328 #define HAVE_FABSL 1
52329 _ACEOF
52330
52331 fi
52332 done
52333
52334   else
52335
52336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52337 $as_echo_n "checking for _fabsl declaration... " >&6; }
52338   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52339     if ${glibcxx_cv_func__fabsl_use+:} false; then :
52340   $as_echo_n "(cached) " >&6
52341 else
52342
52343
52344       ac_ext=cpp
52345 ac_cpp='$CXXCPP $CPPFLAGS'
52346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52349
52350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52351 /* end confdefs.h.  */
52352 #include <math.h>
52353                       #ifdef HAVE_IEEEFP_H
52354                       #include <ieeefp.h>
52355                       #endif
52356
52357 int
52358 main ()
52359 {
52360  _fabsl(0);
52361   ;
52362   return 0;
52363 }
52364 _ACEOF
52365 if ac_fn_cxx_try_compile "$LINENO"; then :
52366   glibcxx_cv_func__fabsl_use=yes
52367 else
52368   glibcxx_cv_func__fabsl_use=no
52369 fi
52370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52371       ac_ext=c
52372 ac_cpp='$CPP $CPPFLAGS'
52373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52376
52377
52378 fi
52379
52380   fi
52381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52382 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52383
52384     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52385       for ac_func in _fabsl
52386 do :
52387   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52388 if test "x$ac_cv_func__fabsl" = xyes; then :
52389   cat >>confdefs.h <<_ACEOF
52390 #define HAVE__FABSL 1
52391 _ACEOF
52392
52393 fi
52394 done
52395
52396     fi
52397   fi
52398
52399
52400
52401
52402
52403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52404 $as_echo_n "checking for fmodl declaration... " >&6; }
52405   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52406     if ${glibcxx_cv_func_fmodl_use+:} false; then :
52407   $as_echo_n "(cached) " >&6
52408 else
52409
52410
52411       ac_ext=cpp
52412 ac_cpp='$CXXCPP $CPPFLAGS'
52413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52416
52417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52418 /* end confdefs.h.  */
52419 #include <math.h>
52420 int
52421 main ()
52422 {
52423  fmodl(0, 0);
52424   ;
52425   return 0;
52426 }
52427 _ACEOF
52428 if ac_fn_cxx_try_compile "$LINENO"; then :
52429   glibcxx_cv_func_fmodl_use=yes
52430 else
52431   glibcxx_cv_func_fmodl_use=no
52432 fi
52433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52434       ac_ext=c
52435 ac_cpp='$CPP $CPPFLAGS'
52436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52439
52440
52441 fi
52442
52443   fi
52444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52445 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52446
52447   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52448     for ac_func in fmodl
52449 do :
52450   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52451 if test "x$ac_cv_func_fmodl" = xyes; then :
52452   cat >>confdefs.h <<_ACEOF
52453 #define HAVE_FMODL 1
52454 _ACEOF
52455
52456 fi
52457 done
52458
52459   else
52460
52461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52462 $as_echo_n "checking for _fmodl declaration... " >&6; }
52463   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52464     if ${glibcxx_cv_func__fmodl_use+:} false; then :
52465   $as_echo_n "(cached) " >&6
52466 else
52467
52468
52469       ac_ext=cpp
52470 ac_cpp='$CXXCPP $CPPFLAGS'
52471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52474
52475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52476 /* end confdefs.h.  */
52477 #include <math.h>
52478 int
52479 main ()
52480 {
52481  _fmodl(0, 0);
52482   ;
52483   return 0;
52484 }
52485 _ACEOF
52486 if ac_fn_cxx_try_compile "$LINENO"; then :
52487   glibcxx_cv_func__fmodl_use=yes
52488 else
52489   glibcxx_cv_func__fmodl_use=no
52490 fi
52491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52492       ac_ext=c
52493 ac_cpp='$CPP $CPPFLAGS'
52494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52497
52498
52499 fi
52500
52501   fi
52502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52503 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52504
52505     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52506       for ac_func in _fmodl
52507 do :
52508   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52509 if test "x$ac_cv_func__fmodl" = xyes; then :
52510   cat >>confdefs.h <<_ACEOF
52511 #define HAVE__FMODL 1
52512 _ACEOF
52513
52514 fi
52515 done
52516
52517     fi
52518   fi
52519
52520
52521
52522
52523
52524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52525 $as_echo_n "checking for frexpl declaration... " >&6; }
52526   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52527     if ${glibcxx_cv_func_frexpl_use+:} false; then :
52528   $as_echo_n "(cached) " >&6
52529 else
52530
52531
52532       ac_ext=cpp
52533 ac_cpp='$CXXCPP $CPPFLAGS'
52534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52537
52538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52539 /* end confdefs.h.  */
52540 #include <math.h>
52541 int
52542 main ()
52543 {
52544  frexpl(0, 0);
52545   ;
52546   return 0;
52547 }
52548 _ACEOF
52549 if ac_fn_cxx_try_compile "$LINENO"; then :
52550   glibcxx_cv_func_frexpl_use=yes
52551 else
52552   glibcxx_cv_func_frexpl_use=no
52553 fi
52554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52555       ac_ext=c
52556 ac_cpp='$CPP $CPPFLAGS'
52557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560
52561
52562 fi
52563
52564   fi
52565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52566 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52567
52568   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52569     for ac_func in frexpl
52570 do :
52571   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52572 if test "x$ac_cv_func_frexpl" = xyes; then :
52573   cat >>confdefs.h <<_ACEOF
52574 #define HAVE_FREXPL 1
52575 _ACEOF
52576
52577 fi
52578 done
52579
52580   else
52581
52582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52583 $as_echo_n "checking for _frexpl declaration... " >&6; }
52584   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52585     if ${glibcxx_cv_func__frexpl_use+:} false; then :
52586   $as_echo_n "(cached) " >&6
52587 else
52588
52589
52590       ac_ext=cpp
52591 ac_cpp='$CXXCPP $CPPFLAGS'
52592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52595
52596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52597 /* end confdefs.h.  */
52598 #include <math.h>
52599 int
52600 main ()
52601 {
52602  _frexpl(0, 0);
52603   ;
52604   return 0;
52605 }
52606 _ACEOF
52607 if ac_fn_cxx_try_compile "$LINENO"; then :
52608   glibcxx_cv_func__frexpl_use=yes
52609 else
52610   glibcxx_cv_func__frexpl_use=no
52611 fi
52612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52613       ac_ext=c
52614 ac_cpp='$CPP $CPPFLAGS'
52615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52618
52619
52620 fi
52621
52622   fi
52623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52624 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52625
52626     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52627       for ac_func in _frexpl
52628 do :
52629   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52630 if test "x$ac_cv_func__frexpl" = xyes; then :
52631   cat >>confdefs.h <<_ACEOF
52632 #define HAVE__FREXPL 1
52633 _ACEOF
52634
52635 fi
52636 done
52637
52638     fi
52639   fi
52640
52641
52642
52643
52644
52645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52646 $as_echo_n "checking for hypotl declaration... " >&6; }
52647   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52648     if ${glibcxx_cv_func_hypotl_use+:} false; then :
52649   $as_echo_n "(cached) " >&6
52650 else
52651
52652
52653       ac_ext=cpp
52654 ac_cpp='$CXXCPP $CPPFLAGS'
52655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52658
52659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52660 /* end confdefs.h.  */
52661 #include <math.h>
52662 int
52663 main ()
52664 {
52665  hypotl(0, 0);
52666   ;
52667   return 0;
52668 }
52669 _ACEOF
52670 if ac_fn_cxx_try_compile "$LINENO"; then :
52671   glibcxx_cv_func_hypotl_use=yes
52672 else
52673   glibcxx_cv_func_hypotl_use=no
52674 fi
52675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52676       ac_ext=c
52677 ac_cpp='$CPP $CPPFLAGS'
52678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52681
52682
52683 fi
52684
52685   fi
52686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52687 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52688
52689   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52690     for ac_func in hypotl
52691 do :
52692   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52693 if test "x$ac_cv_func_hypotl" = xyes; then :
52694   cat >>confdefs.h <<_ACEOF
52695 #define HAVE_HYPOTL 1
52696 _ACEOF
52697
52698 fi
52699 done
52700
52701   else
52702
52703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52704 $as_echo_n "checking for _hypotl declaration... " >&6; }
52705   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52706     if ${glibcxx_cv_func__hypotl_use+:} false; then :
52707   $as_echo_n "(cached) " >&6
52708 else
52709
52710
52711       ac_ext=cpp
52712 ac_cpp='$CXXCPP $CPPFLAGS'
52713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52716
52717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52718 /* end confdefs.h.  */
52719 #include <math.h>
52720 int
52721 main ()
52722 {
52723  _hypotl(0, 0);
52724   ;
52725   return 0;
52726 }
52727 _ACEOF
52728 if ac_fn_cxx_try_compile "$LINENO"; then :
52729   glibcxx_cv_func__hypotl_use=yes
52730 else
52731   glibcxx_cv_func__hypotl_use=no
52732 fi
52733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52734       ac_ext=c
52735 ac_cpp='$CPP $CPPFLAGS'
52736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739
52740
52741 fi
52742
52743   fi
52744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52745 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52746
52747     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52748       for ac_func in _hypotl
52749 do :
52750   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52751 if test "x$ac_cv_func__hypotl" = xyes; then :
52752   cat >>confdefs.h <<_ACEOF
52753 #define HAVE__HYPOTL 1
52754 _ACEOF
52755
52756 fi
52757 done
52758
52759     fi
52760   fi
52761
52762
52763
52764
52765
52766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52767 $as_echo_n "checking for ldexpl declaration... " >&6; }
52768   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52769     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52770   $as_echo_n "(cached) " >&6
52771 else
52772
52773
52774       ac_ext=cpp
52775 ac_cpp='$CXXCPP $CPPFLAGS'
52776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52779
52780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52781 /* end confdefs.h.  */
52782 #include <math.h>
52783 int
52784 main ()
52785 {
52786  ldexpl(0, 0);
52787   ;
52788   return 0;
52789 }
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792   glibcxx_cv_func_ldexpl_use=yes
52793 else
52794   glibcxx_cv_func_ldexpl_use=no
52795 fi
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797       ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52802
52803
52804 fi
52805
52806   fi
52807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52808 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52809
52810   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52811     for ac_func in ldexpl
52812 do :
52813   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52814 if test "x$ac_cv_func_ldexpl" = xyes; then :
52815   cat >>confdefs.h <<_ACEOF
52816 #define HAVE_LDEXPL 1
52817 _ACEOF
52818
52819 fi
52820 done
52821
52822   else
52823
52824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52825 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52826   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52827     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52828   $as_echo_n "(cached) " >&6
52829 else
52830
52831
52832       ac_ext=cpp
52833 ac_cpp='$CXXCPP $CPPFLAGS'
52834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52837
52838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52839 /* end confdefs.h.  */
52840 #include <math.h>
52841 int
52842 main ()
52843 {
52844  _ldexpl(0, 0);
52845   ;
52846   return 0;
52847 }
52848 _ACEOF
52849 if ac_fn_cxx_try_compile "$LINENO"; then :
52850   glibcxx_cv_func__ldexpl_use=yes
52851 else
52852   glibcxx_cv_func__ldexpl_use=no
52853 fi
52854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52855       ac_ext=c
52856 ac_cpp='$CPP $CPPFLAGS'
52857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860
52861
52862 fi
52863
52864   fi
52865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52866 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52867
52868     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52869       for ac_func in _ldexpl
52870 do :
52871   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52872 if test "x$ac_cv_func__ldexpl" = xyes; then :
52873   cat >>confdefs.h <<_ACEOF
52874 #define HAVE__LDEXPL 1
52875 _ACEOF
52876
52877 fi
52878 done
52879
52880     fi
52881   fi
52882
52883
52884
52885
52886
52887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52888 $as_echo_n "checking for logl declaration... " >&6; }
52889   if test x${glibcxx_cv_func_logl_use+set} != xset; then
52890     if ${glibcxx_cv_func_logl_use+:} false; then :
52891   $as_echo_n "(cached) " >&6
52892 else
52893
52894
52895       ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52900
52901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h.  */
52903 #include <math.h>
52904                       #ifdef HAVE_IEEEFP_H
52905                       #include <ieeefp.h>
52906                       #endif
52907
52908 int
52909 main ()
52910 {
52911  logl(0);
52912   ;
52913   return 0;
52914 }
52915 _ACEOF
52916 if ac_fn_cxx_try_compile "$LINENO"; then :
52917   glibcxx_cv_func_logl_use=yes
52918 else
52919   glibcxx_cv_func_logl_use=no
52920 fi
52921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52922       ac_ext=c
52923 ac_cpp='$CPP $CPPFLAGS'
52924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52927
52928
52929 fi
52930
52931   fi
52932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52933 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52934
52935   if test x$glibcxx_cv_func_logl_use = x"yes"; then
52936     for ac_func in logl
52937 do :
52938   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52939 if test "x$ac_cv_func_logl" = xyes; then :
52940   cat >>confdefs.h <<_ACEOF
52941 #define HAVE_LOGL 1
52942 _ACEOF
52943
52944 fi
52945 done
52946
52947   else
52948
52949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52950 $as_echo_n "checking for _logl declaration... " >&6; }
52951   if test x${glibcxx_cv_func__logl_use+set} != xset; then
52952     if ${glibcxx_cv_func__logl_use+:} false; then :
52953   $as_echo_n "(cached) " >&6
52954 else
52955
52956
52957       ac_ext=cpp
52958 ac_cpp='$CXXCPP $CPPFLAGS'
52959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52962
52963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52964 /* end confdefs.h.  */
52965 #include <math.h>
52966                       #ifdef HAVE_IEEEFP_H
52967                       #include <ieeefp.h>
52968                       #endif
52969
52970 int
52971 main ()
52972 {
52973  _logl(0);
52974   ;
52975   return 0;
52976 }
52977 _ACEOF
52978 if ac_fn_cxx_try_compile "$LINENO"; then :
52979   glibcxx_cv_func__logl_use=yes
52980 else
52981   glibcxx_cv_func__logl_use=no
52982 fi
52983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52984       ac_ext=c
52985 ac_cpp='$CPP $CPPFLAGS'
52986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52989
52990
52991 fi
52992
52993   fi
52994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52995 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52996
52997     if test x$glibcxx_cv_func__logl_use = x"yes"; then
52998       for ac_func in _logl
52999 do :
53000   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53001 if test "x$ac_cv_func__logl" = xyes; then :
53002   cat >>confdefs.h <<_ACEOF
53003 #define HAVE__LOGL 1
53004 _ACEOF
53005
53006 fi
53007 done
53008
53009     fi
53010   fi
53011
53012
53013
53014
53015
53016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53017 $as_echo_n "checking for log10l declaration... " >&6; }
53018   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53019     if ${glibcxx_cv_func_log10l_use+:} false; then :
53020   $as_echo_n "(cached) " >&6
53021 else
53022
53023
53024       ac_ext=cpp
53025 ac_cpp='$CXXCPP $CPPFLAGS'
53026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53029
53030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53031 /* end confdefs.h.  */
53032 #include <math.h>
53033                       #ifdef HAVE_IEEEFP_H
53034                       #include <ieeefp.h>
53035                       #endif
53036
53037 int
53038 main ()
53039 {
53040  log10l(0);
53041   ;
53042   return 0;
53043 }
53044 _ACEOF
53045 if ac_fn_cxx_try_compile "$LINENO"; then :
53046   glibcxx_cv_func_log10l_use=yes
53047 else
53048   glibcxx_cv_func_log10l_use=no
53049 fi
53050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53051       ac_ext=c
53052 ac_cpp='$CPP $CPPFLAGS'
53053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53056
53057
53058 fi
53059
53060   fi
53061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53062 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53063
53064   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53065     for ac_func in log10l
53066 do :
53067   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53068 if test "x$ac_cv_func_log10l" = xyes; then :
53069   cat >>confdefs.h <<_ACEOF
53070 #define HAVE_LOG10L 1
53071 _ACEOF
53072
53073 fi
53074 done
53075
53076   else
53077
53078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53079 $as_echo_n "checking for _log10l declaration... " >&6; }
53080   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53081     if ${glibcxx_cv_func__log10l_use+:} false; then :
53082   $as_echo_n "(cached) " >&6
53083 else
53084
53085
53086       ac_ext=cpp
53087 ac_cpp='$CXXCPP $CPPFLAGS'
53088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53091
53092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53093 /* end confdefs.h.  */
53094 #include <math.h>
53095                       #ifdef HAVE_IEEEFP_H
53096                       #include <ieeefp.h>
53097                       #endif
53098
53099 int
53100 main ()
53101 {
53102  _log10l(0);
53103   ;
53104   return 0;
53105 }
53106 _ACEOF
53107 if ac_fn_cxx_try_compile "$LINENO"; then :
53108   glibcxx_cv_func__log10l_use=yes
53109 else
53110   glibcxx_cv_func__log10l_use=no
53111 fi
53112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53113       ac_ext=c
53114 ac_cpp='$CPP $CPPFLAGS'
53115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53118
53119
53120 fi
53121
53122   fi
53123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53124 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53125
53126     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53127       for ac_func in _log10l
53128 do :
53129   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53130 if test "x$ac_cv_func__log10l" = xyes; then :
53131   cat >>confdefs.h <<_ACEOF
53132 #define HAVE__LOG10L 1
53133 _ACEOF
53134
53135 fi
53136 done
53137
53138     fi
53139   fi
53140
53141
53142
53143
53144
53145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53146 $as_echo_n "checking for modfl declaration... " >&6; }
53147   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53148     if ${glibcxx_cv_func_modfl_use+:} false; then :
53149   $as_echo_n "(cached) " >&6
53150 else
53151
53152
53153       ac_ext=cpp
53154 ac_cpp='$CXXCPP $CPPFLAGS'
53155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53158
53159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53160 /* end confdefs.h.  */
53161 #include <math.h>
53162 int
53163 main ()
53164 {
53165  modfl(0, 0);
53166   ;
53167   return 0;
53168 }
53169 _ACEOF
53170 if ac_fn_cxx_try_compile "$LINENO"; then :
53171   glibcxx_cv_func_modfl_use=yes
53172 else
53173   glibcxx_cv_func_modfl_use=no
53174 fi
53175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53176       ac_ext=c
53177 ac_cpp='$CPP $CPPFLAGS'
53178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53181
53182
53183 fi
53184
53185   fi
53186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53187 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53188
53189   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53190     for ac_func in modfl
53191 do :
53192   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53193 if test "x$ac_cv_func_modfl" = xyes; then :
53194   cat >>confdefs.h <<_ACEOF
53195 #define HAVE_MODFL 1
53196 _ACEOF
53197
53198 fi
53199 done
53200
53201   else
53202
53203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53204 $as_echo_n "checking for _modfl declaration... " >&6; }
53205   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53206     if ${glibcxx_cv_func__modfl_use+:} false; then :
53207   $as_echo_n "(cached) " >&6
53208 else
53209
53210
53211       ac_ext=cpp
53212 ac_cpp='$CXXCPP $CPPFLAGS'
53213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53216
53217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53218 /* end confdefs.h.  */
53219 #include <math.h>
53220 int
53221 main ()
53222 {
53223  _modfl(0, 0);
53224   ;
53225   return 0;
53226 }
53227 _ACEOF
53228 if ac_fn_cxx_try_compile "$LINENO"; then :
53229   glibcxx_cv_func__modfl_use=yes
53230 else
53231   glibcxx_cv_func__modfl_use=no
53232 fi
53233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53234       ac_ext=c
53235 ac_cpp='$CPP $CPPFLAGS'
53236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53239
53240
53241 fi
53242
53243   fi
53244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53245 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53246
53247     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53248       for ac_func in _modfl
53249 do :
53250   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53251 if test "x$ac_cv_func__modfl" = xyes; then :
53252   cat >>confdefs.h <<_ACEOF
53253 #define HAVE__MODFL 1
53254 _ACEOF
53255
53256 fi
53257 done
53258
53259     fi
53260   fi
53261
53262
53263
53264
53265
53266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53267 $as_echo_n "checking for powl declaration... " >&6; }
53268   if test x${glibcxx_cv_func_powl_use+set} != xset; then
53269     if ${glibcxx_cv_func_powl_use+:} false; then :
53270   $as_echo_n "(cached) " >&6
53271 else
53272
53273
53274       ac_ext=cpp
53275 ac_cpp='$CXXCPP $CPPFLAGS'
53276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53279
53280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53281 /* end confdefs.h.  */
53282 #include <math.h>
53283 int
53284 main ()
53285 {
53286  powl(0, 0);
53287   ;
53288   return 0;
53289 }
53290 _ACEOF
53291 if ac_fn_cxx_try_compile "$LINENO"; then :
53292   glibcxx_cv_func_powl_use=yes
53293 else
53294   glibcxx_cv_func_powl_use=no
53295 fi
53296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53297       ac_ext=c
53298 ac_cpp='$CPP $CPPFLAGS'
53299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53302
53303
53304 fi
53305
53306   fi
53307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53308 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53309
53310   if test x$glibcxx_cv_func_powl_use = x"yes"; then
53311     for ac_func in powl
53312 do :
53313   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53314 if test "x$ac_cv_func_powl" = xyes; then :
53315   cat >>confdefs.h <<_ACEOF
53316 #define HAVE_POWL 1
53317 _ACEOF
53318
53319 fi
53320 done
53321
53322   else
53323
53324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53325 $as_echo_n "checking for _powl declaration... " >&6; }
53326   if test x${glibcxx_cv_func__powl_use+set} != xset; then
53327     if ${glibcxx_cv_func__powl_use+:} false; then :
53328   $as_echo_n "(cached) " >&6
53329 else
53330
53331
53332       ac_ext=cpp
53333 ac_cpp='$CXXCPP $CPPFLAGS'
53334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53337
53338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53339 /* end confdefs.h.  */
53340 #include <math.h>
53341 int
53342 main ()
53343 {
53344  _powl(0, 0);
53345   ;
53346   return 0;
53347 }
53348 _ACEOF
53349 if ac_fn_cxx_try_compile "$LINENO"; then :
53350   glibcxx_cv_func__powl_use=yes
53351 else
53352   glibcxx_cv_func__powl_use=no
53353 fi
53354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53355       ac_ext=c
53356 ac_cpp='$CPP $CPPFLAGS'
53357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53360
53361
53362 fi
53363
53364   fi
53365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53366 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53367
53368     if test x$glibcxx_cv_func__powl_use = x"yes"; then
53369       for ac_func in _powl
53370 do :
53371   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53372 if test "x$ac_cv_func__powl" = xyes; then :
53373   cat >>confdefs.h <<_ACEOF
53374 #define HAVE__POWL 1
53375 _ACEOF
53376
53377 fi
53378 done
53379
53380     fi
53381   fi
53382
53383
53384
53385
53386
53387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53388 $as_echo_n "checking for sqrtl declaration... " >&6; }
53389   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53390     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53391   $as_echo_n "(cached) " >&6
53392 else
53393
53394
53395       ac_ext=cpp
53396 ac_cpp='$CXXCPP $CPPFLAGS'
53397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53400
53401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53402 /* end confdefs.h.  */
53403 #include <math.h>
53404                       #ifdef HAVE_IEEEFP_H
53405                       #include <ieeefp.h>
53406                       #endif
53407
53408 int
53409 main ()
53410 {
53411  sqrtl(0);
53412   ;
53413   return 0;
53414 }
53415 _ACEOF
53416 if ac_fn_cxx_try_compile "$LINENO"; then :
53417   glibcxx_cv_func_sqrtl_use=yes
53418 else
53419   glibcxx_cv_func_sqrtl_use=no
53420 fi
53421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53422       ac_ext=c
53423 ac_cpp='$CPP $CPPFLAGS'
53424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53427
53428
53429 fi
53430
53431   fi
53432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53433 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53434
53435   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53436     for ac_func in sqrtl
53437 do :
53438   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53439 if test "x$ac_cv_func_sqrtl" = xyes; then :
53440   cat >>confdefs.h <<_ACEOF
53441 #define HAVE_SQRTL 1
53442 _ACEOF
53443
53444 fi
53445 done
53446
53447   else
53448
53449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53450 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53451   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53452     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53453   $as_echo_n "(cached) " >&6
53454 else
53455
53456
53457       ac_ext=cpp
53458 ac_cpp='$CXXCPP $CPPFLAGS'
53459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53462
53463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53464 /* end confdefs.h.  */
53465 #include <math.h>
53466                       #ifdef HAVE_IEEEFP_H
53467                       #include <ieeefp.h>
53468                       #endif
53469
53470 int
53471 main ()
53472 {
53473  _sqrtl(0);
53474   ;
53475   return 0;
53476 }
53477 _ACEOF
53478 if ac_fn_cxx_try_compile "$LINENO"; then :
53479   glibcxx_cv_func__sqrtl_use=yes
53480 else
53481   glibcxx_cv_func__sqrtl_use=no
53482 fi
53483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53484       ac_ext=c
53485 ac_cpp='$CPP $CPPFLAGS'
53486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489
53490
53491 fi
53492
53493   fi
53494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53495 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53496
53497     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53498       for ac_func in _sqrtl
53499 do :
53500   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53501 if test "x$ac_cv_func__sqrtl" = xyes; then :
53502   cat >>confdefs.h <<_ACEOF
53503 #define HAVE__SQRTL 1
53504 _ACEOF
53505
53506 fi
53507 done
53508
53509     fi
53510   fi
53511
53512
53513
53514
53515
53516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53517 $as_echo_n "checking for sincosl declaration... " >&6; }
53518   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53519     if ${glibcxx_cv_func_sincosl_use+:} false; then :
53520   $as_echo_n "(cached) " >&6
53521 else
53522
53523
53524       ac_ext=cpp
53525 ac_cpp='$CXXCPP $CPPFLAGS'
53526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53529
53530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53531 /* end confdefs.h.  */
53532 #include <math.h>
53533 int
53534 main ()
53535 {
53536  sincosl(0, 0, 0);
53537   ;
53538   return 0;
53539 }
53540 _ACEOF
53541 if ac_fn_cxx_try_compile "$LINENO"; then :
53542   glibcxx_cv_func_sincosl_use=yes
53543 else
53544   glibcxx_cv_func_sincosl_use=no
53545 fi
53546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53547       ac_ext=c
53548 ac_cpp='$CPP $CPPFLAGS'
53549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53552
53553
53554 fi
53555
53556   fi
53557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53558 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53559
53560   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53561     for ac_func in sincosl
53562 do :
53563   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53564 if test "x$ac_cv_func_sincosl" = xyes; then :
53565   cat >>confdefs.h <<_ACEOF
53566 #define HAVE_SINCOSL 1
53567 _ACEOF
53568
53569 fi
53570 done
53571
53572   else
53573
53574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53575 $as_echo_n "checking for _sincosl declaration... " >&6; }
53576   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53577     if ${glibcxx_cv_func__sincosl_use+:} false; then :
53578   $as_echo_n "(cached) " >&6
53579 else
53580
53581
53582       ac_ext=cpp
53583 ac_cpp='$CXXCPP $CPPFLAGS'
53584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53587
53588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53589 /* end confdefs.h.  */
53590 #include <math.h>
53591 int
53592 main ()
53593 {
53594  _sincosl(0, 0, 0);
53595   ;
53596   return 0;
53597 }
53598 _ACEOF
53599 if ac_fn_cxx_try_compile "$LINENO"; then :
53600   glibcxx_cv_func__sincosl_use=yes
53601 else
53602   glibcxx_cv_func__sincosl_use=no
53603 fi
53604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53605       ac_ext=c
53606 ac_cpp='$CPP $CPPFLAGS'
53607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53610
53611
53612 fi
53613
53614   fi
53615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53616 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53617
53618     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53619       for ac_func in _sincosl
53620 do :
53621   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53622 if test "x$ac_cv_func__sincosl" = xyes; then :
53623   cat >>confdefs.h <<_ACEOF
53624 #define HAVE__SINCOSL 1
53625 _ACEOF
53626
53627 fi
53628 done
53629
53630     fi
53631   fi
53632
53633
53634
53635
53636
53637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53638 $as_echo_n "checking for finitel declaration... " >&6; }
53639   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53640     if ${glibcxx_cv_func_finitel_use+:} false; then :
53641   $as_echo_n "(cached) " >&6
53642 else
53643
53644
53645       ac_ext=cpp
53646 ac_cpp='$CXXCPP $CPPFLAGS'
53647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53650
53651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53652 /* end confdefs.h.  */
53653 #include <math.h>
53654                       #ifdef HAVE_IEEEFP_H
53655                       #include <ieeefp.h>
53656                       #endif
53657
53658 int
53659 main ()
53660 {
53661  finitel(0);
53662   ;
53663   return 0;
53664 }
53665 _ACEOF
53666 if ac_fn_cxx_try_compile "$LINENO"; then :
53667   glibcxx_cv_func_finitel_use=yes
53668 else
53669   glibcxx_cv_func_finitel_use=no
53670 fi
53671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53672       ac_ext=c
53673 ac_cpp='$CPP $CPPFLAGS'
53674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53677
53678
53679 fi
53680
53681   fi
53682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53683 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53684
53685   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53686     for ac_func in finitel
53687 do :
53688   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53689 if test "x$ac_cv_func_finitel" = xyes; then :
53690   cat >>confdefs.h <<_ACEOF
53691 #define HAVE_FINITEL 1
53692 _ACEOF
53693
53694 fi
53695 done
53696
53697   else
53698
53699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53700 $as_echo_n "checking for _finitel declaration... " >&6; }
53701   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53702     if ${glibcxx_cv_func__finitel_use+:} false; then :
53703   $as_echo_n "(cached) " >&6
53704 else
53705
53706
53707       ac_ext=cpp
53708 ac_cpp='$CXXCPP $CPPFLAGS'
53709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53712
53713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53714 /* end confdefs.h.  */
53715 #include <math.h>
53716                       #ifdef HAVE_IEEEFP_H
53717                       #include <ieeefp.h>
53718                       #endif
53719
53720 int
53721 main ()
53722 {
53723  _finitel(0);
53724   ;
53725   return 0;
53726 }
53727 _ACEOF
53728 if ac_fn_cxx_try_compile "$LINENO"; then :
53729   glibcxx_cv_func__finitel_use=yes
53730 else
53731   glibcxx_cv_func__finitel_use=no
53732 fi
53733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53734       ac_ext=c
53735 ac_cpp='$CPP $CPPFLAGS'
53736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53739
53740
53741 fi
53742
53743   fi
53744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53745 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53746
53747     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53748       for ac_func in _finitel
53749 do :
53750   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53751 if test "x$ac_cv_func__finitel" = xyes; then :
53752   cat >>confdefs.h <<_ACEOF
53753 #define HAVE__FINITEL 1
53754 _ACEOF
53755
53756 fi
53757 done
53758
53759     fi
53760   fi
53761
53762
53763
53764
53765   LIBS="$ac_save_LIBS"
53766   CXXFLAGS="$ac_save_CXXFLAGS"
53767
53768
53769   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53770   ac_save_CXXFLAGS="$CXXFLAGS"
53771   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53772
53773
53774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53775 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53776   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53777     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53778   $as_echo_n "(cached) " >&6
53779 else
53780
53781
53782       ac_ext=cpp
53783 ac_cpp='$CXXCPP $CPPFLAGS'
53784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53787
53788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53789 /* end confdefs.h.  */
53790 #include <stdlib.h>
53791 int
53792 main ()
53793 {
53794  at_quick_exit(0);
53795   ;
53796   return 0;
53797 }
53798 _ACEOF
53799 if ac_fn_cxx_try_compile "$LINENO"; then :
53800   glibcxx_cv_func_at_quick_exit_use=yes
53801 else
53802   glibcxx_cv_func_at_quick_exit_use=no
53803 fi
53804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53805       ac_ext=c
53806 ac_cpp='$CPP $CPPFLAGS'
53807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53810
53811
53812 fi
53813
53814   fi
53815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53816 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53817   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53818     for ac_func in at_quick_exit
53819 do :
53820   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53821 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53822   cat >>confdefs.h <<_ACEOF
53823 #define HAVE_AT_QUICK_EXIT 1
53824 _ACEOF
53825
53826 fi
53827 done
53828
53829   fi
53830
53831
53832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53833 $as_echo_n "checking for quick_exit declaration... " >&6; }
53834   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53835     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53836   $as_echo_n "(cached) " >&6
53837 else
53838
53839
53840       ac_ext=cpp
53841 ac_cpp='$CXXCPP $CPPFLAGS'
53842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53845
53846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53847 /* end confdefs.h.  */
53848 #include <stdlib.h>
53849 int
53850 main ()
53851 {
53852  quick_exit(0);
53853   ;
53854   return 0;
53855 }
53856 _ACEOF
53857 if ac_fn_cxx_try_compile "$LINENO"; then :
53858   glibcxx_cv_func_quick_exit_use=yes
53859 else
53860   glibcxx_cv_func_quick_exit_use=no
53861 fi
53862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53863       ac_ext=c
53864 ac_cpp='$CPP $CPPFLAGS'
53865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53868
53869
53870 fi
53871
53872   fi
53873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53874 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53875   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53876     for ac_func in quick_exit
53877 do :
53878   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53879 if test "x$ac_cv_func_quick_exit" = xyes; then :
53880   cat >>confdefs.h <<_ACEOF
53881 #define HAVE_QUICK_EXIT 1
53882 _ACEOF
53883
53884 fi
53885 done
53886
53887   fi
53888
53889
53890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53891 $as_echo_n "checking for strtold declaration... " >&6; }
53892   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53893     if ${glibcxx_cv_func_strtold_use+:} false; then :
53894   $as_echo_n "(cached) " >&6
53895 else
53896
53897
53898       ac_ext=cpp
53899 ac_cpp='$CXXCPP $CPPFLAGS'
53900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53903
53904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h.  */
53906 #include <stdlib.h>
53907 int
53908 main ()
53909 {
53910  strtold(0, 0);
53911   ;
53912   return 0;
53913 }
53914 _ACEOF
53915 if ac_fn_cxx_try_compile "$LINENO"; then :
53916   glibcxx_cv_func_strtold_use=yes
53917 else
53918   glibcxx_cv_func_strtold_use=no
53919 fi
53920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53921       ac_ext=c
53922 ac_cpp='$CPP $CPPFLAGS'
53923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926
53927
53928 fi
53929
53930   fi
53931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53932 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53933   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53934     for ac_func in strtold
53935 do :
53936   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53937 if test "x$ac_cv_func_strtold" = xyes; then :
53938   cat >>confdefs.h <<_ACEOF
53939 #define HAVE_STRTOLD 1
53940 _ACEOF
53941
53942 fi
53943 done
53944
53945   fi
53946
53947
53948
53949
53950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53951 $as_echo_n "checking for strtof declaration... " >&6; }
53952   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53953     if ${glibcxx_cv_func_strtof_use+:} false; then :
53954   $as_echo_n "(cached) " >&6
53955 else
53956
53957
53958       ac_ext=cpp
53959 ac_cpp='$CXXCPP $CPPFLAGS'
53960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963
53964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53965 /* end confdefs.h.  */
53966 #include <stdlib.h>
53967 int
53968 main ()
53969 {
53970  strtof(0, 0);
53971   ;
53972   return 0;
53973 }
53974 _ACEOF
53975 if ac_fn_cxx_try_compile "$LINENO"; then :
53976   glibcxx_cv_func_strtof_use=yes
53977 else
53978   glibcxx_cv_func_strtof_use=no
53979 fi
53980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53981       ac_ext=c
53982 ac_cpp='$CPP $CPPFLAGS'
53983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53986
53987
53988 fi
53989
53990   fi
53991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53992 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53993   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53994     for ac_func in strtof
53995 do :
53996   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53997 if test "x$ac_cv_func_strtof" = xyes; then :
53998   cat >>confdefs.h <<_ACEOF
53999 #define HAVE_STRTOF 1
54000 _ACEOF
54001
54002 fi
54003 done
54004
54005   fi
54006
54007
54008
54009
54010   CXXFLAGS="$ac_save_CXXFLAGS"
54011
54012     $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54013
54014     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54015
54016
54017
54018    # Check whether --enable-tls was given.
54019 if test "${enable_tls+set}" = set; then :
54020   enableval=$enable_tls;
54021       case "$enableval" in
54022        yes|no) ;;
54023        *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54024       esac
54025
54026 else
54027   enable_tls=yes
54028 fi
54029
54030
54031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54032 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54033 if ${gcc_cv_have_tls+:} false; then :
54034   $as_echo_n "(cached) " >&6
54035 else
54036
54037     if test "$cross_compiling" = yes; then :
54038                 if test x$gcc_no_link = xyes; then
54039   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54040 fi
54041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54042 /* end confdefs.h.  */
54043 __thread int a; int b; int main() { return a = b; }
54044 _ACEOF
54045 if ac_fn_c_try_link "$LINENO"; then :
54046   chktls_save_LDFLAGS="$LDFLAGS"
54047                           case $host in
54048             *-*-linux* | -*-uclinuxfdpic*)
54049               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54050               ;;
54051           esac
54052           chktls_save_CFLAGS="$CFLAGS"
54053           CFLAGS="-fPIC $CFLAGS"
54054                   if test x$gcc_no_link = xyes; then
54055   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54056 fi
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h.  */
54059 int f() { return 0; }
54060 _ACEOF
54061 if ac_fn_c_try_link "$LINENO"; then :
54062   if test x$gcc_no_link = xyes; then
54063   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54064 fi
54065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h.  */
54067 __thread int a; int b; int f() { return a = b; }
54068 _ACEOF
54069 if ac_fn_c_try_link "$LINENO"; then :
54070   gcc_cv_have_tls=yes
54071 else
54072   gcc_cv_have_tls=no
54073 fi
54074 rm -f core conftest.err conftest.$ac_objext \
54075     conftest$ac_exeext conftest.$ac_ext
54076 else
54077   gcc_cv_have_tls=yes
54078 fi
54079 rm -f core conftest.err conftest.$ac_objext \
54080     conftest$ac_exeext conftest.$ac_ext
54081           CFLAGS="$chktls_save_CFLAGS"
54082           LDFLAGS="$chktls_save_LDFLAGS"
54083 else
54084   gcc_cv_have_tls=no
54085 fi
54086 rm -f core conftest.err conftest.$ac_objext \
54087     conftest$ac_exeext conftest.$ac_ext
54088
54089
54090 else
54091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54092 /* end confdefs.h.  */
54093 __thread int a; int b; int main() { return a = b; }
54094 _ACEOF
54095 if ac_fn_c_try_run "$LINENO"; then :
54096                       chktls_save_LDFLAGS="$LDFLAGS"
54097       LDFLAGS="-static $LDFLAGS"
54098       if test x$gcc_no_link = xyes; then
54099   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54100 fi
54101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102 /* end confdefs.h.  */
54103 int main() { return 0; }
54104 _ACEOF
54105 if ac_fn_c_try_link "$LINENO"; then :
54106   if test "$cross_compiling" = yes; then :
54107   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54109 as_fn_error $? "cannot run test program while cross compiling
54110 See \`config.log' for more details" "$LINENO" 5; }
54111 else
54112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54113 /* end confdefs.h.  */
54114 __thread int a; int b; int main() { return a = b; }
54115 _ACEOF
54116 if ac_fn_c_try_run "$LINENO"; then :
54117   gcc_cv_have_tls=yes
54118 else
54119   gcc_cv_have_tls=no
54120 fi
54121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54122   conftest.$ac_objext conftest.beam conftest.$ac_ext
54123 fi
54124
54125 else
54126   gcc_cv_have_tls=yes
54127 fi
54128 rm -f core conftest.err conftest.$ac_objext \
54129     conftest$ac_exeext conftest.$ac_ext
54130       LDFLAGS="$chktls_save_LDFLAGS"
54131       if test $gcc_cv_have_tls = yes; then
54132                                                 chktls_save_CFLAGS="$CFLAGS"
54133         thread_CFLAGS=failed
54134         for flag in '' '-pthread' '-lpthread'; do
54135           CFLAGS="$flag $chktls_save_CFLAGS"
54136           if test x$gcc_no_link = xyes; then
54137   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54138 fi
54139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54140 /* end confdefs.h.  */
54141 #include <pthread.h>
54142                 void *g(void *d) { return NULL; }
54143 int
54144 main ()
54145 {
54146 pthread_t t; pthread_create(&t,NULL,g,NULL);
54147   ;
54148   return 0;
54149 }
54150 _ACEOF
54151 if ac_fn_c_try_link "$LINENO"; then :
54152   thread_CFLAGS="$flag"
54153 fi
54154 rm -f core conftest.err conftest.$ac_objext \
54155     conftest$ac_exeext conftest.$ac_ext
54156           if test "X$thread_CFLAGS" != Xfailed; then
54157             break
54158           fi
54159         done
54160         CFLAGS="$chktls_save_CFLAGS"
54161         if test "X$thread_CFLAGS" != Xfailed; then
54162           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54163                                                   if test "$cross_compiling" = yes; then :
54164   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54166 as_fn_error $? "cannot run test program while cross compiling
54167 See \`config.log' for more details" "$LINENO" 5; }
54168 else
54169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54170 /* end confdefs.h.  */
54171 #include <pthread.h>
54172                 __thread int a;
54173                 static int *volatile a_in_other_thread;
54174                 static void *
54175                 thread_func (void *arg)
54176                 {
54177                   a_in_other_thread = &a;
54178                   return (void *)0;
54179                 }
54180 int
54181 main ()
54182 {
54183 pthread_t thread;
54184                 void *thread_retval;
54185                 int *volatile a_in_main_thread;
54186                 a_in_main_thread = &a;
54187                 if (pthread_create (&thread, (pthread_attr_t *)0,
54188                                     thread_func, (void *)0))
54189                   return 0;
54190                 if (pthread_join (thread, &thread_retval))
54191                   return 0;
54192                 return (a_in_other_thread == a_in_main_thread);
54193   ;
54194   return 0;
54195 }
54196 _ACEOF
54197 if ac_fn_c_try_run "$LINENO"; then :
54198   gcc_cv_have_tls=yes
54199 else
54200   gcc_cv_have_tls=no
54201 fi
54202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54203   conftest.$ac_objext conftest.beam conftest.$ac_ext
54204 fi
54205
54206           CFLAGS="$chktls_save_CFLAGS"
54207         fi
54208       fi
54209 else
54210   gcc_cv_have_tls=no
54211 fi
54212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54213   conftest.$ac_objext conftest.beam conftest.$ac_ext
54214 fi
54215
54216 fi
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54218 $as_echo "$gcc_cv_have_tls" >&6; }
54219   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54220
54221 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54222
54223   fi
54224     for ac_func in __cxa_thread_atexit_impl
54225 do :
54226   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54227 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54228   cat >>confdefs.h <<_ACEOF
54229 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54230 _ACEOF
54231
54232 fi
54233 done
54234
54235     for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54236 do :
54237   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54240   cat >>confdefs.h <<_ACEOF
54241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54242 _ACEOF
54243
54244 fi
54245 done
54246
54247     for ac_func in timespec_get
54248 do :
54249   ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54250 if test "x$ac_cv_func_timespec_get" = xyes; then :
54251   cat >>confdefs.h <<_ACEOF
54252 #define HAVE_TIMESPEC_GET 1
54253 _ACEOF
54254
54255 fi
54256 done
54257
54258     for ac_func in sockatmark
54259 do :
54260   ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54261 if test "x$ac_cv_func_sockatmark" = xyes; then :
54262   cat >>confdefs.h <<_ACEOF
54263 #define HAVE_SOCKATMARK 1
54264 _ACEOF
54265
54266 fi
54267 done
54268
54269     for ac_func in uselocale
54270 do :
54271   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54272 if test "x$ac_cv_func_uselocale" = xyes; then :
54273   cat >>confdefs.h <<_ACEOF
54274 #define HAVE_USELOCALE 1
54275 _ACEOF
54276
54277 fi
54278 done
54279
54280     for ac_func in secure_getenv
54281 do :
54282   ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
54283 if test "x$ac_cv_func_secure_getenv" = xyes; then :
54284   cat >>confdefs.h <<_ACEOF
54285 #define HAVE_SECURE_GETENV 1
54286 _ACEOF
54287
54288 fi
54289 done
54290
54291
54292
54293
54294
54295
54296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54297 $as_echo_n "checking for iconv... " >&6; }
54298 if ${am_cv_func_iconv+:} false; then :
54299   $as_echo_n "(cached) " >&6
54300 else
54301
54302     am_cv_func_iconv="no, consider installing GNU libiconv"
54303     am_cv_lib_iconv=no
54304                     am_save_CPPFLAGS="$CPPFLAGS"
54305     CPPFLAGS="$CPPFLAGS $INCICONV"
54306     if test x$gcc_no_link = xyes; then
54307   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54308 fi
54309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54310 /* end confdefs.h.  */
54311 #include <stdlib.h>
54312 #include <iconv.h>
54313 int
54314 main ()
54315 {
54316 iconv_t cd = iconv_open("","");
54317        iconv(cd,NULL,NULL,NULL,NULL);
54318        iconv_close(cd);
54319   ;
54320   return 0;
54321 }
54322 _ACEOF
54323 if ac_fn_c_try_link "$LINENO"; then :
54324   am_cv_func_iconv=yes
54325 fi
54326 rm -f core conftest.err conftest.$ac_objext \
54327     conftest$ac_exeext conftest.$ac_ext
54328     CPPFLAGS="$am_save_CPPFLAGS"
54329
54330     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54331       for _libs in .libs _libs; do
54332         am_save_CPPFLAGS="$CPPFLAGS"
54333         am_save_LIBS="$LIBS"
54334         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54335         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54336         if test x$gcc_no_link = xyes; then
54337   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54338 fi
54339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54340 /* end confdefs.h.  */
54341 #include <stdlib.h>
54342 #include <iconv.h>
54343 int
54344 main ()
54345 {
54346 iconv_t cd = iconv_open("","");
54347            iconv(cd,NULL,NULL,NULL,NULL);
54348            iconv_close(cd);
54349   ;
54350   return 0;
54351 }
54352 _ACEOF
54353 if ac_fn_c_try_link "$LINENO"; then :
54354   INCICONV="-I../libiconv/include"
54355           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54356           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54357           am_cv_lib_iconv=yes
54358           am_cv_func_iconv=yes
54359 fi
54360 rm -f core conftest.err conftest.$ac_objext \
54361     conftest$ac_exeext conftest.$ac_ext
54362         CPPFLAGS="$am_save_CPPFLAGS"
54363         LIBS="$am_save_LIBS"
54364         if test "$am_cv_func_iconv" = "yes"; then
54365           break
54366         fi
54367       done
54368     fi
54369
54370     if test "$am_cv_func_iconv" != yes; then
54371       am_save_CPPFLAGS="$CPPFLAGS"
54372       am_save_LIBS="$LIBS"
54373       CPPFLAGS="$CPPFLAGS $INCICONV"
54374       LIBS="$LIBS $LIBICONV"
54375       if test x$gcc_no_link = xyes; then
54376   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54377 fi
54378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54379 /* end confdefs.h.  */
54380 #include <stdlib.h>
54381 #include <iconv.h>
54382 int
54383 main ()
54384 {
54385 iconv_t cd = iconv_open("","");
54386          iconv(cd,NULL,NULL,NULL,NULL);
54387          iconv_close(cd);
54388   ;
54389   return 0;
54390 }
54391 _ACEOF
54392 if ac_fn_c_try_link "$LINENO"; then :
54393   am_cv_lib_iconv=yes
54394         am_cv_func_iconv=yes
54395 fi
54396 rm -f core conftest.err conftest.$ac_objext \
54397     conftest$ac_exeext conftest.$ac_ext
54398       CPPFLAGS="$am_save_CPPFLAGS"
54399       LIBS="$am_save_LIBS"
54400     fi
54401
54402 fi
54403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54404 $as_echo "$am_cv_func_iconv" >&6; }
54405   if test "$am_cv_func_iconv" = yes; then
54406
54407 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54408
54409   fi
54410   if test "$am_cv_lib_iconv" = yes; then
54411
54412   for element in $INCICONV; do
54413     haveit=
54414     for x in $CPPFLAGS; do
54415
54416   acl_save_prefix="$prefix"
54417   prefix="$acl_final_prefix"
54418   acl_save_exec_prefix="$exec_prefix"
54419   exec_prefix="$acl_final_exec_prefix"
54420   eval x=\"$x\"
54421   exec_prefix="$acl_save_exec_prefix"
54422   prefix="$acl_save_prefix"
54423
54424       if test "X$x" = "X$element"; then
54425         haveit=yes
54426         break
54427       fi
54428     done
54429     if test -z "$haveit"; then
54430       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54431     fi
54432   done
54433
54434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54435 $as_echo_n "checking how to link with libiconv... " >&6; }
54436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54437 $as_echo "$LIBICONV" >&6; }
54438   else
54439     LIBICONV=
54440     LTLIBICONV=
54441   fi
54442
54443
54444
54445   if test "$am_cv_func_iconv" = yes; then
54446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54447 $as_echo_n "checking for iconv declaration... " >&6; }
54448     if ${am_cv_proto_iconv+:} false; then :
54449   $as_echo_n "(cached) " >&6
54450 else
54451
54452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54453 /* end confdefs.h.  */
54454
54455 #include <stdlib.h>
54456 #include <iconv.h>
54457 extern
54458 #ifdef __cplusplus
54459 "C"
54460 #endif
54461 #if defined(__STDC__) || defined(__cplusplus)
54462 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54463 #else
54464 size_t iconv();
54465 #endif
54466
54467 int
54468 main ()
54469 {
54470
54471   ;
54472   return 0;
54473 }
54474 _ACEOF
54475 if ac_fn_c_try_compile "$LINENO"; then :
54476   am_cv_proto_iconv_arg1=""
54477 else
54478   am_cv_proto_iconv_arg1="const"
54479 fi
54480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54481       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);"
54482 fi
54483
54484     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54485     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54486          }$am_cv_proto_iconv" >&5
54487 $as_echo "${ac_t:-
54488          }$am_cv_proto_iconv" >&6; }
54489
54490 cat >>confdefs.h <<_ACEOF
54491 #define ICONV_CONST $am_cv_proto_iconv_arg1
54492 _ACEOF
54493
54494   fi
54495
54496     ;;
54497   *-mingw32*)
54498
54499   # If we're not using GNU ld, then there's no point in even trying these
54500   # tests.  Check for that first.  We should have already tested for gld
54501   # by now (in libtool), but require it now just to be safe...
54502   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54503   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54504
54505
54506
54507   # The name set by libtool depends on the version of libtool.  Shame on us
54508   # for depending on an impl detail, but c'est la vie.  Older versions used
54509   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54510   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54511   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54512   # set (hence we're using an older libtool), then set it.
54513   if test x${with_gnu_ld+set} != xset; then
54514     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54515       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54516       with_gnu_ld=no
54517     else
54518       with_gnu_ld=$ac_cv_prog_gnu_ld
54519     fi
54520   fi
54521
54522   # Start by getting the version number.  I think the libtool test already
54523   # does some of this, but throws away the result.
54524   glibcxx_ld_is_gold=no
54525   glibcxx_ld_is_mold=no
54526   if test x"$with_gnu_ld" = x"yes"; then
54527     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54528 $as_echo_n "checking for ld version... " >&6; }
54529
54530     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54531       glibcxx_ld_is_gold=yes
54532     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54533       glibcxx_ld_is_mold=yes
54534     fi
54535     ldver=`$LD --version 2>/dev/null |
54536            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54537
54538     glibcxx_gnu_ld_version=`echo $ldver | \
54539            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54541 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54542   fi
54543
54544   # Set --gc-sections.
54545   glibcxx_have_gc_sections=no
54546   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54547     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54548       glibcxx_have_gc_sections=yes
54549     fi
54550   else
54551     glibcxx_gcsections_min_ld=21602
54552     if test x"$with_gnu_ld" = x"yes" &&
54553         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54554       glibcxx_have_gc_sections=yes
54555     fi
54556   fi
54557   if test "$glibcxx_have_gc_sections" = "yes"; then
54558     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54559     # NB: This flag only works reliably after 2.16.1. Configure tests
54560     # for this are difficult, so hard wire a value that should work.
54561
54562     ac_test_CFLAGS="${CFLAGS+set}"
54563     ac_save_CFLAGS="$CFLAGS"
54564     CFLAGS='-Wl,--gc-sections'
54565
54566     # Check for -Wl,--gc-sections
54567     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54568 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54569     if test x$gcc_no_link = xyes; then
54570   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54571 fi
54572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54573 /* end confdefs.h.  */
54574  int one(void) { return 1; }
54575      int two(void) { return 2; }
54576
54577 int
54578 main ()
54579 {
54580  two();
54581   ;
54582   return 0;
54583 }
54584 _ACEOF
54585 if ac_fn_c_try_link "$LINENO"; then :
54586   ac_gcsections=yes
54587 else
54588   ac_gcsections=no
54589 fi
54590 rm -f core conftest.err conftest.$ac_objext \
54591     conftest$ac_exeext conftest.$ac_ext
54592     if test "$ac_gcsections" = "yes"; then
54593       rm -f conftest.c
54594       touch conftest.c
54595       if $CC -c conftest.c; then
54596         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54597            grep "Warning: gc-sections option ignored" > /dev/null; then
54598           ac_gcsections=no
54599         fi
54600       fi
54601       rm -f conftest.c conftest.o conftest
54602     fi
54603     if test "$ac_gcsections" = "yes"; then
54604       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54605     fi
54606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54607 $as_echo "$ac_gcsections" >&6; }
54608
54609     if test "$ac_test_CFLAGS" = set; then
54610       CFLAGS="$ac_save_CFLAGS"
54611     else
54612       # this is the suspicious part
54613       CFLAGS=''
54614     fi
54615   fi
54616
54617   # Set -z,relro.
54618   # Note this is only for shared objects.
54619   ac_ld_relro=no
54620   if test x"$with_gnu_ld" = x"yes"; then
54621     # cygwin and mingw uses PE, which has no ELF relro support,
54622     # multi target ld may confuse configure machinery
54623     case "$host" in
54624     *-*-cygwin*)
54625      ;;
54626     *-*-mingw*)
54627      ;;
54628     *)
54629       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54630 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54631       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54632       if test -n "$cxx_z_relo"; then
54633         OPT_LDFLAGS="-Wl,-z,relro"
54634         ac_ld_relro=yes
54635       fi
54636       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54637 $as_echo "$ac_ld_relro" >&6; }
54638     esac
54639   fi
54640
54641   # Set linker optimization flags.
54642   if test x"$with_gnu_ld" = x"yes"; then
54643     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54644   fi
54645
54646
54647
54648
54649
54650   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54651   ac_save_CXXFLAGS="$CXXFLAGS"
54652   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54653
54654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54655 $as_echo_n "checking for sin in -lm... " >&6; }
54656 if ${ac_cv_lib_m_sin+:} false; then :
54657   $as_echo_n "(cached) " >&6
54658 else
54659   ac_check_lib_save_LIBS=$LIBS
54660 LIBS="-lm  $LIBS"
54661 if test x$gcc_no_link = xyes; then
54662   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54663 fi
54664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54665 /* end confdefs.h.  */
54666
54667 /* Override any GCC internal prototype to avoid an error.
54668    Use char because int might match the return type of a GCC
54669    builtin and then its argument prototype would still apply.  */
54670 #ifdef __cplusplus
54671 extern "C"
54672 #endif
54673 char sin ();
54674 int
54675 main ()
54676 {
54677 return sin ();
54678   ;
54679   return 0;
54680 }
54681 _ACEOF
54682 if ac_fn_c_try_link "$LINENO"; then :
54683   ac_cv_lib_m_sin=yes
54684 else
54685   ac_cv_lib_m_sin=no
54686 fi
54687 rm -f core conftest.err conftest.$ac_objext \
54688     conftest$ac_exeext conftest.$ac_ext
54689 LIBS=$ac_check_lib_save_LIBS
54690 fi
54691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54692 $as_echo "$ac_cv_lib_m_sin" >&6; }
54693 if test "x$ac_cv_lib_m_sin" = xyes; then :
54694   libm="-lm"
54695 fi
54696
54697   ac_save_LIBS="$LIBS"
54698   LIBS="$LIBS $libm"
54699
54700
54701
54702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54703 $as_echo_n "checking for isinf declaration... " >&6; }
54704   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54705     if ${glibcxx_cv_func_isinf_use+:} false; then :
54706   $as_echo_n "(cached) " >&6
54707 else
54708
54709
54710       ac_ext=cpp
54711 ac_cpp='$CXXCPP $CPPFLAGS'
54712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54715
54716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54717 /* end confdefs.h.  */
54718 #include <math.h>
54719                       #ifdef HAVE_IEEEFP_H
54720                       #include <ieeefp.h>
54721                       #endif
54722
54723 int
54724 main ()
54725 {
54726  isinf(0);
54727   ;
54728   return 0;
54729 }
54730 _ACEOF
54731 if ac_fn_cxx_try_compile "$LINENO"; then :
54732   glibcxx_cv_func_isinf_use=yes
54733 else
54734   glibcxx_cv_func_isinf_use=no
54735 fi
54736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54737       ac_ext=c
54738 ac_cpp='$CPP $CPPFLAGS'
54739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54742
54743
54744 fi
54745
54746   fi
54747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54748 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54749
54750   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54751     for ac_func in isinf
54752 do :
54753   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54754 if test "x$ac_cv_func_isinf" = xyes; then :
54755   cat >>confdefs.h <<_ACEOF
54756 #define HAVE_ISINF 1
54757 _ACEOF
54758
54759 fi
54760 done
54761
54762   else
54763
54764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54765 $as_echo_n "checking for _isinf declaration... " >&6; }
54766   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54767     if ${glibcxx_cv_func__isinf_use+:} false; then :
54768   $as_echo_n "(cached) " >&6
54769 else
54770
54771
54772       ac_ext=cpp
54773 ac_cpp='$CXXCPP $CPPFLAGS'
54774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54777
54778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54779 /* end confdefs.h.  */
54780 #include <math.h>
54781                       #ifdef HAVE_IEEEFP_H
54782                       #include <ieeefp.h>
54783                       #endif
54784
54785 int
54786 main ()
54787 {
54788  _isinf(0);
54789   ;
54790   return 0;
54791 }
54792 _ACEOF
54793 if ac_fn_cxx_try_compile "$LINENO"; then :
54794   glibcxx_cv_func__isinf_use=yes
54795 else
54796   glibcxx_cv_func__isinf_use=no
54797 fi
54798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54799       ac_ext=c
54800 ac_cpp='$CPP $CPPFLAGS'
54801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54804
54805
54806 fi
54807
54808   fi
54809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54810 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54811
54812     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54813       for ac_func in _isinf
54814 do :
54815   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54816 if test "x$ac_cv_func__isinf" = xyes; then :
54817   cat >>confdefs.h <<_ACEOF
54818 #define HAVE__ISINF 1
54819 _ACEOF
54820
54821 fi
54822 done
54823
54824     fi
54825   fi
54826
54827
54828
54829
54830
54831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54832 $as_echo_n "checking for isnan declaration... " >&6; }
54833   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54834     if ${glibcxx_cv_func_isnan_use+:} false; then :
54835   $as_echo_n "(cached) " >&6
54836 else
54837
54838
54839       ac_ext=cpp
54840 ac_cpp='$CXXCPP $CPPFLAGS'
54841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54844
54845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846 /* end confdefs.h.  */
54847 #include <math.h>
54848                       #ifdef HAVE_IEEEFP_H
54849                       #include <ieeefp.h>
54850                       #endif
54851
54852 int
54853 main ()
54854 {
54855  isnan(0);
54856   ;
54857   return 0;
54858 }
54859 _ACEOF
54860 if ac_fn_cxx_try_compile "$LINENO"; then :
54861   glibcxx_cv_func_isnan_use=yes
54862 else
54863   glibcxx_cv_func_isnan_use=no
54864 fi
54865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54866       ac_ext=c
54867 ac_cpp='$CPP $CPPFLAGS'
54868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871
54872
54873 fi
54874
54875   fi
54876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54877 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54878
54879   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54880     for ac_func in isnan
54881 do :
54882   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54883 if test "x$ac_cv_func_isnan" = xyes; then :
54884   cat >>confdefs.h <<_ACEOF
54885 #define HAVE_ISNAN 1
54886 _ACEOF
54887
54888 fi
54889 done
54890
54891   else
54892
54893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54894 $as_echo_n "checking for _isnan declaration... " >&6; }
54895   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54896     if ${glibcxx_cv_func__isnan_use+:} false; then :
54897   $as_echo_n "(cached) " >&6
54898 else
54899
54900
54901       ac_ext=cpp
54902 ac_cpp='$CXXCPP $CPPFLAGS'
54903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906
54907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54908 /* end confdefs.h.  */
54909 #include <math.h>
54910                       #ifdef HAVE_IEEEFP_H
54911                       #include <ieeefp.h>
54912                       #endif
54913
54914 int
54915 main ()
54916 {
54917  _isnan(0);
54918   ;
54919   return 0;
54920 }
54921 _ACEOF
54922 if ac_fn_cxx_try_compile "$LINENO"; then :
54923   glibcxx_cv_func__isnan_use=yes
54924 else
54925   glibcxx_cv_func__isnan_use=no
54926 fi
54927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54928       ac_ext=c
54929 ac_cpp='$CPP $CPPFLAGS'
54930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54933
54934
54935 fi
54936
54937   fi
54938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54939 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54940
54941     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54942       for ac_func in _isnan
54943 do :
54944   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54945 if test "x$ac_cv_func__isnan" = xyes; then :
54946   cat >>confdefs.h <<_ACEOF
54947 #define HAVE__ISNAN 1
54948 _ACEOF
54949
54950 fi
54951 done
54952
54953     fi
54954   fi
54955
54956
54957
54958
54959
54960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54961 $as_echo_n "checking for finite declaration... " >&6; }
54962   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54963     if ${glibcxx_cv_func_finite_use+:} false; then :
54964   $as_echo_n "(cached) " >&6
54965 else
54966
54967
54968       ac_ext=cpp
54969 ac_cpp='$CXXCPP $CPPFLAGS'
54970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54973
54974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54975 /* end confdefs.h.  */
54976 #include <math.h>
54977                       #ifdef HAVE_IEEEFP_H
54978                       #include <ieeefp.h>
54979                       #endif
54980
54981 int
54982 main ()
54983 {
54984  finite(0);
54985   ;
54986   return 0;
54987 }
54988 _ACEOF
54989 if ac_fn_cxx_try_compile "$LINENO"; then :
54990   glibcxx_cv_func_finite_use=yes
54991 else
54992   glibcxx_cv_func_finite_use=no
54993 fi
54994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54995       ac_ext=c
54996 ac_cpp='$CPP $CPPFLAGS'
54997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55000
55001
55002 fi
55003
55004   fi
55005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55006 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55007
55008   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55009     for ac_func in finite
55010 do :
55011   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55012 if test "x$ac_cv_func_finite" = xyes; then :
55013   cat >>confdefs.h <<_ACEOF
55014 #define HAVE_FINITE 1
55015 _ACEOF
55016
55017 fi
55018 done
55019
55020   else
55021
55022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55023 $as_echo_n "checking for _finite declaration... " >&6; }
55024   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55025     if ${glibcxx_cv_func__finite_use+:} false; then :
55026   $as_echo_n "(cached) " >&6
55027 else
55028
55029
55030       ac_ext=cpp
55031 ac_cpp='$CXXCPP $CPPFLAGS'
55032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035
55036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55037 /* end confdefs.h.  */
55038 #include <math.h>
55039                       #ifdef HAVE_IEEEFP_H
55040                       #include <ieeefp.h>
55041                       #endif
55042
55043 int
55044 main ()
55045 {
55046  _finite(0);
55047   ;
55048   return 0;
55049 }
55050 _ACEOF
55051 if ac_fn_cxx_try_compile "$LINENO"; then :
55052   glibcxx_cv_func__finite_use=yes
55053 else
55054   glibcxx_cv_func__finite_use=no
55055 fi
55056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55057       ac_ext=c
55058 ac_cpp='$CPP $CPPFLAGS'
55059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062
55063
55064 fi
55065
55066   fi
55067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55068 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55069
55070     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55071       for ac_func in _finite
55072 do :
55073   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55074 if test "x$ac_cv_func__finite" = xyes; then :
55075   cat >>confdefs.h <<_ACEOF
55076 #define HAVE__FINITE 1
55077 _ACEOF
55078
55079 fi
55080 done
55081
55082     fi
55083   fi
55084
55085
55086
55087
55088
55089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55090 $as_echo_n "checking for sincos declaration... " >&6; }
55091   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55092     if ${glibcxx_cv_func_sincos_use+:} false; then :
55093   $as_echo_n "(cached) " >&6
55094 else
55095
55096
55097       ac_ext=cpp
55098 ac_cpp='$CXXCPP $CPPFLAGS'
55099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55102
55103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55104 /* end confdefs.h.  */
55105 #include <math.h>
55106 int
55107 main ()
55108 {
55109  sincos(0, 0, 0);
55110   ;
55111   return 0;
55112 }
55113 _ACEOF
55114 if ac_fn_cxx_try_compile "$LINENO"; then :
55115   glibcxx_cv_func_sincos_use=yes
55116 else
55117   glibcxx_cv_func_sincos_use=no
55118 fi
55119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55120       ac_ext=c
55121 ac_cpp='$CPP $CPPFLAGS'
55122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55125
55126
55127 fi
55128
55129   fi
55130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55131 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55132
55133   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55134     for ac_func in sincos
55135 do :
55136   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55137 if test "x$ac_cv_func_sincos" = xyes; then :
55138   cat >>confdefs.h <<_ACEOF
55139 #define HAVE_SINCOS 1
55140 _ACEOF
55141
55142 fi
55143 done
55144
55145   else
55146
55147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55148 $as_echo_n "checking for _sincos declaration... " >&6; }
55149   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55150     if ${glibcxx_cv_func__sincos_use+:} false; then :
55151   $as_echo_n "(cached) " >&6
55152 else
55153
55154
55155       ac_ext=cpp
55156 ac_cpp='$CXXCPP $CPPFLAGS'
55157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55160
55161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55162 /* end confdefs.h.  */
55163 #include <math.h>
55164 int
55165 main ()
55166 {
55167  _sincos(0, 0, 0);
55168   ;
55169   return 0;
55170 }
55171 _ACEOF
55172 if ac_fn_cxx_try_compile "$LINENO"; then :
55173   glibcxx_cv_func__sincos_use=yes
55174 else
55175   glibcxx_cv_func__sincos_use=no
55176 fi
55177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55178       ac_ext=c
55179 ac_cpp='$CPP $CPPFLAGS'
55180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55183
55184
55185 fi
55186
55187   fi
55188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55189 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55190
55191     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55192       for ac_func in _sincos
55193 do :
55194   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55195 if test "x$ac_cv_func__sincos" = xyes; then :
55196   cat >>confdefs.h <<_ACEOF
55197 #define HAVE__SINCOS 1
55198 _ACEOF
55199
55200 fi
55201 done
55202
55203     fi
55204   fi
55205
55206
55207
55208
55209
55210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55211 $as_echo_n "checking for fpclass declaration... " >&6; }
55212   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55213     if ${glibcxx_cv_func_fpclass_use+:} false; then :
55214   $as_echo_n "(cached) " >&6
55215 else
55216
55217
55218       ac_ext=cpp
55219 ac_cpp='$CXXCPP $CPPFLAGS'
55220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55223
55224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55225 /* end confdefs.h.  */
55226 #include <math.h>
55227                       #ifdef HAVE_IEEEFP_H
55228                       #include <ieeefp.h>
55229                       #endif
55230
55231 int
55232 main ()
55233 {
55234  fpclass(0);
55235   ;
55236   return 0;
55237 }
55238 _ACEOF
55239 if ac_fn_cxx_try_compile "$LINENO"; then :
55240   glibcxx_cv_func_fpclass_use=yes
55241 else
55242   glibcxx_cv_func_fpclass_use=no
55243 fi
55244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55245       ac_ext=c
55246 ac_cpp='$CPP $CPPFLAGS'
55247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55250
55251
55252 fi
55253
55254   fi
55255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55256 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55257
55258   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55259     for ac_func in fpclass
55260 do :
55261   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55262 if test "x$ac_cv_func_fpclass" = xyes; then :
55263   cat >>confdefs.h <<_ACEOF
55264 #define HAVE_FPCLASS 1
55265 _ACEOF
55266
55267 fi
55268 done
55269
55270   else
55271
55272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55273 $as_echo_n "checking for _fpclass declaration... " >&6; }
55274   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55275     if ${glibcxx_cv_func__fpclass_use+:} false; then :
55276   $as_echo_n "(cached) " >&6
55277 else
55278
55279
55280       ac_ext=cpp
55281 ac_cpp='$CXXCPP $CPPFLAGS'
55282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55285
55286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55287 /* end confdefs.h.  */
55288 #include <math.h>
55289                       #ifdef HAVE_IEEEFP_H
55290                       #include <ieeefp.h>
55291                       #endif
55292
55293 int
55294 main ()
55295 {
55296  _fpclass(0);
55297   ;
55298   return 0;
55299 }
55300 _ACEOF
55301 if ac_fn_cxx_try_compile "$LINENO"; then :
55302   glibcxx_cv_func__fpclass_use=yes
55303 else
55304   glibcxx_cv_func__fpclass_use=no
55305 fi
55306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55307       ac_ext=c
55308 ac_cpp='$CPP $CPPFLAGS'
55309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55312
55313
55314 fi
55315
55316   fi
55317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55318 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55319
55320     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55321       for ac_func in _fpclass
55322 do :
55323   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55324 if test "x$ac_cv_func__fpclass" = xyes; then :
55325   cat >>confdefs.h <<_ACEOF
55326 #define HAVE__FPCLASS 1
55327 _ACEOF
55328
55329 fi
55330 done
55331
55332     fi
55333   fi
55334
55335
55336
55337
55338
55339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55340 $as_echo_n "checking for qfpclass declaration... " >&6; }
55341   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55342     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55343   $as_echo_n "(cached) " >&6
55344 else
55345
55346
55347       ac_ext=cpp
55348 ac_cpp='$CXXCPP $CPPFLAGS'
55349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55352
55353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55354 /* end confdefs.h.  */
55355 #include <math.h>
55356                       #ifdef HAVE_IEEEFP_H
55357                       #include <ieeefp.h>
55358                       #endif
55359
55360 int
55361 main ()
55362 {
55363  qfpclass(0);
55364   ;
55365   return 0;
55366 }
55367 _ACEOF
55368 if ac_fn_cxx_try_compile "$LINENO"; then :
55369   glibcxx_cv_func_qfpclass_use=yes
55370 else
55371   glibcxx_cv_func_qfpclass_use=no
55372 fi
55373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55374       ac_ext=c
55375 ac_cpp='$CPP $CPPFLAGS'
55376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55379
55380
55381 fi
55382
55383   fi
55384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55385 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55386
55387   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55388     for ac_func in qfpclass
55389 do :
55390   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55391 if test "x$ac_cv_func_qfpclass" = xyes; then :
55392   cat >>confdefs.h <<_ACEOF
55393 #define HAVE_QFPCLASS 1
55394 _ACEOF
55395
55396 fi
55397 done
55398
55399   else
55400
55401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55402 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55403   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55404     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55405   $as_echo_n "(cached) " >&6
55406 else
55407
55408
55409       ac_ext=cpp
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414
55415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416 /* end confdefs.h.  */
55417 #include <math.h>
55418                       #ifdef HAVE_IEEEFP_H
55419                       #include <ieeefp.h>
55420                       #endif
55421
55422 int
55423 main ()
55424 {
55425  _qfpclass(0);
55426   ;
55427   return 0;
55428 }
55429 _ACEOF
55430 if ac_fn_cxx_try_compile "$LINENO"; then :
55431   glibcxx_cv_func__qfpclass_use=yes
55432 else
55433   glibcxx_cv_func__qfpclass_use=no
55434 fi
55435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55436       ac_ext=c
55437 ac_cpp='$CPP $CPPFLAGS'
55438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441
55442
55443 fi
55444
55445   fi
55446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55447 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55448
55449     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55450       for ac_func in _qfpclass
55451 do :
55452   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55453 if test "x$ac_cv_func__qfpclass" = xyes; then :
55454   cat >>confdefs.h <<_ACEOF
55455 #define HAVE__QFPCLASS 1
55456 _ACEOF
55457
55458 fi
55459 done
55460
55461     fi
55462   fi
55463
55464
55465
55466
55467
55468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55469 $as_echo_n "checking for hypot declaration... " >&6; }
55470   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55471     if ${glibcxx_cv_func_hypot_use+:} false; then :
55472   $as_echo_n "(cached) " >&6
55473 else
55474
55475
55476       ac_ext=cpp
55477 ac_cpp='$CXXCPP $CPPFLAGS'
55478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55481
55482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55483 /* end confdefs.h.  */
55484 #include <math.h>
55485 int
55486 main ()
55487 {
55488  hypot(0, 0);
55489   ;
55490   return 0;
55491 }
55492 _ACEOF
55493 if ac_fn_cxx_try_compile "$LINENO"; then :
55494   glibcxx_cv_func_hypot_use=yes
55495 else
55496   glibcxx_cv_func_hypot_use=no
55497 fi
55498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55499       ac_ext=c
55500 ac_cpp='$CPP $CPPFLAGS'
55501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55504
55505
55506 fi
55507
55508   fi
55509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55510 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55511
55512   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55513     for ac_func in hypot
55514 do :
55515   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55516 if test "x$ac_cv_func_hypot" = xyes; then :
55517   cat >>confdefs.h <<_ACEOF
55518 #define HAVE_HYPOT 1
55519 _ACEOF
55520
55521 fi
55522 done
55523
55524   else
55525
55526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55527 $as_echo_n "checking for _hypot declaration... " >&6; }
55528   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55529     if ${glibcxx_cv_func__hypot_use+:} false; then :
55530   $as_echo_n "(cached) " >&6
55531 else
55532
55533
55534       ac_ext=cpp
55535 ac_cpp='$CXXCPP $CPPFLAGS'
55536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55539
55540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55541 /* end confdefs.h.  */
55542 #include <math.h>
55543 int
55544 main ()
55545 {
55546  _hypot(0, 0);
55547   ;
55548   return 0;
55549 }
55550 _ACEOF
55551 if ac_fn_cxx_try_compile "$LINENO"; then :
55552   glibcxx_cv_func__hypot_use=yes
55553 else
55554   glibcxx_cv_func__hypot_use=no
55555 fi
55556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55557       ac_ext=c
55558 ac_cpp='$CPP $CPPFLAGS'
55559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55562
55563
55564 fi
55565
55566   fi
55567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55568 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55569
55570     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55571       for ac_func in _hypot
55572 do :
55573   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55574 if test "x$ac_cv_func__hypot" = xyes; then :
55575   cat >>confdefs.h <<_ACEOF
55576 #define HAVE__HYPOT 1
55577 _ACEOF
55578
55579 fi
55580 done
55581
55582     fi
55583   fi
55584
55585
55586
55587
55588
55589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55590 $as_echo_n "checking for float trig functions... " >&6; }
55591   if ${glibcxx_cv_func_float_trig_use+:} false; then :
55592   $as_echo_n "(cached) " >&6
55593 else
55594
55595
55596     ac_ext=cpp
55597 ac_cpp='$CXXCPP $CPPFLAGS'
55598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601
55602     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55603 /* end confdefs.h.  */
55604 #include <math.h>
55605 int
55606 main ()
55607 {
55608 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55609   ;
55610   return 0;
55611 }
55612 _ACEOF
55613 if ac_fn_cxx_try_compile "$LINENO"; then :
55614   glibcxx_cv_func_float_trig_use=yes
55615 else
55616   glibcxx_cv_func_float_trig_use=no
55617 fi
55618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55619     ac_ext=c
55620 ac_cpp='$CPP $CPPFLAGS'
55621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55624
55625 fi
55626
55627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55628 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55629   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55630     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55631 do :
55632   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55635   cat >>confdefs.h <<_ACEOF
55636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55637 _ACEOF
55638
55639 fi
55640 done
55641
55642   else
55643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55644 $as_echo_n "checking for _float trig functions... " >&6; }
55645     if ${glibcxx_cv_func__float_trig_use+:} false; then :
55646   $as_echo_n "(cached) " >&6
55647 else
55648
55649
55650       ac_ext=cpp
55651 ac_cpp='$CXXCPP $CPPFLAGS'
55652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55655
55656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55657 /* end confdefs.h.  */
55658 #include <math.h>
55659 int
55660 main ()
55661 {
55662 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55663   ;
55664   return 0;
55665 }
55666 _ACEOF
55667 if ac_fn_cxx_try_compile "$LINENO"; then :
55668   glibcxx_cv_func__float_trig_use=yes
55669 else
55670   glibcxx_cv_func__float_trig_use=no
55671 fi
55672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55673       ac_ext=c
55674 ac_cpp='$CPP $CPPFLAGS'
55675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55678
55679 fi
55680
55681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55682 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55683     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55684       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55685 do :
55686   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55688 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55689   cat >>confdefs.h <<_ACEOF
55690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55691 _ACEOF
55692
55693 fi
55694 done
55695
55696     fi
55697   fi
55698
55699
55700
55701
55702
55703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55704 $as_echo_n "checking for float round functions... " >&6; }
55705   if ${glibcxx_cv_func_float_round_use+:} false; then :
55706   $as_echo_n "(cached) " >&6
55707 else
55708
55709
55710     ac_ext=cpp
55711 ac_cpp='$CXXCPP $CPPFLAGS'
55712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55715
55716     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55717 /* end confdefs.h.  */
55718 #include <math.h>
55719 int
55720 main ()
55721 {
55722 ceilf (0); floorf (0);
55723   ;
55724   return 0;
55725 }
55726 _ACEOF
55727 if ac_fn_cxx_try_compile "$LINENO"; then :
55728   glibcxx_cv_func_float_round_use=yes
55729 else
55730   glibcxx_cv_func_float_round_use=no
55731 fi
55732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55733     ac_ext=c
55734 ac_cpp='$CPP $CPPFLAGS'
55735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55738
55739 fi
55740
55741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55742 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55743   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55744     for ac_func in ceilf floorf
55745 do :
55746   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55748 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55749   cat >>confdefs.h <<_ACEOF
55750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55751 _ACEOF
55752
55753 fi
55754 done
55755
55756   else
55757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55758 $as_echo_n "checking for _float round functions... " >&6; }
55759     if ${glibcxx_cv_func__float_round_use+:} false; then :
55760   $as_echo_n "(cached) " >&6
55761 else
55762
55763
55764       ac_ext=cpp
55765 ac_cpp='$CXXCPP $CPPFLAGS'
55766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55769
55770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55771 /* end confdefs.h.  */
55772 #include <math.h>
55773 int
55774 main ()
55775 {
55776 _ceilf (0); _floorf (0);
55777   ;
55778   return 0;
55779 }
55780 _ACEOF
55781 if ac_fn_cxx_try_compile "$LINENO"; then :
55782   glibcxx_cv_func__float_round_use=yes
55783 else
55784   glibcxx_cv_func__float_round_use=no
55785 fi
55786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55787       ac_ext=c
55788 ac_cpp='$CPP $CPPFLAGS'
55789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55792
55793 fi
55794
55795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55796 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55797     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55798       for ac_func in _ceilf _floorf
55799 do :
55800   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55803   cat >>confdefs.h <<_ACEOF
55804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55805 _ACEOF
55806
55807 fi
55808 done
55809
55810     fi
55811   fi
55812
55813
55814
55815
55816
55817
55818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55819 $as_echo_n "checking for expf declaration... " >&6; }
55820   if test x${glibcxx_cv_func_expf_use+set} != xset; then
55821     if ${glibcxx_cv_func_expf_use+:} false; then :
55822   $as_echo_n "(cached) " >&6
55823 else
55824
55825
55826       ac_ext=cpp
55827 ac_cpp='$CXXCPP $CPPFLAGS'
55828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55831
55832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55833 /* end confdefs.h.  */
55834 #include <math.h>
55835                       #ifdef HAVE_IEEEFP_H
55836                       #include <ieeefp.h>
55837                       #endif
55838
55839 int
55840 main ()
55841 {
55842  expf(0);
55843   ;
55844   return 0;
55845 }
55846 _ACEOF
55847 if ac_fn_cxx_try_compile "$LINENO"; then :
55848   glibcxx_cv_func_expf_use=yes
55849 else
55850   glibcxx_cv_func_expf_use=no
55851 fi
55852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55853       ac_ext=c
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55858
55859
55860 fi
55861
55862   fi
55863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55864 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55865
55866   if test x$glibcxx_cv_func_expf_use = x"yes"; then
55867     for ac_func in expf
55868 do :
55869   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55870 if test "x$ac_cv_func_expf" = xyes; then :
55871   cat >>confdefs.h <<_ACEOF
55872 #define HAVE_EXPF 1
55873 _ACEOF
55874
55875 fi
55876 done
55877
55878   else
55879
55880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55881 $as_echo_n "checking for _expf declaration... " >&6; }
55882   if test x${glibcxx_cv_func__expf_use+set} != xset; then
55883     if ${glibcxx_cv_func__expf_use+:} false; then :
55884   $as_echo_n "(cached) " >&6
55885 else
55886
55887
55888       ac_ext=cpp
55889 ac_cpp='$CXXCPP $CPPFLAGS'
55890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55893
55894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55895 /* end confdefs.h.  */
55896 #include <math.h>
55897                       #ifdef HAVE_IEEEFP_H
55898                       #include <ieeefp.h>
55899                       #endif
55900
55901 int
55902 main ()
55903 {
55904  _expf(0);
55905   ;
55906   return 0;
55907 }
55908 _ACEOF
55909 if ac_fn_cxx_try_compile "$LINENO"; then :
55910   glibcxx_cv_func__expf_use=yes
55911 else
55912   glibcxx_cv_func__expf_use=no
55913 fi
55914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55915       ac_ext=c
55916 ac_cpp='$CPP $CPPFLAGS'
55917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55920
55921
55922 fi
55923
55924   fi
55925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55926 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55927
55928     if test x$glibcxx_cv_func__expf_use = x"yes"; then
55929       for ac_func in _expf
55930 do :
55931   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55932 if test "x$ac_cv_func__expf" = xyes; then :
55933   cat >>confdefs.h <<_ACEOF
55934 #define HAVE__EXPF 1
55935 _ACEOF
55936
55937 fi
55938 done
55939
55940     fi
55941   fi
55942
55943
55944
55945
55946
55947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55948 $as_echo_n "checking for isnanf declaration... " >&6; }
55949   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55950     if ${glibcxx_cv_func_isnanf_use+:} false; then :
55951   $as_echo_n "(cached) " >&6
55952 else
55953
55954
55955       ac_ext=cpp
55956 ac_cpp='$CXXCPP $CPPFLAGS'
55957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960
55961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55962 /* end confdefs.h.  */
55963 #include <math.h>
55964                       #ifdef HAVE_IEEEFP_H
55965                       #include <ieeefp.h>
55966                       #endif
55967
55968 int
55969 main ()
55970 {
55971  isnanf(0);
55972   ;
55973   return 0;
55974 }
55975 _ACEOF
55976 if ac_fn_cxx_try_compile "$LINENO"; then :
55977   glibcxx_cv_func_isnanf_use=yes
55978 else
55979   glibcxx_cv_func_isnanf_use=no
55980 fi
55981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55982       ac_ext=c
55983 ac_cpp='$CPP $CPPFLAGS'
55984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55987
55988
55989 fi
55990
55991   fi
55992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55993 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55994
55995   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55996     for ac_func in isnanf
55997 do :
55998   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55999 if test "x$ac_cv_func_isnanf" = xyes; then :
56000   cat >>confdefs.h <<_ACEOF
56001 #define HAVE_ISNANF 1
56002 _ACEOF
56003
56004 fi
56005 done
56006
56007   else
56008
56009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56010 $as_echo_n "checking for _isnanf declaration... " >&6; }
56011   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56012     if ${glibcxx_cv_func__isnanf_use+:} false; then :
56013   $as_echo_n "(cached) " >&6
56014 else
56015
56016
56017       ac_ext=cpp
56018 ac_cpp='$CXXCPP $CPPFLAGS'
56019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022
56023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56024 /* end confdefs.h.  */
56025 #include <math.h>
56026                       #ifdef HAVE_IEEEFP_H
56027                       #include <ieeefp.h>
56028                       #endif
56029
56030 int
56031 main ()
56032 {
56033  _isnanf(0);
56034   ;
56035   return 0;
56036 }
56037 _ACEOF
56038 if ac_fn_cxx_try_compile "$LINENO"; then :
56039   glibcxx_cv_func__isnanf_use=yes
56040 else
56041   glibcxx_cv_func__isnanf_use=no
56042 fi
56043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044       ac_ext=c
56045 ac_cpp='$CPP $CPPFLAGS'
56046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56049
56050
56051 fi
56052
56053   fi
56054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56055 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56056
56057     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56058       for ac_func in _isnanf
56059 do :
56060   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56061 if test "x$ac_cv_func__isnanf" = xyes; then :
56062   cat >>confdefs.h <<_ACEOF
56063 #define HAVE__ISNANF 1
56064 _ACEOF
56065
56066 fi
56067 done
56068
56069     fi
56070   fi
56071
56072
56073
56074
56075
56076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56077 $as_echo_n "checking for isinff declaration... " >&6; }
56078   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56079     if ${glibcxx_cv_func_isinff_use+:} false; then :
56080   $as_echo_n "(cached) " >&6
56081 else
56082
56083
56084       ac_ext=cpp
56085 ac_cpp='$CXXCPP $CPPFLAGS'
56086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089
56090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56091 /* end confdefs.h.  */
56092 #include <math.h>
56093                       #ifdef HAVE_IEEEFP_H
56094                       #include <ieeefp.h>
56095                       #endif
56096
56097 int
56098 main ()
56099 {
56100  isinff(0);
56101   ;
56102   return 0;
56103 }
56104 _ACEOF
56105 if ac_fn_cxx_try_compile "$LINENO"; then :
56106   glibcxx_cv_func_isinff_use=yes
56107 else
56108   glibcxx_cv_func_isinff_use=no
56109 fi
56110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56111       ac_ext=c
56112 ac_cpp='$CPP $CPPFLAGS'
56113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56116
56117
56118 fi
56119
56120   fi
56121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56122 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56123
56124   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56125     for ac_func in isinff
56126 do :
56127   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56128 if test "x$ac_cv_func_isinff" = xyes; then :
56129   cat >>confdefs.h <<_ACEOF
56130 #define HAVE_ISINFF 1
56131 _ACEOF
56132
56133 fi
56134 done
56135
56136   else
56137
56138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56139 $as_echo_n "checking for _isinff declaration... " >&6; }
56140   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56141     if ${glibcxx_cv_func__isinff_use+:} false; then :
56142   $as_echo_n "(cached) " >&6
56143 else
56144
56145
56146       ac_ext=cpp
56147 ac_cpp='$CXXCPP $CPPFLAGS'
56148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151
56152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56153 /* end confdefs.h.  */
56154 #include <math.h>
56155                       #ifdef HAVE_IEEEFP_H
56156                       #include <ieeefp.h>
56157                       #endif
56158
56159 int
56160 main ()
56161 {
56162  _isinff(0);
56163   ;
56164   return 0;
56165 }
56166 _ACEOF
56167 if ac_fn_cxx_try_compile "$LINENO"; then :
56168   glibcxx_cv_func__isinff_use=yes
56169 else
56170   glibcxx_cv_func__isinff_use=no
56171 fi
56172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56173       ac_ext=c
56174 ac_cpp='$CPP $CPPFLAGS'
56175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56178
56179
56180 fi
56181
56182   fi
56183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56184 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56185
56186     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56187       for ac_func in _isinff
56188 do :
56189   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56190 if test "x$ac_cv_func__isinff" = xyes; then :
56191   cat >>confdefs.h <<_ACEOF
56192 #define HAVE__ISINFF 1
56193 _ACEOF
56194
56195 fi
56196 done
56197
56198     fi
56199   fi
56200
56201
56202
56203
56204
56205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56206 $as_echo_n "checking for atan2f declaration... " >&6; }
56207   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56208     if ${glibcxx_cv_func_atan2f_use+:} false; then :
56209   $as_echo_n "(cached) " >&6
56210 else
56211
56212
56213       ac_ext=cpp
56214 ac_cpp='$CXXCPP $CPPFLAGS'
56215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56218
56219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56220 /* end confdefs.h.  */
56221 #include <math.h>
56222 int
56223 main ()
56224 {
56225  atan2f(0, 0);
56226   ;
56227   return 0;
56228 }
56229 _ACEOF
56230 if ac_fn_cxx_try_compile "$LINENO"; then :
56231   glibcxx_cv_func_atan2f_use=yes
56232 else
56233   glibcxx_cv_func_atan2f_use=no
56234 fi
56235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56236       ac_ext=c
56237 ac_cpp='$CPP $CPPFLAGS'
56238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56241
56242
56243 fi
56244
56245   fi
56246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56247 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56248
56249   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56250     for ac_func in atan2f
56251 do :
56252   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56253 if test "x$ac_cv_func_atan2f" = xyes; then :
56254   cat >>confdefs.h <<_ACEOF
56255 #define HAVE_ATAN2F 1
56256 _ACEOF
56257
56258 fi
56259 done
56260
56261   else
56262
56263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56264 $as_echo_n "checking for _atan2f declaration... " >&6; }
56265   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56266     if ${glibcxx_cv_func__atan2f_use+:} false; then :
56267   $as_echo_n "(cached) " >&6
56268 else
56269
56270
56271       ac_ext=cpp
56272 ac_cpp='$CXXCPP $CPPFLAGS'
56273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56276
56277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56278 /* end confdefs.h.  */
56279 #include <math.h>
56280 int
56281 main ()
56282 {
56283  _atan2f(0, 0);
56284   ;
56285   return 0;
56286 }
56287 _ACEOF
56288 if ac_fn_cxx_try_compile "$LINENO"; then :
56289   glibcxx_cv_func__atan2f_use=yes
56290 else
56291   glibcxx_cv_func__atan2f_use=no
56292 fi
56293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56294       ac_ext=c
56295 ac_cpp='$CPP $CPPFLAGS'
56296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56299
56300
56301 fi
56302
56303   fi
56304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56305 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56306
56307     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56308       for ac_func in _atan2f
56309 do :
56310   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56311 if test "x$ac_cv_func__atan2f" = xyes; then :
56312   cat >>confdefs.h <<_ACEOF
56313 #define HAVE__ATAN2F 1
56314 _ACEOF
56315
56316 fi
56317 done
56318
56319     fi
56320   fi
56321
56322
56323
56324
56325
56326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56327 $as_echo_n "checking for fabsf declaration... " >&6; }
56328   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56329     if ${glibcxx_cv_func_fabsf_use+:} false; then :
56330   $as_echo_n "(cached) " >&6
56331 else
56332
56333
56334       ac_ext=cpp
56335 ac_cpp='$CXXCPP $CPPFLAGS'
56336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56339
56340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56341 /* end confdefs.h.  */
56342 #include <math.h>
56343                       #ifdef HAVE_IEEEFP_H
56344                       #include <ieeefp.h>
56345                       #endif
56346
56347 int
56348 main ()
56349 {
56350  fabsf(0);
56351   ;
56352   return 0;
56353 }
56354 _ACEOF
56355 if ac_fn_cxx_try_compile "$LINENO"; then :
56356   glibcxx_cv_func_fabsf_use=yes
56357 else
56358   glibcxx_cv_func_fabsf_use=no
56359 fi
56360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56361       ac_ext=c
56362 ac_cpp='$CPP $CPPFLAGS'
56363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56366
56367
56368 fi
56369
56370   fi
56371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56372 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56373
56374   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56375     for ac_func in fabsf
56376 do :
56377   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56378 if test "x$ac_cv_func_fabsf" = xyes; then :
56379   cat >>confdefs.h <<_ACEOF
56380 #define HAVE_FABSF 1
56381 _ACEOF
56382
56383 fi
56384 done
56385
56386   else
56387
56388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56389 $as_echo_n "checking for _fabsf declaration... " >&6; }
56390   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56391     if ${glibcxx_cv_func__fabsf_use+:} false; then :
56392   $as_echo_n "(cached) " >&6
56393 else
56394
56395
56396       ac_ext=cpp
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401
56402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56403 /* end confdefs.h.  */
56404 #include <math.h>
56405                       #ifdef HAVE_IEEEFP_H
56406                       #include <ieeefp.h>
56407                       #endif
56408
56409 int
56410 main ()
56411 {
56412  _fabsf(0);
56413   ;
56414   return 0;
56415 }
56416 _ACEOF
56417 if ac_fn_cxx_try_compile "$LINENO"; then :
56418   glibcxx_cv_func__fabsf_use=yes
56419 else
56420   glibcxx_cv_func__fabsf_use=no
56421 fi
56422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56423       ac_ext=c
56424 ac_cpp='$CPP $CPPFLAGS'
56425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428
56429
56430 fi
56431
56432   fi
56433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56434 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56435
56436     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56437       for ac_func in _fabsf
56438 do :
56439   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56440 if test "x$ac_cv_func__fabsf" = xyes; then :
56441   cat >>confdefs.h <<_ACEOF
56442 #define HAVE__FABSF 1
56443 _ACEOF
56444
56445 fi
56446 done
56447
56448     fi
56449   fi
56450
56451
56452
56453
56454
56455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56456 $as_echo_n "checking for fmodf declaration... " >&6; }
56457   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56458     if ${glibcxx_cv_func_fmodf_use+:} false; then :
56459   $as_echo_n "(cached) " >&6
56460 else
56461
56462
56463       ac_ext=cpp
56464 ac_cpp='$CXXCPP $CPPFLAGS'
56465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56468
56469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56470 /* end confdefs.h.  */
56471 #include <math.h>
56472 int
56473 main ()
56474 {
56475  fmodf(0, 0);
56476   ;
56477   return 0;
56478 }
56479 _ACEOF
56480 if ac_fn_cxx_try_compile "$LINENO"; then :
56481   glibcxx_cv_func_fmodf_use=yes
56482 else
56483   glibcxx_cv_func_fmodf_use=no
56484 fi
56485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56486       ac_ext=c
56487 ac_cpp='$CPP $CPPFLAGS'
56488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56491
56492
56493 fi
56494
56495   fi
56496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56497 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56498
56499   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56500     for ac_func in fmodf
56501 do :
56502   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56503 if test "x$ac_cv_func_fmodf" = xyes; then :
56504   cat >>confdefs.h <<_ACEOF
56505 #define HAVE_FMODF 1
56506 _ACEOF
56507
56508 fi
56509 done
56510
56511   else
56512
56513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56514 $as_echo_n "checking for _fmodf declaration... " >&6; }
56515   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56516     if ${glibcxx_cv_func__fmodf_use+:} false; then :
56517   $as_echo_n "(cached) " >&6
56518 else
56519
56520
56521       ac_ext=cpp
56522 ac_cpp='$CXXCPP $CPPFLAGS'
56523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526
56527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56528 /* end confdefs.h.  */
56529 #include <math.h>
56530 int
56531 main ()
56532 {
56533  _fmodf(0, 0);
56534   ;
56535   return 0;
56536 }
56537 _ACEOF
56538 if ac_fn_cxx_try_compile "$LINENO"; then :
56539   glibcxx_cv_func__fmodf_use=yes
56540 else
56541   glibcxx_cv_func__fmodf_use=no
56542 fi
56543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56544       ac_ext=c
56545 ac_cpp='$CPP $CPPFLAGS'
56546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549
56550
56551 fi
56552
56553   fi
56554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56555 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56556
56557     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56558       for ac_func in _fmodf
56559 do :
56560   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56561 if test "x$ac_cv_func__fmodf" = xyes; then :
56562   cat >>confdefs.h <<_ACEOF
56563 #define HAVE__FMODF 1
56564 _ACEOF
56565
56566 fi
56567 done
56568
56569     fi
56570   fi
56571
56572
56573
56574
56575
56576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56577 $as_echo_n "checking for frexpf declaration... " >&6; }
56578   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56579     if ${glibcxx_cv_func_frexpf_use+:} false; then :
56580   $as_echo_n "(cached) " >&6
56581 else
56582
56583
56584       ac_ext=cpp
56585 ac_cpp='$CXXCPP $CPPFLAGS'
56586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56589
56590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56591 /* end confdefs.h.  */
56592 #include <math.h>
56593 int
56594 main ()
56595 {
56596  frexpf(0, 0);
56597   ;
56598   return 0;
56599 }
56600 _ACEOF
56601 if ac_fn_cxx_try_compile "$LINENO"; then :
56602   glibcxx_cv_func_frexpf_use=yes
56603 else
56604   glibcxx_cv_func_frexpf_use=no
56605 fi
56606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56607       ac_ext=c
56608 ac_cpp='$CPP $CPPFLAGS'
56609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56612
56613
56614 fi
56615
56616   fi
56617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56618 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56619
56620   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56621     for ac_func in frexpf
56622 do :
56623   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56624 if test "x$ac_cv_func_frexpf" = xyes; then :
56625   cat >>confdefs.h <<_ACEOF
56626 #define HAVE_FREXPF 1
56627 _ACEOF
56628
56629 fi
56630 done
56631
56632   else
56633
56634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56635 $as_echo_n "checking for _frexpf declaration... " >&6; }
56636   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56637     if ${glibcxx_cv_func__frexpf_use+:} false; then :
56638   $as_echo_n "(cached) " >&6
56639 else
56640
56641
56642       ac_ext=cpp
56643 ac_cpp='$CXXCPP $CPPFLAGS'
56644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56647
56648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56649 /* end confdefs.h.  */
56650 #include <math.h>
56651 int
56652 main ()
56653 {
56654  _frexpf(0, 0);
56655   ;
56656   return 0;
56657 }
56658 _ACEOF
56659 if ac_fn_cxx_try_compile "$LINENO"; then :
56660   glibcxx_cv_func__frexpf_use=yes
56661 else
56662   glibcxx_cv_func__frexpf_use=no
56663 fi
56664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56665       ac_ext=c
56666 ac_cpp='$CPP $CPPFLAGS'
56667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670
56671
56672 fi
56673
56674   fi
56675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56676 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56677
56678     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56679       for ac_func in _frexpf
56680 do :
56681   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56682 if test "x$ac_cv_func__frexpf" = xyes; then :
56683   cat >>confdefs.h <<_ACEOF
56684 #define HAVE__FREXPF 1
56685 _ACEOF
56686
56687 fi
56688 done
56689
56690     fi
56691   fi
56692
56693
56694
56695
56696
56697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56698 $as_echo_n "checking for hypotf declaration... " >&6; }
56699   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56700     if ${glibcxx_cv_func_hypotf_use+:} false; then :
56701   $as_echo_n "(cached) " >&6
56702 else
56703
56704
56705       ac_ext=cpp
56706 ac_cpp='$CXXCPP $CPPFLAGS'
56707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56710
56711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56712 /* end confdefs.h.  */
56713 #include <math.h>
56714 int
56715 main ()
56716 {
56717  hypotf(0, 0);
56718   ;
56719   return 0;
56720 }
56721 _ACEOF
56722 if ac_fn_cxx_try_compile "$LINENO"; then :
56723   glibcxx_cv_func_hypotf_use=yes
56724 else
56725   glibcxx_cv_func_hypotf_use=no
56726 fi
56727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56728       ac_ext=c
56729 ac_cpp='$CPP $CPPFLAGS'
56730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56733
56734
56735 fi
56736
56737   fi
56738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56739 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56740
56741   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56742     for ac_func in hypotf
56743 do :
56744   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56745 if test "x$ac_cv_func_hypotf" = xyes; then :
56746   cat >>confdefs.h <<_ACEOF
56747 #define HAVE_HYPOTF 1
56748 _ACEOF
56749
56750 fi
56751 done
56752
56753   else
56754
56755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56756 $as_echo_n "checking for _hypotf declaration... " >&6; }
56757   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56758     if ${glibcxx_cv_func__hypotf_use+:} false; then :
56759   $as_echo_n "(cached) " >&6
56760 else
56761
56762
56763       ac_ext=cpp
56764 ac_cpp='$CXXCPP $CPPFLAGS'
56765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56768
56769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56770 /* end confdefs.h.  */
56771 #include <math.h>
56772 int
56773 main ()
56774 {
56775  _hypotf(0, 0);
56776   ;
56777   return 0;
56778 }
56779 _ACEOF
56780 if ac_fn_cxx_try_compile "$LINENO"; then :
56781   glibcxx_cv_func__hypotf_use=yes
56782 else
56783   glibcxx_cv_func__hypotf_use=no
56784 fi
56785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56786       ac_ext=c
56787 ac_cpp='$CPP $CPPFLAGS'
56788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56791
56792
56793 fi
56794
56795   fi
56796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56797 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56798
56799     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56800       for ac_func in _hypotf
56801 do :
56802   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56803 if test "x$ac_cv_func__hypotf" = xyes; then :
56804   cat >>confdefs.h <<_ACEOF
56805 #define HAVE__HYPOTF 1
56806 _ACEOF
56807
56808 fi
56809 done
56810
56811     fi
56812   fi
56813
56814
56815
56816
56817
56818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56819 $as_echo_n "checking for ldexpf declaration... " >&6; }
56820   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56821     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56822   $as_echo_n "(cached) " >&6
56823 else
56824
56825
56826       ac_ext=cpp
56827 ac_cpp='$CXXCPP $CPPFLAGS'
56828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56831
56832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56833 /* end confdefs.h.  */
56834 #include <math.h>
56835 int
56836 main ()
56837 {
56838  ldexpf(0, 0);
56839   ;
56840   return 0;
56841 }
56842 _ACEOF
56843 if ac_fn_cxx_try_compile "$LINENO"; then :
56844   glibcxx_cv_func_ldexpf_use=yes
56845 else
56846   glibcxx_cv_func_ldexpf_use=no
56847 fi
56848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56849       ac_ext=c
56850 ac_cpp='$CPP $CPPFLAGS'
56851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56854
56855
56856 fi
56857
56858   fi
56859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56860 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56861
56862   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56863     for ac_func in ldexpf
56864 do :
56865   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56866 if test "x$ac_cv_func_ldexpf" = xyes; then :
56867   cat >>confdefs.h <<_ACEOF
56868 #define HAVE_LDEXPF 1
56869 _ACEOF
56870
56871 fi
56872 done
56873
56874   else
56875
56876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56877 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56878   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56879     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56880   $as_echo_n "(cached) " >&6
56881 else
56882
56883
56884       ac_ext=cpp
56885 ac_cpp='$CXXCPP $CPPFLAGS'
56886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56889
56890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56891 /* end confdefs.h.  */
56892 #include <math.h>
56893 int
56894 main ()
56895 {
56896  _ldexpf(0, 0);
56897   ;
56898   return 0;
56899 }
56900 _ACEOF
56901 if ac_fn_cxx_try_compile "$LINENO"; then :
56902   glibcxx_cv_func__ldexpf_use=yes
56903 else
56904   glibcxx_cv_func__ldexpf_use=no
56905 fi
56906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56907       ac_ext=c
56908 ac_cpp='$CPP $CPPFLAGS'
56909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56912
56913
56914 fi
56915
56916   fi
56917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56918 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56919
56920     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56921       for ac_func in _ldexpf
56922 do :
56923   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56924 if test "x$ac_cv_func__ldexpf" = xyes; then :
56925   cat >>confdefs.h <<_ACEOF
56926 #define HAVE__LDEXPF 1
56927 _ACEOF
56928
56929 fi
56930 done
56931
56932     fi
56933   fi
56934
56935
56936
56937
56938
56939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56940 $as_echo_n "checking for logf declaration... " >&6; }
56941   if test x${glibcxx_cv_func_logf_use+set} != xset; then
56942     if ${glibcxx_cv_func_logf_use+:} false; then :
56943   $as_echo_n "(cached) " >&6
56944 else
56945
56946
56947       ac_ext=cpp
56948 ac_cpp='$CXXCPP $CPPFLAGS'
56949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952
56953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56954 /* end confdefs.h.  */
56955 #include <math.h>
56956                       #ifdef HAVE_IEEEFP_H
56957                       #include <ieeefp.h>
56958                       #endif
56959
56960 int
56961 main ()
56962 {
56963  logf(0);
56964   ;
56965   return 0;
56966 }
56967 _ACEOF
56968 if ac_fn_cxx_try_compile "$LINENO"; then :
56969   glibcxx_cv_func_logf_use=yes
56970 else
56971   glibcxx_cv_func_logf_use=no
56972 fi
56973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56974       ac_ext=c
56975 ac_cpp='$CPP $CPPFLAGS'
56976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56979
56980
56981 fi
56982
56983   fi
56984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56985 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56986
56987   if test x$glibcxx_cv_func_logf_use = x"yes"; then
56988     for ac_func in logf
56989 do :
56990   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56991 if test "x$ac_cv_func_logf" = xyes; then :
56992   cat >>confdefs.h <<_ACEOF
56993 #define HAVE_LOGF 1
56994 _ACEOF
56995
56996 fi
56997 done
56998
56999   else
57000
57001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57002 $as_echo_n "checking for _logf declaration... " >&6; }
57003   if test x${glibcxx_cv_func__logf_use+set} != xset; then
57004     if ${glibcxx_cv_func__logf_use+:} false; then :
57005   $as_echo_n "(cached) " >&6
57006 else
57007
57008
57009       ac_ext=cpp
57010 ac_cpp='$CXXCPP $CPPFLAGS'
57011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014
57015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57016 /* end confdefs.h.  */
57017 #include <math.h>
57018                       #ifdef HAVE_IEEEFP_H
57019                       #include <ieeefp.h>
57020                       #endif
57021
57022 int
57023 main ()
57024 {
57025  _logf(0);
57026   ;
57027   return 0;
57028 }
57029 _ACEOF
57030 if ac_fn_cxx_try_compile "$LINENO"; then :
57031   glibcxx_cv_func__logf_use=yes
57032 else
57033   glibcxx_cv_func__logf_use=no
57034 fi
57035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57036       ac_ext=c
57037 ac_cpp='$CPP $CPPFLAGS'
57038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57041
57042
57043 fi
57044
57045   fi
57046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57047 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57048
57049     if test x$glibcxx_cv_func__logf_use = x"yes"; then
57050       for ac_func in _logf
57051 do :
57052   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57053 if test "x$ac_cv_func__logf" = xyes; then :
57054   cat >>confdefs.h <<_ACEOF
57055 #define HAVE__LOGF 1
57056 _ACEOF
57057
57058 fi
57059 done
57060
57061     fi
57062   fi
57063
57064
57065
57066
57067
57068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57069 $as_echo_n "checking for log10f declaration... " >&6; }
57070   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57071     if ${glibcxx_cv_func_log10f_use+:} false; then :
57072   $as_echo_n "(cached) " >&6
57073 else
57074
57075
57076       ac_ext=cpp
57077 ac_cpp='$CXXCPP $CPPFLAGS'
57078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57081
57082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57083 /* end confdefs.h.  */
57084 #include <math.h>
57085                       #ifdef HAVE_IEEEFP_H
57086                       #include <ieeefp.h>
57087                       #endif
57088
57089 int
57090 main ()
57091 {
57092  log10f(0);
57093   ;
57094   return 0;
57095 }
57096 _ACEOF
57097 if ac_fn_cxx_try_compile "$LINENO"; then :
57098   glibcxx_cv_func_log10f_use=yes
57099 else
57100   glibcxx_cv_func_log10f_use=no
57101 fi
57102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57103       ac_ext=c
57104 ac_cpp='$CPP $CPPFLAGS'
57105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57108
57109
57110 fi
57111
57112   fi
57113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57114 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57115
57116   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57117     for ac_func in log10f
57118 do :
57119   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57120 if test "x$ac_cv_func_log10f" = xyes; then :
57121   cat >>confdefs.h <<_ACEOF
57122 #define HAVE_LOG10F 1
57123 _ACEOF
57124
57125 fi
57126 done
57127
57128   else
57129
57130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57131 $as_echo_n "checking for _log10f declaration... " >&6; }
57132   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57133     if ${glibcxx_cv_func__log10f_use+:} false; then :
57134   $as_echo_n "(cached) " >&6
57135 else
57136
57137
57138       ac_ext=cpp
57139 ac_cpp='$CXXCPP $CPPFLAGS'
57140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143
57144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57145 /* end confdefs.h.  */
57146 #include <math.h>
57147                       #ifdef HAVE_IEEEFP_H
57148                       #include <ieeefp.h>
57149                       #endif
57150
57151 int
57152 main ()
57153 {
57154  _log10f(0);
57155   ;
57156   return 0;
57157 }
57158 _ACEOF
57159 if ac_fn_cxx_try_compile "$LINENO"; then :
57160   glibcxx_cv_func__log10f_use=yes
57161 else
57162   glibcxx_cv_func__log10f_use=no
57163 fi
57164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57165       ac_ext=c
57166 ac_cpp='$CPP $CPPFLAGS'
57167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170
57171
57172 fi
57173
57174   fi
57175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57176 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57177
57178     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57179       for ac_func in _log10f
57180 do :
57181   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57182 if test "x$ac_cv_func__log10f" = xyes; then :
57183   cat >>confdefs.h <<_ACEOF
57184 #define HAVE__LOG10F 1
57185 _ACEOF
57186
57187 fi
57188 done
57189
57190     fi
57191   fi
57192
57193
57194
57195
57196
57197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57198 $as_echo_n "checking for modff declaration... " >&6; }
57199   if test x${glibcxx_cv_func_modff_use+set} != xset; then
57200     if ${glibcxx_cv_func_modff_use+:} false; then :
57201   $as_echo_n "(cached) " >&6
57202 else
57203
57204
57205       ac_ext=cpp
57206 ac_cpp='$CXXCPP $CPPFLAGS'
57207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57210
57211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57212 /* end confdefs.h.  */
57213 #include <math.h>
57214 int
57215 main ()
57216 {
57217  modff(0, 0);
57218   ;
57219   return 0;
57220 }
57221 _ACEOF
57222 if ac_fn_cxx_try_compile "$LINENO"; then :
57223   glibcxx_cv_func_modff_use=yes
57224 else
57225   glibcxx_cv_func_modff_use=no
57226 fi
57227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57228       ac_ext=c
57229 ac_cpp='$CPP $CPPFLAGS'
57230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57233
57234
57235 fi
57236
57237   fi
57238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57239 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57240
57241   if test x$glibcxx_cv_func_modff_use = x"yes"; then
57242     for ac_func in modff
57243 do :
57244   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57245 if test "x$ac_cv_func_modff" = xyes; then :
57246   cat >>confdefs.h <<_ACEOF
57247 #define HAVE_MODFF 1
57248 _ACEOF
57249
57250 fi
57251 done
57252
57253   else
57254
57255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57256 $as_echo_n "checking for _modff declaration... " >&6; }
57257   if test x${glibcxx_cv_func__modff_use+set} != xset; then
57258     if ${glibcxx_cv_func__modff_use+:} false; then :
57259   $as_echo_n "(cached) " >&6
57260 else
57261
57262
57263       ac_ext=cpp
57264 ac_cpp='$CXXCPP $CPPFLAGS'
57265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57268
57269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57270 /* end confdefs.h.  */
57271 #include <math.h>
57272 int
57273 main ()
57274 {
57275  _modff(0, 0);
57276   ;
57277   return 0;
57278 }
57279 _ACEOF
57280 if ac_fn_cxx_try_compile "$LINENO"; then :
57281   glibcxx_cv_func__modff_use=yes
57282 else
57283   glibcxx_cv_func__modff_use=no
57284 fi
57285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57286       ac_ext=c
57287 ac_cpp='$CPP $CPPFLAGS'
57288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57291
57292
57293 fi
57294
57295   fi
57296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57297 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57298
57299     if test x$glibcxx_cv_func__modff_use = x"yes"; then
57300       for ac_func in _modff
57301 do :
57302   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57303 if test "x$ac_cv_func__modff" = xyes; then :
57304   cat >>confdefs.h <<_ACEOF
57305 #define HAVE__MODFF 1
57306 _ACEOF
57307
57308 fi
57309 done
57310
57311     fi
57312   fi
57313
57314
57315
57316
57317
57318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57319 $as_echo_n "checking for modf declaration... " >&6; }
57320   if test x${glibcxx_cv_func_modf_use+set} != xset; then
57321     if ${glibcxx_cv_func_modf_use+:} false; then :
57322   $as_echo_n "(cached) " >&6
57323 else
57324
57325
57326       ac_ext=cpp
57327 ac_cpp='$CXXCPP $CPPFLAGS'
57328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57331
57332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57333 /* end confdefs.h.  */
57334 #include <math.h>
57335 int
57336 main ()
57337 {
57338  modf(0, 0);
57339   ;
57340   return 0;
57341 }
57342 _ACEOF
57343 if ac_fn_cxx_try_compile "$LINENO"; then :
57344   glibcxx_cv_func_modf_use=yes
57345 else
57346   glibcxx_cv_func_modf_use=no
57347 fi
57348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57349       ac_ext=c
57350 ac_cpp='$CPP $CPPFLAGS'
57351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354
57355
57356 fi
57357
57358   fi
57359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57360 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57361
57362   if test x$glibcxx_cv_func_modf_use = x"yes"; then
57363     for ac_func in modf
57364 do :
57365   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57366 if test "x$ac_cv_func_modf" = xyes; then :
57367   cat >>confdefs.h <<_ACEOF
57368 #define HAVE_MODF 1
57369 _ACEOF
57370
57371 fi
57372 done
57373
57374   else
57375
57376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57377 $as_echo_n "checking for _modf declaration... " >&6; }
57378   if test x${glibcxx_cv_func__modf_use+set} != xset; then
57379     if ${glibcxx_cv_func__modf_use+:} false; then :
57380   $as_echo_n "(cached) " >&6
57381 else
57382
57383
57384       ac_ext=cpp
57385 ac_cpp='$CXXCPP $CPPFLAGS'
57386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389
57390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57391 /* end confdefs.h.  */
57392 #include <math.h>
57393 int
57394 main ()
57395 {
57396  _modf(0, 0);
57397   ;
57398   return 0;
57399 }
57400 _ACEOF
57401 if ac_fn_cxx_try_compile "$LINENO"; then :
57402   glibcxx_cv_func__modf_use=yes
57403 else
57404   glibcxx_cv_func__modf_use=no
57405 fi
57406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57407       ac_ext=c
57408 ac_cpp='$CPP $CPPFLAGS'
57409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57412
57413
57414 fi
57415
57416   fi
57417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57418 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57419
57420     if test x$glibcxx_cv_func__modf_use = x"yes"; then
57421       for ac_func in _modf
57422 do :
57423   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57424 if test "x$ac_cv_func__modf" = xyes; then :
57425   cat >>confdefs.h <<_ACEOF
57426 #define HAVE__MODF 1
57427 _ACEOF
57428
57429 fi
57430 done
57431
57432     fi
57433   fi
57434
57435
57436
57437
57438
57439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57440 $as_echo_n "checking for powf declaration... " >&6; }
57441   if test x${glibcxx_cv_func_powf_use+set} != xset; then
57442     if ${glibcxx_cv_func_powf_use+:} false; then :
57443   $as_echo_n "(cached) " >&6
57444 else
57445
57446
57447       ac_ext=cpp
57448 ac_cpp='$CXXCPP $CPPFLAGS'
57449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57452
57453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57454 /* end confdefs.h.  */
57455 #include <math.h>
57456 int
57457 main ()
57458 {
57459  powf(0, 0);
57460   ;
57461   return 0;
57462 }
57463 _ACEOF
57464 if ac_fn_cxx_try_compile "$LINENO"; then :
57465   glibcxx_cv_func_powf_use=yes
57466 else
57467   glibcxx_cv_func_powf_use=no
57468 fi
57469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57470       ac_ext=c
57471 ac_cpp='$CPP $CPPFLAGS'
57472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57475
57476
57477 fi
57478
57479   fi
57480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57481 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57482
57483   if test x$glibcxx_cv_func_powf_use = x"yes"; then
57484     for ac_func in powf
57485 do :
57486   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57487 if test "x$ac_cv_func_powf" = xyes; then :
57488   cat >>confdefs.h <<_ACEOF
57489 #define HAVE_POWF 1
57490 _ACEOF
57491
57492 fi
57493 done
57494
57495   else
57496
57497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57498 $as_echo_n "checking for _powf declaration... " >&6; }
57499   if test x${glibcxx_cv_func__powf_use+set} != xset; then
57500     if ${glibcxx_cv_func__powf_use+:} false; then :
57501   $as_echo_n "(cached) " >&6
57502 else
57503
57504
57505       ac_ext=cpp
57506 ac_cpp='$CXXCPP $CPPFLAGS'
57507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57510
57511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57512 /* end confdefs.h.  */
57513 #include <math.h>
57514 int
57515 main ()
57516 {
57517  _powf(0, 0);
57518   ;
57519   return 0;
57520 }
57521 _ACEOF
57522 if ac_fn_cxx_try_compile "$LINENO"; then :
57523   glibcxx_cv_func__powf_use=yes
57524 else
57525   glibcxx_cv_func__powf_use=no
57526 fi
57527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57528       ac_ext=c
57529 ac_cpp='$CPP $CPPFLAGS'
57530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57533
57534
57535 fi
57536
57537   fi
57538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57539 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57540
57541     if test x$glibcxx_cv_func__powf_use = x"yes"; then
57542       for ac_func in _powf
57543 do :
57544   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57545 if test "x$ac_cv_func__powf" = xyes; then :
57546   cat >>confdefs.h <<_ACEOF
57547 #define HAVE__POWF 1
57548 _ACEOF
57549
57550 fi
57551 done
57552
57553     fi
57554   fi
57555
57556
57557
57558
57559
57560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57561 $as_echo_n "checking for sqrtf declaration... " >&6; }
57562   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57563     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57564   $as_echo_n "(cached) " >&6
57565 else
57566
57567
57568       ac_ext=cpp
57569 ac_cpp='$CXXCPP $CPPFLAGS'
57570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57573
57574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57575 /* end confdefs.h.  */
57576 #include <math.h>
57577                       #ifdef HAVE_IEEEFP_H
57578                       #include <ieeefp.h>
57579                       #endif
57580
57581 int
57582 main ()
57583 {
57584  sqrtf(0);
57585   ;
57586   return 0;
57587 }
57588 _ACEOF
57589 if ac_fn_cxx_try_compile "$LINENO"; then :
57590   glibcxx_cv_func_sqrtf_use=yes
57591 else
57592   glibcxx_cv_func_sqrtf_use=no
57593 fi
57594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57595       ac_ext=c
57596 ac_cpp='$CPP $CPPFLAGS'
57597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57600
57601
57602 fi
57603
57604   fi
57605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57606 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57607
57608   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57609     for ac_func in sqrtf
57610 do :
57611   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57612 if test "x$ac_cv_func_sqrtf" = xyes; then :
57613   cat >>confdefs.h <<_ACEOF
57614 #define HAVE_SQRTF 1
57615 _ACEOF
57616
57617 fi
57618 done
57619
57620   else
57621
57622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57623 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57624   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57625     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57626   $as_echo_n "(cached) " >&6
57627 else
57628
57629
57630       ac_ext=cpp
57631 ac_cpp='$CXXCPP $CPPFLAGS'
57632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57635
57636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57637 /* end confdefs.h.  */
57638 #include <math.h>
57639                       #ifdef HAVE_IEEEFP_H
57640                       #include <ieeefp.h>
57641                       #endif
57642
57643 int
57644 main ()
57645 {
57646  _sqrtf(0);
57647   ;
57648   return 0;
57649 }
57650 _ACEOF
57651 if ac_fn_cxx_try_compile "$LINENO"; then :
57652   glibcxx_cv_func__sqrtf_use=yes
57653 else
57654   glibcxx_cv_func__sqrtf_use=no
57655 fi
57656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57657       ac_ext=c
57658 ac_cpp='$CPP $CPPFLAGS'
57659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57662
57663
57664 fi
57665
57666   fi
57667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57668 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57669
57670     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57671       for ac_func in _sqrtf
57672 do :
57673   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57674 if test "x$ac_cv_func__sqrtf" = xyes; then :
57675   cat >>confdefs.h <<_ACEOF
57676 #define HAVE__SQRTF 1
57677 _ACEOF
57678
57679 fi
57680 done
57681
57682     fi
57683   fi
57684
57685
57686
57687
57688
57689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57690 $as_echo_n "checking for sincosf declaration... " >&6; }
57691   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57692     if ${glibcxx_cv_func_sincosf_use+:} false; then :
57693   $as_echo_n "(cached) " >&6
57694 else
57695
57696
57697       ac_ext=cpp
57698 ac_cpp='$CXXCPP $CPPFLAGS'
57699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57702
57703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57704 /* end confdefs.h.  */
57705 #include <math.h>
57706 int
57707 main ()
57708 {
57709  sincosf(0, 0, 0);
57710   ;
57711   return 0;
57712 }
57713 _ACEOF
57714 if ac_fn_cxx_try_compile "$LINENO"; then :
57715   glibcxx_cv_func_sincosf_use=yes
57716 else
57717   glibcxx_cv_func_sincosf_use=no
57718 fi
57719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57720       ac_ext=c
57721 ac_cpp='$CPP $CPPFLAGS'
57722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57725
57726
57727 fi
57728
57729   fi
57730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57731 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57732
57733   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57734     for ac_func in sincosf
57735 do :
57736   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57737 if test "x$ac_cv_func_sincosf" = xyes; then :
57738   cat >>confdefs.h <<_ACEOF
57739 #define HAVE_SINCOSF 1
57740 _ACEOF
57741
57742 fi
57743 done
57744
57745   else
57746
57747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57748 $as_echo_n "checking for _sincosf declaration... " >&6; }
57749   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57750     if ${glibcxx_cv_func__sincosf_use+:} false; then :
57751   $as_echo_n "(cached) " >&6
57752 else
57753
57754
57755       ac_ext=cpp
57756 ac_cpp='$CXXCPP $CPPFLAGS'
57757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57760
57761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57762 /* end confdefs.h.  */
57763 #include <math.h>
57764 int
57765 main ()
57766 {
57767  _sincosf(0, 0, 0);
57768   ;
57769   return 0;
57770 }
57771 _ACEOF
57772 if ac_fn_cxx_try_compile "$LINENO"; then :
57773   glibcxx_cv_func__sincosf_use=yes
57774 else
57775   glibcxx_cv_func__sincosf_use=no
57776 fi
57777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57778       ac_ext=c
57779 ac_cpp='$CPP $CPPFLAGS'
57780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57783
57784
57785 fi
57786
57787   fi
57788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57789 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57790
57791     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57792       for ac_func in _sincosf
57793 do :
57794   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57795 if test "x$ac_cv_func__sincosf" = xyes; then :
57796   cat >>confdefs.h <<_ACEOF
57797 #define HAVE__SINCOSF 1
57798 _ACEOF
57799
57800 fi
57801 done
57802
57803     fi
57804   fi
57805
57806
57807
57808
57809
57810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57811 $as_echo_n "checking for finitef declaration... " >&6; }
57812   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57813     if ${glibcxx_cv_func_finitef_use+:} false; then :
57814   $as_echo_n "(cached) " >&6
57815 else
57816
57817
57818       ac_ext=cpp
57819 ac_cpp='$CXXCPP $CPPFLAGS'
57820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57823
57824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57825 /* end confdefs.h.  */
57826 #include <math.h>
57827                       #ifdef HAVE_IEEEFP_H
57828                       #include <ieeefp.h>
57829                       #endif
57830
57831 int
57832 main ()
57833 {
57834  finitef(0);
57835   ;
57836   return 0;
57837 }
57838 _ACEOF
57839 if ac_fn_cxx_try_compile "$LINENO"; then :
57840   glibcxx_cv_func_finitef_use=yes
57841 else
57842   glibcxx_cv_func_finitef_use=no
57843 fi
57844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57845       ac_ext=c
57846 ac_cpp='$CPP $CPPFLAGS'
57847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57850
57851
57852 fi
57853
57854   fi
57855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57856 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57857
57858   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57859     for ac_func in finitef
57860 do :
57861   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57862 if test "x$ac_cv_func_finitef" = xyes; then :
57863   cat >>confdefs.h <<_ACEOF
57864 #define HAVE_FINITEF 1
57865 _ACEOF
57866
57867 fi
57868 done
57869
57870   else
57871
57872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57873 $as_echo_n "checking for _finitef declaration... " >&6; }
57874   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57875     if ${glibcxx_cv_func__finitef_use+:} false; then :
57876   $as_echo_n "(cached) " >&6
57877 else
57878
57879
57880       ac_ext=cpp
57881 ac_cpp='$CXXCPP $CPPFLAGS'
57882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57885
57886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57887 /* end confdefs.h.  */
57888 #include <math.h>
57889                       #ifdef HAVE_IEEEFP_H
57890                       #include <ieeefp.h>
57891                       #endif
57892
57893 int
57894 main ()
57895 {
57896  _finitef(0);
57897   ;
57898   return 0;
57899 }
57900 _ACEOF
57901 if ac_fn_cxx_try_compile "$LINENO"; then :
57902   glibcxx_cv_func__finitef_use=yes
57903 else
57904   glibcxx_cv_func__finitef_use=no
57905 fi
57906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57907       ac_ext=c
57908 ac_cpp='$CPP $CPPFLAGS'
57909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57912
57913
57914 fi
57915
57916   fi
57917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57918 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57919
57920     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57921       for ac_func in _finitef
57922 do :
57923   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57924 if test "x$ac_cv_func__finitef" = xyes; then :
57925   cat >>confdefs.h <<_ACEOF
57926 #define HAVE__FINITEF 1
57927 _ACEOF
57928
57929 fi
57930 done
57931
57932     fi
57933   fi
57934
57935
57936
57937
57938
57939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57940 $as_echo_n "checking for long double trig functions... " >&6; }
57941   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57942   $as_echo_n "(cached) " >&6
57943 else
57944
57945
57946     ac_ext=cpp
57947 ac_cpp='$CXXCPP $CPPFLAGS'
57948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57951
57952     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57953 /* end confdefs.h.  */
57954 #include <math.h>
57955 int
57956 main ()
57957 {
57958 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57959   ;
57960   return 0;
57961 }
57962 _ACEOF
57963 if ac_fn_cxx_try_compile "$LINENO"; then :
57964   glibcxx_cv_func_long_double_trig_use=yes
57965 else
57966   glibcxx_cv_func_long_double_trig_use=no
57967 fi
57968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57969     ac_ext=c
57970 ac_cpp='$CPP $CPPFLAGS'
57971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57974
57975 fi
57976
57977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57978 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57979   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57980     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57981 do :
57982   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57984 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57985   cat >>confdefs.h <<_ACEOF
57986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57987 _ACEOF
57988
57989 fi
57990 done
57991
57992   else
57993     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57994 $as_echo_n "checking for _long double trig functions... " >&6; }
57995     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57996   $as_echo_n "(cached) " >&6
57997 else
57998
57999
58000       ac_ext=cpp
58001 ac_cpp='$CXXCPP $CPPFLAGS'
58002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58005
58006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58007 /* end confdefs.h.  */
58008 #include <math.h>
58009 int
58010 main ()
58011 {
58012 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58013   ;
58014   return 0;
58015 }
58016 _ACEOF
58017 if ac_fn_cxx_try_compile "$LINENO"; then :
58018   glibcxx_cv_func__long_double_trig_use=yes
58019 else
58020   glibcxx_cv_func__long_double_trig_use=no
58021 fi
58022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58023       ac_ext=c
58024 ac_cpp='$CPP $CPPFLAGS'
58025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58028
58029 fi
58030
58031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58032 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58033     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58034       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58035 do :
58036   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58039   cat >>confdefs.h <<_ACEOF
58040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58041 _ACEOF
58042
58043 fi
58044 done
58045
58046     fi
58047   fi
58048
58049
58050
58051
58052
58053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58054 $as_echo_n "checking for long double round functions... " >&6; }
58055   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58056   $as_echo_n "(cached) " >&6
58057 else
58058
58059
58060     ac_ext=cpp
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065
58066     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58067 /* end confdefs.h.  */
58068 #include <math.h>
58069 int
58070 main ()
58071 {
58072 ceill (0); floorl (0);
58073   ;
58074   return 0;
58075 }
58076 _ACEOF
58077 if ac_fn_cxx_try_compile "$LINENO"; then :
58078   glibcxx_cv_func_long_double_round_use=yes
58079 else
58080   glibcxx_cv_func_long_double_round_use=no
58081 fi
58082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58083     ac_ext=c
58084 ac_cpp='$CPP $CPPFLAGS'
58085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58088
58089 fi
58090
58091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58092 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58093   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58094     for ac_func in ceill floorl
58095 do :
58096   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58099   cat >>confdefs.h <<_ACEOF
58100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58101 _ACEOF
58102
58103 fi
58104 done
58105
58106   else
58107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58108 $as_echo_n "checking for _long double round functions... " >&6; }
58109     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58110   $as_echo_n "(cached) " >&6
58111 else
58112
58113
58114       ac_ext=cpp
58115 ac_cpp='$CXXCPP $CPPFLAGS'
58116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58119
58120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58121 /* end confdefs.h.  */
58122 #include <math.h>
58123 int
58124 main ()
58125 {
58126 _ceill (0); _floorl (0);
58127   ;
58128   return 0;
58129 }
58130 _ACEOF
58131 if ac_fn_cxx_try_compile "$LINENO"; then :
58132   glibcxx_cv_func__long_double_round_use=yes
58133 else
58134   glibcxx_cv_func__long_double_round_use=no
58135 fi
58136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58137       ac_ext=c
58138 ac_cpp='$CPP $CPPFLAGS'
58139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58142
58143 fi
58144
58145     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58146 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58147     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58148       for ac_func in _ceill _floorl
58149 do :
58150   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58153   cat >>confdefs.h <<_ACEOF
58154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58155 _ACEOF
58156
58157 fi
58158 done
58159
58160     fi
58161   fi
58162
58163
58164
58165
58166
58167
58168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58169 $as_echo_n "checking for isnanl declaration... " >&6; }
58170   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58171     if ${glibcxx_cv_func_isnanl_use+:} false; then :
58172   $as_echo_n "(cached) " >&6
58173 else
58174
58175
58176       ac_ext=cpp
58177 ac_cpp='$CXXCPP $CPPFLAGS'
58178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181
58182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58183 /* end confdefs.h.  */
58184 #include <math.h>
58185                       #ifdef HAVE_IEEEFP_H
58186                       #include <ieeefp.h>
58187                       #endif
58188
58189 int
58190 main ()
58191 {
58192  isnanl(0);
58193   ;
58194   return 0;
58195 }
58196 _ACEOF
58197 if ac_fn_cxx_try_compile "$LINENO"; then :
58198   glibcxx_cv_func_isnanl_use=yes
58199 else
58200   glibcxx_cv_func_isnanl_use=no
58201 fi
58202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58203       ac_ext=c
58204 ac_cpp='$CPP $CPPFLAGS'
58205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58208
58209
58210 fi
58211
58212   fi
58213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58215
58216   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58217     for ac_func in isnanl
58218 do :
58219   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58220 if test "x$ac_cv_func_isnanl" = xyes; then :
58221   cat >>confdefs.h <<_ACEOF
58222 #define HAVE_ISNANL 1
58223 _ACEOF
58224
58225 fi
58226 done
58227
58228   else
58229
58230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58231 $as_echo_n "checking for _isnanl declaration... " >&6; }
58232   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58233     if ${glibcxx_cv_func__isnanl_use+:} false; then :
58234   $as_echo_n "(cached) " >&6
58235 else
58236
58237
58238       ac_ext=cpp
58239 ac_cpp='$CXXCPP $CPPFLAGS'
58240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58243
58244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58245 /* end confdefs.h.  */
58246 #include <math.h>
58247                       #ifdef HAVE_IEEEFP_H
58248                       #include <ieeefp.h>
58249                       #endif
58250
58251 int
58252 main ()
58253 {
58254  _isnanl(0);
58255   ;
58256   return 0;
58257 }
58258 _ACEOF
58259 if ac_fn_cxx_try_compile "$LINENO"; then :
58260   glibcxx_cv_func__isnanl_use=yes
58261 else
58262   glibcxx_cv_func__isnanl_use=no
58263 fi
58264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58265       ac_ext=c
58266 ac_cpp='$CPP $CPPFLAGS'
58267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58270
58271
58272 fi
58273
58274   fi
58275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58277
58278     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58279       for ac_func in _isnanl
58280 do :
58281   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58282 if test "x$ac_cv_func__isnanl" = xyes; then :
58283   cat >>confdefs.h <<_ACEOF
58284 #define HAVE__ISNANL 1
58285 _ACEOF
58286
58287 fi
58288 done
58289
58290     fi
58291   fi
58292
58293
58294
58295
58296
58297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58298 $as_echo_n "checking for isinfl declaration... " >&6; }
58299   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58300     if ${glibcxx_cv_func_isinfl_use+:} false; then :
58301   $as_echo_n "(cached) " >&6
58302 else
58303
58304
58305       ac_ext=cpp
58306 ac_cpp='$CXXCPP $CPPFLAGS'
58307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58310
58311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58312 /* end confdefs.h.  */
58313 #include <math.h>
58314                       #ifdef HAVE_IEEEFP_H
58315                       #include <ieeefp.h>
58316                       #endif
58317
58318 int
58319 main ()
58320 {
58321  isinfl(0);
58322   ;
58323   return 0;
58324 }
58325 _ACEOF
58326 if ac_fn_cxx_try_compile "$LINENO"; then :
58327   glibcxx_cv_func_isinfl_use=yes
58328 else
58329   glibcxx_cv_func_isinfl_use=no
58330 fi
58331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58332       ac_ext=c
58333 ac_cpp='$CPP $CPPFLAGS'
58334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337
58338
58339 fi
58340
58341   fi
58342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58344
58345   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58346     for ac_func in isinfl
58347 do :
58348   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58349 if test "x$ac_cv_func_isinfl" = xyes; then :
58350   cat >>confdefs.h <<_ACEOF
58351 #define HAVE_ISINFL 1
58352 _ACEOF
58353
58354 fi
58355 done
58356
58357   else
58358
58359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58360 $as_echo_n "checking for _isinfl declaration... " >&6; }
58361   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58362     if ${glibcxx_cv_func__isinfl_use+:} false; then :
58363   $as_echo_n "(cached) " >&6
58364 else
58365
58366
58367       ac_ext=cpp
58368 ac_cpp='$CXXCPP $CPPFLAGS'
58369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372
58373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58374 /* end confdefs.h.  */
58375 #include <math.h>
58376                       #ifdef HAVE_IEEEFP_H
58377                       #include <ieeefp.h>
58378                       #endif
58379
58380 int
58381 main ()
58382 {
58383  _isinfl(0);
58384   ;
58385   return 0;
58386 }
58387 _ACEOF
58388 if ac_fn_cxx_try_compile "$LINENO"; then :
58389   glibcxx_cv_func__isinfl_use=yes
58390 else
58391   glibcxx_cv_func__isinfl_use=no
58392 fi
58393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58394       ac_ext=c
58395 ac_cpp='$CPP $CPPFLAGS'
58396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58399
58400
58401 fi
58402
58403   fi
58404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58406
58407     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58408       for ac_func in _isinfl
58409 do :
58410   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58411 if test "x$ac_cv_func__isinfl" = xyes; then :
58412   cat >>confdefs.h <<_ACEOF
58413 #define HAVE__ISINFL 1
58414 _ACEOF
58415
58416 fi
58417 done
58418
58419     fi
58420   fi
58421
58422
58423
58424
58425
58426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58427 $as_echo_n "checking for atan2l declaration... " >&6; }
58428   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58429     if ${glibcxx_cv_func_atan2l_use+:} false; then :
58430   $as_echo_n "(cached) " >&6
58431 else
58432
58433
58434       ac_ext=cpp
58435 ac_cpp='$CXXCPP $CPPFLAGS'
58436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58439
58440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58441 /* end confdefs.h.  */
58442 #include <math.h>
58443 int
58444 main ()
58445 {
58446  atan2l(0, 0);
58447   ;
58448   return 0;
58449 }
58450 _ACEOF
58451 if ac_fn_cxx_try_compile "$LINENO"; then :
58452   glibcxx_cv_func_atan2l_use=yes
58453 else
58454   glibcxx_cv_func_atan2l_use=no
58455 fi
58456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58457       ac_ext=c
58458 ac_cpp='$CPP $CPPFLAGS'
58459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58462
58463
58464 fi
58465
58466   fi
58467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58469
58470   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58471     for ac_func in atan2l
58472 do :
58473   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58474 if test "x$ac_cv_func_atan2l" = xyes; then :
58475   cat >>confdefs.h <<_ACEOF
58476 #define HAVE_ATAN2L 1
58477 _ACEOF
58478
58479 fi
58480 done
58481
58482   else
58483
58484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58485 $as_echo_n "checking for _atan2l declaration... " >&6; }
58486   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58487     if ${glibcxx_cv_func__atan2l_use+:} false; then :
58488   $as_echo_n "(cached) " >&6
58489 else
58490
58491
58492       ac_ext=cpp
58493 ac_cpp='$CXXCPP $CPPFLAGS'
58494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497
58498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h.  */
58500 #include <math.h>
58501 int
58502 main ()
58503 {
58504  _atan2l(0, 0);
58505   ;
58506   return 0;
58507 }
58508 _ACEOF
58509 if ac_fn_cxx_try_compile "$LINENO"; then :
58510   glibcxx_cv_func__atan2l_use=yes
58511 else
58512   glibcxx_cv_func__atan2l_use=no
58513 fi
58514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58515       ac_ext=c
58516 ac_cpp='$CPP $CPPFLAGS'
58517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58520
58521
58522 fi
58523
58524   fi
58525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58527
58528     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58529       for ac_func in _atan2l
58530 do :
58531   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58532 if test "x$ac_cv_func__atan2l" = xyes; then :
58533   cat >>confdefs.h <<_ACEOF
58534 #define HAVE__ATAN2L 1
58535 _ACEOF
58536
58537 fi
58538 done
58539
58540     fi
58541   fi
58542
58543
58544
58545
58546
58547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58548 $as_echo_n "checking for expl declaration... " >&6; }
58549   if test x${glibcxx_cv_func_expl_use+set} != xset; then
58550     if ${glibcxx_cv_func_expl_use+:} false; then :
58551   $as_echo_n "(cached) " >&6
58552 else
58553
58554
58555       ac_ext=cpp
58556 ac_cpp='$CXXCPP $CPPFLAGS'
58557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58560
58561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58562 /* end confdefs.h.  */
58563 #include <math.h>
58564                       #ifdef HAVE_IEEEFP_H
58565                       #include <ieeefp.h>
58566                       #endif
58567
58568 int
58569 main ()
58570 {
58571  expl(0);
58572   ;
58573   return 0;
58574 }
58575 _ACEOF
58576 if ac_fn_cxx_try_compile "$LINENO"; then :
58577   glibcxx_cv_func_expl_use=yes
58578 else
58579   glibcxx_cv_func_expl_use=no
58580 fi
58581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58582       ac_ext=c
58583 ac_cpp='$CPP $CPPFLAGS'
58584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58587
58588
58589 fi
58590
58591   fi
58592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58594
58595   if test x$glibcxx_cv_func_expl_use = x"yes"; then
58596     for ac_func in expl
58597 do :
58598   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58599 if test "x$ac_cv_func_expl" = xyes; then :
58600   cat >>confdefs.h <<_ACEOF
58601 #define HAVE_EXPL 1
58602 _ACEOF
58603
58604 fi
58605 done
58606
58607   else
58608
58609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58610 $as_echo_n "checking for _expl declaration... " >&6; }
58611   if test x${glibcxx_cv_func__expl_use+set} != xset; then
58612     if ${glibcxx_cv_func__expl_use+:} false; then :
58613   $as_echo_n "(cached) " >&6
58614 else
58615
58616
58617       ac_ext=cpp
58618 ac_cpp='$CXXCPP $CPPFLAGS'
58619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58622
58623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58624 /* end confdefs.h.  */
58625 #include <math.h>
58626                       #ifdef HAVE_IEEEFP_H
58627                       #include <ieeefp.h>
58628                       #endif
58629
58630 int
58631 main ()
58632 {
58633  _expl(0);
58634   ;
58635   return 0;
58636 }
58637 _ACEOF
58638 if ac_fn_cxx_try_compile "$LINENO"; then :
58639   glibcxx_cv_func__expl_use=yes
58640 else
58641   glibcxx_cv_func__expl_use=no
58642 fi
58643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58644       ac_ext=c
58645 ac_cpp='$CPP $CPPFLAGS'
58646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58649
58650
58651 fi
58652
58653   fi
58654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58656
58657     if test x$glibcxx_cv_func__expl_use = x"yes"; then
58658       for ac_func in _expl
58659 do :
58660   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58661 if test "x$ac_cv_func__expl" = xyes; then :
58662   cat >>confdefs.h <<_ACEOF
58663 #define HAVE__EXPL 1
58664 _ACEOF
58665
58666 fi
58667 done
58668
58669     fi
58670   fi
58671
58672
58673
58674
58675
58676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58677 $as_echo_n "checking for fabsl declaration... " >&6; }
58678   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58679     if ${glibcxx_cv_func_fabsl_use+:} false; then :
58680   $as_echo_n "(cached) " >&6
58681 else
58682
58683
58684       ac_ext=cpp
58685 ac_cpp='$CXXCPP $CPPFLAGS'
58686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58689
58690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58691 /* end confdefs.h.  */
58692 #include <math.h>
58693                       #ifdef HAVE_IEEEFP_H
58694                       #include <ieeefp.h>
58695                       #endif
58696
58697 int
58698 main ()
58699 {
58700  fabsl(0);
58701   ;
58702   return 0;
58703 }
58704 _ACEOF
58705 if ac_fn_cxx_try_compile "$LINENO"; then :
58706   glibcxx_cv_func_fabsl_use=yes
58707 else
58708   glibcxx_cv_func_fabsl_use=no
58709 fi
58710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58711       ac_ext=c
58712 ac_cpp='$CPP $CPPFLAGS'
58713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58716
58717
58718 fi
58719
58720   fi
58721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58723
58724   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58725     for ac_func in fabsl
58726 do :
58727   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58728 if test "x$ac_cv_func_fabsl" = xyes; then :
58729   cat >>confdefs.h <<_ACEOF
58730 #define HAVE_FABSL 1
58731 _ACEOF
58732
58733 fi
58734 done
58735
58736   else
58737
58738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58739 $as_echo_n "checking for _fabsl declaration... " >&6; }
58740   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58741     if ${glibcxx_cv_func__fabsl_use+:} false; then :
58742   $as_echo_n "(cached) " >&6
58743 else
58744
58745
58746       ac_ext=cpp
58747 ac_cpp='$CXXCPP $CPPFLAGS'
58748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751
58752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58753 /* end confdefs.h.  */
58754 #include <math.h>
58755                       #ifdef HAVE_IEEEFP_H
58756                       #include <ieeefp.h>
58757                       #endif
58758
58759 int
58760 main ()
58761 {
58762  _fabsl(0);
58763   ;
58764   return 0;
58765 }
58766 _ACEOF
58767 if ac_fn_cxx_try_compile "$LINENO"; then :
58768   glibcxx_cv_func__fabsl_use=yes
58769 else
58770   glibcxx_cv_func__fabsl_use=no
58771 fi
58772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58773       ac_ext=c
58774 ac_cpp='$CPP $CPPFLAGS'
58775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778
58779
58780 fi
58781
58782   fi
58783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58785
58786     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58787       for ac_func in _fabsl
58788 do :
58789   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58790 if test "x$ac_cv_func__fabsl" = xyes; then :
58791   cat >>confdefs.h <<_ACEOF
58792 #define HAVE__FABSL 1
58793 _ACEOF
58794
58795 fi
58796 done
58797
58798     fi
58799   fi
58800
58801
58802
58803
58804
58805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58806 $as_echo_n "checking for fmodl declaration... " >&6; }
58807   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58808     if ${glibcxx_cv_func_fmodl_use+:} false; then :
58809   $as_echo_n "(cached) " >&6
58810 else
58811
58812
58813       ac_ext=cpp
58814 ac_cpp='$CXXCPP $CPPFLAGS'
58815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58818
58819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58820 /* end confdefs.h.  */
58821 #include <math.h>
58822 int
58823 main ()
58824 {
58825  fmodl(0, 0);
58826   ;
58827   return 0;
58828 }
58829 _ACEOF
58830 if ac_fn_cxx_try_compile "$LINENO"; then :
58831   glibcxx_cv_func_fmodl_use=yes
58832 else
58833   glibcxx_cv_func_fmodl_use=no
58834 fi
58835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58836       ac_ext=c
58837 ac_cpp='$CPP $CPPFLAGS'
58838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58841
58842
58843 fi
58844
58845   fi
58846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58848
58849   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58850     for ac_func in fmodl
58851 do :
58852   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58853 if test "x$ac_cv_func_fmodl" = xyes; then :
58854   cat >>confdefs.h <<_ACEOF
58855 #define HAVE_FMODL 1
58856 _ACEOF
58857
58858 fi
58859 done
58860
58861   else
58862
58863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58864 $as_echo_n "checking for _fmodl declaration... " >&6; }
58865   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58866     if ${glibcxx_cv_func__fmodl_use+:} false; then :
58867   $as_echo_n "(cached) " >&6
58868 else
58869
58870
58871       ac_ext=cpp
58872 ac_cpp='$CXXCPP $CPPFLAGS'
58873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58876
58877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58878 /* end confdefs.h.  */
58879 #include <math.h>
58880 int
58881 main ()
58882 {
58883  _fmodl(0, 0);
58884   ;
58885   return 0;
58886 }
58887 _ACEOF
58888 if ac_fn_cxx_try_compile "$LINENO"; then :
58889   glibcxx_cv_func__fmodl_use=yes
58890 else
58891   glibcxx_cv_func__fmodl_use=no
58892 fi
58893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58894       ac_ext=c
58895 ac_cpp='$CPP $CPPFLAGS'
58896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58899
58900
58901 fi
58902
58903   fi
58904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58906
58907     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58908       for ac_func in _fmodl
58909 do :
58910   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58911 if test "x$ac_cv_func__fmodl" = xyes; then :
58912   cat >>confdefs.h <<_ACEOF
58913 #define HAVE__FMODL 1
58914 _ACEOF
58915
58916 fi
58917 done
58918
58919     fi
58920   fi
58921
58922
58923
58924
58925
58926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58927 $as_echo_n "checking for frexpl declaration... " >&6; }
58928   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58929     if ${glibcxx_cv_func_frexpl_use+:} false; then :
58930   $as_echo_n "(cached) " >&6
58931 else
58932
58933
58934       ac_ext=cpp
58935 ac_cpp='$CXXCPP $CPPFLAGS'
58936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58939
58940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58941 /* end confdefs.h.  */
58942 #include <math.h>
58943 int
58944 main ()
58945 {
58946  frexpl(0, 0);
58947   ;
58948   return 0;
58949 }
58950 _ACEOF
58951 if ac_fn_cxx_try_compile "$LINENO"; then :
58952   glibcxx_cv_func_frexpl_use=yes
58953 else
58954   glibcxx_cv_func_frexpl_use=no
58955 fi
58956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58957       ac_ext=c
58958 ac_cpp='$CPP $CPPFLAGS'
58959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58962
58963
58964 fi
58965
58966   fi
58967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58969
58970   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58971     for ac_func in frexpl
58972 do :
58973   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58974 if test "x$ac_cv_func_frexpl" = xyes; then :
58975   cat >>confdefs.h <<_ACEOF
58976 #define HAVE_FREXPL 1
58977 _ACEOF
58978
58979 fi
58980 done
58981
58982   else
58983
58984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58985 $as_echo_n "checking for _frexpl declaration... " >&6; }
58986   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58987     if ${glibcxx_cv_func__frexpl_use+:} false; then :
58988   $as_echo_n "(cached) " >&6
58989 else
58990
58991
58992       ac_ext=cpp
58993 ac_cpp='$CXXCPP $CPPFLAGS'
58994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997
58998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h.  */
59000 #include <math.h>
59001 int
59002 main ()
59003 {
59004  _frexpl(0, 0);
59005   ;
59006   return 0;
59007 }
59008 _ACEOF
59009 if ac_fn_cxx_try_compile "$LINENO"; then :
59010   glibcxx_cv_func__frexpl_use=yes
59011 else
59012   glibcxx_cv_func__frexpl_use=no
59013 fi
59014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59015       ac_ext=c
59016 ac_cpp='$CPP $CPPFLAGS'
59017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59020
59021
59022 fi
59023
59024   fi
59025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59027
59028     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59029       for ac_func in _frexpl
59030 do :
59031   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59032 if test "x$ac_cv_func__frexpl" = xyes; then :
59033   cat >>confdefs.h <<_ACEOF
59034 #define HAVE__FREXPL 1
59035 _ACEOF
59036
59037 fi
59038 done
59039
59040     fi
59041   fi
59042
59043
59044
59045
59046
59047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59048 $as_echo_n "checking for hypotl declaration... " >&6; }
59049   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59050     if ${glibcxx_cv_func_hypotl_use+:} false; then :
59051   $as_echo_n "(cached) " >&6
59052 else
59053
59054
59055       ac_ext=cpp
59056 ac_cpp='$CXXCPP $CPPFLAGS'
59057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59060
59061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59062 /* end confdefs.h.  */
59063 #include <math.h>
59064 int
59065 main ()
59066 {
59067  hypotl(0, 0);
59068   ;
59069   return 0;
59070 }
59071 _ACEOF
59072 if ac_fn_cxx_try_compile "$LINENO"; then :
59073   glibcxx_cv_func_hypotl_use=yes
59074 else
59075   glibcxx_cv_func_hypotl_use=no
59076 fi
59077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59078       ac_ext=c
59079 ac_cpp='$CPP $CPPFLAGS'
59080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59083
59084
59085 fi
59086
59087   fi
59088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59090
59091   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59092     for ac_func in hypotl
59093 do :
59094   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59095 if test "x$ac_cv_func_hypotl" = xyes; then :
59096   cat >>confdefs.h <<_ACEOF
59097 #define HAVE_HYPOTL 1
59098 _ACEOF
59099
59100 fi
59101 done
59102
59103   else
59104
59105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59106 $as_echo_n "checking for _hypotl declaration... " >&6; }
59107   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59108     if ${glibcxx_cv_func__hypotl_use+:} false; then :
59109   $as_echo_n "(cached) " >&6
59110 else
59111
59112
59113       ac_ext=cpp
59114 ac_cpp='$CXXCPP $CPPFLAGS'
59115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59118
59119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59120 /* end confdefs.h.  */
59121 #include <math.h>
59122 int
59123 main ()
59124 {
59125  _hypotl(0, 0);
59126   ;
59127   return 0;
59128 }
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131   glibcxx_cv_func__hypotl_use=yes
59132 else
59133   glibcxx_cv_func__hypotl_use=no
59134 fi
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136       ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141
59142
59143 fi
59144
59145   fi
59146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59148
59149     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59150       for ac_func in _hypotl
59151 do :
59152   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59153 if test "x$ac_cv_func__hypotl" = xyes; then :
59154   cat >>confdefs.h <<_ACEOF
59155 #define HAVE__HYPOTL 1
59156 _ACEOF
59157
59158 fi
59159 done
59160
59161     fi
59162   fi
59163
59164
59165
59166
59167
59168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59169 $as_echo_n "checking for ldexpl declaration... " >&6; }
59170   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59171     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59172   $as_echo_n "(cached) " >&6
59173 else
59174
59175
59176       ac_ext=cpp
59177 ac_cpp='$CXXCPP $CPPFLAGS'
59178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59181
59182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59183 /* end confdefs.h.  */
59184 #include <math.h>
59185 int
59186 main ()
59187 {
59188  ldexpl(0, 0);
59189   ;
59190   return 0;
59191 }
59192 _ACEOF
59193 if ac_fn_cxx_try_compile "$LINENO"; then :
59194   glibcxx_cv_func_ldexpl_use=yes
59195 else
59196   glibcxx_cv_func_ldexpl_use=no
59197 fi
59198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59199       ac_ext=c
59200 ac_cpp='$CPP $CPPFLAGS'
59201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59204
59205
59206 fi
59207
59208   fi
59209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59211
59212   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59213     for ac_func in ldexpl
59214 do :
59215   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59216 if test "x$ac_cv_func_ldexpl" = xyes; then :
59217   cat >>confdefs.h <<_ACEOF
59218 #define HAVE_LDEXPL 1
59219 _ACEOF
59220
59221 fi
59222 done
59223
59224   else
59225
59226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59228   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59229     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59230   $as_echo_n "(cached) " >&6
59231 else
59232
59233
59234       ac_ext=cpp
59235 ac_cpp='$CXXCPP $CPPFLAGS'
59236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59239
59240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59241 /* end confdefs.h.  */
59242 #include <math.h>
59243 int
59244 main ()
59245 {
59246  _ldexpl(0, 0);
59247   ;
59248   return 0;
59249 }
59250 _ACEOF
59251 if ac_fn_cxx_try_compile "$LINENO"; then :
59252   glibcxx_cv_func__ldexpl_use=yes
59253 else
59254   glibcxx_cv_func__ldexpl_use=no
59255 fi
59256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59257       ac_ext=c
59258 ac_cpp='$CPP $CPPFLAGS'
59259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59262
59263
59264 fi
59265
59266   fi
59267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59269
59270     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59271       for ac_func in _ldexpl
59272 do :
59273   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59274 if test "x$ac_cv_func__ldexpl" = xyes; then :
59275   cat >>confdefs.h <<_ACEOF
59276 #define HAVE__LDEXPL 1
59277 _ACEOF
59278
59279 fi
59280 done
59281
59282     fi
59283   fi
59284
59285
59286
59287
59288
59289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59290 $as_echo_n "checking for logl declaration... " >&6; }
59291   if test x${glibcxx_cv_func_logl_use+set} != xset; then
59292     if ${glibcxx_cv_func_logl_use+:} false; then :
59293   $as_echo_n "(cached) " >&6
59294 else
59295
59296
59297       ac_ext=cpp
59298 ac_cpp='$CXXCPP $CPPFLAGS'
59299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302
59303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59304 /* end confdefs.h.  */
59305 #include <math.h>
59306                       #ifdef HAVE_IEEEFP_H
59307                       #include <ieeefp.h>
59308                       #endif
59309
59310 int
59311 main ()
59312 {
59313  logl(0);
59314   ;
59315   return 0;
59316 }
59317 _ACEOF
59318 if ac_fn_cxx_try_compile "$LINENO"; then :
59319   glibcxx_cv_func_logl_use=yes
59320 else
59321   glibcxx_cv_func_logl_use=no
59322 fi
59323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59324       ac_ext=c
59325 ac_cpp='$CPP $CPPFLAGS'
59326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59329
59330
59331 fi
59332
59333   fi
59334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59336
59337   if test x$glibcxx_cv_func_logl_use = x"yes"; then
59338     for ac_func in logl
59339 do :
59340   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59341 if test "x$ac_cv_func_logl" = xyes; then :
59342   cat >>confdefs.h <<_ACEOF
59343 #define HAVE_LOGL 1
59344 _ACEOF
59345
59346 fi
59347 done
59348
59349   else
59350
59351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59352 $as_echo_n "checking for _logl declaration... " >&6; }
59353   if test x${glibcxx_cv_func__logl_use+set} != xset; then
59354     if ${glibcxx_cv_func__logl_use+:} false; then :
59355   $as_echo_n "(cached) " >&6
59356 else
59357
59358
59359       ac_ext=cpp
59360 ac_cpp='$CXXCPP $CPPFLAGS'
59361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364
59365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59366 /* end confdefs.h.  */
59367 #include <math.h>
59368                       #ifdef HAVE_IEEEFP_H
59369                       #include <ieeefp.h>
59370                       #endif
59371
59372 int
59373 main ()
59374 {
59375  _logl(0);
59376   ;
59377   return 0;
59378 }
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381   glibcxx_cv_func__logl_use=yes
59382 else
59383   glibcxx_cv_func__logl_use=no
59384 fi
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386       ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391
59392
59393 fi
59394
59395   fi
59396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59398
59399     if test x$glibcxx_cv_func__logl_use = x"yes"; then
59400       for ac_func in _logl
59401 do :
59402   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59403 if test "x$ac_cv_func__logl" = xyes; then :
59404   cat >>confdefs.h <<_ACEOF
59405 #define HAVE__LOGL 1
59406 _ACEOF
59407
59408 fi
59409 done
59410
59411     fi
59412   fi
59413
59414
59415
59416
59417
59418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59419 $as_echo_n "checking for log10l declaration... " >&6; }
59420   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59421     if ${glibcxx_cv_func_log10l_use+:} false; then :
59422   $as_echo_n "(cached) " >&6
59423 else
59424
59425
59426       ac_ext=cpp
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59431
59432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59433 /* end confdefs.h.  */
59434 #include <math.h>
59435                       #ifdef HAVE_IEEEFP_H
59436                       #include <ieeefp.h>
59437                       #endif
59438
59439 int
59440 main ()
59441 {
59442  log10l(0);
59443   ;
59444   return 0;
59445 }
59446 _ACEOF
59447 if ac_fn_cxx_try_compile "$LINENO"; then :
59448   glibcxx_cv_func_log10l_use=yes
59449 else
59450   glibcxx_cv_func_log10l_use=no
59451 fi
59452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59453       ac_ext=c
59454 ac_cpp='$CPP $CPPFLAGS'
59455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59458
59459
59460 fi
59461
59462   fi
59463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59465
59466   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59467     for ac_func in log10l
59468 do :
59469   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59470 if test "x$ac_cv_func_log10l" = xyes; then :
59471   cat >>confdefs.h <<_ACEOF
59472 #define HAVE_LOG10L 1
59473 _ACEOF
59474
59475 fi
59476 done
59477
59478   else
59479
59480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59481 $as_echo_n "checking for _log10l declaration... " >&6; }
59482   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59483     if ${glibcxx_cv_func__log10l_use+:} false; then :
59484   $as_echo_n "(cached) " >&6
59485 else
59486
59487
59488       ac_ext=cpp
59489 ac_cpp='$CXXCPP $CPPFLAGS'
59490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59493
59494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59495 /* end confdefs.h.  */
59496 #include <math.h>
59497                       #ifdef HAVE_IEEEFP_H
59498                       #include <ieeefp.h>
59499                       #endif
59500
59501 int
59502 main ()
59503 {
59504  _log10l(0);
59505   ;
59506   return 0;
59507 }
59508 _ACEOF
59509 if ac_fn_cxx_try_compile "$LINENO"; then :
59510   glibcxx_cv_func__log10l_use=yes
59511 else
59512   glibcxx_cv_func__log10l_use=no
59513 fi
59514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59515       ac_ext=c
59516 ac_cpp='$CPP $CPPFLAGS'
59517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59520
59521
59522 fi
59523
59524   fi
59525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59527
59528     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59529       for ac_func in _log10l
59530 do :
59531   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59532 if test "x$ac_cv_func__log10l" = xyes; then :
59533   cat >>confdefs.h <<_ACEOF
59534 #define HAVE__LOG10L 1
59535 _ACEOF
59536
59537 fi
59538 done
59539
59540     fi
59541   fi
59542
59543
59544
59545
59546
59547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59548 $as_echo_n "checking for modfl declaration... " >&6; }
59549   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59550     if ${glibcxx_cv_func_modfl_use+:} false; then :
59551   $as_echo_n "(cached) " >&6
59552 else
59553
59554
59555       ac_ext=cpp
59556 ac_cpp='$CXXCPP $CPPFLAGS'
59557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59560
59561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59562 /* end confdefs.h.  */
59563 #include <math.h>
59564 int
59565 main ()
59566 {
59567  modfl(0, 0);
59568   ;
59569   return 0;
59570 }
59571 _ACEOF
59572 if ac_fn_cxx_try_compile "$LINENO"; then :
59573   glibcxx_cv_func_modfl_use=yes
59574 else
59575   glibcxx_cv_func_modfl_use=no
59576 fi
59577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59578       ac_ext=c
59579 ac_cpp='$CPP $CPPFLAGS'
59580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59583
59584
59585 fi
59586
59587   fi
59588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59590
59591   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59592     for ac_func in modfl
59593 do :
59594   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59595 if test "x$ac_cv_func_modfl" = xyes; then :
59596   cat >>confdefs.h <<_ACEOF
59597 #define HAVE_MODFL 1
59598 _ACEOF
59599
59600 fi
59601 done
59602
59603   else
59604
59605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59606 $as_echo_n "checking for _modfl declaration... " >&6; }
59607   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59608     if ${glibcxx_cv_func__modfl_use+:} false; then :
59609   $as_echo_n "(cached) " >&6
59610 else
59611
59612
59613       ac_ext=cpp
59614 ac_cpp='$CXXCPP $CPPFLAGS'
59615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59618
59619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59620 /* end confdefs.h.  */
59621 #include <math.h>
59622 int
59623 main ()
59624 {
59625  _modfl(0, 0);
59626   ;
59627   return 0;
59628 }
59629 _ACEOF
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631   glibcxx_cv_func__modfl_use=yes
59632 else
59633   glibcxx_cv_func__modfl_use=no
59634 fi
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59636       ac_ext=c
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59641
59642
59643 fi
59644
59645   fi
59646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59648
59649     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59650       for ac_func in _modfl
59651 do :
59652   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59653 if test "x$ac_cv_func__modfl" = xyes; then :
59654   cat >>confdefs.h <<_ACEOF
59655 #define HAVE__MODFL 1
59656 _ACEOF
59657
59658 fi
59659 done
59660
59661     fi
59662   fi
59663
59664
59665
59666
59667
59668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59669 $as_echo_n "checking for powl declaration... " >&6; }
59670   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59671     if ${glibcxx_cv_func_powl_use+:} false; then :
59672   $as_echo_n "(cached) " >&6
59673 else
59674
59675
59676       ac_ext=cpp
59677 ac_cpp='$CXXCPP $CPPFLAGS'
59678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59681
59682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59683 /* end confdefs.h.  */
59684 #include <math.h>
59685 int
59686 main ()
59687 {
59688  powl(0, 0);
59689   ;
59690   return 0;
59691 }
59692 _ACEOF
59693 if ac_fn_cxx_try_compile "$LINENO"; then :
59694   glibcxx_cv_func_powl_use=yes
59695 else
59696   glibcxx_cv_func_powl_use=no
59697 fi
59698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59699       ac_ext=c
59700 ac_cpp='$CPP $CPPFLAGS'
59701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704
59705
59706 fi
59707
59708   fi
59709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59711
59712   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59713     for ac_func in powl
59714 do :
59715   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59716 if test "x$ac_cv_func_powl" = xyes; then :
59717   cat >>confdefs.h <<_ACEOF
59718 #define HAVE_POWL 1
59719 _ACEOF
59720
59721 fi
59722 done
59723
59724   else
59725
59726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59727 $as_echo_n "checking for _powl declaration... " >&6; }
59728   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59729     if ${glibcxx_cv_func__powl_use+:} false; then :
59730   $as_echo_n "(cached) " >&6
59731 else
59732
59733
59734       ac_ext=cpp
59735 ac_cpp='$CXXCPP $CPPFLAGS'
59736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59739
59740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59741 /* end confdefs.h.  */
59742 #include <math.h>
59743 int
59744 main ()
59745 {
59746  _powl(0, 0);
59747   ;
59748   return 0;
59749 }
59750 _ACEOF
59751 if ac_fn_cxx_try_compile "$LINENO"; then :
59752   glibcxx_cv_func__powl_use=yes
59753 else
59754   glibcxx_cv_func__powl_use=no
59755 fi
59756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59757       ac_ext=c
59758 ac_cpp='$CPP $CPPFLAGS'
59759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59762
59763
59764 fi
59765
59766   fi
59767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59769
59770     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59771       for ac_func in _powl
59772 do :
59773   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59774 if test "x$ac_cv_func__powl" = xyes; then :
59775   cat >>confdefs.h <<_ACEOF
59776 #define HAVE__POWL 1
59777 _ACEOF
59778
59779 fi
59780 done
59781
59782     fi
59783   fi
59784
59785
59786
59787
59788
59789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59790 $as_echo_n "checking for sqrtl declaration... " >&6; }
59791   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59792     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59793   $as_echo_n "(cached) " >&6
59794 else
59795
59796
59797       ac_ext=cpp
59798 ac_cpp='$CXXCPP $CPPFLAGS'
59799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59802
59803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59804 /* end confdefs.h.  */
59805 #include <math.h>
59806                       #ifdef HAVE_IEEEFP_H
59807                       #include <ieeefp.h>
59808                       #endif
59809
59810 int
59811 main ()
59812 {
59813  sqrtl(0);
59814   ;
59815   return 0;
59816 }
59817 _ACEOF
59818 if ac_fn_cxx_try_compile "$LINENO"; then :
59819   glibcxx_cv_func_sqrtl_use=yes
59820 else
59821   glibcxx_cv_func_sqrtl_use=no
59822 fi
59823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59824       ac_ext=c
59825 ac_cpp='$CPP $CPPFLAGS'
59826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59829
59830
59831 fi
59832
59833   fi
59834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59836
59837   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59838     for ac_func in sqrtl
59839 do :
59840   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59841 if test "x$ac_cv_func_sqrtl" = xyes; then :
59842   cat >>confdefs.h <<_ACEOF
59843 #define HAVE_SQRTL 1
59844 _ACEOF
59845
59846 fi
59847 done
59848
59849   else
59850
59851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59853   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59854     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59855   $as_echo_n "(cached) " >&6
59856 else
59857
59858
59859       ac_ext=cpp
59860 ac_cpp='$CXXCPP $CPPFLAGS'
59861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59864
59865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59866 /* end confdefs.h.  */
59867 #include <math.h>
59868                       #ifdef HAVE_IEEEFP_H
59869                       #include <ieeefp.h>
59870                       #endif
59871
59872 int
59873 main ()
59874 {
59875  _sqrtl(0);
59876   ;
59877   return 0;
59878 }
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881   glibcxx_cv_func__sqrtl_use=yes
59882 else
59883   glibcxx_cv_func__sqrtl_use=no
59884 fi
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886       ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891
59892
59893 fi
59894
59895   fi
59896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59898
59899     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59900       for ac_func in _sqrtl
59901 do :
59902   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59903 if test "x$ac_cv_func__sqrtl" = xyes; then :
59904   cat >>confdefs.h <<_ACEOF
59905 #define HAVE__SQRTL 1
59906 _ACEOF
59907
59908 fi
59909 done
59910
59911     fi
59912   fi
59913
59914
59915
59916
59917
59918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59919 $as_echo_n "checking for sincosl declaration... " >&6; }
59920   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59921     if ${glibcxx_cv_func_sincosl_use+:} false; then :
59922   $as_echo_n "(cached) " >&6
59923 else
59924
59925
59926       ac_ext=cpp
59927 ac_cpp='$CXXCPP $CPPFLAGS'
59928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59931
59932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59933 /* end confdefs.h.  */
59934 #include <math.h>
59935 int
59936 main ()
59937 {
59938  sincosl(0, 0, 0);
59939   ;
59940   return 0;
59941 }
59942 _ACEOF
59943 if ac_fn_cxx_try_compile "$LINENO"; then :
59944   glibcxx_cv_func_sincosl_use=yes
59945 else
59946   glibcxx_cv_func_sincosl_use=no
59947 fi
59948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59949       ac_ext=c
59950 ac_cpp='$CPP $CPPFLAGS'
59951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954
59955
59956 fi
59957
59958   fi
59959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59961
59962   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59963     for ac_func in sincosl
59964 do :
59965   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59966 if test "x$ac_cv_func_sincosl" = xyes; then :
59967   cat >>confdefs.h <<_ACEOF
59968 #define HAVE_SINCOSL 1
59969 _ACEOF
59970
59971 fi
59972 done
59973
59974   else
59975
59976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59977 $as_echo_n "checking for _sincosl declaration... " >&6; }
59978   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59979     if ${glibcxx_cv_func__sincosl_use+:} false; then :
59980   $as_echo_n "(cached) " >&6
59981 else
59982
59983
59984       ac_ext=cpp
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989
59990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59991 /* end confdefs.h.  */
59992 #include <math.h>
59993 int
59994 main ()
59995 {
59996  _sincosl(0, 0, 0);
59997   ;
59998   return 0;
59999 }
60000 _ACEOF
60001 if ac_fn_cxx_try_compile "$LINENO"; then :
60002   glibcxx_cv_func__sincosl_use=yes
60003 else
60004   glibcxx_cv_func__sincosl_use=no
60005 fi
60006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60007       ac_ext=c
60008 ac_cpp='$CPP $CPPFLAGS'
60009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60012
60013
60014 fi
60015
60016   fi
60017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60019
60020     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60021       for ac_func in _sincosl
60022 do :
60023   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60024 if test "x$ac_cv_func__sincosl" = xyes; then :
60025   cat >>confdefs.h <<_ACEOF
60026 #define HAVE__SINCOSL 1
60027 _ACEOF
60028
60029 fi
60030 done
60031
60032     fi
60033   fi
60034
60035
60036
60037
60038
60039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60040 $as_echo_n "checking for finitel declaration... " >&6; }
60041   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60042     if ${glibcxx_cv_func_finitel_use+:} false; then :
60043   $as_echo_n "(cached) " >&6
60044 else
60045
60046
60047       ac_ext=cpp
60048 ac_cpp='$CXXCPP $CPPFLAGS'
60049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60052
60053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60054 /* end confdefs.h.  */
60055 #include <math.h>
60056                       #ifdef HAVE_IEEEFP_H
60057                       #include <ieeefp.h>
60058                       #endif
60059
60060 int
60061 main ()
60062 {
60063  finitel(0);
60064   ;
60065   return 0;
60066 }
60067 _ACEOF
60068 if ac_fn_cxx_try_compile "$LINENO"; then :
60069   glibcxx_cv_func_finitel_use=yes
60070 else
60071   glibcxx_cv_func_finitel_use=no
60072 fi
60073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60074       ac_ext=c
60075 ac_cpp='$CPP $CPPFLAGS'
60076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60079
60080
60081 fi
60082
60083   fi
60084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60086
60087   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60088     for ac_func in finitel
60089 do :
60090   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60091 if test "x$ac_cv_func_finitel" = xyes; then :
60092   cat >>confdefs.h <<_ACEOF
60093 #define HAVE_FINITEL 1
60094 _ACEOF
60095
60096 fi
60097 done
60098
60099   else
60100
60101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60102 $as_echo_n "checking for _finitel declaration... " >&6; }
60103   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60104     if ${glibcxx_cv_func__finitel_use+:} false; then :
60105   $as_echo_n "(cached) " >&6
60106 else
60107
60108
60109       ac_ext=cpp
60110 ac_cpp='$CXXCPP $CPPFLAGS'
60111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60114
60115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60116 /* end confdefs.h.  */
60117 #include <math.h>
60118                       #ifdef HAVE_IEEEFP_H
60119                       #include <ieeefp.h>
60120                       #endif
60121
60122 int
60123 main ()
60124 {
60125  _finitel(0);
60126   ;
60127   return 0;
60128 }
60129 _ACEOF
60130 if ac_fn_cxx_try_compile "$LINENO"; then :
60131   glibcxx_cv_func__finitel_use=yes
60132 else
60133   glibcxx_cv_func__finitel_use=no
60134 fi
60135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60136       ac_ext=c
60137 ac_cpp='$CPP $CPPFLAGS'
60138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60141
60142
60143 fi
60144
60145   fi
60146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60148
60149     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60150       for ac_func in _finitel
60151 do :
60152   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60153 if test "x$ac_cv_func__finitel" = xyes; then :
60154   cat >>confdefs.h <<_ACEOF
60155 #define HAVE__FINITEL 1
60156 _ACEOF
60157
60158 fi
60159 done
60160
60161     fi
60162   fi
60163
60164
60165
60166
60167   LIBS="$ac_save_LIBS"
60168   CXXFLAGS="$ac_save_CXXFLAGS"
60169
60170
60171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
60172   ac_save_CXXFLAGS="$CXXFLAGS"
60173   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60174
60175
60176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60177 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60178   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60179     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60180   $as_echo_n "(cached) " >&6
60181 else
60182
60183
60184       ac_ext=cpp
60185 ac_cpp='$CXXCPP $CPPFLAGS'
60186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60189
60190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60191 /* end confdefs.h.  */
60192 #include <stdlib.h>
60193 int
60194 main ()
60195 {
60196  at_quick_exit(0);
60197   ;
60198   return 0;
60199 }
60200 _ACEOF
60201 if ac_fn_cxx_try_compile "$LINENO"; then :
60202   glibcxx_cv_func_at_quick_exit_use=yes
60203 else
60204   glibcxx_cv_func_at_quick_exit_use=no
60205 fi
60206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60207       ac_ext=c
60208 ac_cpp='$CPP $CPPFLAGS'
60209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60212
60213
60214 fi
60215
60216   fi
60217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60218 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60219   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60220     for ac_func in at_quick_exit
60221 do :
60222   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60223 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60224   cat >>confdefs.h <<_ACEOF
60225 #define HAVE_AT_QUICK_EXIT 1
60226 _ACEOF
60227
60228 fi
60229 done
60230
60231   fi
60232
60233
60234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60235 $as_echo_n "checking for quick_exit declaration... " >&6; }
60236   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60237     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60238   $as_echo_n "(cached) " >&6
60239 else
60240
60241
60242       ac_ext=cpp
60243 ac_cpp='$CXXCPP $CPPFLAGS'
60244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60247
60248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60249 /* end confdefs.h.  */
60250 #include <stdlib.h>
60251 int
60252 main ()
60253 {
60254  quick_exit(0);
60255   ;
60256   return 0;
60257 }
60258 _ACEOF
60259 if ac_fn_cxx_try_compile "$LINENO"; then :
60260   glibcxx_cv_func_quick_exit_use=yes
60261 else
60262   glibcxx_cv_func_quick_exit_use=no
60263 fi
60264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60265       ac_ext=c
60266 ac_cpp='$CPP $CPPFLAGS'
60267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60270
60271
60272 fi
60273
60274   fi
60275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60276 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60277   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60278     for ac_func in quick_exit
60279 do :
60280   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60281 if test "x$ac_cv_func_quick_exit" = xyes; then :
60282   cat >>confdefs.h <<_ACEOF
60283 #define HAVE_QUICK_EXIT 1
60284 _ACEOF
60285
60286 fi
60287 done
60288
60289   fi
60290
60291
60292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60293 $as_echo_n "checking for strtold declaration... " >&6; }
60294   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60295     if ${glibcxx_cv_func_strtold_use+:} false; then :
60296   $as_echo_n "(cached) " >&6
60297 else
60298
60299
60300       ac_ext=cpp
60301 ac_cpp='$CXXCPP $CPPFLAGS'
60302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60305
60306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60307 /* end confdefs.h.  */
60308 #include <stdlib.h>
60309 int
60310 main ()
60311 {
60312  strtold(0, 0);
60313   ;
60314   return 0;
60315 }
60316 _ACEOF
60317 if ac_fn_cxx_try_compile "$LINENO"; then :
60318   glibcxx_cv_func_strtold_use=yes
60319 else
60320   glibcxx_cv_func_strtold_use=no
60321 fi
60322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60323       ac_ext=c
60324 ac_cpp='$CPP $CPPFLAGS'
60325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60328
60329
60330 fi
60331
60332   fi
60333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60334 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60335   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60336     for ac_func in strtold
60337 do :
60338   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60339 if test "x$ac_cv_func_strtold" = xyes; then :
60340   cat >>confdefs.h <<_ACEOF
60341 #define HAVE_STRTOLD 1
60342 _ACEOF
60343
60344 fi
60345 done
60346
60347   fi
60348
60349
60350
60351
60352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60353 $as_echo_n "checking for strtof declaration... " >&6; }
60354   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60355     if ${glibcxx_cv_func_strtof_use+:} false; then :
60356   $as_echo_n "(cached) " >&6
60357 else
60358
60359
60360       ac_ext=cpp
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60365
60366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367 /* end confdefs.h.  */
60368 #include <stdlib.h>
60369 int
60370 main ()
60371 {
60372  strtof(0, 0);
60373   ;
60374   return 0;
60375 }
60376 _ACEOF
60377 if ac_fn_cxx_try_compile "$LINENO"; then :
60378   glibcxx_cv_func_strtof_use=yes
60379 else
60380   glibcxx_cv_func_strtof_use=no
60381 fi
60382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60383       ac_ext=c
60384 ac_cpp='$CPP $CPPFLAGS'
60385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60388
60389
60390 fi
60391
60392   fi
60393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60394 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60395   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60396     for ac_func in strtof
60397 do :
60398   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60399 if test "x$ac_cv_func_strtof" = xyes; then :
60400   cat >>confdefs.h <<_ACEOF
60401 #define HAVE_STRTOF 1
60402 _ACEOF
60403
60404 fi
60405 done
60406
60407   fi
60408
60409
60410
60411
60412   CXXFLAGS="$ac_save_CXXFLAGS"
60413
60414     for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60415 do :
60416   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60419   cat >>confdefs.h <<_ACEOF
60420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60421 _ACEOF
60422
60423 fi
60424 done
60425
60426     for ac_func in _wfopen
60427 do :
60428   ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60429 if test "x$ac_cv_func__wfopen" = xyes; then :
60430   cat >>confdefs.h <<_ACEOF
60431 #define HAVE__WFOPEN 1
60432 _ACEOF
60433
60434 fi
60435 done
60436
60437
60438
60439    # Check whether --enable-tls was given.
60440 if test "${enable_tls+set}" = set; then :
60441   enableval=$enable_tls;
60442       case "$enableval" in
60443        yes|no) ;;
60444        *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60445       esac
60446
60447 else
60448   enable_tls=yes
60449 fi
60450
60451
60452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60453 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60454 if ${gcc_cv_have_tls+:} false; then :
60455   $as_echo_n "(cached) " >&6
60456 else
60457
60458     if test "$cross_compiling" = yes; then :
60459                 if test x$gcc_no_link = xyes; then
60460   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60461 fi
60462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60463 /* end confdefs.h.  */
60464 __thread int a; int b; int main() { return a = b; }
60465 _ACEOF
60466 if ac_fn_c_try_link "$LINENO"; then :
60467   chktls_save_LDFLAGS="$LDFLAGS"
60468                           case $host in
60469             *-*-linux* | -*-uclinuxfdpic*)
60470               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60471               ;;
60472           esac
60473           chktls_save_CFLAGS="$CFLAGS"
60474           CFLAGS="-fPIC $CFLAGS"
60475                   if test x$gcc_no_link = xyes; then
60476   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60477 fi
60478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60479 /* end confdefs.h.  */
60480 int f() { return 0; }
60481 _ACEOF
60482 if ac_fn_c_try_link "$LINENO"; then :
60483   if test x$gcc_no_link = xyes; then
60484   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60485 fi
60486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60487 /* end confdefs.h.  */
60488 __thread int a; int b; int f() { return a = b; }
60489 _ACEOF
60490 if ac_fn_c_try_link "$LINENO"; then :
60491   gcc_cv_have_tls=yes
60492 else
60493   gcc_cv_have_tls=no
60494 fi
60495 rm -f core conftest.err conftest.$ac_objext \
60496     conftest$ac_exeext conftest.$ac_ext
60497 else
60498   gcc_cv_have_tls=yes
60499 fi
60500 rm -f core conftest.err conftest.$ac_objext \
60501     conftest$ac_exeext conftest.$ac_ext
60502           CFLAGS="$chktls_save_CFLAGS"
60503           LDFLAGS="$chktls_save_LDFLAGS"
60504 else
60505   gcc_cv_have_tls=no
60506 fi
60507 rm -f core conftest.err conftest.$ac_objext \
60508     conftest$ac_exeext conftest.$ac_ext
60509
60510
60511 else
60512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60513 /* end confdefs.h.  */
60514 __thread int a; int b; int main() { return a = b; }
60515 _ACEOF
60516 if ac_fn_c_try_run "$LINENO"; then :
60517                       chktls_save_LDFLAGS="$LDFLAGS"
60518       LDFLAGS="-static $LDFLAGS"
60519       if test x$gcc_no_link = xyes; then
60520   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60521 fi
60522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60523 /* end confdefs.h.  */
60524 int main() { return 0; }
60525 _ACEOF
60526 if ac_fn_c_try_link "$LINENO"; then :
60527   if test "$cross_compiling" = yes; then :
60528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60530 as_fn_error $? "cannot run test program while cross compiling
60531 See \`config.log' for more details" "$LINENO" 5; }
60532 else
60533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60534 /* end confdefs.h.  */
60535 __thread int a; int b; int main() { return a = b; }
60536 _ACEOF
60537 if ac_fn_c_try_run "$LINENO"; then :
60538   gcc_cv_have_tls=yes
60539 else
60540   gcc_cv_have_tls=no
60541 fi
60542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60543   conftest.$ac_objext conftest.beam conftest.$ac_ext
60544 fi
60545
60546 else
60547   gcc_cv_have_tls=yes
60548 fi
60549 rm -f core conftest.err conftest.$ac_objext \
60550     conftest$ac_exeext conftest.$ac_ext
60551       LDFLAGS="$chktls_save_LDFLAGS"
60552       if test $gcc_cv_have_tls = yes; then
60553                                                 chktls_save_CFLAGS="$CFLAGS"
60554         thread_CFLAGS=failed
60555         for flag in '' '-pthread' '-lpthread'; do
60556           CFLAGS="$flag $chktls_save_CFLAGS"
60557           if test x$gcc_no_link = xyes; then
60558   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60559 fi
60560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60561 /* end confdefs.h.  */
60562 #include <pthread.h>
60563                 void *g(void *d) { return NULL; }
60564 int
60565 main ()
60566 {
60567 pthread_t t; pthread_create(&t,NULL,g,NULL);
60568   ;
60569   return 0;
60570 }
60571 _ACEOF
60572 if ac_fn_c_try_link "$LINENO"; then :
60573   thread_CFLAGS="$flag"
60574 fi
60575 rm -f core conftest.err conftest.$ac_objext \
60576     conftest$ac_exeext conftest.$ac_ext
60577           if test "X$thread_CFLAGS" != Xfailed; then
60578             break
60579           fi
60580         done
60581         CFLAGS="$chktls_save_CFLAGS"
60582         if test "X$thread_CFLAGS" != Xfailed; then
60583           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60584                                                   if test "$cross_compiling" = yes; then :
60585   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60587 as_fn_error $? "cannot run test program while cross compiling
60588 See \`config.log' for more details" "$LINENO" 5; }
60589 else
60590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60591 /* end confdefs.h.  */
60592 #include <pthread.h>
60593                 __thread int a;
60594                 static int *volatile a_in_other_thread;
60595                 static void *
60596                 thread_func (void *arg)
60597                 {
60598                   a_in_other_thread = &a;
60599                   return (void *)0;
60600                 }
60601 int
60602 main ()
60603 {
60604 pthread_t thread;
60605                 void *thread_retval;
60606                 int *volatile a_in_main_thread;
60607                 a_in_main_thread = &a;
60608                 if (pthread_create (&thread, (pthread_attr_t *)0,
60609                                     thread_func, (void *)0))
60610                   return 0;
60611                 if (pthread_join (thread, &thread_retval))
60612                   return 0;
60613                 return (a_in_other_thread == a_in_main_thread);
60614   ;
60615   return 0;
60616 }
60617 _ACEOF
60618 if ac_fn_c_try_run "$LINENO"; then :
60619   gcc_cv_have_tls=yes
60620 else
60621   gcc_cv_have_tls=no
60622 fi
60623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60624   conftest.$ac_objext conftest.beam conftest.$ac_ext
60625 fi
60626
60627           CFLAGS="$chktls_save_CFLAGS"
60628         fi
60629       fi
60630 else
60631   gcc_cv_have_tls=no
60632 fi
60633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60634   conftest.$ac_objext conftest.beam conftest.$ac_ext
60635 fi
60636
60637 fi
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60639 $as_echo "$gcc_cv_have_tls" >&6; }
60640   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60641
60642 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60643
60644   fi
60645     ;;
60646   *-netbsd* | *-openbsd*)
60647     SECTION_FLAGS='-ffunction-sections -fdata-sections'
60648
60649
60650   # If we're not using GNU ld, then there's no point in even trying these
60651   # tests.  Check for that first.  We should have already tested for gld
60652   # by now (in libtool), but require it now just to be safe...
60653   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60654   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60655
60656
60657
60658   # The name set by libtool depends on the version of libtool.  Shame on us
60659   # for depending on an impl detail, but c'est la vie.  Older versions used
60660   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60661   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60662   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60663   # set (hence we're using an older libtool), then set it.
60664   if test x${with_gnu_ld+set} != xset; then
60665     if test x${ac_cv_prog_gnu_ld+set} != xset; then
60666       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60667       with_gnu_ld=no
60668     else
60669       with_gnu_ld=$ac_cv_prog_gnu_ld
60670     fi
60671   fi
60672
60673   # Start by getting the version number.  I think the libtool test already
60674   # does some of this, but throws away the result.
60675   glibcxx_ld_is_gold=no
60676   glibcxx_ld_is_mold=no
60677   if test x"$with_gnu_ld" = x"yes"; then
60678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60679 $as_echo_n "checking for ld version... " >&6; }
60680
60681     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60682       glibcxx_ld_is_gold=yes
60683     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60684       glibcxx_ld_is_mold=yes
60685     fi
60686     ldver=`$LD --version 2>/dev/null |
60687            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60688
60689     glibcxx_gnu_ld_version=`echo $ldver | \
60690            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60691     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60692 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60693   fi
60694
60695   # Set --gc-sections.
60696   glibcxx_have_gc_sections=no
60697   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60698     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60699       glibcxx_have_gc_sections=yes
60700     fi
60701   else
60702     glibcxx_gcsections_min_ld=21602
60703     if test x"$with_gnu_ld" = x"yes" &&
60704         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60705       glibcxx_have_gc_sections=yes
60706     fi
60707   fi
60708   if test "$glibcxx_have_gc_sections" = "yes"; then
60709     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60710     # NB: This flag only works reliably after 2.16.1. Configure tests
60711     # for this are difficult, so hard wire a value that should work.
60712
60713     ac_test_CFLAGS="${CFLAGS+set}"
60714     ac_save_CFLAGS="$CFLAGS"
60715     CFLAGS='-Wl,--gc-sections'
60716
60717     # Check for -Wl,--gc-sections
60718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60719 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60720     if test x$gcc_no_link = xyes; then
60721   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60722 fi
60723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60724 /* end confdefs.h.  */
60725  int one(void) { return 1; }
60726      int two(void) { return 2; }
60727
60728 int
60729 main ()
60730 {
60731  two();
60732   ;
60733   return 0;
60734 }
60735 _ACEOF
60736 if ac_fn_c_try_link "$LINENO"; then :
60737   ac_gcsections=yes
60738 else
60739   ac_gcsections=no
60740 fi
60741 rm -f core conftest.err conftest.$ac_objext \
60742     conftest$ac_exeext conftest.$ac_ext
60743     if test "$ac_gcsections" = "yes"; then
60744       rm -f conftest.c
60745       touch conftest.c
60746       if $CC -c conftest.c; then
60747         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60748            grep "Warning: gc-sections option ignored" > /dev/null; then
60749           ac_gcsections=no
60750         fi
60751       fi
60752       rm -f conftest.c conftest.o conftest
60753     fi
60754     if test "$ac_gcsections" = "yes"; then
60755       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60756     fi
60757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60758 $as_echo "$ac_gcsections" >&6; }
60759
60760     if test "$ac_test_CFLAGS" = set; then
60761       CFLAGS="$ac_save_CFLAGS"
60762     else
60763       # this is the suspicious part
60764       CFLAGS=''
60765     fi
60766   fi
60767
60768   # Set -z,relro.
60769   # Note this is only for shared objects.
60770   ac_ld_relro=no
60771   if test x"$with_gnu_ld" = x"yes"; then
60772     # cygwin and mingw uses PE, which has no ELF relro support,
60773     # multi target ld may confuse configure machinery
60774     case "$host" in
60775     *-*-cygwin*)
60776      ;;
60777     *-*-mingw*)
60778      ;;
60779     *)
60780       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60781 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60782       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60783       if test -n "$cxx_z_relo"; then
60784         OPT_LDFLAGS="-Wl,-z,relro"
60785         ac_ld_relro=yes
60786       fi
60787       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60788 $as_echo "$ac_ld_relro" >&6; }
60789     esac
60790   fi
60791
60792   # Set linker optimization flags.
60793   if test x"$with_gnu_ld" = x"yes"; then
60794     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60795   fi
60796
60797
60798
60799
60800     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60801
60802     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60803
60804     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60805
60806     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60807
60808     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60809
60810     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60811
60812     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60813
60814     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60815
60816     if test x"long_double_math_on_this_cpu" = x"yes"; then
60817       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60818
60819       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60820
60821       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60822
60823     fi
60824     for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60825 do :
60826   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60828 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60829   cat >>confdefs.h <<_ACEOF
60830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60831 _ACEOF
60832
60833 fi
60834 done
60835
60836     for ac_func in timespec_get
60837 do :
60838   ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60839 if test "x$ac_cv_func_timespec_get" = xyes; then :
60840   cat >>confdefs.h <<_ACEOF
60841 #define HAVE_TIMESPEC_GET 1
60842 _ACEOF
60843
60844 fi
60845 done
60846
60847     for ac_func in sockatmark
60848 do :
60849   ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60850 if test "x$ac_cv_func_sockatmark" = xyes; then :
60851   cat >>confdefs.h <<_ACEOF
60852 #define HAVE_SOCKATMARK 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858     ;;
60859   *-qnx6.1* | *-qnx6.2*)
60860     SECTION_FLAGS='-ffunction-sections -fdata-sections'
60861
60862
60863   # If we're not using GNU ld, then there's no point in even trying these
60864   # tests.  Check for that first.  We should have already tested for gld
60865   # by now (in libtool), but require it now just to be safe...
60866   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60867   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60868
60869
60870
60871   # The name set by libtool depends on the version of libtool.  Shame on us
60872   # for depending on an impl detail, but c'est la vie.  Older versions used
60873   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60874   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60875   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60876   # set (hence we're using an older libtool), then set it.
60877   if test x${with_gnu_ld+set} != xset; then
60878     if test x${ac_cv_prog_gnu_ld+set} != xset; then
60879       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60880       with_gnu_ld=no
60881     else
60882       with_gnu_ld=$ac_cv_prog_gnu_ld
60883     fi
60884   fi
60885
60886   # Start by getting the version number.  I think the libtool test already
60887   # does some of this, but throws away the result.
60888   glibcxx_ld_is_gold=no
60889   glibcxx_ld_is_mold=no
60890   if test x"$with_gnu_ld" = x"yes"; then
60891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60892 $as_echo_n "checking for ld version... " >&6; }
60893
60894     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60895       glibcxx_ld_is_gold=yes
60896     elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60897       glibcxx_ld_is_mold=yes
60898     fi
60899     ldver=`$LD --version 2>/dev/null |
60900            sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60901
60902     glibcxx_gnu_ld_version=`echo $ldver | \
60903            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60904     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60906   fi
60907
60908   # Set --gc-sections.
60909   glibcxx_have_gc_sections=no
60910   if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60911     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60912       glibcxx_have_gc_sections=yes
60913     fi
60914   else
60915     glibcxx_gcsections_min_ld=21602
60916     if test x"$with_gnu_ld" = x"yes" &&
60917         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60918       glibcxx_have_gc_sections=yes
60919     fi
60920   fi
60921   if test "$glibcxx_have_gc_sections" = "yes"; then
60922     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60923     # NB: This flag only works reliably after 2.16.1. Configure tests
60924     # for this are difficult, so hard wire a value that should work.
60925
60926     ac_test_CFLAGS="${CFLAGS+set}"
60927     ac_save_CFLAGS="$CFLAGS"
60928     CFLAGS='-Wl,--gc-sections'
60929
60930     # Check for -Wl,--gc-sections
60931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60933     if test x$gcc_no_link = xyes; then
60934   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60935 fi
60936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60937 /* end confdefs.h.  */
60938  int one(void) { return 1; }
60939      int two(void) { return 2; }
60940
60941 int
60942 main ()
60943 {
60944  two();
60945   ;
60946   return 0;
60947 }
60948 _ACEOF
60949 if ac_fn_c_try_link "$LINENO"; then :
60950   ac_gcsections=yes
60951 else
60952   ac_gcsections=no
60953 fi
60954 rm -f core conftest.err conftest.$ac_objext \
60955     conftest$ac_exeext conftest.$ac_ext
60956     if test "$ac_gcsections" = "yes"; then
60957       rm -f conftest.c
60958       touch conftest.c
60959       if $CC -c conftest.c; then
60960         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60961            grep "Warning: gc-sections option ignored" > /dev/null; then
60962           ac_gcsections=no
60963         fi
60964       fi
60965       rm -f conftest.c conftest.o conftest
60966     fi
60967     if test "$ac_gcsections" = "yes"; then
60968       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60969     fi
60970     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60971 $as_echo "$ac_gcsections" >&6; }
60972
60973     if test "$ac_test_CFLAGS" = set; then
60974       CFLAGS="$ac_save_CFLAGS"
60975     else
60976       # this is the suspicious part
60977       CFLAGS=''
60978     fi
60979   fi
60980
60981   # Set -z,relro.
60982   # Note this is only for shared objects.
60983   ac_ld_relro=no
60984   if test x"$with_gnu_ld" = x"yes"; then
60985     # cygwin and mingw uses PE, which has no ELF relro support,
60986     # multi target ld may confuse configure machinery
60987     case "$host" in
60988     *-*-cygwin*)
60989      ;;
60990     *-*-mingw*)
60991      ;;
60992     *)
60993       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60994 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60995       cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60996       if test -n "$cxx_z_relo"; then
60997         OPT_LDFLAGS="-Wl,-z,relro"
60998         ac_ld_relro=yes
60999       fi
61000       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61001 $as_echo "$ac_ld_relro" >&6; }
61002     esac
61003   fi
61004
61005   # Set linker optimization flags.
61006   if test x"$with_gnu_ld" = x"yes"; then
61007     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61008   fi
61009
61010
61011
61012
61013     $as_echo "#define HAVE_COSF 1" >>confdefs.h
61014
61015     $as_echo "#define HAVE_COSL 1" >>confdefs.h
61016
61017     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61018
61019     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61020
61021     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61022
61023     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61024
61025     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61026
61027     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61028
61029     $as_echo "#define HAVE_SINF 1" >>confdefs.h
61030
61031     $as_echo "#define HAVE_SINL 1" >>confdefs.h
61032
61033     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61034
61035     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61036
61037     ;;
61038   *-tpf)
61039     SECTION_FLAGS='-ffunction-sections -fdata-sections'
61040     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
61041
61042     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61043
61044     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61045
61046     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61047
61048     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61049
61050     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61051
61052     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61053
61054     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61055
61056     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61057
61058     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
61059
61060     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
61061
61062     if test x"long_double_math_on_this_cpu" = x"yes"; then
61063       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61064
61065       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
61066
61067       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61068
61069       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61070
61071     fi
61072     ;;
61073   *-*vms*)
61074     # Check for available headers.
61075     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61076
61077   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61078   ac_save_CXXFLAGS="$CXXFLAGS"
61079   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61080
61081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61082 $as_echo_n "checking for sin in -lm... " >&6; }
61083 if ${ac_cv_lib_m_sin+:} false; then :
61084   $as_echo_n "(cached) " >&6
61085 else
61086   ac_check_lib_save_LIBS=$LIBS
61087 LIBS="-lm  $LIBS"
61088 if test x$gcc_no_link = xyes; then
61089   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61090 fi
61091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61092 /* end confdefs.h.  */
61093
61094 /* Override any GCC internal prototype to avoid an error.
61095    Use char because int might match the return type of a GCC
61096    builtin and then its argument prototype would still apply.  */
61097 #ifdef __cplusplus
61098 extern "C"
61099 #endif
61100 char sin ();
61101 int
61102 main ()
61103 {
61104 return sin ();
61105   ;
61106   return 0;
61107 }
61108 _ACEOF
61109 if ac_fn_c_try_link "$LINENO"; then :
61110   ac_cv_lib_m_sin=yes
61111 else
61112   ac_cv_lib_m_sin=no
61113 fi
61114 rm -f core conftest.err conftest.$ac_objext \
61115     conftest$ac_exeext conftest.$ac_ext
61116 LIBS=$ac_check_lib_save_LIBS
61117 fi
61118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61119 $as_echo "$ac_cv_lib_m_sin" >&6; }
61120 if test "x$ac_cv_lib_m_sin" = xyes; then :
61121   libm="-lm"
61122 fi
61123
61124   ac_save_LIBS="$LIBS"
61125   LIBS="$LIBS $libm"
61126
61127
61128
61129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61130 $as_echo_n "checking for isinf declaration... " >&6; }
61131   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61132     if ${glibcxx_cv_func_isinf_use+:} false; then :
61133   $as_echo_n "(cached) " >&6
61134 else
61135
61136
61137       ac_ext=cpp
61138 ac_cpp='$CXXCPP $CPPFLAGS'
61139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61142
61143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61144 /* end confdefs.h.  */
61145 #include <math.h>
61146                       #ifdef HAVE_IEEEFP_H
61147                       #include <ieeefp.h>
61148                       #endif
61149
61150 int
61151 main ()
61152 {
61153  isinf(0);
61154   ;
61155   return 0;
61156 }
61157 _ACEOF
61158 if ac_fn_cxx_try_compile "$LINENO"; then :
61159   glibcxx_cv_func_isinf_use=yes
61160 else
61161   glibcxx_cv_func_isinf_use=no
61162 fi
61163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61164       ac_ext=c
61165 ac_cpp='$CPP $CPPFLAGS'
61166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61169
61170
61171 fi
61172
61173   fi
61174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61175 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61176
61177   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61178     for ac_func in isinf
61179 do :
61180   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61181 if test "x$ac_cv_func_isinf" = xyes; then :
61182   cat >>confdefs.h <<_ACEOF
61183 #define HAVE_ISINF 1
61184 _ACEOF
61185
61186 fi
61187 done
61188
61189   else
61190
61191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61192 $as_echo_n "checking for _isinf declaration... " >&6; }
61193   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61194     if ${glibcxx_cv_func__isinf_use+:} false; then :
61195   $as_echo_n "(cached) " >&6
61196 else
61197
61198
61199       ac_ext=cpp
61200 ac_cpp='$CXXCPP $CPPFLAGS'
61201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61204
61205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61206 /* end confdefs.h.  */
61207 #include <math.h>
61208                       #ifdef HAVE_IEEEFP_H
61209                       #include <ieeefp.h>
61210                       #endif
61211
61212 int
61213 main ()
61214 {
61215  _isinf(0);
61216   ;
61217   return 0;
61218 }
61219 _ACEOF
61220 if ac_fn_cxx_try_compile "$LINENO"; then :
61221   glibcxx_cv_func__isinf_use=yes
61222 else
61223   glibcxx_cv_func__isinf_use=no
61224 fi
61225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61226       ac_ext=c
61227 ac_cpp='$CPP $CPPFLAGS'
61228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61231
61232
61233 fi
61234
61235   fi
61236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61237 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61238
61239     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61240       for ac_func in _isinf
61241 do :
61242   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61243 if test "x$ac_cv_func__isinf" = xyes; then :
61244   cat >>confdefs.h <<_ACEOF
61245 #define HAVE__ISINF 1
61246 _ACEOF
61247
61248 fi
61249 done
61250
61251     fi
61252   fi
61253
61254
61255
61256
61257
61258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61259 $as_echo_n "checking for isnan declaration... " >&6; }
61260   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61261     if ${glibcxx_cv_func_isnan_use+:} false; then :
61262   $as_echo_n "(cached) " >&6
61263 else
61264
61265
61266       ac_ext=cpp
61267 ac_cpp='$CXXCPP $CPPFLAGS'
61268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61271
61272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61273 /* end confdefs.h.  */
61274 #include <math.h>
61275                       #ifdef HAVE_IEEEFP_H
61276                       #include <ieeefp.h>
61277                       #endif
61278
61279 int
61280 main ()
61281 {
61282  isnan(0);
61283   ;
61284   return 0;
61285 }
61286 _ACEOF
61287 if ac_fn_cxx_try_compile "$LINENO"; then :
61288   glibcxx_cv_func_isnan_use=yes
61289 else
61290   glibcxx_cv_func_isnan_use=no
61291 fi
61292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61293       ac_ext=c
61294 ac_cpp='$CPP $CPPFLAGS'
61295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61298
61299
61300 fi
61301
61302   fi
61303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61304 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61305
61306   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61307     for ac_func in isnan
61308 do :
61309   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61310 if test "x$ac_cv_func_isnan" = xyes; then :
61311   cat >>confdefs.h <<_ACEOF
61312 #define HAVE_ISNAN 1
61313 _ACEOF
61314
61315 fi
61316 done
61317
61318   else
61319
61320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61321 $as_echo_n "checking for _isnan declaration... " >&6; }
61322   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61323     if ${glibcxx_cv_func__isnan_use+:} false; then :
61324   $as_echo_n "(cached) " >&6
61325 else
61326
61327
61328       ac_ext=cpp
61329 ac_cpp='$CXXCPP $CPPFLAGS'
61330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61333
61334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61335 /* end confdefs.h.  */
61336 #include <math.h>
61337                       #ifdef HAVE_IEEEFP_H
61338                       #include <ieeefp.h>
61339                       #endif
61340
61341 int
61342 main ()
61343 {
61344  _isnan(0);
61345   ;
61346   return 0;
61347 }
61348 _ACEOF
61349 if ac_fn_cxx_try_compile "$LINENO"; then :
61350   glibcxx_cv_func__isnan_use=yes
61351 else
61352   glibcxx_cv_func__isnan_use=no
61353 fi
61354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61355       ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360
61361
61362 fi
61363
61364   fi
61365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61366 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61367
61368     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61369       for ac_func in _isnan
61370 do :
61371   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61372 if test "x$ac_cv_func__isnan" = xyes; then :
61373   cat >>confdefs.h <<_ACEOF
61374 #define HAVE__ISNAN 1
61375 _ACEOF
61376
61377 fi
61378 done
61379
61380     fi
61381   fi
61382
61383
61384
61385
61386
61387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61388 $as_echo_n "checking for finite declaration... " >&6; }
61389   if test x${glibcxx_cv_func_finite_use+set} != xset; then
61390     if ${glibcxx_cv_func_finite_use+:} false; then :
61391   $as_echo_n "(cached) " >&6
61392 else
61393
61394
61395       ac_ext=cpp
61396 ac_cpp='$CXXCPP $CPPFLAGS'
61397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61400
61401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61402 /* end confdefs.h.  */
61403 #include <math.h>
61404                       #ifdef HAVE_IEEEFP_H
61405                       #include <ieeefp.h>
61406                       #endif
61407
61408 int
61409 main ()
61410 {
61411  finite(0);
61412   ;
61413   return 0;
61414 }
61415 _ACEOF
61416 if ac_fn_cxx_try_compile "$LINENO"; then :
61417   glibcxx_cv_func_finite_use=yes
61418 else
61419   glibcxx_cv_func_finite_use=no
61420 fi
61421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61422       ac_ext=c
61423 ac_cpp='$CPP $CPPFLAGS'
61424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61427
61428
61429 fi
61430
61431   fi
61432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61433 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61434
61435   if test x$glibcxx_cv_func_finite_use = x"yes"; then
61436     for ac_func in finite
61437 do :
61438   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61439 if test "x$ac_cv_func_finite" = xyes; then :
61440   cat >>confdefs.h <<_ACEOF
61441 #define HAVE_FINITE 1
61442 _ACEOF
61443
61444 fi
61445 done
61446
61447   else
61448
61449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61450 $as_echo_n "checking for _finite declaration... " >&6; }
61451   if test x${glibcxx_cv_func__finite_use+set} != xset; then
61452     if ${glibcxx_cv_func__finite_use+:} false; then :
61453   $as_echo_n "(cached) " >&6
61454 else
61455
61456
61457       ac_ext=cpp
61458 ac_cpp='$CXXCPP $CPPFLAGS'
61459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61462
61463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61464 /* end confdefs.h.  */
61465 #include <math.h>
61466                       #ifdef HAVE_IEEEFP_H
61467                       #include <ieeefp.h>
61468                       #endif
61469
61470 int
61471 main ()
61472 {
61473  _finite(0);
61474   ;
61475   return 0;
61476 }
61477 _ACEOF
61478 if ac_fn_cxx_try_compile "$LINENO"; then :
61479   glibcxx_cv_func__finite_use=yes
61480 else
61481   glibcxx_cv_func__finite_use=no
61482 fi
61483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61484       ac_ext=c
61485 ac_cpp='$CPP $CPPFLAGS'
61486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61489
61490
61491 fi
61492
61493   fi
61494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61495 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61496
61497     if test x$glibcxx_cv_func__finite_use = x"yes"; then
61498       for ac_func in _finite
61499 do :
61500   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61501 if test "x$ac_cv_func__finite" = xyes; then :
61502   cat >>confdefs.h <<_ACEOF
61503 #define HAVE__FINITE 1
61504 _ACEOF
61505
61506 fi
61507 done
61508
61509     fi
61510   fi
61511
61512
61513
61514
61515
61516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61517 $as_echo_n "checking for sincos declaration... " >&6; }
61518   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61519     if ${glibcxx_cv_func_sincos_use+:} false; then :
61520   $as_echo_n "(cached) " >&6
61521 else
61522
61523
61524       ac_ext=cpp
61525 ac_cpp='$CXXCPP $CPPFLAGS'
61526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61529
61530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61531 /* end confdefs.h.  */
61532 #include <math.h>
61533 int
61534 main ()
61535 {
61536  sincos(0, 0, 0);
61537   ;
61538   return 0;
61539 }
61540 _ACEOF
61541 if ac_fn_cxx_try_compile "$LINENO"; then :
61542   glibcxx_cv_func_sincos_use=yes
61543 else
61544   glibcxx_cv_func_sincos_use=no
61545 fi
61546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61547       ac_ext=c
61548 ac_cpp='$CPP $CPPFLAGS'
61549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61552
61553
61554 fi
61555
61556   fi
61557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61558 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61559
61560   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61561     for ac_func in sincos
61562 do :
61563   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61564 if test "x$ac_cv_func_sincos" = xyes; then :
61565   cat >>confdefs.h <<_ACEOF
61566 #define HAVE_SINCOS 1
61567 _ACEOF
61568
61569 fi
61570 done
61571
61572   else
61573
61574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61575 $as_echo_n "checking for _sincos declaration... " >&6; }
61576   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61577     if ${glibcxx_cv_func__sincos_use+:} false; then :
61578   $as_echo_n "(cached) " >&6
61579 else
61580
61581
61582       ac_ext=cpp
61583 ac_cpp='$CXXCPP $CPPFLAGS'
61584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61587
61588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61589 /* end confdefs.h.  */
61590 #include <math.h>
61591 int
61592 main ()
61593 {
61594  _sincos(0, 0, 0);
61595   ;
61596   return 0;
61597 }
61598 _ACEOF
61599 if ac_fn_cxx_try_compile "$LINENO"; then :
61600   glibcxx_cv_func__sincos_use=yes
61601 else
61602   glibcxx_cv_func__sincos_use=no
61603 fi
61604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61605       ac_ext=c
61606 ac_cpp='$CPP $CPPFLAGS'
61607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61610
61611
61612 fi
61613
61614   fi
61615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61616 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61617
61618     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61619       for ac_func in _sincos
61620 do :
61621   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61622 if test "x$ac_cv_func__sincos" = xyes; then :
61623   cat >>confdefs.h <<_ACEOF
61624 #define HAVE__SINCOS 1
61625 _ACEOF
61626
61627 fi
61628 done
61629
61630     fi
61631   fi
61632
61633
61634
61635
61636
61637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61638 $as_echo_n "checking for fpclass declaration... " >&6; }
61639   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61640     if ${glibcxx_cv_func_fpclass_use+:} false; then :
61641   $as_echo_n "(cached) " >&6
61642 else
61643
61644
61645       ac_ext=cpp
61646 ac_cpp='$CXXCPP $CPPFLAGS'
61647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61650
61651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61652 /* end confdefs.h.  */
61653 #include <math.h>
61654                       #ifdef HAVE_IEEEFP_H
61655                       #include <ieeefp.h>
61656                       #endif
61657
61658 int
61659 main ()
61660 {
61661  fpclass(0);
61662   ;
61663   return 0;
61664 }
61665 _ACEOF
61666 if ac_fn_cxx_try_compile "$LINENO"; then :
61667   glibcxx_cv_func_fpclass_use=yes
61668 else
61669   glibcxx_cv_func_fpclass_use=no
61670 fi
61671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61672       ac_ext=c
61673 ac_cpp='$CPP $CPPFLAGS'
61674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61677
61678
61679 fi
61680
61681   fi
61682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61683 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61684
61685   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61686     for ac_func in fpclass
61687 do :
61688   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61689 if test "x$ac_cv_func_fpclass" = xyes; then :
61690   cat >>confdefs.h <<_ACEOF
61691 #define HAVE_FPCLASS 1
61692 _ACEOF
61693
61694 fi
61695 done
61696
61697   else
61698
61699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61700 $as_echo_n "checking for _fpclass declaration... " >&6; }
61701   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61702     if ${glibcxx_cv_func__fpclass_use+:} false; then :
61703   $as_echo_n "(cached) " >&6
61704 else
61705
61706
61707       ac_ext=cpp
61708 ac_cpp='$CXXCPP $CPPFLAGS'
61709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61712
61713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61714 /* end confdefs.h.  */
61715 #include <math.h>
61716                       #ifdef HAVE_IEEEFP_H
61717                       #include <ieeefp.h>
61718                       #endif
61719
61720 int
61721 main ()
61722 {
61723  _fpclass(0);
61724   ;
61725   return 0;
61726 }
61727 _ACEOF
61728 if ac_fn_cxx_try_compile "$LINENO"; then :
61729   glibcxx_cv_func__fpclass_use=yes
61730 else
61731   glibcxx_cv_func__fpclass_use=no
61732 fi
61733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61734       ac_ext=c
61735 ac_cpp='$CPP $CPPFLAGS'
61736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61739
61740
61741 fi
61742
61743   fi
61744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61745 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61746
61747     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61748       for ac_func in _fpclass
61749 do :
61750   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61751 if test "x$ac_cv_func__fpclass" = xyes; then :
61752   cat >>confdefs.h <<_ACEOF
61753 #define HAVE__FPCLASS 1
61754 _ACEOF
61755
61756 fi
61757 done
61758
61759     fi
61760   fi
61761
61762
61763
61764
61765
61766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61767 $as_echo_n "checking for qfpclass declaration... " >&6; }
61768   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61769     if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61770   $as_echo_n "(cached) " >&6
61771 else
61772
61773
61774       ac_ext=cpp
61775 ac_cpp='$CXXCPP $CPPFLAGS'
61776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61779
61780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61781 /* end confdefs.h.  */
61782 #include <math.h>
61783                       #ifdef HAVE_IEEEFP_H
61784                       #include <ieeefp.h>
61785                       #endif
61786
61787 int
61788 main ()
61789 {
61790  qfpclass(0);
61791   ;
61792   return 0;
61793 }
61794 _ACEOF
61795 if ac_fn_cxx_try_compile "$LINENO"; then :
61796   glibcxx_cv_func_qfpclass_use=yes
61797 else
61798   glibcxx_cv_func_qfpclass_use=no
61799 fi
61800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61801       ac_ext=c
61802 ac_cpp='$CPP $CPPFLAGS'
61803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61806
61807
61808 fi
61809
61810   fi
61811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61812 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61813
61814   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61815     for ac_func in qfpclass
61816 do :
61817   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61818 if test "x$ac_cv_func_qfpclass" = xyes; then :
61819   cat >>confdefs.h <<_ACEOF
61820 #define HAVE_QFPCLASS 1
61821 _ACEOF
61822
61823 fi
61824 done
61825
61826   else
61827
61828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61829 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61830   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61831     if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61832   $as_echo_n "(cached) " >&6
61833 else
61834
61835
61836       ac_ext=cpp
61837 ac_cpp='$CXXCPP $CPPFLAGS'
61838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841
61842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61843 /* end confdefs.h.  */
61844 #include <math.h>
61845                       #ifdef HAVE_IEEEFP_H
61846                       #include <ieeefp.h>
61847                       #endif
61848
61849 int
61850 main ()
61851 {
61852  _qfpclass(0);
61853   ;
61854   return 0;
61855 }
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858   glibcxx_cv_func__qfpclass_use=yes
61859 else
61860   glibcxx_cv_func__qfpclass_use=no
61861 fi
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863       ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868
61869
61870 fi
61871
61872   fi
61873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61874 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61875
61876     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61877       for ac_func in _qfpclass
61878 do :
61879   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61880 if test "x$ac_cv_func__qfpclass" = xyes; then :
61881   cat >>confdefs.h <<_ACEOF
61882 #define HAVE__QFPCLASS 1
61883 _ACEOF
61884
61885 fi
61886 done
61887
61888     fi
61889   fi
61890
61891
61892
61893
61894
61895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61896 $as_echo_n "checking for hypot declaration... " >&6; }
61897   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61898     if ${glibcxx_cv_func_hypot_use+:} false; then :
61899   $as_echo_n "(cached) " >&6
61900 else
61901
61902
61903       ac_ext=cpp
61904 ac_cpp='$CXXCPP $CPPFLAGS'
61905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61908
61909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61910 /* end confdefs.h.  */
61911 #include <math.h>
61912 int
61913 main ()
61914 {
61915  hypot(0, 0);
61916   ;
61917   return 0;
61918 }
61919 _ACEOF
61920 if ac_fn_cxx_try_compile "$LINENO"; then :
61921   glibcxx_cv_func_hypot_use=yes
61922 else
61923   glibcxx_cv_func_hypot_use=no
61924 fi
61925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61926       ac_ext=c
61927 ac_cpp='$CPP $CPPFLAGS'
61928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931
61932
61933 fi
61934
61935   fi
61936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61937 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61938
61939   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61940     for ac_func in hypot
61941 do :
61942   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61943 if test "x$ac_cv_func_hypot" = xyes; then :
61944   cat >>confdefs.h <<_ACEOF
61945 #define HAVE_HYPOT 1
61946 _ACEOF
61947
61948 fi
61949 done
61950
61951   else
61952
61953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61954 $as_echo_n "checking for _hypot declaration... " >&6; }
61955   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61956     if ${glibcxx_cv_func__hypot_use+:} false; then :
61957   $as_echo_n "(cached) " >&6
61958 else
61959
61960
61961       ac_ext=cpp
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61966
61967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61968 /* end confdefs.h.  */
61969 #include <math.h>
61970 int
61971 main ()
61972 {
61973  _hypot(0, 0);
61974   ;
61975   return 0;
61976 }
61977 _ACEOF
61978 if ac_fn_cxx_try_compile "$LINENO"; then :
61979   glibcxx_cv_func__hypot_use=yes
61980 else
61981   glibcxx_cv_func__hypot_use=no
61982 fi
61983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61984       ac_ext=c
61985 ac_cpp='$CPP $CPPFLAGS'
61986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989
61990
61991 fi
61992
61993   fi
61994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61995 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61996
61997     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61998       for ac_func in _hypot
61999 do :
62000   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62001 if test "x$ac_cv_func__hypot" = xyes; then :
62002   cat >>confdefs.h <<_ACEOF
62003 #define HAVE__HYPOT 1
62004 _ACEOF
62005
62006 fi
62007 done
62008
62009     fi
62010   fi
62011
62012
62013
62014
62015
62016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62017 $as_echo_n "checking for float trig functions... " >&6; }
62018   if ${glibcxx_cv_func_float_trig_use+:} false; then :
62019   $as_echo_n "(cached) " >&6
62020 else
62021
62022
62023     ac_ext=cpp
62024 ac_cpp='$CXXCPP $CPPFLAGS'
62025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62028
62029     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62030 /* end confdefs.h.  */
62031 #include <math.h>
62032 int
62033 main ()
62034 {
62035 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62036   ;
62037   return 0;
62038 }
62039 _ACEOF
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041   glibcxx_cv_func_float_trig_use=yes
62042 else
62043   glibcxx_cv_func_float_trig_use=no
62044 fi
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046     ac_ext=c
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62051
62052 fi
62053
62054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62055 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62056   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62057     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62058 do :
62059   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62062   cat >>confdefs.h <<_ACEOF
62063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62064 _ACEOF
62065
62066 fi
62067 done
62068
62069   else
62070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62071 $as_echo_n "checking for _float trig functions... " >&6; }
62072     if ${glibcxx_cv_func__float_trig_use+:} false; then :
62073   $as_echo_n "(cached) " >&6
62074 else
62075
62076
62077       ac_ext=cpp
62078 ac_cpp='$CXXCPP $CPPFLAGS'
62079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62082
62083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62084 /* end confdefs.h.  */
62085 #include <math.h>
62086 int
62087 main ()
62088 {
62089 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62090   ;
62091   return 0;
62092 }
62093 _ACEOF
62094 if ac_fn_cxx_try_compile "$LINENO"; then :
62095   glibcxx_cv_func__float_trig_use=yes
62096 else
62097   glibcxx_cv_func__float_trig_use=no
62098 fi
62099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62100       ac_ext=c
62101 ac_cpp='$CPP $CPPFLAGS'
62102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62105
62106 fi
62107
62108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62109 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62110     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62111       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62112 do :
62113   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62116   cat >>confdefs.h <<_ACEOF
62117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62118 _ACEOF
62119
62120 fi
62121 done
62122
62123     fi
62124   fi
62125
62126
62127
62128
62129
62130     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62131 $as_echo_n "checking for float round functions... " >&6; }
62132   if ${glibcxx_cv_func_float_round_use+:} false; then :
62133   $as_echo_n "(cached) " >&6
62134 else
62135
62136
62137     ac_ext=cpp
62138 ac_cpp='$CXXCPP $CPPFLAGS'
62139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62142
62143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62144 /* end confdefs.h.  */
62145 #include <math.h>
62146 int
62147 main ()
62148 {
62149 ceilf (0); floorf (0);
62150   ;
62151   return 0;
62152 }
62153 _ACEOF
62154 if ac_fn_cxx_try_compile "$LINENO"; then :
62155   glibcxx_cv_func_float_round_use=yes
62156 else
62157   glibcxx_cv_func_float_round_use=no
62158 fi
62159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62160     ac_ext=c
62161 ac_cpp='$CPP $CPPFLAGS'
62162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62165
62166 fi
62167
62168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62169 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62170   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62171     for ac_func in ceilf floorf
62172 do :
62173   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62176   cat >>confdefs.h <<_ACEOF
62177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62178 _ACEOF
62179
62180 fi
62181 done
62182
62183   else
62184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62185 $as_echo_n "checking for _float round functions... " >&6; }
62186     if ${glibcxx_cv_func__float_round_use+:} false; then :
62187   $as_echo_n "(cached) " >&6
62188 else
62189
62190
62191       ac_ext=cpp
62192 ac_cpp='$CXXCPP $CPPFLAGS'
62193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62196
62197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62198 /* end confdefs.h.  */
62199 #include <math.h>
62200 int
62201 main ()
62202 {
62203 _ceilf (0); _floorf (0);
62204   ;
62205   return 0;
62206 }
62207 _ACEOF
62208 if ac_fn_cxx_try_compile "$LINENO"; then :
62209   glibcxx_cv_func__float_round_use=yes
62210 else
62211   glibcxx_cv_func__float_round_use=no
62212 fi
62213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62214       ac_ext=c
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62219
62220 fi
62221
62222     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62224     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62225       for ac_func in _ceilf _floorf
62226 do :
62227   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62230   cat >>confdefs.h <<_ACEOF
62231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62232 _ACEOF
62233
62234 fi
62235 done
62236
62237     fi
62238   fi
62239
62240
62241
62242
62243
62244
62245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62246 $as_echo_n "checking for expf declaration... " >&6; }
62247   if test x${glibcxx_cv_func_expf_use+set} != xset; then
62248     if ${glibcxx_cv_func_expf_use+:} false; then :
62249   $as_echo_n "(cached) " >&6
62250 else
62251
62252
62253       ac_ext=cpp
62254 ac_cpp='$CXXCPP $CPPFLAGS'
62255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62258
62259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62260 /* end confdefs.h.  */
62261 #include <math.h>
62262                       #ifdef HAVE_IEEEFP_H
62263                       #include <ieeefp.h>
62264                       #endif
62265
62266 int
62267 main ()
62268 {
62269  expf(0);
62270   ;
62271   return 0;
62272 }
62273 _ACEOF
62274 if ac_fn_cxx_try_compile "$LINENO"; then :
62275   glibcxx_cv_func_expf_use=yes
62276 else
62277   glibcxx_cv_func_expf_use=no
62278 fi
62279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62280       ac_ext=c
62281 ac_cpp='$CPP $CPPFLAGS'
62282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62285
62286
62287 fi
62288
62289   fi
62290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62291 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62292
62293   if test x$glibcxx_cv_func_expf_use = x"yes"; then
62294     for ac_func in expf
62295 do :
62296   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62297 if test "x$ac_cv_func_expf" = xyes; then :
62298   cat >>confdefs.h <<_ACEOF
62299 #define HAVE_EXPF 1
62300 _ACEOF
62301
62302 fi
62303 done
62304
62305   else
62306
62307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62308 $as_echo_n "checking for _expf declaration... " >&6; }
62309   if test x${glibcxx_cv_func__expf_use+set} != xset; then
62310     if ${glibcxx_cv_func__expf_use+:} false; then :
62311   $as_echo_n "(cached) " >&6
62312 else
62313
62314
62315       ac_ext=cpp
62316 ac_cpp='$CXXCPP $CPPFLAGS'
62317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62320
62321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62322 /* end confdefs.h.  */
62323 #include <math.h>
62324                       #ifdef HAVE_IEEEFP_H
62325                       #include <ieeefp.h>
62326                       #endif
62327
62328 int
62329 main ()
62330 {
62331  _expf(0);
62332   ;
62333   return 0;
62334 }
62335 _ACEOF
62336 if ac_fn_cxx_try_compile "$LINENO"; then :
62337   glibcxx_cv_func__expf_use=yes
62338 else
62339   glibcxx_cv_func__expf_use=no
62340 fi
62341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62342       ac_ext=c
62343 ac_cpp='$CPP $CPPFLAGS'
62344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62347
62348
62349 fi
62350
62351   fi
62352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62353 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62354
62355     if test x$glibcxx_cv_func__expf_use = x"yes"; then
62356       for ac_func in _expf
62357 do :
62358   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62359 if test "x$ac_cv_func__expf" = xyes; then :
62360   cat >>confdefs.h <<_ACEOF
62361 #define HAVE__EXPF 1
62362 _ACEOF
62363
62364 fi
62365 done
62366
62367     fi
62368   fi
62369
62370
62371
62372
62373
62374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62375 $as_echo_n "checking for isnanf declaration... " >&6; }
62376   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62377     if ${glibcxx_cv_func_isnanf_use+:} false; then :
62378   $as_echo_n "(cached) " >&6
62379 else
62380
62381
62382       ac_ext=cpp
62383 ac_cpp='$CXXCPP $CPPFLAGS'
62384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387
62388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62389 /* end confdefs.h.  */
62390 #include <math.h>
62391                       #ifdef HAVE_IEEEFP_H
62392                       #include <ieeefp.h>
62393                       #endif
62394
62395 int
62396 main ()
62397 {
62398  isnanf(0);
62399   ;
62400   return 0;
62401 }
62402 _ACEOF
62403 if ac_fn_cxx_try_compile "$LINENO"; then :
62404   glibcxx_cv_func_isnanf_use=yes
62405 else
62406   glibcxx_cv_func_isnanf_use=no
62407 fi
62408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62409       ac_ext=c
62410 ac_cpp='$CPP $CPPFLAGS'
62411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62414
62415
62416 fi
62417
62418   fi
62419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62420 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62421
62422   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62423     for ac_func in isnanf
62424 do :
62425   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62426 if test "x$ac_cv_func_isnanf" = xyes; then :
62427   cat >>confdefs.h <<_ACEOF
62428 #define HAVE_ISNANF 1
62429 _ACEOF
62430
62431 fi
62432 done
62433
62434   else
62435
62436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62437 $as_echo_n "checking for _isnanf declaration... " >&6; }
62438   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62439     if ${glibcxx_cv_func__isnanf_use+:} false; then :
62440   $as_echo_n "(cached) " >&6
62441 else
62442
62443
62444       ac_ext=cpp
62445 ac_cpp='$CXXCPP $CPPFLAGS'
62446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62449
62450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62451 /* end confdefs.h.  */
62452 #include <math.h>
62453                       #ifdef HAVE_IEEEFP_H
62454                       #include <ieeefp.h>
62455                       #endif
62456
62457 int
62458 main ()
62459 {
62460  _isnanf(0);
62461   ;
62462   return 0;
62463 }
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466   glibcxx_cv_func__isnanf_use=yes
62467 else
62468   glibcxx_cv_func__isnanf_use=no
62469 fi
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471       ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62476
62477
62478 fi
62479
62480   fi
62481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62482 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62483
62484     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62485       for ac_func in _isnanf
62486 do :
62487   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62488 if test "x$ac_cv_func__isnanf" = xyes; then :
62489   cat >>confdefs.h <<_ACEOF
62490 #define HAVE__ISNANF 1
62491 _ACEOF
62492
62493 fi
62494 done
62495
62496     fi
62497   fi
62498
62499
62500
62501
62502
62503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62504 $as_echo_n "checking for isinff declaration... " >&6; }
62505   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62506     if ${glibcxx_cv_func_isinff_use+:} false; then :
62507   $as_echo_n "(cached) " >&6
62508 else
62509
62510
62511       ac_ext=cpp
62512 ac_cpp='$CXXCPP $CPPFLAGS'
62513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62516
62517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62518 /* end confdefs.h.  */
62519 #include <math.h>
62520                       #ifdef HAVE_IEEEFP_H
62521                       #include <ieeefp.h>
62522                       #endif
62523
62524 int
62525 main ()
62526 {
62527  isinff(0);
62528   ;
62529   return 0;
62530 }
62531 _ACEOF
62532 if ac_fn_cxx_try_compile "$LINENO"; then :
62533   glibcxx_cv_func_isinff_use=yes
62534 else
62535   glibcxx_cv_func_isinff_use=no
62536 fi
62537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62538       ac_ext=c
62539 ac_cpp='$CPP $CPPFLAGS'
62540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62543
62544
62545 fi
62546
62547   fi
62548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62549 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62550
62551   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62552     for ac_func in isinff
62553 do :
62554   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62555 if test "x$ac_cv_func_isinff" = xyes; then :
62556   cat >>confdefs.h <<_ACEOF
62557 #define HAVE_ISINFF 1
62558 _ACEOF
62559
62560 fi
62561 done
62562
62563   else
62564
62565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62566 $as_echo_n "checking for _isinff declaration... " >&6; }
62567   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62568     if ${glibcxx_cv_func__isinff_use+:} false; then :
62569   $as_echo_n "(cached) " >&6
62570 else
62571
62572
62573       ac_ext=cpp
62574 ac_cpp='$CXXCPP $CPPFLAGS'
62575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62578
62579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62580 /* end confdefs.h.  */
62581 #include <math.h>
62582                       #ifdef HAVE_IEEEFP_H
62583                       #include <ieeefp.h>
62584                       #endif
62585
62586 int
62587 main ()
62588 {
62589  _isinff(0);
62590   ;
62591   return 0;
62592 }
62593 _ACEOF
62594 if ac_fn_cxx_try_compile "$LINENO"; then :
62595   glibcxx_cv_func__isinff_use=yes
62596 else
62597   glibcxx_cv_func__isinff_use=no
62598 fi
62599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62600       ac_ext=c
62601 ac_cpp='$CPP $CPPFLAGS'
62602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605
62606
62607 fi
62608
62609   fi
62610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62611 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62612
62613     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62614       for ac_func in _isinff
62615 do :
62616   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62617 if test "x$ac_cv_func__isinff" = xyes; then :
62618   cat >>confdefs.h <<_ACEOF
62619 #define HAVE__ISINFF 1
62620 _ACEOF
62621
62622 fi
62623 done
62624
62625     fi
62626   fi
62627
62628
62629
62630
62631
62632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62633 $as_echo_n "checking for atan2f declaration... " >&6; }
62634   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62635     if ${glibcxx_cv_func_atan2f_use+:} false; then :
62636   $as_echo_n "(cached) " >&6
62637 else
62638
62639
62640       ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h.  */
62648 #include <math.h>
62649 int
62650 main ()
62651 {
62652  atan2f(0, 0);
62653   ;
62654   return 0;
62655 }
62656 _ACEOF
62657 if ac_fn_cxx_try_compile "$LINENO"; then :
62658   glibcxx_cv_func_atan2f_use=yes
62659 else
62660   glibcxx_cv_func_atan2f_use=no
62661 fi
62662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62663       ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668
62669
62670 fi
62671
62672   fi
62673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62674 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62675
62676   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62677     for ac_func in atan2f
62678 do :
62679   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62680 if test "x$ac_cv_func_atan2f" = xyes; then :
62681   cat >>confdefs.h <<_ACEOF
62682 #define HAVE_ATAN2F 1
62683 _ACEOF
62684
62685 fi
62686 done
62687
62688   else
62689
62690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62691 $as_echo_n "checking for _atan2f declaration... " >&6; }
62692   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62693     if ${glibcxx_cv_func__atan2f_use+:} false; then :
62694   $as_echo_n "(cached) " >&6
62695 else
62696
62697
62698       ac_ext=cpp
62699 ac_cpp='$CXXCPP $CPPFLAGS'
62700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62703
62704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62705 /* end confdefs.h.  */
62706 #include <math.h>
62707 int
62708 main ()
62709 {
62710  _atan2f(0, 0);
62711   ;
62712   return 0;
62713 }
62714 _ACEOF
62715 if ac_fn_cxx_try_compile "$LINENO"; then :
62716   glibcxx_cv_func__atan2f_use=yes
62717 else
62718   glibcxx_cv_func__atan2f_use=no
62719 fi
62720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62721       ac_ext=c
62722 ac_cpp='$CPP $CPPFLAGS'
62723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62726
62727
62728 fi
62729
62730   fi
62731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62732 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62733
62734     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62735       for ac_func in _atan2f
62736 do :
62737   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62738 if test "x$ac_cv_func__atan2f" = xyes; then :
62739   cat >>confdefs.h <<_ACEOF
62740 #define HAVE__ATAN2F 1
62741 _ACEOF
62742
62743 fi
62744 done
62745
62746     fi
62747   fi
62748
62749
62750
62751
62752
62753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62754 $as_echo_n "checking for fabsf declaration... " >&6; }
62755   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62756     if ${glibcxx_cv_func_fabsf_use+:} false; then :
62757   $as_echo_n "(cached) " >&6
62758 else
62759
62760
62761       ac_ext=cpp
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62766
62767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62768 /* end confdefs.h.  */
62769 #include <math.h>
62770                       #ifdef HAVE_IEEEFP_H
62771                       #include <ieeefp.h>
62772                       #endif
62773
62774 int
62775 main ()
62776 {
62777  fabsf(0);
62778   ;
62779   return 0;
62780 }
62781 _ACEOF
62782 if ac_fn_cxx_try_compile "$LINENO"; then :
62783   glibcxx_cv_func_fabsf_use=yes
62784 else
62785   glibcxx_cv_func_fabsf_use=no
62786 fi
62787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62788       ac_ext=c
62789 ac_cpp='$CPP $CPPFLAGS'
62790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62793
62794
62795 fi
62796
62797   fi
62798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62799 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62800
62801   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62802     for ac_func in fabsf
62803 do :
62804   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62805 if test "x$ac_cv_func_fabsf" = xyes; then :
62806   cat >>confdefs.h <<_ACEOF
62807 #define HAVE_FABSF 1
62808 _ACEOF
62809
62810 fi
62811 done
62812
62813   else
62814
62815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62816 $as_echo_n "checking for _fabsf declaration... " >&6; }
62817   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62818     if ${glibcxx_cv_func__fabsf_use+:} false; then :
62819   $as_echo_n "(cached) " >&6
62820 else
62821
62822
62823       ac_ext=cpp
62824 ac_cpp='$CXXCPP $CPPFLAGS'
62825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62828
62829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62830 /* end confdefs.h.  */
62831 #include <math.h>
62832                       #ifdef HAVE_IEEEFP_H
62833                       #include <ieeefp.h>
62834                       #endif
62835
62836 int
62837 main ()
62838 {
62839  _fabsf(0);
62840   ;
62841   return 0;
62842 }
62843 _ACEOF
62844 if ac_fn_cxx_try_compile "$LINENO"; then :
62845   glibcxx_cv_func__fabsf_use=yes
62846 else
62847   glibcxx_cv_func__fabsf_use=no
62848 fi
62849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62850       ac_ext=c
62851 ac_cpp='$CPP $CPPFLAGS'
62852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62855
62856
62857 fi
62858
62859   fi
62860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62861 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62862
62863     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62864       for ac_func in _fabsf
62865 do :
62866   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62867 if test "x$ac_cv_func__fabsf" = xyes; then :
62868   cat >>confdefs.h <<_ACEOF
62869 #define HAVE__FABSF 1
62870 _ACEOF
62871
62872 fi
62873 done
62874
62875     fi
62876   fi
62877
62878
62879
62880
62881
62882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62883 $as_echo_n "checking for fmodf declaration... " >&6; }
62884   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62885     if ${glibcxx_cv_func_fmodf_use+:} false; then :
62886   $as_echo_n "(cached) " >&6
62887 else
62888
62889
62890       ac_ext=cpp
62891 ac_cpp='$CXXCPP $CPPFLAGS'
62892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62895
62896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62897 /* end confdefs.h.  */
62898 #include <math.h>
62899 int
62900 main ()
62901 {
62902  fmodf(0, 0);
62903   ;
62904   return 0;
62905 }
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908   glibcxx_cv_func_fmodf_use=yes
62909 else
62910   glibcxx_cv_func_fmodf_use=no
62911 fi
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913       ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62918
62919
62920 fi
62921
62922   fi
62923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62924 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62925
62926   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62927     for ac_func in fmodf
62928 do :
62929   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62930 if test "x$ac_cv_func_fmodf" = xyes; then :
62931   cat >>confdefs.h <<_ACEOF
62932 #define HAVE_FMODF 1
62933 _ACEOF
62934
62935 fi
62936 done
62937
62938   else
62939
62940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62941 $as_echo_n "checking for _fmodf declaration... " >&6; }
62942   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62943     if ${glibcxx_cv_func__fmodf_use+:} false; then :
62944   $as_echo_n "(cached) " >&6
62945 else
62946
62947
62948       ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953
62954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h.  */
62956 #include <math.h>
62957 int
62958 main ()
62959 {
62960  _fmodf(0, 0);
62961   ;
62962   return 0;
62963 }
62964 _ACEOF
62965 if ac_fn_cxx_try_compile "$LINENO"; then :
62966   glibcxx_cv_func__fmodf_use=yes
62967 else
62968   glibcxx_cv_func__fmodf_use=no
62969 fi
62970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62971       ac_ext=c
62972 ac_cpp='$CPP $CPPFLAGS'
62973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62976
62977
62978 fi
62979
62980   fi
62981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62982 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62983
62984     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62985       for ac_func in _fmodf
62986 do :
62987   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62988 if test "x$ac_cv_func__fmodf" = xyes; then :
62989   cat >>confdefs.h <<_ACEOF
62990 #define HAVE__FMODF 1
62991 _ACEOF
62992
62993 fi
62994 done
62995
62996     fi
62997   fi
62998
62999
63000
63001
63002
63003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63004 $as_echo_n "checking for frexpf declaration... " >&6; }
63005   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63006     if ${glibcxx_cv_func_frexpf_use+:} false; then :
63007   $as_echo_n "(cached) " >&6
63008 else
63009
63010
63011       ac_ext=cpp
63012 ac_cpp='$CXXCPP $CPPFLAGS'
63013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63016
63017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63018 /* end confdefs.h.  */
63019 #include <math.h>
63020 int
63021 main ()
63022 {
63023  frexpf(0, 0);
63024   ;
63025   return 0;
63026 }
63027 _ACEOF
63028 if ac_fn_cxx_try_compile "$LINENO"; then :
63029   glibcxx_cv_func_frexpf_use=yes
63030 else
63031   glibcxx_cv_func_frexpf_use=no
63032 fi
63033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63034       ac_ext=c
63035 ac_cpp='$CPP $CPPFLAGS'
63036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63039
63040
63041 fi
63042
63043   fi
63044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63045 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63046
63047   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63048     for ac_func in frexpf
63049 do :
63050   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63051 if test "x$ac_cv_func_frexpf" = xyes; then :
63052   cat >>confdefs.h <<_ACEOF
63053 #define HAVE_FREXPF 1
63054 _ACEOF
63055
63056 fi
63057 done
63058
63059   else
63060
63061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63062 $as_echo_n "checking for _frexpf declaration... " >&6; }
63063   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63064     if ${glibcxx_cv_func__frexpf_use+:} false; then :
63065   $as_echo_n "(cached) " >&6
63066 else
63067
63068
63069       ac_ext=cpp
63070 ac_cpp='$CXXCPP $CPPFLAGS'
63071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63074
63075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63076 /* end confdefs.h.  */
63077 #include <math.h>
63078 int
63079 main ()
63080 {
63081  _frexpf(0, 0);
63082   ;
63083   return 0;
63084 }
63085 _ACEOF
63086 if ac_fn_cxx_try_compile "$LINENO"; then :
63087   glibcxx_cv_func__frexpf_use=yes
63088 else
63089   glibcxx_cv_func__frexpf_use=no
63090 fi
63091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63092       ac_ext=c
63093 ac_cpp='$CPP $CPPFLAGS'
63094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63097
63098
63099 fi
63100
63101   fi
63102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63103 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63104
63105     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63106       for ac_func in _frexpf
63107 do :
63108   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63109 if test "x$ac_cv_func__frexpf" = xyes; then :
63110   cat >>confdefs.h <<_ACEOF
63111 #define HAVE__FREXPF 1
63112 _ACEOF
63113
63114 fi
63115 done
63116
63117     fi
63118   fi
63119
63120
63121
63122
63123
63124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63125 $as_echo_n "checking for hypotf declaration... " >&6; }
63126   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63127     if ${glibcxx_cv_func_hypotf_use+:} false; then :
63128   $as_echo_n "(cached) " >&6
63129 else
63130
63131
63132       ac_ext=cpp
63133 ac_cpp='$CXXCPP $CPPFLAGS'
63134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63137
63138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63139 /* end confdefs.h.  */
63140 #include <math.h>
63141 int
63142 main ()
63143 {
63144  hypotf(0, 0);
63145   ;
63146   return 0;
63147 }
63148 _ACEOF
63149 if ac_fn_cxx_try_compile "$LINENO"; then :
63150   glibcxx_cv_func_hypotf_use=yes
63151 else
63152   glibcxx_cv_func_hypotf_use=no
63153 fi
63154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63155       ac_ext=c
63156 ac_cpp='$CPP $CPPFLAGS'
63157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63160
63161
63162 fi
63163
63164   fi
63165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63166 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63167
63168   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63169     for ac_func in hypotf
63170 do :
63171   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63172 if test "x$ac_cv_func_hypotf" = xyes; then :
63173   cat >>confdefs.h <<_ACEOF
63174 #define HAVE_HYPOTF 1
63175 _ACEOF
63176
63177 fi
63178 done
63179
63180   else
63181
63182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63183 $as_echo_n "checking for _hypotf declaration... " >&6; }
63184   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63185     if ${glibcxx_cv_func__hypotf_use+:} false; then :
63186   $as_echo_n "(cached) " >&6
63187 else
63188
63189
63190       ac_ext=cpp
63191 ac_cpp='$CXXCPP $CPPFLAGS'
63192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63195
63196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63197 /* end confdefs.h.  */
63198 #include <math.h>
63199 int
63200 main ()
63201 {
63202  _hypotf(0, 0);
63203   ;
63204   return 0;
63205 }
63206 _ACEOF
63207 if ac_fn_cxx_try_compile "$LINENO"; then :
63208   glibcxx_cv_func__hypotf_use=yes
63209 else
63210   glibcxx_cv_func__hypotf_use=no
63211 fi
63212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63213       ac_ext=c
63214 ac_cpp='$CPP $CPPFLAGS'
63215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63218
63219
63220 fi
63221
63222   fi
63223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63224 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63225
63226     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63227       for ac_func in _hypotf
63228 do :
63229   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63230 if test "x$ac_cv_func__hypotf" = xyes; then :
63231   cat >>confdefs.h <<_ACEOF
63232 #define HAVE__HYPOTF 1
63233 _ACEOF
63234
63235 fi
63236 done
63237
63238     fi
63239   fi
63240
63241
63242
63243
63244
63245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63246 $as_echo_n "checking for ldexpf declaration... " >&6; }
63247   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63248     if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63249   $as_echo_n "(cached) " >&6
63250 else
63251
63252
63253       ac_ext=cpp
63254 ac_cpp='$CXXCPP $CPPFLAGS'
63255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63258
63259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63260 /* end confdefs.h.  */
63261 #include <math.h>
63262 int
63263 main ()
63264 {
63265  ldexpf(0, 0);
63266   ;
63267   return 0;
63268 }
63269 _ACEOF
63270 if ac_fn_cxx_try_compile "$LINENO"; then :
63271   glibcxx_cv_func_ldexpf_use=yes
63272 else
63273   glibcxx_cv_func_ldexpf_use=no
63274 fi
63275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63276       ac_ext=c
63277 ac_cpp='$CPP $CPPFLAGS'
63278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63281
63282
63283 fi
63284
63285   fi
63286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63287 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63288
63289   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63290     for ac_func in ldexpf
63291 do :
63292   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63293 if test "x$ac_cv_func_ldexpf" = xyes; then :
63294   cat >>confdefs.h <<_ACEOF
63295 #define HAVE_LDEXPF 1
63296 _ACEOF
63297
63298 fi
63299 done
63300
63301   else
63302
63303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63304 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63305   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63306     if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63307   $as_echo_n "(cached) " >&6
63308 else
63309
63310
63311       ac_ext=cpp
63312 ac_cpp='$CXXCPP $CPPFLAGS'
63313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63316
63317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63318 /* end confdefs.h.  */
63319 #include <math.h>
63320 int
63321 main ()
63322 {
63323  _ldexpf(0, 0);
63324   ;
63325   return 0;
63326 }
63327 _ACEOF
63328 if ac_fn_cxx_try_compile "$LINENO"; then :
63329   glibcxx_cv_func__ldexpf_use=yes
63330 else
63331   glibcxx_cv_func__ldexpf_use=no
63332 fi
63333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63334       ac_ext=c
63335 ac_cpp='$CPP $CPPFLAGS'
63336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63339
63340
63341 fi
63342
63343   fi
63344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63345 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63346
63347     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63348       for ac_func in _ldexpf
63349 do :
63350   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63351 if test "x$ac_cv_func__ldexpf" = xyes; then :
63352   cat >>confdefs.h <<_ACEOF
63353 #define HAVE__LDEXPF 1
63354 _ACEOF
63355
63356 fi
63357 done
63358
63359     fi
63360   fi
63361
63362
63363
63364
63365
63366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63367 $as_echo_n "checking for logf declaration... " >&6; }
63368   if test x${glibcxx_cv_func_logf_use+set} != xset; then
63369     if ${glibcxx_cv_func_logf_use+:} false; then :
63370   $as_echo_n "(cached) " >&6
63371 else
63372
63373
63374       ac_ext=cpp
63375 ac_cpp='$CXXCPP $CPPFLAGS'
63376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63379
63380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63381 /* end confdefs.h.  */
63382 #include <math.h>
63383                       #ifdef HAVE_IEEEFP_H
63384                       #include <ieeefp.h>
63385                       #endif
63386
63387 int
63388 main ()
63389 {
63390  logf(0);
63391   ;
63392   return 0;
63393 }
63394 _ACEOF
63395 if ac_fn_cxx_try_compile "$LINENO"; then :
63396   glibcxx_cv_func_logf_use=yes
63397 else
63398   glibcxx_cv_func_logf_use=no
63399 fi
63400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63401       ac_ext=c
63402 ac_cpp='$CPP $CPPFLAGS'
63403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63406
63407
63408 fi
63409
63410   fi
63411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63412 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63413
63414   if test x$glibcxx_cv_func_logf_use = x"yes"; then
63415     for ac_func in logf
63416 do :
63417   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63418 if test "x$ac_cv_func_logf" = xyes; then :
63419   cat >>confdefs.h <<_ACEOF
63420 #define HAVE_LOGF 1
63421 _ACEOF
63422
63423 fi
63424 done
63425
63426   else
63427
63428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63429 $as_echo_n "checking for _logf declaration... " >&6; }
63430   if test x${glibcxx_cv_func__logf_use+set} != xset; then
63431     if ${glibcxx_cv_func__logf_use+:} false; then :
63432   $as_echo_n "(cached) " >&6
63433 else
63434
63435
63436       ac_ext=cpp
63437 ac_cpp='$CXXCPP $CPPFLAGS'
63438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63441
63442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63443 /* end confdefs.h.  */
63444 #include <math.h>
63445                       #ifdef HAVE_IEEEFP_H
63446                       #include <ieeefp.h>
63447                       #endif
63448
63449 int
63450 main ()
63451 {
63452  _logf(0);
63453   ;
63454   return 0;
63455 }
63456 _ACEOF
63457 if ac_fn_cxx_try_compile "$LINENO"; then :
63458   glibcxx_cv_func__logf_use=yes
63459 else
63460   glibcxx_cv_func__logf_use=no
63461 fi
63462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63463       ac_ext=c
63464 ac_cpp='$CPP $CPPFLAGS'
63465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63468
63469
63470 fi
63471
63472   fi
63473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63474 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63475
63476     if test x$glibcxx_cv_func__logf_use = x"yes"; then
63477       for ac_func in _logf
63478 do :
63479   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63480 if test "x$ac_cv_func__logf" = xyes; then :
63481   cat >>confdefs.h <<_ACEOF
63482 #define HAVE__LOGF 1
63483 _ACEOF
63484
63485 fi
63486 done
63487
63488     fi
63489   fi
63490
63491
63492
63493
63494
63495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63496 $as_echo_n "checking for log10f declaration... " >&6; }
63497   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63498     if ${glibcxx_cv_func_log10f_use+:} false; then :
63499   $as_echo_n "(cached) " >&6
63500 else
63501
63502
63503       ac_ext=cpp
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63508
63509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63510 /* end confdefs.h.  */
63511 #include <math.h>
63512                       #ifdef HAVE_IEEEFP_H
63513                       #include <ieeefp.h>
63514                       #endif
63515
63516 int
63517 main ()
63518 {
63519  log10f(0);
63520   ;
63521   return 0;
63522 }
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525   glibcxx_cv_func_log10f_use=yes
63526 else
63527   glibcxx_cv_func_log10f_use=no
63528 fi
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530       ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63535
63536
63537 fi
63538
63539   fi
63540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63541 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63542
63543   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63544     for ac_func in log10f
63545 do :
63546   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63547 if test "x$ac_cv_func_log10f" = xyes; then :
63548   cat >>confdefs.h <<_ACEOF
63549 #define HAVE_LOG10F 1
63550 _ACEOF
63551
63552 fi
63553 done
63554
63555   else
63556
63557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63558 $as_echo_n "checking for _log10f declaration... " >&6; }
63559   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63560     if ${glibcxx_cv_func__log10f_use+:} false; then :
63561   $as_echo_n "(cached) " >&6
63562 else
63563
63564
63565       ac_ext=cpp
63566 ac_cpp='$CXXCPP $CPPFLAGS'
63567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63570
63571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63572 /* end confdefs.h.  */
63573 #include <math.h>
63574                       #ifdef HAVE_IEEEFP_H
63575                       #include <ieeefp.h>
63576                       #endif
63577
63578 int
63579 main ()
63580 {
63581  _log10f(0);
63582   ;
63583   return 0;
63584 }
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587   glibcxx_cv_func__log10f_use=yes
63588 else
63589   glibcxx_cv_func__log10f_use=no
63590 fi
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592       ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63597
63598
63599 fi
63600
63601   fi
63602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63603 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63604
63605     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63606       for ac_func in _log10f
63607 do :
63608   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63609 if test "x$ac_cv_func__log10f" = xyes; then :
63610   cat >>confdefs.h <<_ACEOF
63611 #define HAVE__LOG10F 1
63612 _ACEOF
63613
63614 fi
63615 done
63616
63617     fi
63618   fi
63619
63620
63621
63622
63623
63624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63625 $as_echo_n "checking for modff declaration... " >&6; }
63626   if test x${glibcxx_cv_func_modff_use+set} != xset; then
63627     if ${glibcxx_cv_func_modff_use+:} false; then :
63628   $as_echo_n "(cached) " >&6
63629 else
63630
63631
63632       ac_ext=cpp
63633 ac_cpp='$CXXCPP $CPPFLAGS'
63634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63637
63638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63639 /* end confdefs.h.  */
63640 #include <math.h>
63641 int
63642 main ()
63643 {
63644  modff(0, 0);
63645   ;
63646   return 0;
63647 }
63648 _ACEOF
63649 if ac_fn_cxx_try_compile "$LINENO"; then :
63650   glibcxx_cv_func_modff_use=yes
63651 else
63652   glibcxx_cv_func_modff_use=no
63653 fi
63654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63655       ac_ext=c
63656 ac_cpp='$CPP $CPPFLAGS'
63657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63660
63661
63662 fi
63663
63664   fi
63665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63666 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63667
63668   if test x$glibcxx_cv_func_modff_use = x"yes"; then
63669     for ac_func in modff
63670 do :
63671   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63672 if test "x$ac_cv_func_modff" = xyes; then :
63673   cat >>confdefs.h <<_ACEOF
63674 #define HAVE_MODFF 1
63675 _ACEOF
63676
63677 fi
63678 done
63679
63680   else
63681
63682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63683 $as_echo_n "checking for _modff declaration... " >&6; }
63684   if test x${glibcxx_cv_func__modff_use+set} != xset; then
63685     if ${glibcxx_cv_func__modff_use+:} false; then :
63686   $as_echo_n "(cached) " >&6
63687 else
63688
63689
63690       ac_ext=cpp
63691 ac_cpp='$CXXCPP $CPPFLAGS'
63692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63695
63696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63697 /* end confdefs.h.  */
63698 #include <math.h>
63699 int
63700 main ()
63701 {
63702  _modff(0, 0);
63703   ;
63704   return 0;
63705 }
63706 _ACEOF
63707 if ac_fn_cxx_try_compile "$LINENO"; then :
63708   glibcxx_cv_func__modff_use=yes
63709 else
63710   glibcxx_cv_func__modff_use=no
63711 fi
63712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63713       ac_ext=c
63714 ac_cpp='$CPP $CPPFLAGS'
63715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718
63719
63720 fi
63721
63722   fi
63723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63724 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63725
63726     if test x$glibcxx_cv_func__modff_use = x"yes"; then
63727       for ac_func in _modff
63728 do :
63729   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63730 if test "x$ac_cv_func__modff" = xyes; then :
63731   cat >>confdefs.h <<_ACEOF
63732 #define HAVE__MODFF 1
63733 _ACEOF
63734
63735 fi
63736 done
63737
63738     fi
63739   fi
63740
63741
63742
63743
63744
63745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63746 $as_echo_n "checking for modf declaration... " >&6; }
63747   if test x${glibcxx_cv_func_modf_use+set} != xset; then
63748     if ${glibcxx_cv_func_modf_use+:} false; then :
63749   $as_echo_n "(cached) " >&6
63750 else
63751
63752
63753       ac_ext=cpp
63754 ac_cpp='$CXXCPP $CPPFLAGS'
63755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63758
63759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63760 /* end confdefs.h.  */
63761 #include <math.h>
63762 int
63763 main ()
63764 {
63765  modf(0, 0);
63766   ;
63767   return 0;
63768 }
63769 _ACEOF
63770 if ac_fn_cxx_try_compile "$LINENO"; then :
63771   glibcxx_cv_func_modf_use=yes
63772 else
63773   glibcxx_cv_func_modf_use=no
63774 fi
63775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63776       ac_ext=c
63777 ac_cpp='$CPP $CPPFLAGS'
63778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63781
63782
63783 fi
63784
63785   fi
63786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63787 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63788
63789   if test x$glibcxx_cv_func_modf_use = x"yes"; then
63790     for ac_func in modf
63791 do :
63792   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63793 if test "x$ac_cv_func_modf" = xyes; then :
63794   cat >>confdefs.h <<_ACEOF
63795 #define HAVE_MODF 1
63796 _ACEOF
63797
63798 fi
63799 done
63800
63801   else
63802
63803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63804 $as_echo_n "checking for _modf declaration... " >&6; }
63805   if test x${glibcxx_cv_func__modf_use+set} != xset; then
63806     if ${glibcxx_cv_func__modf_use+:} false; then :
63807   $as_echo_n "(cached) " >&6
63808 else
63809
63810
63811       ac_ext=cpp
63812 ac_cpp='$CXXCPP $CPPFLAGS'
63813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63816
63817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63818 /* end confdefs.h.  */
63819 #include <math.h>
63820 int
63821 main ()
63822 {
63823  _modf(0, 0);
63824   ;
63825   return 0;
63826 }
63827 _ACEOF
63828 if ac_fn_cxx_try_compile "$LINENO"; then :
63829   glibcxx_cv_func__modf_use=yes
63830 else
63831   glibcxx_cv_func__modf_use=no
63832 fi
63833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63834       ac_ext=c
63835 ac_cpp='$CPP $CPPFLAGS'
63836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63839
63840
63841 fi
63842
63843   fi
63844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63845 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63846
63847     if test x$glibcxx_cv_func__modf_use = x"yes"; then
63848       for ac_func in _modf
63849 do :
63850   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63851 if test "x$ac_cv_func__modf" = xyes; then :
63852   cat >>confdefs.h <<_ACEOF
63853 #define HAVE__MODF 1
63854 _ACEOF
63855
63856 fi
63857 done
63858
63859     fi
63860   fi
63861
63862
63863
63864
63865
63866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63867 $as_echo_n "checking for powf declaration... " >&6; }
63868   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63869     if ${glibcxx_cv_func_powf_use+:} false; then :
63870   $as_echo_n "(cached) " >&6
63871 else
63872
63873
63874       ac_ext=cpp
63875 ac_cpp='$CXXCPP $CPPFLAGS'
63876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63879
63880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63881 /* end confdefs.h.  */
63882 #include <math.h>
63883 int
63884 main ()
63885 {
63886  powf(0, 0);
63887   ;
63888   return 0;
63889 }
63890 _ACEOF
63891 if ac_fn_cxx_try_compile "$LINENO"; then :
63892   glibcxx_cv_func_powf_use=yes
63893 else
63894   glibcxx_cv_func_powf_use=no
63895 fi
63896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63897       ac_ext=c
63898 ac_cpp='$CPP $CPPFLAGS'
63899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63902
63903
63904 fi
63905
63906   fi
63907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63908 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63909
63910   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63911     for ac_func in powf
63912 do :
63913   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63914 if test "x$ac_cv_func_powf" = xyes; then :
63915   cat >>confdefs.h <<_ACEOF
63916 #define HAVE_POWF 1
63917 _ACEOF
63918
63919 fi
63920 done
63921
63922   else
63923
63924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63925 $as_echo_n "checking for _powf declaration... " >&6; }
63926   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63927     if ${glibcxx_cv_func__powf_use+:} false; then :
63928   $as_echo_n "(cached) " >&6
63929 else
63930
63931
63932       ac_ext=cpp
63933 ac_cpp='$CXXCPP $CPPFLAGS'
63934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63937
63938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63939 /* end confdefs.h.  */
63940 #include <math.h>
63941 int
63942 main ()
63943 {
63944  _powf(0, 0);
63945   ;
63946   return 0;
63947 }
63948 _ACEOF
63949 if ac_fn_cxx_try_compile "$LINENO"; then :
63950   glibcxx_cv_func__powf_use=yes
63951 else
63952   glibcxx_cv_func__powf_use=no
63953 fi
63954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63955       ac_ext=c
63956 ac_cpp='$CPP $CPPFLAGS'
63957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63960
63961
63962 fi
63963
63964   fi
63965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63966 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63967
63968     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63969       for ac_func in _powf
63970 do :
63971   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63972 if test "x$ac_cv_func__powf" = xyes; then :
63973   cat >>confdefs.h <<_ACEOF
63974 #define HAVE__POWF 1
63975 _ACEOF
63976
63977 fi
63978 done
63979
63980     fi
63981   fi
63982
63983
63984
63985
63986
63987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63988 $as_echo_n "checking for sqrtf declaration... " >&6; }
63989   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63990     if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63991   $as_echo_n "(cached) " >&6
63992 else
63993
63994
63995       ac_ext=cpp
63996 ac_cpp='$CXXCPP $CPPFLAGS'
63997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64000
64001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64002 /* end confdefs.h.  */
64003 #include <math.h>
64004                       #ifdef HAVE_IEEEFP_H
64005                       #include <ieeefp.h>
64006                       #endif
64007
64008 int
64009 main ()
64010 {
64011  sqrtf(0);
64012   ;
64013   return 0;
64014 }
64015 _ACEOF
64016 if ac_fn_cxx_try_compile "$LINENO"; then :
64017   glibcxx_cv_func_sqrtf_use=yes
64018 else
64019   glibcxx_cv_func_sqrtf_use=no
64020 fi
64021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64022       ac_ext=c
64023 ac_cpp='$CPP $CPPFLAGS'
64024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64027
64028
64029 fi
64030
64031   fi
64032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64033 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64034
64035   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64036     for ac_func in sqrtf
64037 do :
64038   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64039 if test "x$ac_cv_func_sqrtf" = xyes; then :
64040   cat >>confdefs.h <<_ACEOF
64041 #define HAVE_SQRTF 1
64042 _ACEOF
64043
64044 fi
64045 done
64046
64047   else
64048
64049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64050 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64051   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64052     if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64053   $as_echo_n "(cached) " >&6
64054 else
64055
64056
64057       ac_ext=cpp
64058 ac_cpp='$CXXCPP $CPPFLAGS'
64059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64062
64063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64064 /* end confdefs.h.  */
64065 #include <math.h>
64066                       #ifdef HAVE_IEEEFP_H
64067                       #include <ieeefp.h>
64068                       #endif
64069
64070 int
64071 main ()
64072 {
64073  _sqrtf(0);
64074   ;
64075   return 0;
64076 }
64077 _ACEOF
64078 if ac_fn_cxx_try_compile "$LINENO"; then :
64079   glibcxx_cv_func__sqrtf_use=yes
64080 else
64081   glibcxx_cv_func__sqrtf_use=no
64082 fi
64083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64084       ac_ext=c
64085 ac_cpp='$CPP $CPPFLAGS'
64086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64089
64090
64091 fi
64092
64093   fi
64094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64095 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64096
64097     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64098       for ac_func in _sqrtf
64099 do :
64100   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64101 if test "x$ac_cv_func__sqrtf" = xyes; then :
64102   cat >>confdefs.h <<_ACEOF
64103 #define HAVE__SQRTF 1
64104 _ACEOF
64105
64106 fi
64107 done
64108
64109     fi
64110   fi
64111
64112
64113
64114
64115
64116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64117 $as_echo_n "checking for sincosf declaration... " >&6; }
64118   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64119     if ${glibcxx_cv_func_sincosf_use+:} false; then :
64120   $as_echo_n "(cached) " >&6
64121 else
64122
64123
64124       ac_ext=cpp
64125 ac_cpp='$CXXCPP $CPPFLAGS'
64126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64129
64130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64131 /* end confdefs.h.  */
64132 #include <math.h>
64133 int
64134 main ()
64135 {
64136  sincosf(0, 0, 0);
64137   ;
64138   return 0;
64139 }
64140 _ACEOF
64141 if ac_fn_cxx_try_compile "$LINENO"; then :
64142   glibcxx_cv_func_sincosf_use=yes
64143 else
64144   glibcxx_cv_func_sincosf_use=no
64145 fi
64146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64147       ac_ext=c
64148 ac_cpp='$CPP $CPPFLAGS'
64149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64152
64153
64154 fi
64155
64156   fi
64157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64158 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64159
64160   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64161     for ac_func in sincosf
64162 do :
64163   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64164 if test "x$ac_cv_func_sincosf" = xyes; then :
64165   cat >>confdefs.h <<_ACEOF
64166 #define HAVE_SINCOSF 1
64167 _ACEOF
64168
64169 fi
64170 done
64171
64172   else
64173
64174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64175 $as_echo_n "checking for _sincosf declaration... " >&6; }
64176   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64177     if ${glibcxx_cv_func__sincosf_use+:} false; then :
64178   $as_echo_n "(cached) " >&6
64179 else
64180
64181
64182       ac_ext=cpp
64183 ac_cpp='$CXXCPP $CPPFLAGS'
64184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64187
64188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64189 /* end confdefs.h.  */
64190 #include <math.h>
64191 int
64192 main ()
64193 {
64194  _sincosf(0, 0, 0);
64195   ;
64196   return 0;
64197 }
64198 _ACEOF
64199 if ac_fn_cxx_try_compile "$LINENO"; then :
64200   glibcxx_cv_func__sincosf_use=yes
64201 else
64202   glibcxx_cv_func__sincosf_use=no
64203 fi
64204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64205       ac_ext=c
64206 ac_cpp='$CPP $CPPFLAGS'
64207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64210
64211
64212 fi
64213
64214   fi
64215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64216 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64217
64218     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64219       for ac_func in _sincosf
64220 do :
64221   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64222 if test "x$ac_cv_func__sincosf" = xyes; then :
64223   cat >>confdefs.h <<_ACEOF
64224 #define HAVE__SINCOSF 1
64225 _ACEOF
64226
64227 fi
64228 done
64229
64230     fi
64231   fi
64232
64233
64234
64235
64236
64237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64238 $as_echo_n "checking for finitef declaration... " >&6; }
64239   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64240     if ${glibcxx_cv_func_finitef_use+:} false; then :
64241   $as_echo_n "(cached) " >&6
64242 else
64243
64244
64245       ac_ext=cpp
64246 ac_cpp='$CXXCPP $CPPFLAGS'
64247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64250
64251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64252 /* end confdefs.h.  */
64253 #include <math.h>
64254                       #ifdef HAVE_IEEEFP_H
64255                       #include <ieeefp.h>
64256                       #endif
64257
64258 int
64259 main ()
64260 {
64261  finitef(0);
64262   ;
64263   return 0;
64264 }
64265 _ACEOF
64266 if ac_fn_cxx_try_compile "$LINENO"; then :
64267   glibcxx_cv_func_finitef_use=yes
64268 else
64269   glibcxx_cv_func_finitef_use=no
64270 fi
64271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64272       ac_ext=c
64273 ac_cpp='$CPP $CPPFLAGS'
64274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64277
64278
64279 fi
64280
64281   fi
64282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64283 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64284
64285   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64286     for ac_func in finitef
64287 do :
64288   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64289 if test "x$ac_cv_func_finitef" = xyes; then :
64290   cat >>confdefs.h <<_ACEOF
64291 #define HAVE_FINITEF 1
64292 _ACEOF
64293
64294 fi
64295 done
64296
64297   else
64298
64299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64300 $as_echo_n "checking for _finitef declaration... " >&6; }
64301   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64302     if ${glibcxx_cv_func__finitef_use+:} false; then :
64303   $as_echo_n "(cached) " >&6
64304 else
64305
64306
64307       ac_ext=cpp
64308 ac_cpp='$CXXCPP $CPPFLAGS'
64309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64312
64313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64314 /* end confdefs.h.  */
64315 #include <math.h>
64316                       #ifdef HAVE_IEEEFP_H
64317                       #include <ieeefp.h>
64318                       #endif
64319
64320 int
64321 main ()
64322 {
64323  _finitef(0);
64324   ;
64325   return 0;
64326 }
64327 _ACEOF
64328 if ac_fn_cxx_try_compile "$LINENO"; then :
64329   glibcxx_cv_func__finitef_use=yes
64330 else
64331   glibcxx_cv_func__finitef_use=no
64332 fi
64333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64334       ac_ext=c
64335 ac_cpp='$CPP $CPPFLAGS'
64336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64339
64340
64341 fi
64342
64343   fi
64344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64345 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64346
64347     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64348       for ac_func in _finitef
64349 do :
64350   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64351 if test "x$ac_cv_func__finitef" = xyes; then :
64352   cat >>confdefs.h <<_ACEOF
64353 #define HAVE__FINITEF 1
64354 _ACEOF
64355
64356 fi
64357 done
64358
64359     fi
64360   fi
64361
64362
64363
64364
64365
64366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64367 $as_echo_n "checking for long double trig functions... " >&6; }
64368   if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64369   $as_echo_n "(cached) " >&6
64370 else
64371
64372
64373     ac_ext=cpp
64374 ac_cpp='$CXXCPP $CPPFLAGS'
64375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64378
64379     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64380 /* end confdefs.h.  */
64381 #include <math.h>
64382 int
64383 main ()
64384 {
64385 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64386   ;
64387   return 0;
64388 }
64389 _ACEOF
64390 if ac_fn_cxx_try_compile "$LINENO"; then :
64391   glibcxx_cv_func_long_double_trig_use=yes
64392 else
64393   glibcxx_cv_func_long_double_trig_use=no
64394 fi
64395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64396     ac_ext=c
64397 ac_cpp='$CPP $CPPFLAGS'
64398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64401
64402 fi
64403
64404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64405 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64406   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64407     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64408 do :
64409   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64412   cat >>confdefs.h <<_ACEOF
64413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64414 _ACEOF
64415
64416 fi
64417 done
64418
64419   else
64420     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64421 $as_echo_n "checking for _long double trig functions... " >&6; }
64422     if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64423   $as_echo_n "(cached) " >&6
64424 else
64425
64426
64427       ac_ext=cpp
64428 ac_cpp='$CXXCPP $CPPFLAGS'
64429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64432
64433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64434 /* end confdefs.h.  */
64435 #include <math.h>
64436 int
64437 main ()
64438 {
64439 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64440   ;
64441   return 0;
64442 }
64443 _ACEOF
64444 if ac_fn_cxx_try_compile "$LINENO"; then :
64445   glibcxx_cv_func__long_double_trig_use=yes
64446 else
64447   glibcxx_cv_func__long_double_trig_use=no
64448 fi
64449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64450       ac_ext=c
64451 ac_cpp='$CPP $CPPFLAGS'
64452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455
64456 fi
64457
64458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64459 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64460     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64461       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64462 do :
64463   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64466   cat >>confdefs.h <<_ACEOF
64467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64468 _ACEOF
64469
64470 fi
64471 done
64472
64473     fi
64474   fi
64475
64476
64477
64478
64479
64480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64481 $as_echo_n "checking for long double round functions... " >&6; }
64482   if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64483   $as_echo_n "(cached) " >&6
64484 else
64485
64486
64487     ac_ext=cpp
64488 ac_cpp='$CXXCPP $CPPFLAGS'
64489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64492
64493     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64494 /* end confdefs.h.  */
64495 #include <math.h>
64496 int
64497 main ()
64498 {
64499 ceill (0); floorl (0);
64500   ;
64501   return 0;
64502 }
64503 _ACEOF
64504 if ac_fn_cxx_try_compile "$LINENO"; then :
64505   glibcxx_cv_func_long_double_round_use=yes
64506 else
64507   glibcxx_cv_func_long_double_round_use=no
64508 fi
64509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64510     ac_ext=c
64511 ac_cpp='$CPP $CPPFLAGS'
64512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64515
64516 fi
64517
64518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64519 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64520   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64521     for ac_func in ceill floorl
64522 do :
64523   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64526   cat >>confdefs.h <<_ACEOF
64527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64528 _ACEOF
64529
64530 fi
64531 done
64532
64533   else
64534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64535 $as_echo_n "checking for _long double round functions... " >&6; }
64536     if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64537   $as_echo_n "(cached) " >&6
64538 else
64539
64540
64541       ac_ext=cpp
64542 ac_cpp='$CXXCPP $CPPFLAGS'
64543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64546
64547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64548 /* end confdefs.h.  */
64549 #include <math.h>
64550 int
64551 main ()
64552 {
64553 _ceill (0); _floorl (0);
64554   ;
64555   return 0;
64556 }
64557 _ACEOF
64558 if ac_fn_cxx_try_compile "$LINENO"; then :
64559   glibcxx_cv_func__long_double_round_use=yes
64560 else
64561   glibcxx_cv_func__long_double_round_use=no
64562 fi
64563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64564       ac_ext=c
64565 ac_cpp='$CPP $CPPFLAGS'
64566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64569
64570 fi
64571
64572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64573 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64574     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64575       for ac_func in _ceill _floorl
64576 do :
64577   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64580   cat >>confdefs.h <<_ACEOF
64581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64582 _ACEOF
64583
64584 fi
64585 done
64586
64587     fi
64588   fi
64589
64590
64591
64592
64593
64594
64595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64596 $as_echo_n "checking for isnanl declaration... " >&6; }
64597   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64598     if ${glibcxx_cv_func_isnanl_use+:} false; then :
64599   $as_echo_n "(cached) " >&6
64600 else
64601
64602
64603       ac_ext=cpp
64604 ac_cpp='$CXXCPP $CPPFLAGS'
64605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64608
64609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64610 /* end confdefs.h.  */
64611 #include <math.h>
64612                       #ifdef HAVE_IEEEFP_H
64613                       #include <ieeefp.h>
64614                       #endif
64615
64616 int
64617 main ()
64618 {
64619  isnanl(0);
64620   ;
64621   return 0;
64622 }
64623 _ACEOF
64624 if ac_fn_cxx_try_compile "$LINENO"; then :
64625   glibcxx_cv_func_isnanl_use=yes
64626 else
64627   glibcxx_cv_func_isnanl_use=no
64628 fi
64629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64630       ac_ext=c
64631 ac_cpp='$CPP $CPPFLAGS'
64632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64635
64636
64637 fi
64638
64639   fi
64640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64641 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64642
64643   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64644     for ac_func in isnanl
64645 do :
64646   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64647 if test "x$ac_cv_func_isnanl" = xyes; then :
64648   cat >>confdefs.h <<_ACEOF
64649 #define HAVE_ISNANL 1
64650 _ACEOF
64651
64652 fi
64653 done
64654
64655   else
64656
64657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64658 $as_echo_n "checking for _isnanl declaration... " >&6; }
64659   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64660     if ${glibcxx_cv_func__isnanl_use+:} false; then :
64661   $as_echo_n "(cached) " >&6
64662 else
64663
64664
64665       ac_ext=cpp
64666 ac_cpp='$CXXCPP $CPPFLAGS'
64667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64670
64671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64672 /* end confdefs.h.  */
64673 #include <math.h>
64674                       #ifdef HAVE_IEEEFP_H
64675                       #include <ieeefp.h>
64676                       #endif
64677
64678 int
64679 main ()
64680 {
64681  _isnanl(0);
64682   ;
64683   return 0;
64684 }
64685 _ACEOF
64686 if ac_fn_cxx_try_compile "$LINENO"; then :
64687   glibcxx_cv_func__isnanl_use=yes
64688 else
64689   glibcxx_cv_func__isnanl_use=no
64690 fi
64691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64692       ac_ext=c
64693 ac_cpp='$CPP $CPPFLAGS'
64694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64697
64698
64699 fi
64700
64701   fi
64702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64703 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64704
64705     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64706       for ac_func in _isnanl
64707 do :
64708   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64709 if test "x$ac_cv_func__isnanl" = xyes; then :
64710   cat >>confdefs.h <<_ACEOF
64711 #define HAVE__ISNANL 1
64712 _ACEOF
64713
64714 fi
64715 done
64716
64717     fi
64718   fi
64719
64720
64721
64722
64723
64724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64725 $as_echo_n "checking for isinfl declaration... " >&6; }
64726   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64727     if ${glibcxx_cv_func_isinfl_use+:} false; then :
64728   $as_echo_n "(cached) " >&6
64729 else
64730
64731
64732       ac_ext=cpp
64733 ac_cpp='$CXXCPP $CPPFLAGS'
64734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64737
64738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64739 /* end confdefs.h.  */
64740 #include <math.h>
64741                       #ifdef HAVE_IEEEFP_H
64742                       #include <ieeefp.h>
64743                       #endif
64744
64745 int
64746 main ()
64747 {
64748  isinfl(0);
64749   ;
64750   return 0;
64751 }
64752 _ACEOF
64753 if ac_fn_cxx_try_compile "$LINENO"; then :
64754   glibcxx_cv_func_isinfl_use=yes
64755 else
64756   glibcxx_cv_func_isinfl_use=no
64757 fi
64758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64759       ac_ext=c
64760 ac_cpp='$CPP $CPPFLAGS'
64761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64764
64765
64766 fi
64767
64768   fi
64769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64770 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64771
64772   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64773     for ac_func in isinfl
64774 do :
64775   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64776 if test "x$ac_cv_func_isinfl" = xyes; then :
64777   cat >>confdefs.h <<_ACEOF
64778 #define HAVE_ISINFL 1
64779 _ACEOF
64780
64781 fi
64782 done
64783
64784   else
64785
64786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64787 $as_echo_n "checking for _isinfl declaration... " >&6; }
64788   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64789     if ${glibcxx_cv_func__isinfl_use+:} false; then :
64790   $as_echo_n "(cached) " >&6
64791 else
64792
64793
64794       ac_ext=cpp
64795 ac_cpp='$CXXCPP $CPPFLAGS'
64796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64799
64800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64801 /* end confdefs.h.  */
64802 #include <math.h>
64803                       #ifdef HAVE_IEEEFP_H
64804                       #include <ieeefp.h>
64805                       #endif
64806
64807 int
64808 main ()
64809 {
64810  _isinfl(0);
64811   ;
64812   return 0;
64813 }
64814 _ACEOF
64815 if ac_fn_cxx_try_compile "$LINENO"; then :
64816   glibcxx_cv_func__isinfl_use=yes
64817 else
64818   glibcxx_cv_func__isinfl_use=no
64819 fi
64820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64821       ac_ext=c
64822 ac_cpp='$CPP $CPPFLAGS'
64823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64826
64827
64828 fi
64829
64830   fi
64831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64832 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64833
64834     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64835       for ac_func in _isinfl
64836 do :
64837   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64838 if test "x$ac_cv_func__isinfl" = xyes; then :
64839   cat >>confdefs.h <<_ACEOF
64840 #define HAVE__ISINFL 1
64841 _ACEOF
64842
64843 fi
64844 done
64845
64846     fi
64847   fi
64848
64849
64850
64851
64852
64853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64854 $as_echo_n "checking for atan2l declaration... " >&6; }
64855   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64856     if ${glibcxx_cv_func_atan2l_use+:} false; then :
64857   $as_echo_n "(cached) " >&6
64858 else
64859
64860
64861       ac_ext=cpp
64862 ac_cpp='$CXXCPP $CPPFLAGS'
64863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64866
64867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64868 /* end confdefs.h.  */
64869 #include <math.h>
64870 int
64871 main ()
64872 {
64873  atan2l(0, 0);
64874   ;
64875   return 0;
64876 }
64877 _ACEOF
64878 if ac_fn_cxx_try_compile "$LINENO"; then :
64879   glibcxx_cv_func_atan2l_use=yes
64880 else
64881   glibcxx_cv_func_atan2l_use=no
64882 fi
64883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64884       ac_ext=c
64885 ac_cpp='$CPP $CPPFLAGS'
64886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64889
64890
64891 fi
64892
64893   fi
64894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64895 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64896
64897   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64898     for ac_func in atan2l
64899 do :
64900   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64901 if test "x$ac_cv_func_atan2l" = xyes; then :
64902   cat >>confdefs.h <<_ACEOF
64903 #define HAVE_ATAN2L 1
64904 _ACEOF
64905
64906 fi
64907 done
64908
64909   else
64910
64911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64912 $as_echo_n "checking for _atan2l declaration... " >&6; }
64913   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64914     if ${glibcxx_cv_func__atan2l_use+:} false; then :
64915   $as_echo_n "(cached) " >&6
64916 else
64917
64918
64919       ac_ext=cpp
64920 ac_cpp='$CXXCPP $CPPFLAGS'
64921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64924
64925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64926 /* end confdefs.h.  */
64927 #include <math.h>
64928 int
64929 main ()
64930 {
64931  _atan2l(0, 0);
64932   ;
64933   return 0;
64934 }
64935 _ACEOF
64936 if ac_fn_cxx_try_compile "$LINENO"; then :
64937   glibcxx_cv_func__atan2l_use=yes
64938 else
64939   glibcxx_cv_func__atan2l_use=no
64940 fi
64941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64942       ac_ext=c
64943 ac_cpp='$CPP $CPPFLAGS'
64944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64947
64948
64949 fi
64950
64951   fi
64952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64953 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64954
64955     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64956       for ac_func in _atan2l
64957 do :
64958   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64959 if test "x$ac_cv_func__atan2l" = xyes; then :
64960   cat >>confdefs.h <<_ACEOF
64961 #define HAVE__ATAN2L 1
64962 _ACEOF
64963
64964 fi
64965 done
64966
64967     fi
64968   fi
64969
64970
64971
64972
64973
64974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64975 $as_echo_n "checking for expl declaration... " >&6; }
64976   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64977     if ${glibcxx_cv_func_expl_use+:} false; then :
64978   $as_echo_n "(cached) " >&6
64979 else
64980
64981
64982       ac_ext=cpp
64983 ac_cpp='$CXXCPP $CPPFLAGS'
64984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64987
64988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64989 /* end confdefs.h.  */
64990 #include <math.h>
64991                       #ifdef HAVE_IEEEFP_H
64992                       #include <ieeefp.h>
64993                       #endif
64994
64995 int
64996 main ()
64997 {
64998  expl(0);
64999   ;
65000   return 0;
65001 }
65002 _ACEOF
65003 if ac_fn_cxx_try_compile "$LINENO"; then :
65004   glibcxx_cv_func_expl_use=yes
65005 else
65006   glibcxx_cv_func_expl_use=no
65007 fi
65008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65009       ac_ext=c
65010 ac_cpp='$CPP $CPPFLAGS'
65011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65014
65015
65016 fi
65017
65018   fi
65019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65020 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65021
65022   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65023     for ac_func in expl
65024 do :
65025   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65026 if test "x$ac_cv_func_expl" = xyes; then :
65027   cat >>confdefs.h <<_ACEOF
65028 #define HAVE_EXPL 1
65029 _ACEOF
65030
65031 fi
65032 done
65033
65034   else
65035
65036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65037 $as_echo_n "checking for _expl declaration... " >&6; }
65038   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65039     if ${glibcxx_cv_func__expl_use+:} false; then :
65040   $as_echo_n "(cached) " >&6
65041 else
65042
65043
65044       ac_ext=cpp
65045 ac_cpp='$CXXCPP $CPPFLAGS'
65046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65049
65050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65051 /* end confdefs.h.  */
65052 #include <math.h>
65053                       #ifdef HAVE_IEEEFP_H
65054                       #include <ieeefp.h>
65055                       #endif
65056
65057 int
65058 main ()
65059 {
65060  _expl(0);
65061   ;
65062   return 0;
65063 }
65064 _ACEOF
65065 if ac_fn_cxx_try_compile "$LINENO"; then :
65066   glibcxx_cv_func__expl_use=yes
65067 else
65068   glibcxx_cv_func__expl_use=no
65069 fi
65070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65071       ac_ext=c
65072 ac_cpp='$CPP $CPPFLAGS'
65073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65076
65077
65078 fi
65079
65080   fi
65081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65082 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65083
65084     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65085       for ac_func in _expl
65086 do :
65087   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65088 if test "x$ac_cv_func__expl" = xyes; then :
65089   cat >>confdefs.h <<_ACEOF
65090 #define HAVE__EXPL 1
65091 _ACEOF
65092
65093 fi
65094 done
65095
65096     fi
65097   fi
65098
65099
65100
65101
65102
65103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65104 $as_echo_n "checking for fabsl declaration... " >&6; }
65105   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65106     if ${glibcxx_cv_func_fabsl_use+:} false; then :
65107   $as_echo_n "(cached) " >&6
65108 else
65109
65110
65111       ac_ext=cpp
65112 ac_cpp='$CXXCPP $CPPFLAGS'
65113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65116
65117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65118 /* end confdefs.h.  */
65119 #include <math.h>
65120                       #ifdef HAVE_IEEEFP_H
65121                       #include <ieeefp.h>
65122                       #endif
65123
65124 int
65125 main ()
65126 {
65127  fabsl(0);
65128   ;
65129   return 0;
65130 }
65131 _ACEOF
65132 if ac_fn_cxx_try_compile "$LINENO"; then :
65133   glibcxx_cv_func_fabsl_use=yes
65134 else
65135   glibcxx_cv_func_fabsl_use=no
65136 fi
65137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65138       ac_ext=c
65139 ac_cpp='$CPP $CPPFLAGS'
65140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65143
65144
65145 fi
65146
65147   fi
65148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65149 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65150
65151   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65152     for ac_func in fabsl
65153 do :
65154   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65155 if test "x$ac_cv_func_fabsl" = xyes; then :
65156   cat >>confdefs.h <<_ACEOF
65157 #define HAVE_FABSL 1
65158 _ACEOF
65159
65160 fi
65161 done
65162
65163   else
65164
65165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65166 $as_echo_n "checking for _fabsl declaration... " >&6; }
65167   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65168     if ${glibcxx_cv_func__fabsl_use+:} false; then :
65169   $as_echo_n "(cached) " >&6
65170 else
65171
65172
65173       ac_ext=cpp
65174 ac_cpp='$CXXCPP $CPPFLAGS'
65175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65178
65179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65180 /* end confdefs.h.  */
65181 #include <math.h>
65182                       #ifdef HAVE_IEEEFP_H
65183                       #include <ieeefp.h>
65184                       #endif
65185
65186 int
65187 main ()
65188 {
65189  _fabsl(0);
65190   ;
65191   return 0;
65192 }
65193 _ACEOF
65194 if ac_fn_cxx_try_compile "$LINENO"; then :
65195   glibcxx_cv_func__fabsl_use=yes
65196 else
65197   glibcxx_cv_func__fabsl_use=no
65198 fi
65199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65200       ac_ext=c
65201 ac_cpp='$CPP $CPPFLAGS'
65202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65205
65206
65207 fi
65208
65209   fi
65210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65211 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65212
65213     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65214       for ac_func in _fabsl
65215 do :
65216   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65217 if test "x$ac_cv_func__fabsl" = xyes; then :
65218   cat >>confdefs.h <<_ACEOF
65219 #define HAVE__FABSL 1
65220 _ACEOF
65221
65222 fi
65223 done
65224
65225     fi
65226   fi
65227
65228
65229
65230
65231
65232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65233 $as_echo_n "checking for fmodl declaration... " >&6; }
65234   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65235     if ${glibcxx_cv_func_fmodl_use+:} false; then :
65236   $as_echo_n "(cached) " >&6
65237 else
65238
65239
65240       ac_ext=cpp
65241 ac_cpp='$CXXCPP $CPPFLAGS'
65242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65245
65246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65247 /* end confdefs.h.  */
65248 #include <math.h>
65249 int
65250 main ()
65251 {
65252  fmodl(0, 0);
65253   ;
65254   return 0;
65255 }
65256 _ACEOF
65257 if ac_fn_cxx_try_compile "$LINENO"; then :
65258   glibcxx_cv_func_fmodl_use=yes
65259 else
65260   glibcxx_cv_func_fmodl_use=no
65261 fi
65262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65263       ac_ext=c
65264 ac_cpp='$CPP $CPPFLAGS'
65265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65268
65269
65270 fi
65271
65272   fi
65273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65274 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65275
65276   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65277     for ac_func in fmodl
65278 do :
65279   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65280 if test "x$ac_cv_func_fmodl" = xyes; then :
65281   cat >>confdefs.h <<_ACEOF
65282 #define HAVE_FMODL 1
65283 _ACEOF
65284
65285 fi
65286 done
65287
65288   else
65289
65290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65291 $as_echo_n "checking for _fmodl declaration... " >&6; }
65292   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65293     if ${glibcxx_cv_func__fmodl_use+:} false; then :
65294   $as_echo_n "(cached) " >&6
65295 else
65296
65297
65298       ac_ext=cpp
65299 ac_cpp='$CXXCPP $CPPFLAGS'
65300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65303
65304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65305 /* end confdefs.h.  */
65306 #include <math.h>
65307 int
65308 main ()
65309 {
65310  _fmodl(0, 0);
65311   ;
65312   return 0;
65313 }
65314 _ACEOF
65315 if ac_fn_cxx_try_compile "$LINENO"; then :
65316   glibcxx_cv_func__fmodl_use=yes
65317 else
65318   glibcxx_cv_func__fmodl_use=no
65319 fi
65320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65321       ac_ext=c
65322 ac_cpp='$CPP $CPPFLAGS'
65323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65326
65327
65328 fi
65329
65330   fi
65331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65332 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65333
65334     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65335       for ac_func in _fmodl
65336 do :
65337   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65338 if test "x$ac_cv_func__fmodl" = xyes; then :
65339   cat >>confdefs.h <<_ACEOF
65340 #define HAVE__FMODL 1
65341 _ACEOF
65342
65343 fi
65344 done
65345
65346     fi
65347   fi
65348
65349
65350
65351
65352
65353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65354 $as_echo_n "checking for frexpl declaration... " >&6; }
65355   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65356     if ${glibcxx_cv_func_frexpl_use+:} false; then :
65357   $as_echo_n "(cached) " >&6
65358 else
65359
65360
65361       ac_ext=cpp
65362 ac_cpp='$CXXCPP $CPPFLAGS'
65363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65366
65367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65368 /* end confdefs.h.  */
65369 #include <math.h>
65370 int
65371 main ()
65372 {
65373  frexpl(0, 0);
65374   ;
65375   return 0;
65376 }
65377 _ACEOF
65378 if ac_fn_cxx_try_compile "$LINENO"; then :
65379   glibcxx_cv_func_frexpl_use=yes
65380 else
65381   glibcxx_cv_func_frexpl_use=no
65382 fi
65383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65384       ac_ext=c
65385 ac_cpp='$CPP $CPPFLAGS'
65386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65389
65390
65391 fi
65392
65393   fi
65394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65395 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65396
65397   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65398     for ac_func in frexpl
65399 do :
65400   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65401 if test "x$ac_cv_func_frexpl" = xyes; then :
65402   cat >>confdefs.h <<_ACEOF
65403 #define HAVE_FREXPL 1
65404 _ACEOF
65405
65406 fi
65407 done
65408
65409   else
65410
65411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65412 $as_echo_n "checking for _frexpl declaration... " >&6; }
65413   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65414     if ${glibcxx_cv_func__frexpl_use+:} false; then :
65415   $as_echo_n "(cached) " >&6
65416 else
65417
65418
65419       ac_ext=cpp
65420 ac_cpp='$CXXCPP $CPPFLAGS'
65421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65424
65425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65426 /* end confdefs.h.  */
65427 #include <math.h>
65428 int
65429 main ()
65430 {
65431  _frexpl(0, 0);
65432   ;
65433   return 0;
65434 }
65435 _ACEOF
65436 if ac_fn_cxx_try_compile "$LINENO"; then :
65437   glibcxx_cv_func__frexpl_use=yes
65438 else
65439   glibcxx_cv_func__frexpl_use=no
65440 fi
65441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65442       ac_ext=c
65443 ac_cpp='$CPP $CPPFLAGS'
65444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65447
65448
65449 fi
65450
65451   fi
65452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65453 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65454
65455     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65456       for ac_func in _frexpl
65457 do :
65458   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65459 if test "x$ac_cv_func__frexpl" = xyes; then :
65460   cat >>confdefs.h <<_ACEOF
65461 #define HAVE__FREXPL 1
65462 _ACEOF
65463
65464 fi
65465 done
65466
65467     fi
65468   fi
65469
65470
65471
65472
65473
65474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65475 $as_echo_n "checking for hypotl declaration... " >&6; }
65476   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65477     if ${glibcxx_cv_func_hypotl_use+:} false; then :
65478   $as_echo_n "(cached) " >&6
65479 else
65480
65481
65482       ac_ext=cpp
65483 ac_cpp='$CXXCPP $CPPFLAGS'
65484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65487
65488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65489 /* end confdefs.h.  */
65490 #include <math.h>
65491 int
65492 main ()
65493 {
65494  hypotl(0, 0);
65495   ;
65496   return 0;
65497 }
65498 _ACEOF
65499 if ac_fn_cxx_try_compile "$LINENO"; then :
65500   glibcxx_cv_func_hypotl_use=yes
65501 else
65502   glibcxx_cv_func_hypotl_use=no
65503 fi
65504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65505       ac_ext=c
65506 ac_cpp='$CPP $CPPFLAGS'
65507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65510
65511
65512 fi
65513
65514   fi
65515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65516 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65517
65518   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65519     for ac_func in hypotl
65520 do :
65521   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65522 if test "x$ac_cv_func_hypotl" = xyes; then :
65523   cat >>confdefs.h <<_ACEOF
65524 #define HAVE_HYPOTL 1
65525 _ACEOF
65526
65527 fi
65528 done
65529
65530   else
65531
65532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65533 $as_echo_n "checking for _hypotl declaration... " >&6; }
65534   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65535     if ${glibcxx_cv_func__hypotl_use+:} false; then :
65536   $as_echo_n "(cached) " >&6
65537 else
65538
65539
65540       ac_ext=cpp
65541 ac_cpp='$CXXCPP $CPPFLAGS'
65542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65545
65546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65547 /* end confdefs.h.  */
65548 #include <math.h>
65549 int
65550 main ()
65551 {
65552  _hypotl(0, 0);
65553   ;
65554   return 0;
65555 }
65556 _ACEOF
65557 if ac_fn_cxx_try_compile "$LINENO"; then :
65558   glibcxx_cv_func__hypotl_use=yes
65559 else
65560   glibcxx_cv_func__hypotl_use=no
65561 fi
65562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65563       ac_ext=c
65564 ac_cpp='$CPP $CPPFLAGS'
65565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65568
65569
65570 fi
65571
65572   fi
65573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65574 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65575
65576     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65577       for ac_func in _hypotl
65578 do :
65579   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65580 if test "x$ac_cv_func__hypotl" = xyes; then :
65581   cat >>confdefs.h <<_ACEOF
65582 #define HAVE__HYPOTL 1
65583 _ACEOF
65584
65585 fi
65586 done
65587
65588     fi
65589   fi
65590
65591
65592
65593
65594
65595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65596 $as_echo_n "checking for ldexpl declaration... " >&6; }
65597   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65598     if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65599   $as_echo_n "(cached) " >&6
65600 else
65601
65602
65603       ac_ext=cpp
65604 ac_cpp='$CXXCPP $CPPFLAGS'
65605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65608
65609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65610 /* end confdefs.h.  */
65611 #include <math.h>
65612 int
65613 main ()
65614 {
65615  ldexpl(0, 0);
65616   ;
65617   return 0;
65618 }
65619 _ACEOF
65620 if ac_fn_cxx_try_compile "$LINENO"; then :
65621   glibcxx_cv_func_ldexpl_use=yes
65622 else
65623   glibcxx_cv_func_ldexpl_use=no
65624 fi
65625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65626       ac_ext=c
65627 ac_cpp='$CPP $CPPFLAGS'
65628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65631
65632
65633 fi
65634
65635   fi
65636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65637 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65638
65639   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65640     for ac_func in ldexpl
65641 do :
65642   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65643 if test "x$ac_cv_func_ldexpl" = xyes; then :
65644   cat >>confdefs.h <<_ACEOF
65645 #define HAVE_LDEXPL 1
65646 _ACEOF
65647
65648 fi
65649 done
65650
65651   else
65652
65653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65654 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65655   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65656     if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65657   $as_echo_n "(cached) " >&6
65658 else
65659
65660
65661       ac_ext=cpp
65662 ac_cpp='$CXXCPP $CPPFLAGS'
65663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65666
65667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65668 /* end confdefs.h.  */
65669 #include <math.h>
65670 int
65671 main ()
65672 {
65673  _ldexpl(0, 0);
65674   ;
65675   return 0;
65676 }
65677 _ACEOF
65678 if ac_fn_cxx_try_compile "$LINENO"; then :
65679   glibcxx_cv_func__ldexpl_use=yes
65680 else
65681   glibcxx_cv_func__ldexpl_use=no
65682 fi
65683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65684       ac_ext=c
65685 ac_cpp='$CPP $CPPFLAGS'
65686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65689
65690
65691 fi
65692
65693   fi
65694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65695 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65696
65697     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65698       for ac_func in _ldexpl
65699 do :
65700   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65701 if test "x$ac_cv_func__ldexpl" = xyes; then :
65702   cat >>confdefs.h <<_ACEOF
65703 #define HAVE__LDEXPL 1
65704 _ACEOF
65705
65706 fi
65707 done
65708
65709     fi
65710   fi
65711
65712
65713
65714
65715
65716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65717 $as_echo_n "checking for logl declaration... " >&6; }
65718   if test x${glibcxx_cv_func_logl_use+set} != xset; then
65719     if ${glibcxx_cv_func_logl_use+:} false; then :
65720   $as_echo_n "(cached) " >&6
65721 else
65722
65723
65724       ac_ext=cpp
65725 ac_cpp='$CXXCPP $CPPFLAGS'
65726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65729
65730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65731 /* end confdefs.h.  */
65732 #include <math.h>
65733                       #ifdef HAVE_IEEEFP_H
65734                       #include <ieeefp.h>
65735                       #endif
65736
65737 int
65738 main ()
65739 {
65740  logl(0);
65741   ;
65742   return 0;
65743 }
65744 _ACEOF
65745 if ac_fn_cxx_try_compile "$LINENO"; then :
65746   glibcxx_cv_func_logl_use=yes
65747 else
65748   glibcxx_cv_func_logl_use=no
65749 fi
65750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65751       ac_ext=c
65752 ac_cpp='$CPP $CPPFLAGS'
65753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65756
65757
65758 fi
65759
65760   fi
65761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65762 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65763
65764   if test x$glibcxx_cv_func_logl_use = x"yes"; then
65765     for ac_func in logl
65766 do :
65767   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65768 if test "x$ac_cv_func_logl" = xyes; then :
65769   cat >>confdefs.h <<_ACEOF
65770 #define HAVE_LOGL 1
65771 _ACEOF
65772
65773 fi
65774 done
65775
65776   else
65777
65778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65779 $as_echo_n "checking for _logl declaration... " >&6; }
65780   if test x${glibcxx_cv_func__logl_use+set} != xset; then
65781     if ${glibcxx_cv_func__logl_use+:} false; then :
65782   $as_echo_n "(cached) " >&6
65783 else
65784
65785
65786       ac_ext=cpp
65787 ac_cpp='$CXXCPP $CPPFLAGS'
65788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65791
65792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65793 /* end confdefs.h.  */
65794 #include <math.h>
65795                       #ifdef HAVE_IEEEFP_H
65796                       #include <ieeefp.h>
65797                       #endif
65798
65799 int
65800 main ()
65801 {
65802  _logl(0);
65803   ;
65804   return 0;
65805 }
65806 _ACEOF
65807 if ac_fn_cxx_try_compile "$LINENO"; then :
65808   glibcxx_cv_func__logl_use=yes
65809 else
65810   glibcxx_cv_func__logl_use=no
65811 fi
65812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65813       ac_ext=c
65814 ac_cpp='$CPP $CPPFLAGS'
65815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65818
65819
65820 fi
65821
65822   fi
65823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65824 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65825
65826     if test x$glibcxx_cv_func__logl_use = x"yes"; then
65827       for ac_func in _logl
65828 do :
65829   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65830 if test "x$ac_cv_func__logl" = xyes; then :
65831   cat >>confdefs.h <<_ACEOF
65832 #define HAVE__LOGL 1
65833 _ACEOF
65834
65835 fi
65836 done
65837
65838     fi
65839   fi
65840
65841
65842
65843
65844
65845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65846 $as_echo_n "checking for log10l declaration... " >&6; }
65847   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65848     if ${glibcxx_cv_func_log10l_use+:} false; then :
65849   $as_echo_n "(cached) " >&6
65850 else
65851
65852
65853       ac_ext=cpp
65854 ac_cpp='$CXXCPP $CPPFLAGS'
65855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65858
65859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65860 /* end confdefs.h.  */
65861 #include <math.h>
65862                       #ifdef HAVE_IEEEFP_H
65863                       #include <ieeefp.h>
65864                       #endif
65865
65866 int
65867 main ()
65868 {
65869  log10l(0);
65870   ;
65871   return 0;
65872 }
65873 _ACEOF
65874 if ac_fn_cxx_try_compile "$LINENO"; then :
65875   glibcxx_cv_func_log10l_use=yes
65876 else
65877   glibcxx_cv_func_log10l_use=no
65878 fi
65879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65880       ac_ext=c
65881 ac_cpp='$CPP $CPPFLAGS'
65882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65885
65886
65887 fi
65888
65889   fi
65890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65891 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65892
65893   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65894     for ac_func in log10l
65895 do :
65896   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65897 if test "x$ac_cv_func_log10l" = xyes; then :
65898   cat >>confdefs.h <<_ACEOF
65899 #define HAVE_LOG10L 1
65900 _ACEOF
65901
65902 fi
65903 done
65904
65905   else
65906
65907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65908 $as_echo_n "checking for _log10l declaration... " >&6; }
65909   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65910     if ${glibcxx_cv_func__log10l_use+:} false; then :
65911   $as_echo_n "(cached) " >&6
65912 else
65913
65914
65915       ac_ext=cpp
65916 ac_cpp='$CXXCPP $CPPFLAGS'
65917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65920
65921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65922 /* end confdefs.h.  */
65923 #include <math.h>
65924                       #ifdef HAVE_IEEEFP_H
65925                       #include <ieeefp.h>
65926                       #endif
65927
65928 int
65929 main ()
65930 {
65931  _log10l(0);
65932   ;
65933   return 0;
65934 }
65935 _ACEOF
65936 if ac_fn_cxx_try_compile "$LINENO"; then :
65937   glibcxx_cv_func__log10l_use=yes
65938 else
65939   glibcxx_cv_func__log10l_use=no
65940 fi
65941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65942       ac_ext=c
65943 ac_cpp='$CPP $CPPFLAGS'
65944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65947
65948
65949 fi
65950
65951   fi
65952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65953 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65954
65955     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65956       for ac_func in _log10l
65957 do :
65958   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65959 if test "x$ac_cv_func__log10l" = xyes; then :
65960   cat >>confdefs.h <<_ACEOF
65961 #define HAVE__LOG10L 1
65962 _ACEOF
65963
65964 fi
65965 done
65966
65967     fi
65968   fi
65969
65970
65971
65972
65973
65974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65975 $as_echo_n "checking for modfl declaration... " >&6; }
65976   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65977     if ${glibcxx_cv_func_modfl_use+:} false; then :
65978   $as_echo_n "(cached) " >&6
65979 else
65980
65981
65982       ac_ext=cpp
65983 ac_cpp='$CXXCPP $CPPFLAGS'
65984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65987
65988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65989 /* end confdefs.h.  */
65990 #include <math.h>
65991 int
65992 main ()
65993 {
65994  modfl(0, 0);
65995   ;
65996   return 0;
65997 }
65998 _ACEOF
65999 if ac_fn_cxx_try_compile "$LINENO"; then :
66000   glibcxx_cv_func_modfl_use=yes
66001 else
66002   glibcxx_cv_func_modfl_use=no
66003 fi
66004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66005       ac_ext=c
66006 ac_cpp='$CPP $CPPFLAGS'
66007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66010
66011
66012 fi
66013
66014   fi
66015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66016 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66017
66018   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66019     for ac_func in modfl
66020 do :
66021   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66022 if test "x$ac_cv_func_modfl" = xyes; then :
66023   cat >>confdefs.h <<_ACEOF
66024 #define HAVE_MODFL 1
66025 _ACEOF
66026
66027 fi
66028 done
66029
66030   else
66031
66032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66033 $as_echo_n "checking for _modfl declaration... " >&6; }
66034   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66035     if ${glibcxx_cv_func__modfl_use+:} false; then :
66036   $as_echo_n "(cached) " >&6
66037 else
66038
66039
66040       ac_ext=cpp
66041 ac_cpp='$CXXCPP $CPPFLAGS'
66042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66045
66046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66047 /* end confdefs.h.  */
66048 #include <math.h>
66049 int
66050 main ()
66051 {
66052  _modfl(0, 0);
66053   ;
66054   return 0;
66055 }
66056 _ACEOF
66057 if ac_fn_cxx_try_compile "$LINENO"; then :
66058   glibcxx_cv_func__modfl_use=yes
66059 else
66060   glibcxx_cv_func__modfl_use=no
66061 fi
66062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66063       ac_ext=c
66064 ac_cpp='$CPP $CPPFLAGS'
66065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66068
66069
66070 fi
66071
66072   fi
66073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66074 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66075
66076     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66077       for ac_func in _modfl
66078 do :
66079   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66080 if test "x$ac_cv_func__modfl" = xyes; then :
66081   cat >>confdefs.h <<_ACEOF
66082 #define HAVE__MODFL 1
66083 _ACEOF
66084
66085 fi
66086 done
66087
66088     fi
66089   fi
66090
66091
66092
66093
66094
66095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66096 $as_echo_n "checking for powl declaration... " >&6; }
66097   if test x${glibcxx_cv_func_powl_use+set} != xset; then
66098     if ${glibcxx_cv_func_powl_use+:} false; then :
66099   $as_echo_n "(cached) " >&6
66100 else
66101
66102
66103       ac_ext=cpp
66104 ac_cpp='$CXXCPP $CPPFLAGS'
66105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66108
66109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66110 /* end confdefs.h.  */
66111 #include <math.h>
66112 int
66113 main ()
66114 {
66115  powl(0, 0);
66116   ;
66117   return 0;
66118 }
66119 _ACEOF
66120 if ac_fn_cxx_try_compile "$LINENO"; then :
66121   glibcxx_cv_func_powl_use=yes
66122 else
66123   glibcxx_cv_func_powl_use=no
66124 fi
66125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66126       ac_ext=c
66127 ac_cpp='$CPP $CPPFLAGS'
66128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66131
66132
66133 fi
66134
66135   fi
66136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66137 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66138
66139   if test x$glibcxx_cv_func_powl_use = x"yes"; then
66140     for ac_func in powl
66141 do :
66142   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66143 if test "x$ac_cv_func_powl" = xyes; then :
66144   cat >>confdefs.h <<_ACEOF
66145 #define HAVE_POWL 1
66146 _ACEOF
66147
66148 fi
66149 done
66150
66151   else
66152
66153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66154 $as_echo_n "checking for _powl declaration... " >&6; }
66155   if test x${glibcxx_cv_func__powl_use+set} != xset; then
66156     if ${glibcxx_cv_func__powl_use+:} false; then :
66157   $as_echo_n "(cached) " >&6
66158 else
66159
66160
66161       ac_ext=cpp
66162 ac_cpp='$CXXCPP $CPPFLAGS'
66163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66166
66167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66168 /* end confdefs.h.  */
66169 #include <math.h>
66170 int
66171 main ()
66172 {
66173  _powl(0, 0);
66174   ;
66175   return 0;
66176 }
66177 _ACEOF
66178 if ac_fn_cxx_try_compile "$LINENO"; then :
66179   glibcxx_cv_func__powl_use=yes
66180 else
66181   glibcxx_cv_func__powl_use=no
66182 fi
66183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66184       ac_ext=c
66185 ac_cpp='$CPP $CPPFLAGS'
66186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66189
66190
66191 fi
66192
66193   fi
66194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66195 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66196
66197     if test x$glibcxx_cv_func__powl_use = x"yes"; then
66198       for ac_func in _powl
66199 do :
66200   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66201 if test "x$ac_cv_func__powl" = xyes; then :
66202   cat >>confdefs.h <<_ACEOF
66203 #define HAVE__POWL 1
66204 _ACEOF
66205
66206 fi
66207 done
66208
66209     fi
66210   fi
66211
66212
66213
66214
66215
66216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66217 $as_echo_n "checking for sqrtl declaration... " >&6; }
66218   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66219     if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66220   $as_echo_n "(cached) " >&6
66221 else
66222
66223
66224       ac_ext=cpp
66225 ac_cpp='$CXXCPP $CPPFLAGS'
66226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66229
66230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66231 /* end confdefs.h.  */
66232 #include <math.h>
66233                       #ifdef HAVE_IEEEFP_H
66234                       #include <ieeefp.h>
66235                       #endif
66236
66237 int
66238 main ()
66239 {
66240  sqrtl(0);
66241   ;
66242   return 0;
66243 }
66244 _ACEOF
66245 if ac_fn_cxx_try_compile "$LINENO"; then :
66246   glibcxx_cv_func_sqrtl_use=yes
66247 else
66248   glibcxx_cv_func_sqrtl_use=no
66249 fi
66250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66251       ac_ext=c
66252 ac_cpp='$CPP $CPPFLAGS'
66253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66256
66257
66258 fi
66259
66260   fi
66261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66262 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66263
66264   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66265     for ac_func in sqrtl
66266 do :
66267   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66268 if test "x$ac_cv_func_sqrtl" = xyes; then :
66269   cat >>confdefs.h <<_ACEOF
66270 #define HAVE_SQRTL 1
66271 _ACEOF
66272
66273 fi
66274 done
66275
66276   else
66277
66278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66279 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66280   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66281     if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66282   $as_echo_n "(cached) " >&6
66283 else
66284
66285
66286       ac_ext=cpp
66287 ac_cpp='$CXXCPP $CPPFLAGS'
66288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66291
66292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66293 /* end confdefs.h.  */
66294 #include <math.h>
66295                       #ifdef HAVE_IEEEFP_H
66296                       #include <ieeefp.h>
66297                       #endif
66298
66299 int
66300 main ()
66301 {
66302  _sqrtl(0);
66303   ;
66304   return 0;
66305 }
66306 _ACEOF
66307 if ac_fn_cxx_try_compile "$LINENO"; then :
66308   glibcxx_cv_func__sqrtl_use=yes
66309 else
66310   glibcxx_cv_func__sqrtl_use=no
66311 fi
66312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66313       ac_ext=c
66314 ac_cpp='$CPP $CPPFLAGS'
66315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66318
66319
66320 fi
66321
66322   fi
66323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66324 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66325
66326     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66327       for ac_func in _sqrtl
66328 do :
66329   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66330 if test "x$ac_cv_func__sqrtl" = xyes; then :
66331   cat >>confdefs.h <<_ACEOF
66332 #define HAVE__SQRTL 1
66333 _ACEOF
66334
66335 fi
66336 done
66337
66338     fi
66339   fi
66340
66341
66342
66343
66344
66345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66346 $as_echo_n "checking for sincosl declaration... " >&6; }
66347   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66348     if ${glibcxx_cv_func_sincosl_use+:} false; then :
66349   $as_echo_n "(cached) " >&6
66350 else
66351
66352
66353       ac_ext=cpp
66354 ac_cpp='$CXXCPP $CPPFLAGS'
66355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66358
66359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66360 /* end confdefs.h.  */
66361 #include <math.h>
66362 int
66363 main ()
66364 {
66365  sincosl(0, 0, 0);
66366   ;
66367   return 0;
66368 }
66369 _ACEOF
66370 if ac_fn_cxx_try_compile "$LINENO"; then :
66371   glibcxx_cv_func_sincosl_use=yes
66372 else
66373   glibcxx_cv_func_sincosl_use=no
66374 fi
66375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66376       ac_ext=c
66377 ac_cpp='$CPP $CPPFLAGS'
66378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66381
66382
66383 fi
66384
66385   fi
66386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66387 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66388
66389   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66390     for ac_func in sincosl
66391 do :
66392   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66393 if test "x$ac_cv_func_sincosl" = xyes; then :
66394   cat >>confdefs.h <<_ACEOF
66395 #define HAVE_SINCOSL 1
66396 _ACEOF
66397
66398 fi
66399 done
66400
66401   else
66402
66403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66404 $as_echo_n "checking for _sincosl declaration... " >&6; }
66405   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66406     if ${glibcxx_cv_func__sincosl_use+:} false; then :
66407   $as_echo_n "(cached) " >&6
66408 else
66409
66410
66411       ac_ext=cpp
66412 ac_cpp='$CXXCPP $CPPFLAGS'
66413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66416
66417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66418 /* end confdefs.h.  */
66419 #include <math.h>
66420 int
66421 main ()
66422 {
66423  _sincosl(0, 0, 0);
66424   ;
66425   return 0;
66426 }
66427 _ACEOF
66428 if ac_fn_cxx_try_compile "$LINENO"; then :
66429   glibcxx_cv_func__sincosl_use=yes
66430 else
66431   glibcxx_cv_func__sincosl_use=no
66432 fi
66433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66434       ac_ext=c
66435 ac_cpp='$CPP $CPPFLAGS'
66436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66439
66440
66441 fi
66442
66443   fi
66444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66445 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66446
66447     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66448       for ac_func in _sincosl
66449 do :
66450   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66451 if test "x$ac_cv_func__sincosl" = xyes; then :
66452   cat >>confdefs.h <<_ACEOF
66453 #define HAVE__SINCOSL 1
66454 _ACEOF
66455
66456 fi
66457 done
66458
66459     fi
66460   fi
66461
66462
66463
66464
66465
66466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66467 $as_echo_n "checking for finitel declaration... " >&6; }
66468   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66469     if ${glibcxx_cv_func_finitel_use+:} false; then :
66470   $as_echo_n "(cached) " >&6
66471 else
66472
66473
66474       ac_ext=cpp
66475 ac_cpp='$CXXCPP $CPPFLAGS'
66476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66479
66480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66481 /* end confdefs.h.  */
66482 #include <math.h>
66483                       #ifdef HAVE_IEEEFP_H
66484                       #include <ieeefp.h>
66485                       #endif
66486
66487 int
66488 main ()
66489 {
66490  finitel(0);
66491   ;
66492   return 0;
66493 }
66494 _ACEOF
66495 if ac_fn_cxx_try_compile "$LINENO"; then :
66496   glibcxx_cv_func_finitel_use=yes
66497 else
66498   glibcxx_cv_func_finitel_use=no
66499 fi
66500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66501       ac_ext=c
66502 ac_cpp='$CPP $CPPFLAGS'
66503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66506
66507
66508 fi
66509
66510   fi
66511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66512 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66513
66514   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66515     for ac_func in finitel
66516 do :
66517   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66518 if test "x$ac_cv_func_finitel" = xyes; then :
66519   cat >>confdefs.h <<_ACEOF
66520 #define HAVE_FINITEL 1
66521 _ACEOF
66522
66523 fi
66524 done
66525
66526   else
66527
66528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66529 $as_echo_n "checking for _finitel declaration... " >&6; }
66530   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66531     if ${glibcxx_cv_func__finitel_use+:} false; then :
66532   $as_echo_n "(cached) " >&6
66533 else
66534
66535
66536       ac_ext=cpp
66537 ac_cpp='$CXXCPP $CPPFLAGS'
66538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66541
66542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66543 /* end confdefs.h.  */
66544 #include <math.h>
66545                       #ifdef HAVE_IEEEFP_H
66546                       #include <ieeefp.h>
66547                       #endif
66548
66549 int
66550 main ()
66551 {
66552  _finitel(0);
66553   ;
66554   return 0;
66555 }
66556 _ACEOF
66557 if ac_fn_cxx_try_compile "$LINENO"; then :
66558   glibcxx_cv_func__finitel_use=yes
66559 else
66560   glibcxx_cv_func__finitel_use=no
66561 fi
66562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66563       ac_ext=c
66564 ac_cpp='$CPP $CPPFLAGS'
66565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66568
66569
66570 fi
66571
66572   fi
66573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66574 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66575
66576     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66577       for ac_func in _finitel
66578 do :
66579   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66580 if test "x$ac_cv_func__finitel" = xyes; then :
66581   cat >>confdefs.h <<_ACEOF
66582 #define HAVE__FINITEL 1
66583 _ACEOF
66584
66585 fi
66586 done
66587
66588     fi
66589   fi
66590
66591
66592
66593
66594   LIBS="$ac_save_LIBS"
66595   CXXFLAGS="$ac_save_CXXFLAGS"
66596
66597
66598   ac_test_CXXFLAGS="${CXXFLAGS+set}"
66599   ac_save_CXXFLAGS="$CXXFLAGS"
66600   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66601
66602
66603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66604 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66605   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66606     if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66607   $as_echo_n "(cached) " >&6
66608 else
66609
66610
66611       ac_ext=cpp
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66616
66617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66618 /* end confdefs.h.  */
66619 #include <stdlib.h>
66620 int
66621 main ()
66622 {
66623  at_quick_exit(0);
66624   ;
66625   return 0;
66626 }
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629   glibcxx_cv_func_at_quick_exit_use=yes
66630 else
66631   glibcxx_cv_func_at_quick_exit_use=no
66632 fi
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634       ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66639
66640
66641 fi
66642
66643   fi
66644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66645 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66646   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66647     for ac_func in at_quick_exit
66648 do :
66649   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66650 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66651   cat >>confdefs.h <<_ACEOF
66652 #define HAVE_AT_QUICK_EXIT 1
66653 _ACEOF
66654
66655 fi
66656 done
66657
66658   fi
66659
66660
66661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66662 $as_echo_n "checking for quick_exit declaration... " >&6; }
66663   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66664     if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66665   $as_echo_n "(cached) " >&6
66666 else
66667
66668
66669       ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674
66675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h.  */
66677 #include <stdlib.h>
66678 int
66679 main ()
66680 {
66681  quick_exit(0);
66682   ;
66683   return 0;
66684 }
66685 _ACEOF
66686 if ac_fn_cxx_try_compile "$LINENO"; then :
66687   glibcxx_cv_func_quick_exit_use=yes
66688 else
66689   glibcxx_cv_func_quick_exit_use=no
66690 fi
66691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66692       ac_ext=c
66693 ac_cpp='$CPP $CPPFLAGS'
66694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697
66698
66699 fi
66700
66701   fi
66702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66703 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66704   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66705     for ac_func in quick_exit
66706 do :
66707   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66708 if test "x$ac_cv_func_quick_exit" = xyes; then :
66709   cat >>confdefs.h <<_ACEOF
66710 #define HAVE_QUICK_EXIT 1
66711 _ACEOF
66712
66713 fi
66714 done
66715
66716   fi
66717
66718
66719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66720 $as_echo_n "checking for strtold declaration... " >&6; }
66721   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66722     if ${glibcxx_cv_func_strtold_use+:} false; then :
66723   $as_echo_n "(cached) " >&6
66724 else
66725
66726
66727       ac_ext=cpp
66728 ac_cpp='$CXXCPP $CPPFLAGS'
66729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66732
66733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66734 /* end confdefs.h.  */
66735 #include <stdlib.h>
66736 int
66737 main ()
66738 {
66739  strtold(0, 0);
66740   ;
66741   return 0;
66742 }
66743 _ACEOF
66744 if ac_fn_cxx_try_compile "$LINENO"; then :
66745   glibcxx_cv_func_strtold_use=yes
66746 else
66747   glibcxx_cv_func_strtold_use=no
66748 fi
66749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66750       ac_ext=c
66751 ac_cpp='$CPP $CPPFLAGS'
66752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66755
66756
66757 fi
66758
66759   fi
66760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66761 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66762   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66763     for ac_func in strtold
66764 do :
66765   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66766 if test "x$ac_cv_func_strtold" = xyes; then :
66767   cat >>confdefs.h <<_ACEOF
66768 #define HAVE_STRTOLD 1
66769 _ACEOF
66770
66771 fi
66772 done
66773
66774   fi
66775
66776
66777
66778
66779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66780 $as_echo_n "checking for strtof declaration... " >&6; }
66781   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66782     if ${glibcxx_cv_func_strtof_use+:} false; then :
66783   $as_echo_n "(cached) " >&6
66784 else
66785
66786
66787       ac_ext=cpp
66788 ac_cpp='$CXXCPP $CPPFLAGS'
66789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66792
66793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66794 /* end confdefs.h.  */
66795 #include <stdlib.h>
66796 int
66797 main ()
66798 {
66799  strtof(0, 0);
66800   ;
66801   return 0;
66802 }
66803 _ACEOF
66804 if ac_fn_cxx_try_compile "$LINENO"; then :
66805   glibcxx_cv_func_strtof_use=yes
66806 else
66807   glibcxx_cv_func_strtof_use=no
66808 fi
66809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66810       ac_ext=c
66811 ac_cpp='$CPP $CPPFLAGS'
66812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66815
66816
66817 fi
66818
66819   fi
66820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66821 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66822   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66823     for ac_func in strtof
66824 do :
66825   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66826 if test "x$ac_cv_func_strtof" = xyes; then :
66827   cat >>confdefs.h <<_ACEOF
66828 #define HAVE_STRTOF 1
66829 _ACEOF
66830
66831 fi
66832 done
66833
66834   fi
66835
66836
66837
66838
66839   CXXFLAGS="$ac_save_CXXFLAGS"
66840
66841     ;;
66842   *-vxworks*)
66843     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
66844
66845     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
66846
66847     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
66848
66849     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
66850
66851     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
66852
66853     $as_echo "#define HAVE_COSF 1" >>confdefs.h
66854
66855     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66856
66857     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
66858
66859     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
66860
66861     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
66862
66863     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
66864
66865     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
66866
66867     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66868
66869     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66870
66871     $as_echo "#define HAVE_POWF 1" >>confdefs.h
66872
66873     $as_echo "#define HAVE_SINF 1" >>confdefs.h
66874
66875     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66876
66877     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
66878
66879     $as_echo "#define HAVE_TANF 1" >>confdefs.h
66880
66881     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
66882
66883
66884
66885
66886
66887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
66888 $as_echo_n "checking for acosl declaration... " >&6; }
66889 if ${glibcxx_cv_func_acosl_use+:} false; then :
66890   $as_echo_n "(cached) " >&6
66891 else
66892
66893
66894       ac_ext=c
66895 ac_cpp='$CPP $CPPFLAGS'
66896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66899
66900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66901 /* end confdefs.h.  */
66902
66903 #include <math.h>
66904 #ifdef HAVE_IEEEFP_H
66905 # include <ieeefp.h>
66906 #endif
66907 #undef acosl
66908
66909 int
66910 main ()
66911 {
66912
66913   void (*f)(void) = (void (*)(void))acosl;
66914
66915   ;
66916   return 0;
66917 }
66918 _ACEOF
66919 if ac_fn_c_try_compile "$LINENO"; then :
66920   glibcxx_cv_func_acosl_use=yes
66921
66922 else
66923   glibcxx_cv_func_acosl_use=no
66924 fi
66925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66926 fi
66927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
66928 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
66929   if test "x$glibcxx_cv_func_acosl_use" = xyes; then
66930     cat >>confdefs.h <<_ACEOF
66931 #define HAVE_ACOSL 1
66932 _ACEOF
66933
66934   fi
66935
66936
66937
66938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
66939 $as_echo_n "checking for asinl declaration... " >&6; }
66940 if ${glibcxx_cv_func_asinl_use+:} false; then :
66941   $as_echo_n "(cached) " >&6
66942 else
66943
66944
66945       ac_ext=c
66946 ac_cpp='$CPP $CPPFLAGS'
66947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950
66951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66952 /* end confdefs.h.  */
66953
66954 #include <math.h>
66955 #ifdef HAVE_IEEEFP_H
66956 # include <ieeefp.h>
66957 #endif
66958 #undef asinl
66959
66960 int
66961 main ()
66962 {
66963
66964   void (*f)(void) = (void (*)(void))asinl;
66965
66966   ;
66967   return 0;
66968 }
66969 _ACEOF
66970 if ac_fn_c_try_compile "$LINENO"; then :
66971   glibcxx_cv_func_asinl_use=yes
66972
66973 else
66974   glibcxx_cv_func_asinl_use=no
66975 fi
66976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66977 fi
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
66979 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
66980   if test "x$glibcxx_cv_func_asinl_use" = xyes; then
66981     cat >>confdefs.h <<_ACEOF
66982 #define HAVE_ASINL 1
66983 _ACEOF
66984
66985   fi
66986
66987
66988
66989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66990 $as_echo_n "checking for atan2l declaration... " >&6; }
66991 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66992   $as_echo_n "(cached) " >&6
66993 else
66994
66995
66996       ac_ext=c
66997 ac_cpp='$CPP $CPPFLAGS'
66998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67001
67002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67003 /* end confdefs.h.  */
67004
67005 #include <math.h>
67006 #ifdef HAVE_IEEEFP_H
67007 # include <ieeefp.h>
67008 #endif
67009 #undef atan2l
67010
67011 int
67012 main ()
67013 {
67014
67015   void (*f)(void) = (void (*)(void))atan2l;
67016
67017   ;
67018   return 0;
67019 }
67020 _ACEOF
67021 if ac_fn_c_try_compile "$LINENO"; then :
67022   glibcxx_cv_func_atan2l_use=yes
67023
67024 else
67025   glibcxx_cv_func_atan2l_use=no
67026 fi
67027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67028 fi
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67030 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67031   if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
67032     cat >>confdefs.h <<_ACEOF
67033 #define HAVE_ATAN2L 1
67034 _ACEOF
67035
67036   fi
67037
67038
67039
67040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
67041 $as_echo_n "checking for atanl declaration... " >&6; }
67042 if ${glibcxx_cv_func_atanl_use+:} false; then :
67043   $as_echo_n "(cached) " >&6
67044 else
67045
67046
67047       ac_ext=c
67048 ac_cpp='$CPP $CPPFLAGS'
67049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67052
67053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h.  */
67055
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 # include <ieeefp.h>
67059 #endif
67060 #undef atanl
67061
67062 int
67063 main ()
67064 {
67065
67066   void (*f)(void) = (void (*)(void))atanl;
67067
67068   ;
67069   return 0;
67070 }
67071 _ACEOF
67072 if ac_fn_c_try_compile "$LINENO"; then :
67073   glibcxx_cv_func_atanl_use=yes
67074
67075 else
67076   glibcxx_cv_func_atanl_use=no
67077 fi
67078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67079 fi
67080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67081 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67082   if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67083     cat >>confdefs.h <<_ACEOF
67084 #define HAVE_ATANL 1
67085 _ACEOF
67086
67087   fi
67088
67089
67090
67091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67092 $as_echo_n "checking for ceill declaration... " >&6; }
67093 if ${glibcxx_cv_func_ceill_use+:} false; then :
67094   $as_echo_n "(cached) " >&6
67095 else
67096
67097
67098       ac_ext=c
67099 ac_cpp='$CPP $CPPFLAGS'
67100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67103
67104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67105 /* end confdefs.h.  */
67106
67107 #include <math.h>
67108 #ifdef HAVE_IEEEFP_H
67109 # include <ieeefp.h>
67110 #endif
67111 #undef ceill
67112
67113 int
67114 main ()
67115 {
67116
67117   void (*f)(void) = (void (*)(void))ceill;
67118
67119   ;
67120   return 0;
67121 }
67122 _ACEOF
67123 if ac_fn_c_try_compile "$LINENO"; then :
67124   glibcxx_cv_func_ceill_use=yes
67125
67126 else
67127   glibcxx_cv_func_ceill_use=no
67128 fi
67129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67130 fi
67131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67132 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67133   if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67134     cat >>confdefs.h <<_ACEOF
67135 #define HAVE_CEILL 1
67136 _ACEOF
67137
67138   fi
67139
67140
67141
67142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67143 $as_echo_n "checking for cosl declaration... " >&6; }
67144 if ${glibcxx_cv_func_cosl_use+:} false; then :
67145   $as_echo_n "(cached) " >&6
67146 else
67147
67148
67149       ac_ext=c
67150 ac_cpp='$CPP $CPPFLAGS'
67151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67154
67155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67156 /* end confdefs.h.  */
67157
67158 #include <math.h>
67159 #ifdef HAVE_IEEEFP_H
67160 # include <ieeefp.h>
67161 #endif
67162 #undef cosl
67163
67164 int
67165 main ()
67166 {
67167
67168   void (*f)(void) = (void (*)(void))cosl;
67169
67170   ;
67171   return 0;
67172 }
67173 _ACEOF
67174 if ac_fn_c_try_compile "$LINENO"; then :
67175   glibcxx_cv_func_cosl_use=yes
67176
67177 else
67178   glibcxx_cv_func_cosl_use=no
67179 fi
67180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67181 fi
67182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67183 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67184   if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67185     cat >>confdefs.h <<_ACEOF
67186 #define HAVE_COSL 1
67187 _ACEOF
67188
67189   fi
67190
67191
67192
67193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67194 $as_echo_n "checking for coshl declaration... " >&6; }
67195 if ${glibcxx_cv_func_coshl_use+:} false; then :
67196   $as_echo_n "(cached) " >&6
67197 else
67198
67199
67200       ac_ext=c
67201 ac_cpp='$CPP $CPPFLAGS'
67202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67205
67206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67207 /* end confdefs.h.  */
67208
67209 #include <math.h>
67210 #ifdef HAVE_IEEEFP_H
67211 # include <ieeefp.h>
67212 #endif
67213 #undef coshl
67214
67215 int
67216 main ()
67217 {
67218
67219   void (*f)(void) = (void (*)(void))coshl;
67220
67221   ;
67222   return 0;
67223 }
67224 _ACEOF
67225 if ac_fn_c_try_compile "$LINENO"; then :
67226   glibcxx_cv_func_coshl_use=yes
67227
67228 else
67229   glibcxx_cv_func_coshl_use=no
67230 fi
67231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67232 fi
67233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67234 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67235   if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67236     cat >>confdefs.h <<_ACEOF
67237 #define HAVE_COSHL 1
67238 _ACEOF
67239
67240   fi
67241
67242
67243
67244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67245 $as_echo_n "checking for expl declaration... " >&6; }
67246 if ${glibcxx_cv_func_expl_use+:} false; then :
67247   $as_echo_n "(cached) " >&6
67248 else
67249
67250
67251       ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67256
67257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67258 /* end confdefs.h.  */
67259
67260 #include <math.h>
67261 #ifdef HAVE_IEEEFP_H
67262 # include <ieeefp.h>
67263 #endif
67264 #undef expl
67265
67266 int
67267 main ()
67268 {
67269
67270   void (*f)(void) = (void (*)(void))expl;
67271
67272   ;
67273   return 0;
67274 }
67275 _ACEOF
67276 if ac_fn_c_try_compile "$LINENO"; then :
67277   glibcxx_cv_func_expl_use=yes
67278
67279 else
67280   glibcxx_cv_func_expl_use=no
67281 fi
67282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67283 fi
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67285 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67286   if test "x$glibcxx_cv_func_expl_use" = xyes; then
67287     cat >>confdefs.h <<_ACEOF
67288 #define HAVE_EXPL 1
67289 _ACEOF
67290
67291   fi
67292
67293
67294
67295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67296 $as_echo_n "checking for fabsl declaration... " >&6; }
67297 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67298   $as_echo_n "(cached) " >&6
67299 else
67300
67301
67302       ac_ext=c
67303 ac_cpp='$CPP $CPPFLAGS'
67304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67307
67308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67309 /* end confdefs.h.  */
67310
67311 #include <math.h>
67312 #ifdef HAVE_IEEEFP_H
67313 # include <ieeefp.h>
67314 #endif
67315 #undef fabsl
67316
67317 int
67318 main ()
67319 {
67320
67321   void (*f)(void) = (void (*)(void))fabsl;
67322
67323   ;
67324   return 0;
67325 }
67326 _ACEOF
67327 if ac_fn_c_try_compile "$LINENO"; then :
67328   glibcxx_cv_func_fabsl_use=yes
67329
67330 else
67331   glibcxx_cv_func_fabsl_use=no
67332 fi
67333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67334 fi
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67336 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67337   if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67338     cat >>confdefs.h <<_ACEOF
67339 #define HAVE_FABSL 1
67340 _ACEOF
67341
67342   fi
67343
67344
67345
67346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67347 $as_echo_n "checking for floorl declaration... " >&6; }
67348 if ${glibcxx_cv_func_floorl_use+:} false; then :
67349   $as_echo_n "(cached) " >&6
67350 else
67351
67352
67353       ac_ext=c
67354 ac_cpp='$CPP $CPPFLAGS'
67355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67358
67359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67360 /* end confdefs.h.  */
67361
67362 #include <math.h>
67363 #ifdef HAVE_IEEEFP_H
67364 # include <ieeefp.h>
67365 #endif
67366 #undef floorl
67367
67368 int
67369 main ()
67370 {
67371
67372   void (*f)(void) = (void (*)(void))floorl;
67373
67374   ;
67375   return 0;
67376 }
67377 _ACEOF
67378 if ac_fn_c_try_compile "$LINENO"; then :
67379   glibcxx_cv_func_floorl_use=yes
67380
67381 else
67382   glibcxx_cv_func_floorl_use=no
67383 fi
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385 fi
67386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67387 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67388   if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67389     cat >>confdefs.h <<_ACEOF
67390 #define HAVE_FLOORL 1
67391 _ACEOF
67392
67393   fi
67394
67395
67396
67397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67398 $as_echo_n "checking for fmodl declaration... " >&6; }
67399 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67400   $as_echo_n "(cached) " >&6
67401 else
67402
67403
67404       ac_ext=c
67405 ac_cpp='$CPP $CPPFLAGS'
67406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67409
67410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67411 /* end confdefs.h.  */
67412
67413 #include <math.h>
67414 #ifdef HAVE_IEEEFP_H
67415 # include <ieeefp.h>
67416 #endif
67417 #undef fmodl
67418
67419 int
67420 main ()
67421 {
67422
67423   void (*f)(void) = (void (*)(void))fmodl;
67424
67425   ;
67426   return 0;
67427 }
67428 _ACEOF
67429 if ac_fn_c_try_compile "$LINENO"; then :
67430   glibcxx_cv_func_fmodl_use=yes
67431
67432 else
67433   glibcxx_cv_func_fmodl_use=no
67434 fi
67435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67436 fi
67437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67438 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67439   if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67440     cat >>confdefs.h <<_ACEOF
67441 #define HAVE_FMODL 1
67442 _ACEOF
67443
67444   fi
67445
67446
67447
67448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67449 $as_echo_n "checking for frexpl declaration... " >&6; }
67450 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67451   $as_echo_n "(cached) " >&6
67452 else
67453
67454
67455       ac_ext=c
67456 ac_cpp='$CPP $CPPFLAGS'
67457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67460
67461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67462 /* end confdefs.h.  */
67463
67464 #include <math.h>
67465 #ifdef HAVE_IEEEFP_H
67466 # include <ieeefp.h>
67467 #endif
67468 #undef frexpl
67469
67470 int
67471 main ()
67472 {
67473
67474   void (*f)(void) = (void (*)(void))frexpl;
67475
67476   ;
67477   return 0;
67478 }
67479 _ACEOF
67480 if ac_fn_c_try_compile "$LINENO"; then :
67481   glibcxx_cv_func_frexpl_use=yes
67482
67483 else
67484   glibcxx_cv_func_frexpl_use=no
67485 fi
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 fi
67488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67489 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67490   if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67491     cat >>confdefs.h <<_ACEOF
67492 #define HAVE_FREXPL 1
67493 _ACEOF
67494
67495   fi
67496
67497
67498
67499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67500 $as_echo_n "checking for ldexpl declaration... " >&6; }
67501 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67502   $as_echo_n "(cached) " >&6
67503 else
67504
67505
67506       ac_ext=c
67507 ac_cpp='$CPP $CPPFLAGS'
67508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67511
67512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67513 /* end confdefs.h.  */
67514
67515 #include <math.h>
67516 #ifdef HAVE_IEEEFP_H
67517 # include <ieeefp.h>
67518 #endif
67519 #undef ldexpl
67520
67521 int
67522 main ()
67523 {
67524
67525   void (*f)(void) = (void (*)(void))ldexpl;
67526
67527   ;
67528   return 0;
67529 }
67530 _ACEOF
67531 if ac_fn_c_try_compile "$LINENO"; then :
67532   glibcxx_cv_func_ldexpl_use=yes
67533
67534 else
67535   glibcxx_cv_func_ldexpl_use=no
67536 fi
67537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67538 fi
67539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67540 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67541   if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
67542     cat >>confdefs.h <<_ACEOF
67543 #define HAVE_LDEXPL 1
67544 _ACEOF
67545
67546   fi
67547
67548
67549
67550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67551 $as_echo_n "checking for log10l declaration... " >&6; }
67552 if ${glibcxx_cv_func_log10l_use+:} false; then :
67553   $as_echo_n "(cached) " >&6
67554 else
67555
67556
67557       ac_ext=c
67558 ac_cpp='$CPP $CPPFLAGS'
67559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67562
67563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67564 /* end confdefs.h.  */
67565
67566 #include <math.h>
67567 #ifdef HAVE_IEEEFP_H
67568 # include <ieeefp.h>
67569 #endif
67570 #undef log10l
67571
67572 int
67573 main ()
67574 {
67575
67576   void (*f)(void) = (void (*)(void))log10l;
67577
67578   ;
67579   return 0;
67580 }
67581 _ACEOF
67582 if ac_fn_c_try_compile "$LINENO"; then :
67583   glibcxx_cv_func_log10l_use=yes
67584
67585 else
67586   glibcxx_cv_func_log10l_use=no
67587 fi
67588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67589 fi
67590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67591 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67592   if test "x$glibcxx_cv_func_log10l_use" = xyes; then
67593     cat >>confdefs.h <<_ACEOF
67594 #define HAVE_LOG10L 1
67595 _ACEOF
67596
67597   fi
67598
67599
67600
67601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67602 $as_echo_n "checking for logl declaration... " >&6; }
67603 if ${glibcxx_cv_func_logl_use+:} false; then :
67604   $as_echo_n "(cached) " >&6
67605 else
67606
67607
67608       ac_ext=c
67609 ac_cpp='$CPP $CPPFLAGS'
67610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67613
67614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67615 /* end confdefs.h.  */
67616
67617 #include <math.h>
67618 #ifdef HAVE_IEEEFP_H
67619 # include <ieeefp.h>
67620 #endif
67621 #undef logl
67622
67623 int
67624 main ()
67625 {
67626
67627   void (*f)(void) = (void (*)(void))logl;
67628
67629   ;
67630   return 0;
67631 }
67632 _ACEOF
67633 if ac_fn_c_try_compile "$LINENO"; then :
67634   glibcxx_cv_func_logl_use=yes
67635
67636 else
67637   glibcxx_cv_func_logl_use=no
67638 fi
67639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67640 fi
67641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67642 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67643   if test "x$glibcxx_cv_func_logl_use" = xyes; then
67644     cat >>confdefs.h <<_ACEOF
67645 #define HAVE_LOGL 1
67646 _ACEOF
67647
67648   fi
67649
67650
67651
67652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67653 $as_echo_n "checking for modfl declaration... " >&6; }
67654 if ${glibcxx_cv_func_modfl_use+:} false; then :
67655   $as_echo_n "(cached) " >&6
67656 else
67657
67658
67659       ac_ext=c
67660 ac_cpp='$CPP $CPPFLAGS'
67661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67664
67665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67666 /* end confdefs.h.  */
67667
67668 #include <math.h>
67669 #ifdef HAVE_IEEEFP_H
67670 # include <ieeefp.h>
67671 #endif
67672 #undef modfl
67673
67674 int
67675 main ()
67676 {
67677
67678   void (*f)(void) = (void (*)(void))modfl;
67679
67680   ;
67681   return 0;
67682 }
67683 _ACEOF
67684 if ac_fn_c_try_compile "$LINENO"; then :
67685   glibcxx_cv_func_modfl_use=yes
67686
67687 else
67688   glibcxx_cv_func_modfl_use=no
67689 fi
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 fi
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67693 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67694   if test "x$glibcxx_cv_func_modfl_use" = xyes; then
67695     cat >>confdefs.h <<_ACEOF
67696 #define HAVE_MODFL 1
67697 _ACEOF
67698
67699   fi
67700
67701
67702
67703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67704 $as_echo_n "checking for powl declaration... " >&6; }
67705 if ${glibcxx_cv_func_powl_use+:} false; then :
67706   $as_echo_n "(cached) " >&6
67707 else
67708
67709
67710       ac_ext=c
67711 ac_cpp='$CPP $CPPFLAGS'
67712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67715
67716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67717 /* end confdefs.h.  */
67718
67719 #include <math.h>
67720 #ifdef HAVE_IEEEFP_H
67721 # include <ieeefp.h>
67722 #endif
67723 #undef powl
67724
67725 int
67726 main ()
67727 {
67728
67729   void (*f)(void) = (void (*)(void))powl;
67730
67731   ;
67732   return 0;
67733 }
67734 _ACEOF
67735 if ac_fn_c_try_compile "$LINENO"; then :
67736   glibcxx_cv_func_powl_use=yes
67737
67738 else
67739   glibcxx_cv_func_powl_use=no
67740 fi
67741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67742 fi
67743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67744 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67745   if test "x$glibcxx_cv_func_powl_use" = xyes; then
67746     cat >>confdefs.h <<_ACEOF
67747 #define HAVE_POWL 1
67748 _ACEOF
67749
67750   fi
67751
67752
67753
67754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
67755 $as_echo_n "checking for sinl declaration... " >&6; }
67756 if ${glibcxx_cv_func_sinl_use+:} false; then :
67757   $as_echo_n "(cached) " >&6
67758 else
67759
67760
67761       ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766
67767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67768 /* end confdefs.h.  */
67769
67770 #include <math.h>
67771 #ifdef HAVE_IEEEFP_H
67772 # include <ieeefp.h>
67773 #endif
67774 #undef sinl
67775
67776 int
67777 main ()
67778 {
67779
67780   void (*f)(void) = (void (*)(void))sinl;
67781
67782   ;
67783   return 0;
67784 }
67785 _ACEOF
67786 if ac_fn_c_try_compile "$LINENO"; then :
67787   glibcxx_cv_func_sinl_use=yes
67788
67789 else
67790   glibcxx_cv_func_sinl_use=no
67791 fi
67792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67793 fi
67794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
67795 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
67796   if test "x$glibcxx_cv_func_sinl_use" = xyes; then
67797     cat >>confdefs.h <<_ACEOF
67798 #define HAVE_SINL 1
67799 _ACEOF
67800
67801   fi
67802
67803
67804
67805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
67806 $as_echo_n "checking for sinhl declaration... " >&6; }
67807 if ${glibcxx_cv_func_sinhl_use+:} false; then :
67808   $as_echo_n "(cached) " >&6
67809 else
67810
67811
67812       ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817
67818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67819 /* end confdefs.h.  */
67820
67821 #include <math.h>
67822 #ifdef HAVE_IEEEFP_H
67823 # include <ieeefp.h>
67824 #endif
67825 #undef sinhl
67826
67827 int
67828 main ()
67829 {
67830
67831   void (*f)(void) = (void (*)(void))sinhl;
67832
67833   ;
67834   return 0;
67835 }
67836 _ACEOF
67837 if ac_fn_c_try_compile "$LINENO"; then :
67838   glibcxx_cv_func_sinhl_use=yes
67839
67840 else
67841   glibcxx_cv_func_sinhl_use=no
67842 fi
67843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67844 fi
67845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
67846 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
67847   if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
67848     cat >>confdefs.h <<_ACEOF
67849 #define HAVE_SINHL 1
67850 _ACEOF
67851
67852   fi
67853
67854
67855
67856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67857 $as_echo_n "checking for sqrtl declaration... " >&6; }
67858 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67859   $as_echo_n "(cached) " >&6
67860 else
67861
67862
67863       ac_ext=c
67864 ac_cpp='$CPP $CPPFLAGS'
67865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67868
67869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67870 /* end confdefs.h.  */
67871
67872 #include <math.h>
67873 #ifdef HAVE_IEEEFP_H
67874 # include <ieeefp.h>
67875 #endif
67876 #undef sqrtl
67877
67878 int
67879 main ()
67880 {
67881
67882   void (*f)(void) = (void (*)(void))sqrtl;
67883
67884   ;
67885   return 0;
67886 }
67887 _ACEOF
67888 if ac_fn_c_try_compile "$LINENO"; then :
67889   glibcxx_cv_func_sqrtl_use=yes
67890
67891 else
67892   glibcxx_cv_func_sqrtl_use=no
67893 fi
67894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67895 fi
67896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
67897 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
67898   if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
67899     cat >>confdefs.h <<_ACEOF
67900 #define HAVE_SQRTL 1
67901 _ACEOF
67902
67903   fi
67904
67905
67906
67907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
67908 $as_echo_n "checking for tanl declaration... " >&6; }
67909 if ${glibcxx_cv_func_tanl_use+:} false; then :
67910   $as_echo_n "(cached) " >&6
67911 else
67912
67913
67914       ac_ext=c
67915 ac_cpp='$CPP $CPPFLAGS'
67916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67919
67920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921 /* end confdefs.h.  */
67922
67923 #include <math.h>
67924 #ifdef HAVE_IEEEFP_H
67925 # include <ieeefp.h>
67926 #endif
67927 #undef tanl
67928
67929 int
67930 main ()
67931 {
67932
67933   void (*f)(void) = (void (*)(void))tanl;
67934
67935   ;
67936   return 0;
67937 }
67938 _ACEOF
67939 if ac_fn_c_try_compile "$LINENO"; then :
67940   glibcxx_cv_func_tanl_use=yes
67941
67942 else
67943   glibcxx_cv_func_tanl_use=no
67944 fi
67945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67946 fi
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
67948 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
67949   if test "x$glibcxx_cv_func_tanl_use" = xyes; then
67950     cat >>confdefs.h <<_ACEOF
67951 #define HAVE_TANL 1
67952 _ACEOF
67953
67954   fi
67955
67956
67957
67958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
67959 $as_echo_n "checking for tanhl declaration... " >&6; }
67960 if ${glibcxx_cv_func_tanhl_use+:} false; then :
67961   $as_echo_n "(cached) " >&6
67962 else
67963
67964
67965       ac_ext=c
67966 ac_cpp='$CPP $CPPFLAGS'
67967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67970
67971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67972 /* end confdefs.h.  */
67973
67974 #include <math.h>
67975 #ifdef HAVE_IEEEFP_H
67976 # include <ieeefp.h>
67977 #endif
67978 #undef tanhl
67979
67980 int
67981 main ()
67982 {
67983
67984   void (*f)(void) = (void (*)(void))tanhl;
67985
67986   ;
67987   return 0;
67988 }
67989 _ACEOF
67990 if ac_fn_c_try_compile "$LINENO"; then :
67991   glibcxx_cv_func_tanhl_use=yes
67992
67993 else
67994   glibcxx_cv_func_tanhl_use=no
67995 fi
67996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67997 fi
67998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
67999 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
68000   if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
68001     cat >>confdefs.h <<_ACEOF
68002 #define HAVE_TANHL 1
68003 _ACEOF
68004
68005   fi
68006
68007
68008
68009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68010 $as_echo_n "checking for hypotl declaration... " >&6; }
68011 if ${glibcxx_cv_func_hypotl_use+:} false; then :
68012   $as_echo_n "(cached) " >&6
68013 else
68014
68015
68016       ac_ext=c
68017 ac_cpp='$CPP $CPPFLAGS'
68018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68021
68022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68023 /* end confdefs.h.  */
68024
68025 #include <math.h>
68026 #ifdef HAVE_IEEEFP_H
68027 # include <ieeefp.h>
68028 #endif
68029 #undef hypotl
68030
68031 int
68032 main ()
68033 {
68034
68035   void (*f)(void) = (void (*)(void))hypotl;
68036
68037   ;
68038   return 0;
68039 }
68040 _ACEOF
68041 if ac_fn_c_try_compile "$LINENO"; then :
68042   glibcxx_cv_func_hypotl_use=yes
68043
68044 else
68045   glibcxx_cv_func_hypotl_use=no
68046 fi
68047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68048 fi
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68050 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68051   if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
68052     cat >>confdefs.h <<_ACEOF
68053 #define HAVE_HYPOTL 1
68054 _ACEOF
68055
68056   fi
68057
68058
68059
68060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68061 $as_echo_n "checking for ldexpf declaration... " >&6; }
68062 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68063   $as_echo_n "(cached) " >&6
68064 else
68065
68066
68067       ac_ext=c
68068 ac_cpp='$CPP $CPPFLAGS'
68069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68072
68073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68074 /* end confdefs.h.  */
68075
68076 #include <math.h>
68077 #ifdef HAVE_IEEEFP_H
68078 # include <ieeefp.h>
68079 #endif
68080 #undef ldexpf
68081
68082 int
68083 main ()
68084 {
68085
68086   void (*f)(void) = (void (*)(void))ldexpf;
68087
68088   ;
68089   return 0;
68090 }
68091 _ACEOF
68092 if ac_fn_c_try_compile "$LINENO"; then :
68093   glibcxx_cv_func_ldexpf_use=yes
68094
68095 else
68096   glibcxx_cv_func_ldexpf_use=no
68097 fi
68098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68099 fi
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68101 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68102   if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68103     cat >>confdefs.h <<_ACEOF
68104 #define HAVE_LDEXPF 1
68105 _ACEOF
68106
68107   fi
68108
68109
68110
68111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68112 $as_echo_n "checking for modff declaration... " >&6; }
68113 if ${glibcxx_cv_func_modff_use+:} false; then :
68114   $as_echo_n "(cached) " >&6
68115 else
68116
68117
68118       ac_ext=c
68119 ac_cpp='$CPP $CPPFLAGS'
68120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68123
68124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68125 /* end confdefs.h.  */
68126
68127 #include <math.h>
68128 #ifdef HAVE_IEEEFP_H
68129 # include <ieeefp.h>
68130 #endif
68131 #undef modff
68132
68133 int
68134 main ()
68135 {
68136
68137   void (*f)(void) = (void (*)(void))modff;
68138
68139   ;
68140   return 0;
68141 }
68142 _ACEOF
68143 if ac_fn_c_try_compile "$LINENO"; then :
68144   glibcxx_cv_func_modff_use=yes
68145
68146 else
68147   glibcxx_cv_func_modff_use=no
68148 fi
68149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68150 fi
68151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68152 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68153   if test "x$glibcxx_cv_func_modff_use" = xyes; then
68154     cat >>confdefs.h <<_ACEOF
68155 #define HAVE_MODFF 1
68156 _ACEOF
68157
68158   fi
68159
68160
68161
68162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68163 $as_echo_n "checking for hypotf declaration... " >&6; }
68164 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68165   $as_echo_n "(cached) " >&6
68166 else
68167
68168
68169       ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68174
68175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68176 /* end confdefs.h.  */
68177
68178 #include <math.h>
68179 #ifdef HAVE_IEEEFP_H
68180 # include <ieeefp.h>
68181 #endif
68182 #undef hypotf
68183
68184 int
68185 main ()
68186 {
68187
68188   void (*f)(void) = (void (*)(void))hypotf;
68189
68190   ;
68191   return 0;
68192 }
68193 _ACEOF
68194 if ac_fn_c_try_compile "$LINENO"; then :
68195   glibcxx_cv_func_hypotf_use=yes
68196
68197 else
68198   glibcxx_cv_func_hypotf_use=no
68199 fi
68200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68201 fi
68202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68203 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68204   if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68205     cat >>confdefs.h <<_ACEOF
68206 #define HAVE_HYPOTF 1
68207 _ACEOF
68208
68209   fi
68210
68211
68212
68213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68214 $as_echo_n "checking for frexpf declaration... " >&6; }
68215 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68216   $as_echo_n "(cached) " >&6
68217 else
68218
68219
68220       ac_ext=c
68221 ac_cpp='$CPP $CPPFLAGS'
68222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68225
68226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68227 /* end confdefs.h.  */
68228
68229 #include <math.h>
68230 #ifdef HAVE_IEEEFP_H
68231 # include <ieeefp.h>
68232 #endif
68233 #undef frexpf
68234
68235 int
68236 main ()
68237 {
68238
68239   void (*f)(void) = (void (*)(void))frexpf;
68240
68241   ;
68242   return 0;
68243 }
68244 _ACEOF
68245 if ac_fn_c_try_compile "$LINENO"; then :
68246   glibcxx_cv_func_frexpf_use=yes
68247
68248 else
68249   glibcxx_cv_func_frexpf_use=no
68250 fi
68251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68252 fi
68253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68254 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68255   if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68256     cat >>confdefs.h <<_ACEOF
68257 #define HAVE_FREXPF 1
68258 _ACEOF
68259
68260   fi
68261
68262
68263
68264     ;;
68265   *)
68266     as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68267    ;;
68268 esac
68269
68270   fi
68271
68272   # At some point, we should differentiate between architectures
68273   # like x86, which have long double versions, and alpha/powerpc/etc.,
68274   # which don't. For the time being, punt.
68275   if test x"long_double_math_on_this_cpu" = x"yes"; then
68276     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68277
68278     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68279
68280     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68281
68282     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68283
68284     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68285
68286     $as_echo "#define HAVE_COSL 1" >>confdefs.h
68287
68288     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68289
68290     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68291
68292     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68293
68294     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68295
68296     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68297
68298     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68299
68300     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68301
68302     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68303
68304     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68305
68306     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68307
68308     $as_echo "#define HAVE_POWL 1" >>confdefs.h
68309
68310     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68311
68312     $as_echo "#define HAVE_SINL 1" >>confdefs.h
68313
68314     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68315
68316     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68317
68318     $as_echo "#define HAVE_TANL 1" >>confdefs.h
68319
68320     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68321
68322   fi
68323 fi
68324
68325 # Check for _Unwind_GetIPInfo.
68326
68327
68328 # Check whether --with-system-libunwind was given.
68329 if test "${with_system_libunwind+set}" = set; then :
68330   withval=$with_system_libunwind;
68331 fi
68332
68333   # If system-libunwind was not specifically set, pick a default setting.
68334   if test x$with_system_libunwind = x; then
68335     case ${target} in
68336       ia64-*-hpux*) with_system_libunwind=yes ;;
68337       *) with_system_libunwind=no ;;
68338     esac
68339   fi
68340   # Based on system-libunwind and target, do we have ipinfo?
68341   if  test x$with_system_libunwind = xyes; then
68342     case ${target} in
68343       ia64-*-*) have_unwind_getipinfo=no ;;
68344       *) have_unwind_getipinfo=yes ;;
68345     esac
68346   else
68347     # Darwin before version 9 does not have _Unwind_GetIPInfo.
68348
68349     case ${target} in
68350       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68351       *) have_unwind_getipinfo=yes ;;
68352     esac
68353
68354   fi
68355
68356   if test x$have_unwind_getipinfo = xyes; then
68357
68358 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68359
68360   fi
68361
68362
68363  # Check whether --enable-linux-futex was given.
68364 if test "${enable_linux_futex+set}" = set; then :
68365   enableval=$enable_linux_futex;
68366       case "$enableval" in
68367        yes|no|default) ;;
68368        *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68369                           esac
68370
68371 else
68372   enable_linux_futex=default
68373 fi
68374
68375
68376 case "$target" in
68377   *-linux* | *-uclinux*)
68378     case "$enable_linux_futex" in
68379       default)
68380         # If headers don't have gettid/futex syscalls definition, then
68381         # default to no, otherwise there will be compile time failures.
68382         # Otherwise, default to yes.  If we don't detect we are
68383         # compiled/linked against NPTL and not cross-compiling, check
68384         # if programs are run by default against NPTL and if not, issue
68385         # a warning.
68386         enable_linux_futex=no
68387         if test x$gcc_no_link = xyes; then
68388   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68389 fi
68390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68391 /* end confdefs.h.  */
68392 #include <sys/syscall.h>
68393            #include <unistd.h>
68394            int lk;
68395 int
68396 main ()
68397 {
68398 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68399   ;
68400   return 0;
68401 }
68402 _ACEOF
68403 if ac_fn_c_try_link "$LINENO"; then :
68404   save_LIBS="$LIBS"
68405            LIBS="-lpthread $LIBS"
68406            if test x$gcc_no_link = xyes; then
68407   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68408 fi
68409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68410 /* end confdefs.h.  */
68411 #ifndef _GNU_SOURCE
68412              #define _GNU_SOURCE 1
68413              #endif
68414              #include <pthread.h>
68415              pthread_t th; void *status;
68416 int
68417 main ()
68418 {
68419 pthread_tryjoin_np (th, &status);
68420   ;
68421   return 0;
68422 }
68423 _ACEOF
68424 if ac_fn_c_try_link "$LINENO"; then :
68425   enable_linux_futex=yes
68426 else
68427   if test x$cross_compiling = xno; then
68428                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68429                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68430                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68431 If so, please configure with --disable-linux-futex" >&5
68432 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68433 If so, please configure with --disable-linux-futex" >&2;}
68434                fi
68435              fi
68436              enable_linux_futex=yes
68437 fi
68438 rm -f core conftest.err conftest.$ac_objext \
68439     conftest$ac_exeext conftest.$ac_ext
68440            LIBS="$save_LIBS"
68441 fi
68442 rm -f core conftest.err conftest.$ac_objext \
68443     conftest$ac_exeext conftest.$ac_ext
68444         ;;
68445       yes)
68446         if test x$gcc_no_link = xyes; then
68447   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68448 fi
68449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68450 /* end confdefs.h.  */
68451 #include <sys/syscall.h>
68452            #include <unistd.h>
68453            int lk;
68454 int
68455 main ()
68456 {
68457 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68458   ;
68459   return 0;
68460 }
68461 _ACEOF
68462 if ac_fn_c_try_link "$LINENO"; then :
68463
68464 else
68465   as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68466 fi
68467 rm -f core conftest.err conftest.$ac_objext \
68468     conftest$ac_exeext conftest.$ac_ext
68469         ;;
68470     esac
68471     ;;
68472   *)
68473     enable_linux_futex=no
68474     ;;
68475 esac
68476 if test x$enable_linux_futex = xyes; then
68477
68478 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68479
68480 fi
68481
68482
68483 if test "$is_hosted" = yes; then
68484 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
68485 # use <stdint.h> instead of <gstdint.h>.
68486
68487
68488 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
68489
68490 acx_cv_header_stdint=stddef.h
68491 acx_cv_header_stdint_kind="(already complete)"
68492 for i in stdint.h $inttype_headers; do
68493   unset ac_cv_type_uintptr_t
68494   unset ac_cv_type_uintmax_t
68495   unset ac_cv_type_int_least32_t
68496   unset ac_cv_type_int_fast32_t
68497   unset ac_cv_type_uint64_t
68498   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
68499   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
68500 #include <$i>
68501 "
68502 if test "x$ac_cv_type_uintmax_t" = xyes; then :
68503   acx_cv_header_stdint=$i
68504 else
68505   continue
68506 fi
68507
68508   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68509 #include <$i>
68510 "
68511 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68512
68513 else
68514   acx_cv_header_stdint_kind="(mostly complete)"
68515 fi
68516
68517   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
68518 #include <$i>
68519 "
68520 if test "x$ac_cv_type_int_least32_t" = xyes; then :
68521
68522 else
68523   acx_cv_header_stdint_kind="(mostly complete)"
68524 fi
68525
68526   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
68527 #include <$i>
68528 "
68529 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
68530
68531 else
68532   acx_cv_header_stdint_kind="(mostly complete)"
68533 fi
68534
68535   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68536 #include <$i>
68537 "
68538 if test "x$ac_cv_type_uint64_t" = xyes; then :
68539
68540 else
68541   acx_cv_header_stdint_kind="(lacks uint64_t)"
68542 fi
68543
68544   break
68545 done
68546 if test "$acx_cv_header_stdint" = stddef.h; then
68547   acx_cv_header_stdint_kind="(lacks uintmax_t)"
68548   for i in stdint.h $inttype_headers; do
68549     unset ac_cv_type_uintptr_t
68550     unset ac_cv_type_uint32_t
68551     unset ac_cv_type_uint64_t
68552     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
68553     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
68554 #include <$i>
68555 "
68556 if test "x$ac_cv_type_uint32_t" = xyes; then :
68557   acx_cv_header_stdint=$i
68558 else
68559   continue
68560 fi
68561
68562     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68563 #include <$i>
68564 "
68565 if test "x$ac_cv_type_uint64_t" = xyes; then :
68566
68567 fi
68568
68569     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68570 #include <$i>
68571 "
68572 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68573
68574 fi
68575
68576     break
68577   done
68578 fi
68579 if test "$acx_cv_header_stdint" = stddef.h; then
68580   acx_cv_header_stdint_kind="(u_intXX_t style)"
68581   for i in sys/types.h $inttype_headers; do
68582     unset ac_cv_type_u_int32_t
68583     unset ac_cv_type_u_int64_t
68584     $as_echo_n "looking for u_intXX_t types in $i, " >&6
68585     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
68586 #include <$i>
68587 "
68588 if test "x$ac_cv_type_u_int32_t" = xyes; then :
68589   acx_cv_header_stdint=$i
68590 else
68591   continue
68592 fi
68593
68594     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
68595 #include <$i>
68596 "
68597 if test "x$ac_cv_type_u_int64_t" = xyes; then :
68598
68599 fi
68600
68601     break
68602   done
68603 fi
68604 if test "$acx_cv_header_stdint" = stddef.h; then
68605   acx_cv_header_stdint_kind="(using manual detection)"
68606 fi
68607
68608 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
68609 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
68610 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
68611 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
68612 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
68613
68614 # ----------------- Summarize what we found so far
68615
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
68617 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
68618
68619 case `$as_basename -- include/gstdint.h ||
68620 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
68621          Xinclude/gstdint.h : 'X\(//\)$' \| \
68622          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
68623 $as_echo X/include/gstdint.h |
68624     sed '/^.*\/\([^/][^/]*\)\/*$/{
68625             s//\1/
68626             q
68627           }
68628           /^X\/\(\/\/\)$/{
68629             s//\1/
68630             q
68631           }
68632           /^X\/\(\/\).*/{
68633             s//\1/
68634             q
68635           }
68636           s/.*/./; q'` in
68637   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68638 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68639   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68640 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68641   *) ;;
68642 esac
68643
68644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
68645 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
68646
68647 # ----------------- done included file, check C basic types --------
68648
68649 # Lacking an uintptr_t?  Test size of void *
68650 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
68651   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
68652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68654 # This bug is HP SR number 8606223364.
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
68656 $as_echo_n "checking size of void *... " >&6; }
68657 if ${ac_cv_sizeof_void_p+:} false; then :
68658   $as_echo_n "(cached) " >&6
68659 else
68660   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
68661
68662 else
68663   if test "$ac_cv_type_void_p" = yes; then
68664      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68666 as_fn_error 77 "cannot compute sizeof (void *)
68667 See \`config.log' for more details" "$LINENO" 5; }
68668    else
68669      ac_cv_sizeof_void_p=0
68670    fi
68671 fi
68672
68673 fi
68674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
68675 $as_echo "$ac_cv_sizeof_void_p" >&6; }
68676
68677
68678
68679 cat >>confdefs.h <<_ACEOF
68680 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
68681 _ACEOF
68682
68683  ;;
68684 esac
68685
68686 # Lacking an uint64_t?  Test size of long
68687 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
68688   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
68689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68691 # This bug is HP SR number 8606223364.
68692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
68693 $as_echo_n "checking size of long... " >&6; }
68694 if ${ac_cv_sizeof_long+:} false; then :
68695   $as_echo_n "(cached) " >&6
68696 else
68697   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
68698
68699 else
68700   if test "$ac_cv_type_long" = yes; then
68701      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68703 as_fn_error 77 "cannot compute sizeof (long)
68704 See \`config.log' for more details" "$LINENO" 5; }
68705    else
68706      ac_cv_sizeof_long=0
68707    fi
68708 fi
68709
68710 fi
68711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
68712 $as_echo "$ac_cv_sizeof_long" >&6; }
68713
68714
68715
68716 cat >>confdefs.h <<_ACEOF
68717 #define SIZEOF_LONG $ac_cv_sizeof_long
68718 _ACEOF
68719
68720  ;;
68721 esac
68722
68723 if test $acx_cv_header_stdint = stddef.h; then
68724   # Lacking a good header?  Test size of everything and deduce all types.
68725   # The cast to long int works around a bug in the HP C Compiler
68726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68728 # This bug is HP SR number 8606223364.
68729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
68730 $as_echo_n "checking size of int... " >&6; }
68731 if ${ac_cv_sizeof_int+:} false; then :
68732   $as_echo_n "(cached) " >&6
68733 else
68734   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
68735
68736 else
68737   if test "$ac_cv_type_int" = yes; then
68738      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68740 as_fn_error 77 "cannot compute sizeof (int)
68741 See \`config.log' for more details" "$LINENO" 5; }
68742    else
68743      ac_cv_sizeof_int=0
68744    fi
68745 fi
68746
68747 fi
68748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
68749 $as_echo "$ac_cv_sizeof_int" >&6; }
68750
68751
68752
68753 cat >>confdefs.h <<_ACEOF
68754 #define SIZEOF_INT $ac_cv_sizeof_int
68755 _ACEOF
68756
68757
68758   # The cast to long int works around a bug in the HP C Compiler
68759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68761 # This bug is HP SR number 8606223364.
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
68763 $as_echo_n "checking size of short... " >&6; }
68764 if ${ac_cv_sizeof_short+:} false; then :
68765   $as_echo_n "(cached) " >&6
68766 else
68767   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
68768
68769 else
68770   if test "$ac_cv_type_short" = yes; then
68771      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68773 as_fn_error 77 "cannot compute sizeof (short)
68774 See \`config.log' for more details" "$LINENO" 5; }
68775    else
68776      ac_cv_sizeof_short=0
68777    fi
68778 fi
68779
68780 fi
68781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
68782 $as_echo "$ac_cv_sizeof_short" >&6; }
68783
68784
68785
68786 cat >>confdefs.h <<_ACEOF
68787 #define SIZEOF_SHORT $ac_cv_sizeof_short
68788 _ACEOF
68789
68790
68791   # The cast to long int works around a bug in the HP C Compiler
68792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68794 # This bug is HP SR number 8606223364.
68795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
68796 $as_echo_n "checking size of char... " >&6; }
68797 if ${ac_cv_sizeof_char+:} false; then :
68798   $as_echo_n "(cached) " >&6
68799 else
68800   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
68801
68802 else
68803   if test "$ac_cv_type_char" = yes; then
68804      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68806 as_fn_error 77 "cannot compute sizeof (char)
68807 See \`config.log' for more details" "$LINENO" 5; }
68808    else
68809      ac_cv_sizeof_char=0
68810    fi
68811 fi
68812
68813 fi
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
68815 $as_echo "$ac_cv_sizeof_char" >&6; }
68816
68817
68818
68819 cat >>confdefs.h <<_ACEOF
68820 #define SIZEOF_CHAR $ac_cv_sizeof_char
68821 _ACEOF
68822
68823
68824
68825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
68826 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
68827   case "$ac_cv_sizeof_char" in
68828     1) acx_cv_type_int8_t=char ;;
68829     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
68830   esac
68831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
68832 $as_echo "$acx_cv_type_int8_t" >&6; }
68833
68834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
68835 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
68836   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
68837     2:*) acx_cv_type_int16_t=int ;;
68838     *:2) acx_cv_type_int16_t=short ;;
68839     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
68840   esac
68841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
68842 $as_echo "$acx_cv_type_int16_t" >&6; }
68843
68844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
68845 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
68846   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
68847     4:*) acx_cv_type_int32_t=int ;;
68848     *:4) acx_cv_type_int32_t=long ;;
68849     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
68850   esac
68851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
68852 $as_echo "$acx_cv_type_int32_t" >&6; }
68853 fi
68854
68855 # These tests are here to make the output prettier
68856
68857 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
68858   case "$ac_cv_sizeof_long" in
68859     8) acx_cv_type_int64_t=long ;;
68860   esac
68861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
68862 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
68863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
68864 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
68865 fi
68866
68867 # Now we can use the above types
68868
68869 if test "$ac_cv_type_uintptr_t" != yes; then
68870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
68871 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
68872   case $ac_cv_sizeof_void_p in
68873     2) acx_cv_type_intptr_t=int16_t ;;
68874     4) acx_cv_type_intptr_t=int32_t ;;
68875     8) acx_cv_type_intptr_t=int64_t ;;
68876     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
68877   esac
68878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
68879 $as_echo "$acx_cv_type_intptr_t" >&6; }
68880 fi
68881
68882 # ----------------- done all checks, emit header -------------
68883 ac_config_commands="$ac_config_commands include/gstdint.h"
68884
68885
68886
68887 fi
68888
68889
68890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68891 $as_echo_n "checking for GNU c++filt... " >&6; }
68892 if ${ac_cv_path_CXXFILT+:} false; then :
68893   $as_echo_n "(cached) " >&6
68894 else
68895   if test -z "$CXXFILT"; then
68896   ac_path_CXXFILT_found=false
68897   # Loop through the user's path and test for each of PROGNAME-LIST
68898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68899 for as_dir in $PATH
68900 do
68901   IFS=$as_save_IFS
68902   test -z "$as_dir" && as_dir=.
68903     for ac_prog in c++filt gc++filt; do
68904     for ac_exec_ext in '' $ac_executable_extensions; do
68905       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68906       as_fn_executable_p "$ac_path_CXXFILT" || continue
68907 # Check for GNU $ac_path_CXXFILT
68908 case `"$ac_path_CXXFILT" --version 2>&1` in
68909 *GNU*)
68910   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68911 esac
68912
68913       $ac_path_CXXFILT_found && break 3
68914     done
68915   done
68916   done
68917 IFS=$as_save_IFS
68918   if test -z "$ac_cv_path_CXXFILT"; then
68919     :
68920   fi
68921 else
68922   ac_cv_path_CXXFILT=$CXXFILT
68923 fi
68924
68925 fi
68926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68927 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68928   CXXFILT=$ac_cv_path_CXXFILT
68929
68930
68931
68932  # Check whether --enable-symvers was given.
68933 if test "${enable_symvers+set}" = set; then :
68934   enableval=$enable_symvers;
68935       case "$enableval" in
68936        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68937        *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68938                         esac
68939
68940 else
68941   enable_symvers=yes
68942 fi
68943
68944
68945
68946 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68947 # don't know enough about $LD to do tricks...
68948
68949 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
68950 # with extern "C++" in version scripts.
68951
68952
68953 # Turn a 'yes' into a suitable default.
68954 if test x$enable_symvers = xyes ; then
68955   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
68956     enable_symvers=no
68957   else
68958     if test $with_gnu_ld = yes ; then
68959       case ${target_os} in
68960         hpux*)
68961           enable_symvers=no ;;
68962         *)
68963           enable_symvers=gnu ;;
68964       esac
68965     else
68966       case ${target_os} in
68967         darwin*)
68968           enable_symvers=darwin ;;
68969         # Sun symbol versioning exists since Solaris 2.5.
68970         solaris2.[5-9]* | solaris2.1[0-9]*)
68971           # make_sunver.pl needs GNU c++filt to support extern "C++" in
68972           # version scripts, so disable symbol versioning if none can be
68973           # found.
68974           if test -z "$ac_cv_path_CXXFILT"; then
68975             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68976 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68977             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
68978 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
68979             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68980 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68981             enable_symvers=no
68982           else
68983             enable_symvers=sun
68984           fi
68985           ;;
68986         *)
68987           enable_symvers=no ;;
68988       esac
68989     fi
68990   fi
68991 fi
68992
68993 # Check to see if 'darwin' or 'darwin-export' can win.
68994 if test x$enable_symvers = xdarwin-export ; then
68995     enable_symvers=darwin
68996 fi
68997
68998 # Check if 'sun' was requested on non-Solaris 2 platforms.
68999 if test x$enable_symvers = xsun ; then
69000   case ${target_os} in
69001     solaris2*)
69002       # All fine.
69003       ;;
69004     *)
69005       # Unlikely to work.
69006       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
69007 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
69008       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
69009 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
69010       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69011 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69012       enable_symvers=no
69013       ;;
69014   esac
69015 fi
69016
69017 # Check to see if 'gnu' can win.
69018 if test $enable_symvers = gnu ||
69019   test $enable_symvers = gnu-versioned-namespace ||
69020   test $enable_symvers = sun; then
69021   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
69022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
69023 $as_echo_n "checking for shared libgcc... " >&6; }
69024   ac_save_CFLAGS="$CFLAGS"
69025   CFLAGS=' -lgcc_s'
69026   if test x$gcc_no_link = xyes; then
69027   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69028 fi
69029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h.  */
69031
69032 int
69033 main ()
69034 {
69035 return 0;
69036   ;
69037   return 0;
69038 }
69039 _ACEOF
69040 if ac_fn_c_try_link "$LINENO"; then :
69041   glibcxx_shared_libgcc=yes
69042 else
69043   glibcxx_shared_libgcc=no
69044 fi
69045 rm -f core conftest.err conftest.$ac_objext \
69046     conftest$ac_exeext conftest.$ac_ext
69047   CFLAGS="$ac_save_CFLAGS"
69048   if test $glibcxx_shared_libgcc = no; then
69049     cat > conftest.c <<EOF
69050 int main (void) { return 0; }
69051 EOF
69052     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
69053                              -shared -shared-libgcc -o conftest.so \
69054                              conftest.c -v 2>&1 >/dev/null \
69055                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
69056     rm -f conftest.c conftest.so
69057     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
69058       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
69059       if test x$gcc_no_link = xyes; then
69060   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69061 fi
69062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69063 /* end confdefs.h.  */
69064
69065 int
69066 main ()
69067 {
69068 return 0;
69069   ;
69070   return 0;
69071 }
69072 _ACEOF
69073 if ac_fn_c_try_link "$LINENO"; then :
69074   glibcxx_shared_libgcc=yes
69075 fi
69076 rm -f core conftest.err conftest.$ac_objext \
69077     conftest$ac_exeext conftest.$ac_ext
69078       CFLAGS="$ac_save_CFLAGS"
69079     fi
69080   fi
69081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
69082 $as_echo "$glibcxx_shared_libgcc" >&6; }
69083
69084   # For GNU ld, we need at least this version.  The format is described in
69085   # GLIBCXX_CHECK_LINKER_FEATURES above.
69086   glibcxx_min_gnu_ld_version=21400
69087
69088   # If no shared libgcc, can't win.
69089   if test $glibcxx_shared_libgcc != yes; then
69090       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69091 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69092       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
69093 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
69094       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69095 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69096       enable_symvers=no
69097   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
69098     : All interesting versions of Sun ld support sun style symbol versioning.
69099   elif test $with_gnu_ld != yes ; then
69100     # just fail for now
69101     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69102 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69103     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
69104 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
69105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69106 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69107     enable_symvers=no
69108   elif test $glibcxx_ld_is_gold = yes ; then
69109     : All versions of gold support symbol versioning.
69110   elif test $glibcxx_ld_is_mold = yes ; then
69111     : All versions of mold support symbol versioning.
69112   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
69113     # The right tools, the right setup, but too old.  Fallbacks?
69114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
69115 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
69116     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
69117 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
69118     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
69119 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
69120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
69121 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
69122     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69123 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69124     enable_symvers=no
69125   fi
69126 fi
69127
69128 # For libtool versioning info, format is CURRENT:REVISION:AGE
69129 libtool_VERSION=6:31:0
69130
69131 # Everything parsed; figure out what files and settings to use.
69132 case $enable_symvers in
69133   no)
69134     SYMVER_FILE=config/abi/pre/none.ver
69135     ;;
69136   gnu)
69137     SYMVER_FILE=config/abi/pre/gnu.ver
69138
69139 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
69140
69141     ;;
69142   gnu-versioned-namespace)
69143     libtool_VERSION=8:0:0
69144     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
69145
69146 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
69147
69148     ;;
69149   darwin)
69150     SYMVER_FILE=config/abi/pre/gnu.ver
69151
69152 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
69153
69154     ;;
69155   sun)
69156     SYMVER_FILE=config/abi/pre/gnu.ver
69157
69158 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
69159
69160     ;;
69161 esac
69162
69163 if test x$enable_symvers != xno ; then
69164
69165 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
69166
69167 fi
69168
69169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
69170 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
69171 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
69172   $as_echo_n "(cached) " >&6
69173 else
69174
69175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69176 /* end confdefs.h.  */
69177 void foo (void); __asm (".symver foo, bar@SYMVER");
69178 int
69179 main ()
69180 {
69181
69182   ;
69183   return 0;
69184 }
69185 _ACEOF
69186 if ac_fn_c_try_compile "$LINENO"; then :
69187   glibcxx_cv_have_as_symver_directive=yes
69188 else
69189   glibcxx_cv_have_as_symver_directive=no
69190 fi
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 fi
69193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
69194 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
69195 if test $glibcxx_cv_have_as_symver_directive = yes; then
69196
69197 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
69198
69199 fi
69200
69201
69202
69203
69204
69205
69206
69207
69208 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
69209 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69210
69211 if test $enable_symvers != no ; then
69212    case ${target_os} in
69213      # The Solaris 2 runtime linker doesn't support the GNU extension of
69214      # binding the same symbol to different versions
69215      solaris2*)
69216        ;;
69217      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
69218      *)
69219
69220 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
69221
69222        ;;
69223     esac
69224 fi
69225
69226 # Now, set up compatibility support, if any.
69227 # In addition, need this to deal with std::size_t mangling in
69228 # src/compatibility.cc.  In a perfect world, could use
69229 # typeid(std::size_t).name()[0] to do direct substitution.
69230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
69231 $as_echo_n "checking for size_t as unsigned int... " >&6; }
69232 ac_save_CFLAGS="$CFLAGS"
69233 CFLAGS="-Werror"
69234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69235 /* end confdefs.h.  */
69236
69237 int
69238 main ()
69239 {
69240 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
69241   ;
69242   return 0;
69243 }
69244 _ACEOF
69245 if ac_fn_c_try_compile "$LINENO"; then :
69246   glibcxx_size_t_is_i=yes
69247 else
69248   glibcxx_size_t_is_i=no
69249 fi
69250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69251 CFLAGS=$ac_save_CFLAGS
69252 if test "$glibcxx_size_t_is_i" = yes; then
69253
69254 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
69255
69256 fi
69257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
69258 $as_echo "$glibcxx_size_t_is_i" >&6; }
69259
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
69261 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
69262 ac_save_CFLAGS="$CFLAGS"
69263 CFLAGS="-Werror"
69264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69265 /* end confdefs.h.  */
69266
69267 int
69268 main ()
69269 {
69270 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
69271   ;
69272   return 0;
69273 }
69274 _ACEOF
69275 if ac_fn_c_try_compile "$LINENO"; then :
69276   glibcxx_ptrdiff_t_is_i=yes
69277 else
69278   glibcxx_ptrdiff_t_is_i=no
69279 fi
69280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69281 CFLAGS=$ac_save_CFLAGS
69282 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
69283
69284 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
69285
69286 fi
69287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
69288 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
69289
69290
69291
69292
69293  # Check whether --enable-libstdcxx-visibility was given.
69294 if test "${enable_libstdcxx_visibility+set}" = set; then :
69295   enableval=$enable_libstdcxx_visibility;
69296       case "$enableval" in
69297        yes|no) ;;
69298        *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
69299       esac
69300
69301 else
69302   enable_libstdcxx_visibility=yes
69303 fi
69304
69305
69306
69307 if test x$enable_libstdcxx_visibility = xyes ; then
69308       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
69309 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
69310 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
69311   $as_echo_n "(cached) " >&6
69312 else
69313
69314   save_CFLAGS="$CFLAGS"
69315   CFLAGS="$CFLAGS -Werror"
69316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69317 /* end confdefs.h.  */
69318 void __attribute__((visibility("hidden"))) foo(void) { }
69319 int
69320 main ()
69321 {
69322
69323   ;
69324   return 0;
69325 }
69326 _ACEOF
69327 if ac_fn_c_try_compile "$LINENO"; then :
69328   glibcxx_cv_have_attribute_visibility=yes
69329 else
69330   glibcxx_cv_have_attribute_visibility=no
69331 fi
69332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69333   CFLAGS="$save_CFLAGS"
69334 fi
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
69336 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
69337   if test $glibcxx_cv_have_attribute_visibility = no; then
69338     enable_libstdcxx_visibility=no
69339   fi
69340 fi
69341
69342
69343 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
69344 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
69345
69346
69347
69348    # Check whether --enable-libstdcxx-dual-abi was given.
69349 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
69350   enableval=$enable_libstdcxx_dual_abi;
69351       case "$enableval" in
69352        yes|no) ;;
69353        *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
69354       esac
69355
69356 else
69357   enable_libstdcxx_dual_abi=yes
69358 fi
69359
69360
69361   if test x$enable_symvers = xgnu-versioned-namespace; then
69362     # gnu-versioned-namespace is incompatible with the dual ABI.
69363     enable_libstdcxx_dual_abi="no"
69364   fi
69365   if test x"$enable_libstdcxx_dual_abi" != xyes; then
69366     { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
69367 $as_echo "$as_me: dual ABI is disabled" >&6;}
69368     default_libstdcxx_abi="gcc4-compatible"
69369   fi
69370
69371
69372
69373   if test x$enable_libstdcxx_dual_abi = xyes; then
69374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
69375 $as_echo_n "checking for default std::string ABI to use... " >&6; }
69376
69377 # Check whether --with-default-libstdcxx-abi was given.
69378 if test "${with_default_libstdcxx_abi+set}" = set; then :
69379   withval=$with_default_libstdcxx_abi; case "$withval" in
69380       gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
69381       new|cxx11)  default_libstdcxx_abi="new" ;;
69382       c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
69383       *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
69384      esac
69385
69386 else
69387   default_libstdcxx_abi="new"
69388 fi
69389
69390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
69391 $as_echo "${default_libstdcxx_abi}" >&6; }
69392   fi
69393   if test $default_libstdcxx_abi = "new"; then
69394     glibcxx_cxx11_abi=1
69395     glibcxx_cxx98_abi=0
69396   else
69397     glibcxx_cxx11_abi=0
69398     glibcxx_cxx98_abi=1
69399   fi
69400
69401
69402
69403
69404 ac_ldbl_compat=no
69405 ac_ldbl_alt128_compat=no
69406 ac_ldbl_ieee128_default=no
69407 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
69408 LONG_DOUBLE_128_FLAGS=
69409 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
69410 case "$target" in
69411   powerpc*-*-linux* | \
69412   sparc*-*-linux* | \
69413   s390*-*-linux* | \
69414   alpha*-*-linux*)
69415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69416 /* end confdefs.h.  */
69417
69418 int
69419 main ()
69420 {
69421
69422 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
69423 #error no need for long double compatibility
69424 #endif
69425
69426   ;
69427   return 0;
69428 }
69429 _ACEOF
69430 if ac_fn_c_try_compile "$LINENO"; then :
69431   ac_ldbl_compat=yes
69432 else
69433   ac_ldbl_compat=no
69434 fi
69435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69436   if test "$ac_ldbl_compat" = yes; then
69437
69438 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
69439
69440     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
69441     case "$target" in
69442       powerpc*-*-linux*)
69443         LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
69444         # Check for IEEE128 support in libm:
69445         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
69446 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
69447 if ${ac_cv_lib_m___frexpieee128+:} false; then :
69448   $as_echo_n "(cached) " >&6
69449 else
69450   ac_check_lib_save_LIBS=$LIBS
69451 LIBS="-lm  $LIBS"
69452 if test x$gcc_no_link = xyes; then
69453   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69454 fi
69455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69456 /* end confdefs.h.  */
69457
69458 /* Override any GCC internal prototype to avoid an error.
69459    Use char because int might match the return type of a GCC
69460    builtin and then its argument prototype would still apply.  */
69461 #ifdef __cplusplus
69462 extern "C"
69463 #endif
69464 char __frexpieee128 ();
69465 int
69466 main ()
69467 {
69468 return __frexpieee128 ();
69469   ;
69470   return 0;
69471 }
69472 _ACEOF
69473 if ac_fn_c_try_link "$LINENO"; then :
69474   ac_cv_lib_m___frexpieee128=yes
69475 else
69476   ac_cv_lib_m___frexpieee128=no
69477 fi
69478 rm -f core conftest.err conftest.$ac_objext \
69479     conftest$ac_exeext conftest.$ac_ext
69480 LIBS=$ac_check_lib_save_LIBS
69481 fi
69482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69483 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69484 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69485   ac_ldbl_ieee128_in_libc=yes
69486 else
69487   ac_ldbl_ieee128_in_libc=no
69488 fi
69489
69490         if test $ac_ldbl_ieee128_in_libc = yes; then
69491           # Determine which long double format is the compiler's default:
69492           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69493 /* end confdefs.h.  */
69494
69495 int
69496 main ()
69497 {
69498
69499             #ifndef __LONG_DOUBLE_IEEE128__
69500             #error compiler defaults to ibm128
69501             #endif
69502
69503   ;
69504   return 0;
69505 }
69506 _ACEOF
69507 if ac_fn_c_try_compile "$LINENO"; then :
69508   ac_ldbl_ieee128_default=yes
69509 else
69510   ac_ldbl_ieee128_default=no
69511 fi
69512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69513           # Library objects should use default long double format.
69514           if test "$ac_ldbl_ieee128_default" = yes; then
69515             LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69516             # Except for the ones that explicitly use these flags:
69517             LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69518           else
69519             LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69520             LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69521           fi
69522
69523 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69524
69525           port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69526           ac_ldbl_alt128_compat=yes
69527         else
69528           ac_ldbl_alt128_compat=no
69529         fi
69530         ;;
69531     esac
69532   fi
69533 esac
69534
69535
69536
69537
69538
69539
69540 # Check if assembler supports disabling hardware capability support.
69541
69542   test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69543
69544   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69545   # with a different meaning.
69546   case ${target_os} in
69547     solaris2*)
69548       ac_save_CFLAGS="$CFLAGS"
69549       CFLAGS="$CFLAGS -Wa,-nH"
69550
69551       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69552 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69554 /* end confdefs.h.  */
69555
69556 int
69557 main ()
69558 {
69559 return 0;
69560   ;
69561   return 0;
69562 }
69563 _ACEOF
69564 if ac_fn_c_try_compile "$LINENO"; then :
69565   ac_hwcap_flags=yes
69566 else
69567   ac_hwcap_flags=no
69568 fi
69569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69570       if test "$ac_hwcap_flags" = "yes"; then
69571         HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69572       fi
69573       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69574 $as_echo "$ac_hwcap_flags" >&6; }
69575
69576       CFLAGS="$ac_save_CFLAGS"
69577       ;;
69578   esac
69579
69580
69581
69582
69583 # Check if assembler supports rdrand opcode.
69584
69585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69586 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69587 if ${ac_cv_x86_rdrand+:} false; then :
69588   $as_echo_n "(cached) " >&6
69589 else
69590
69591   ac_cv_x86_rdrand=no
69592   case "$target" in
69593     i?86-*-* | \
69594     x86_64-*-*)
69595     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69596 /* end confdefs.h.  */
69597
69598 int
69599 main ()
69600 {
69601 asm("rdrand %eax");
69602   ;
69603   return 0;
69604 }
69605 _ACEOF
69606 if ac_fn_c_try_compile "$LINENO"; then :
69607   ac_cv_x86_rdrand=yes
69608 else
69609   ac_cv_x86_rdrand=no
69610 fi
69611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69612   esac
69613
69614 fi
69615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69616 $as_echo "$ac_cv_x86_rdrand" >&6; }
69617   if test $ac_cv_x86_rdrand = yes; then
69618
69619 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69620
69621   fi
69622
69623 # Check if assembler supports rdseed opcode.
69624
69625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69626 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69627 if ${ac_cv_x86_rdseed+:} false; then :
69628   $as_echo_n "(cached) " >&6
69629 else
69630
69631   ac_cv_x86_rdseed=no
69632   case "$target" in
69633     i?86-*-* | \
69634     x86_64-*-*)
69635     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69636 /* end confdefs.h.  */
69637
69638 int
69639 main ()
69640 {
69641 asm("rdseed %eax");
69642   ;
69643   return 0;
69644 }
69645 _ACEOF
69646 if ac_fn_c_try_compile "$LINENO"; then :
69647   ac_cv_x86_rdseed=yes
69648 else
69649   ac_cv_x86_rdseed=no
69650 fi
69651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69652   esac
69653
69654 fi
69655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69656 $as_echo "$ac_cv_x86_rdseed" >&6; }
69657   if test $ac_cv_x86_rdseed = yes; then
69658
69659 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69660
69661   fi
69662
69663
69664 # Check for other random number APIs
69665
69666
69667
69668   ac_ext=cpp
69669 ac_cpp='$CXXCPP $CPPFLAGS'
69670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69673
69674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69675 $as_echo_n "checking for getentropy... " >&6; }
69676 if ${glibcxx_cv_getentropy+:} false; then :
69677   $as_echo_n "(cached) " >&6
69678 else
69679
69680       if test x$gcc_no_link = xyes; then
69681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69682 /* end confdefs.h.  */
69683 #include <unistd.h>
69684 int
69685 main ()
69686 {
69687 unsigned i;
69688          ::getentropy(&i, sizeof(i));
69689   ;
69690   return 0;
69691 }
69692 _ACEOF
69693 if ac_fn_cxx_try_compile "$LINENO"; then :
69694   glibcxx_cv_getentropy=yes
69695 else
69696   glibcxx_cv_getentropy=no
69697 fi
69698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69699 else
69700   if test x$gcc_no_link = xyes; then
69701   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69702 fi
69703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69704 /* end confdefs.h.  */
69705 #include <unistd.h>
69706 int
69707 main ()
69708 {
69709 unsigned i;
69710          ::getentropy(&i, sizeof(i));
69711   ;
69712   return 0;
69713 }
69714 _ACEOF
69715 if ac_fn_cxx_try_link "$LINENO"; then :
69716   glibcxx_cv_getentropy=yes
69717 else
69718   glibcxx_cv_getentropy=no
69719 fi
69720 rm -f core conftest.err conftest.$ac_objext \
69721     conftest$ac_exeext conftest.$ac_ext
69722 fi
69723
69724 fi
69725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69726 $as_echo "$glibcxx_cv_getentropy" >&6; }
69727
69728   if test $glibcxx_cv_getentropy = yes; then
69729
69730 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69731
69732   fi
69733   ac_ext=c
69734 ac_cpp='$CPP $CPPFLAGS'
69735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69738
69739
69740
69741
69742
69743   ac_ext=cpp
69744 ac_cpp='$CXXCPP $CPPFLAGS'
69745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69748
69749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69750 $as_echo_n "checking for arc4random... " >&6; }
69751 if ${glibcxx_cv_arc4random+:} false; then :
69752   $as_echo_n "(cached) " >&6
69753 else
69754
69755       if test x$gcc_no_link = xyes; then
69756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69757 /* end confdefs.h.  */
69758 #include <stdlib.h>
69759 int
69760 main ()
69761 {
69762 unsigned i = ::arc4random();
69763   ;
69764   return 0;
69765 }
69766 _ACEOF
69767 if ac_fn_cxx_try_compile "$LINENO"; then :
69768   glibcxx_cv_arc4random=yes
69769 else
69770   glibcxx_cv_arc4random=no
69771 fi
69772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69773 else
69774   if test x$gcc_no_link = xyes; then
69775   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69776 fi
69777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69778 /* end confdefs.h.  */
69779 #include <stdlib.h>
69780 int
69781 main ()
69782 {
69783 unsigned i = ::arc4random();
69784   ;
69785   return 0;
69786 }
69787 _ACEOF
69788 if ac_fn_cxx_try_link "$LINENO"; then :
69789   glibcxx_cv_arc4random=yes
69790 else
69791   glibcxx_cv_arc4random=no
69792 fi
69793 rm -f core conftest.err conftest.$ac_objext \
69794     conftest$ac_exeext conftest.$ac_ext
69795 fi
69796
69797 fi
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69799 $as_echo "$glibcxx_cv_arc4random" >&6; }
69800
69801   if test $glibcxx_cv_arc4random = yes; then
69802
69803 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69804
69805   fi
69806   ac_ext=c
69807 ac_cpp='$CPP $CPPFLAGS'
69808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69811
69812
69813
69814 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69815
69816   # Do checks for resource limit functions.
69817
69818
69819   ac_ext=cpp
69820 ac_cpp='$CXXCPP $CPPFLAGS'
69821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69824
69825   setrlimit_have_headers=yes
69826   for ac_header in unistd.h sys/time.h sys/resource.h
69827 do :
69828   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69829 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69831   cat >>confdefs.h <<_ACEOF
69832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69833 _ACEOF
69834
69835 else
69836   setrlimit_have_headers=no
69837 fi
69838
69839 done
69840
69841   # If don't have the headers, then we can't run the tests now, and we
69842   # won't be seeing any of these during testsuite compilation.
69843   if test $setrlimit_have_headers = yes; then
69844     # Can't do these in a loop, else the resulting syntax is wrong.
69845
69846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69847 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69849 /* end confdefs.h.  */
69850 #include <unistd.h>
69851      #include <sys/time.h>
69852      #include <sys/resource.h>
69853
69854 int
69855 main ()
69856 {
69857  int f = RLIMIT_DATA ;
69858   ;
69859   return 0;
69860 }
69861 _ACEOF
69862 if ac_fn_cxx_try_compile "$LINENO"; then :
69863   glibcxx_mresult=1
69864 else
69865   glibcxx_mresult=0
69866 fi
69867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69868
69869 cat >>confdefs.h <<_ACEOF
69870 #define HAVE_LIMIT_DATA $glibcxx_mresult
69871 _ACEOF
69872
69873   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69875 $as_echo "$res" >&6; }
69876
69877
69878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69879 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69881 /* end confdefs.h.  */
69882 #include <unistd.h>
69883      #include <sys/time.h>
69884      #include <sys/resource.h>
69885
69886 int
69887 main ()
69888 {
69889  int f = RLIMIT_RSS ;
69890   ;
69891   return 0;
69892 }
69893 _ACEOF
69894 if ac_fn_cxx_try_compile "$LINENO"; then :
69895   glibcxx_mresult=1
69896 else
69897   glibcxx_mresult=0
69898 fi
69899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69900
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE_LIMIT_RSS $glibcxx_mresult
69903 _ACEOF
69904
69905   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69907 $as_echo "$res" >&6; }
69908
69909
69910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69911 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69913 /* end confdefs.h.  */
69914 #include <unistd.h>
69915      #include <sys/time.h>
69916      #include <sys/resource.h>
69917
69918 int
69919 main ()
69920 {
69921  int f = RLIMIT_VMEM ;
69922   ;
69923   return 0;
69924 }
69925 _ACEOF
69926 if ac_fn_cxx_try_compile "$LINENO"; then :
69927   glibcxx_mresult=1
69928 else
69929   glibcxx_mresult=0
69930 fi
69931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69932
69933 cat >>confdefs.h <<_ACEOF
69934 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69935 _ACEOF
69936
69937   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69939 $as_echo "$res" >&6; }
69940
69941
69942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
69943 $as_echo_n "checking for RLIMIT_AS... " >&6; }
69944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69945 /* end confdefs.h.  */
69946 #include <unistd.h>
69947      #include <sys/time.h>
69948      #include <sys/resource.h>
69949
69950 int
69951 main ()
69952 {
69953  int f = RLIMIT_AS ;
69954   ;
69955   return 0;
69956 }
69957 _ACEOF
69958 if ac_fn_cxx_try_compile "$LINENO"; then :
69959   glibcxx_mresult=1
69960 else
69961   glibcxx_mresult=0
69962 fi
69963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69964
69965 cat >>confdefs.h <<_ACEOF
69966 #define HAVE_LIMIT_AS $glibcxx_mresult
69967 _ACEOF
69968
69969   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69971 $as_echo "$res" >&6; }
69972
69973
69974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
69975 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
69976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69977 /* end confdefs.h.  */
69978 #include <unistd.h>
69979      #include <sys/time.h>
69980      #include <sys/resource.h>
69981
69982 int
69983 main ()
69984 {
69985  int f = RLIMIT_FSIZE ;
69986   ;
69987   return 0;
69988 }
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991   glibcxx_mresult=1
69992 else
69993   glibcxx_mresult=0
69994 fi
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996
69997 cat >>confdefs.h <<_ACEOF
69998 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
69999 _ACEOF
70000
70001   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70003 $as_echo "$res" >&6; }
70004
70005
70006     # Check for rlimit, setrlimit.
70007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70008 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70009 if ${glibcxx_cv_setrlimit+:} false; then :
70010   $as_echo_n "(cached) " >&6
70011 else
70012
70013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70014 /* end confdefs.h.  */
70015 #include <unistd.h>
70016          #include <sys/time.h>
70017          #include <sys/resource.h>
70018
70019 int
70020 main ()
70021 {
70022 struct rlimit r;
70023          setrlimit(0, &r);
70024   ;
70025   return 0;
70026 }
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029   glibcxx_cv_setrlimit=yes
70030 else
70031   glibcxx_cv_setrlimit=no
70032 fi
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034
70035 fi
70036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
70037 $as_echo "$glibcxx_cv_setrlimit" >&6; }
70038
70039     if test $glibcxx_cv_setrlimit = yes; then
70040
70041 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70042
70043     fi
70044   fi
70045   ac_ext=c
70046 ac_cpp='$CPP $CPPFLAGS'
70047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70050
70051
70052
70053   if $GLIBCXX_IS_NATIVE ; then
70054     # Look for setenv, so that extended locale tests can be performed.
70055
70056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70057 $as_echo_n "checking for setenv declaration... " >&6; }
70058   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70059     if ${glibcxx_cv_func_setenv_use+:} false; then :
70060   $as_echo_n "(cached) " >&6
70061 else
70062
70063
70064       ac_ext=cpp
70065 ac_cpp='$CXXCPP $CPPFLAGS'
70066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70069
70070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70071 /* end confdefs.h.  */
70072 #include <stdlib.h>
70073 int
70074 main ()
70075 {
70076  setenv(0, 0, 0);
70077   ;
70078   return 0;
70079 }
70080 _ACEOF
70081 if ac_fn_cxx_try_compile "$LINENO"; then :
70082   glibcxx_cv_func_setenv_use=yes
70083 else
70084   glibcxx_cv_func_setenv_use=no
70085 fi
70086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70087       ac_ext=c
70088 ac_cpp='$CPP $CPPFLAGS'
70089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70092
70093
70094 fi
70095
70096   fi
70097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70098 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70099   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70100     for ac_func in setenv
70101 do :
70102   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70103 if test "x$ac_cv_func_setenv" = xyes; then :
70104   cat >>confdefs.h <<_ACEOF
70105 #define HAVE_SETENV 1
70106 _ACEOF
70107
70108 fi
70109 done
70110
70111   fi
70112
70113   fi
70114
70115   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70116      test $enable_symvers != no; then
70117     case "$host" in
70118       *-*-cygwin*)
70119         enable_abi_check=no ;;
70120       *)
70121         enable_abi_check=yes ;;
70122     esac
70123   else
70124     # Only build this as native, since automake does not understand
70125     # CXX_FOR_BUILD.
70126     enable_abi_check=no
70127   fi
70128
70129   # Export file names for ABI checking.
70130   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70131
70132   baseline_subdir_switch="$abi_baseline_subdir_switch"
70133
70134
70135
70136 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
70137
70138    # Check whether --enable-libstdcxx-threads was given.
70139 if test "${enable_libstdcxx_threads+set}" = set; then :
70140   enableval=$enable_libstdcxx_threads;
70141       case "$enableval" in
70142        yes|no) ;;
70143        *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70144       esac
70145
70146 else
70147   enable_libstdcxx_threads=auto
70148 fi
70149
70150
70151
70152   if test x$enable_libstdcxx_threads = xauto ||
70153      test x$enable_libstdcxx_threads = xyes; then
70154
70155
70156   ac_ext=cpp
70157 ac_cpp='$CXXCPP $CPPFLAGS'
70158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70161
70162
70163   ac_save_CXXFLAGS="$CXXFLAGS"
70164   CXXFLAGS="$CXXFLAGS -fno-exceptions \
70165         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70166
70167   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70168   case $target_thread_file in
70169     posix)
70170       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70171   esac
70172
70173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70174 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70175
70176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70177 /* end confdefs.h.  */
70178 #include <unistd.h>
70179 int
70180 main ()
70181 {
70182
70183       // In case of POSIX threads check _POSIX_TIMEOUTS.
70184       #if (defined(_PTHREADS) \
70185           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70186       #error
70187       #endif
70188
70189   ;
70190   return 0;
70191 }
70192 _ACEOF
70193 if ac_fn_cxx_try_compile "$LINENO"; then :
70194   ac_gthread_use_mutex_timedlock=1
70195 else
70196   ac_gthread_use_mutex_timedlock=0
70197 fi
70198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70199
70200
70201 cat >>confdefs.h <<_ACEOF
70202 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70203 _ACEOF
70204
70205
70206   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
70207   else res_mutex_timedlock=no ; fi
70208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
70209 $as_echo "$res_mutex_timedlock" >&6; }
70210
70211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
70212 $as_echo_n "checking for gthreads library... " >&6; }
70213
70214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70215 /* end confdefs.h.  */
70216 #include "gthr.h"
70217 int
70218 main ()
70219 {
70220
70221       #ifndef __GTHREADS_CXX0X
70222       #error
70223       #endif
70224
70225   ;
70226   return 0;
70227 }
70228 _ACEOF
70229 if ac_fn_cxx_try_compile "$LINENO"; then :
70230   ac_has_gthreads=yes
70231 else
70232   ac_has_gthreads=no
70233 fi
70234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70235   else
70236     ac_has_gthreads=no
70237   fi
70238
70239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
70240 $as_echo "$ac_has_gthreads" >&6; }
70241
70242   if test x"$ac_has_gthreads" = x"yes"; then
70243
70244 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
70245
70246
70247     # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
70248     # but only do so if we're using pthread in the gthread library.
70249     # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
70250     # but the pthread library is not there by default and the gthread library
70251     # does not use it.
70252     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70253 /* end confdefs.h.  */
70254 #include "gthr.h"
70255 int
70256 main ()
70257 {
70258
70259       #if (!defined(_PTHREADS))
70260       #error
70261       #endif
70262
70263   ;
70264   return 0;
70265 }
70266 _ACEOF
70267 if ac_fn_cxx_try_compile "$LINENO"; then :
70268   ac_gthread_use_pthreads=yes
70269 else
70270   ac_gthread_use_pthreads=no
70271 fi
70272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70273     if test x"$ac_gthread_use_pthreads" = x"yes"; then
70274       ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
70275 "
70276 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
70277
70278 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
70279
70280 fi
70281
70282     fi
70283   fi
70284
70285   ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
70286 if test "x$ac_cv_header_semaphore_h" = xyes; then :
70287
70288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
70289 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
70290     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70291 /* end confdefs.h.  */
70292
70293         #include <unistd.h>
70294         #include <semaphore.h>
70295         #include <limits.h>
70296
70297 int
70298 main ()
70299 {
70300
70301         #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
70302         # error "POSIX Timeouts option not supported"
70303         #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
70304         # error "POSIX Semaphores option not supported"
70305         #else
70306         #if defined SEM_VALUE_MAX
70307         constexpr int sem_value_max = SEM_VALUE_MAX;
70308         #elif defined _POSIX_SEM_VALUE_MAX
70309         constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
70310         #else
70311         # error "SEM_VALUE_MAX not available"
70312         #endif
70313         sem_t sem;
70314         sem_init(&sem, 0, sem_value_max);
70315         struct timespec ts = { 0 };
70316         sem_timedwait(&sem, &ts);
70317         #endif
70318
70319   ;
70320   return 0;
70321 }
70322 _ACEOF
70323 if ac_fn_cxx_try_compile "$LINENO"; then :
70324   ac_have_posix_semaphore=yes
70325 else
70326   ac_have_posix_semaphore=no
70327 fi
70328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70329 else
70330   ac_have_posix_semaphore=no
70331 fi
70332
70333
70334
70335   if test $ac_have_posix_semaphore = yes ; then
70336
70337 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
70338
70339   fi
70340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
70341 $as_echo "$ac_have_posix_semaphore" >&6; }
70342
70343   CXXFLAGS="$ac_save_CXXFLAGS"
70344   ac_ext=c
70345 ac_cpp='$CPP $CPPFLAGS'
70346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70349
70350
70351
70352 # For Filesystem TS.
70353 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
70354 do :
70355   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70356 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70357 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
70358   cat >>confdefs.h <<_ACEOF
70359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70360 _ACEOF
70361
70362 fi
70363
70364 done
70365
70366
70367    # Check whether --enable-libstdcxx-filesystem-ts was given.
70368 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
70369   enableval=$enable_libstdcxx_filesystem_ts;
70370       case "$enableval" in
70371        yes|no|auto) ;;
70372        *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
70373                         esac
70374
70375 else
70376   enable_libstdcxx_filesystem_ts=auto
70377 fi
70378
70379
70380
70381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
70382 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
70383   if test x"$ac_cv_header_dirent_h" != x"yes"; then
70384     enable_libstdcxx_filesystem_ts=no
70385   fi
70386   if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
70387     case "${target_os}" in
70388       freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
70389         enable_libstdcxx_filesystem_ts=yes
70390         ;;
70391       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
70392         enable_libstdcxx_filesystem_ts=yes
70393         ;;
70394       rtems*)
70395         enable_libstdcxx_filesystem_ts=yes
70396         ;;
70397       solaris*)
70398         enable_libstdcxx_filesystem_ts=yes
70399         ;;
70400       mingw*)
70401         enable_libstdcxx_filesystem_ts=yes
70402         ;;
70403       *)
70404         enable_libstdcxx_filesystem_ts=no
70405         ;;
70406     esac
70407   fi
70408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
70409 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
70410
70411
70412
70413   ac_ext=cpp
70414 ac_cpp='$CXXCPP $CPPFLAGS'
70415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70418
70419   ac_save_CXXFLAGS="$CXXFLAGS"
70420   CXXFLAGS="$CXXFLAGS -fno-exceptions"
70421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
70422 $as_echo_n "checking for struct dirent.d_type... " >&6; }
70423 if ${glibcxx_cv_dirent_d_type+:} false; then :
70424   $as_echo_n "(cached) " >&6
70425 else
70426       if test x$gcc_no_link = xyes; then
70427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70428 /* end confdefs.h.  */
70429 #include <dirent.h>
70430 int
70431 main ()
70432 {
70433
70434        struct dirent d;
70435        if (sizeof d.d_type) return 0;
70436
70437   ;
70438   return 0;
70439 }
70440 _ACEOF
70441 if ac_fn_cxx_try_compile "$LINENO"; then :
70442   glibcxx_cv_dirent_d_type=yes
70443 else
70444   glibcxx_cv_dirent_d_type=no
70445 fi
70446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70447 else
70448   if test x$gcc_no_link = xyes; then
70449   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70450 fi
70451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70452 /* end confdefs.h.  */
70453 #include <dirent.h>
70454 int
70455 main ()
70456 {
70457
70458        struct dirent d;
70459        if (sizeof d.d_type) return 0;
70460
70461   ;
70462   return 0;
70463 }
70464 _ACEOF
70465 if ac_fn_cxx_try_link "$LINENO"; then :
70466   glibcxx_cv_dirent_d_type=yes
70467 else
70468   glibcxx_cv_dirent_d_type=no
70469 fi
70470 rm -f core conftest.err conftest.$ac_objext \
70471     conftest$ac_exeext conftest.$ac_ext
70472 fi
70473
70474 fi
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70476 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70477   if test $glibcxx_cv_dirent_d_type = yes; then
70478
70479 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70480
70481   fi
70482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70483 $as_echo_n "checking for realpath... " >&6; }
70484 if ${glibcxx_cv_realpath+:} false; then :
70485   $as_echo_n "(cached) " >&6
70486 else
70487       if test x$gcc_no_link = xyes; then
70488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70489 /* end confdefs.h.  */
70490
70491        #include <limits.h>
70492        #include <stdlib.h>
70493        #include <unistd.h>
70494
70495 int
70496 main ()
70497 {
70498
70499        #if _XOPEN_VERSION < 500
70500        #error
70501        #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70502        char *tmp = realpath((const char*)NULL, (char*)NULL);
70503        #else
70504        #error
70505        #endif
70506
70507   ;
70508   return 0;
70509 }
70510 _ACEOF
70511 if ac_fn_cxx_try_compile "$LINENO"; then :
70512   glibcxx_cv_realpath=yes
70513 else
70514   glibcxx_cv_realpath=no
70515 fi
70516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70517 else
70518   if test x$gcc_no_link = xyes; then
70519   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70520 fi
70521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70522 /* end confdefs.h.  */
70523
70524        #include <limits.h>
70525        #include <stdlib.h>
70526        #include <unistd.h>
70527
70528 int
70529 main ()
70530 {
70531
70532        #if _XOPEN_VERSION < 500
70533        #error
70534        #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70535        char *tmp = realpath((const char*)NULL, (char*)NULL);
70536        #else
70537        #error
70538        #endif
70539
70540   ;
70541   return 0;
70542 }
70543 _ACEOF
70544 if ac_fn_cxx_try_link "$LINENO"; then :
70545   glibcxx_cv_realpath=yes
70546 else
70547   glibcxx_cv_realpath=no
70548 fi
70549 rm -f core conftest.err conftest.$ac_objext \
70550     conftest$ac_exeext conftest.$ac_ext
70551 fi
70552
70553 fi
70554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70555 $as_echo "$glibcxx_cv_realpath" >&6; }
70556   if test $glibcxx_cv_realpath = yes; then
70557
70558 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70559
70560   fi
70561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70562 $as_echo_n "checking for utimensat... " >&6; }
70563 if ${glibcxx_cv_utimensat+:} false; then :
70564   $as_echo_n "(cached) " >&6
70565 else
70566       if test x$gcc_no_link = xyes; then
70567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70568 /* end confdefs.h.  */
70569
70570         #include <fcntl.h>
70571         #include <sys/stat.h>
70572
70573 int
70574 main ()
70575 {
70576
70577         struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70578         int i = utimensat(AT_FDCWD, "path", ts, 0);
70579
70580   ;
70581   return 0;
70582 }
70583 _ACEOF
70584 if ac_fn_cxx_try_compile "$LINENO"; then :
70585   glibcxx_cv_utimensat=yes
70586 else
70587   glibcxx_cv_utimensat=no
70588 fi
70589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70590 else
70591   if test x$gcc_no_link = xyes; then
70592   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70593 fi
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h.  */
70596
70597         #include <fcntl.h>
70598         #include <sys/stat.h>
70599
70600 int
70601 main ()
70602 {
70603
70604         struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70605         int i = utimensat(AT_FDCWD, "path", ts, 0);
70606
70607   ;
70608   return 0;
70609 }
70610 _ACEOF
70611 if ac_fn_cxx_try_link "$LINENO"; then :
70612   glibcxx_cv_utimensat=yes
70613 else
70614   glibcxx_cv_utimensat=no
70615 fi
70616 rm -f core conftest.err conftest.$ac_objext \
70617     conftest$ac_exeext conftest.$ac_ext
70618 fi
70619
70620 fi
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70622 $as_echo "$glibcxx_cv_utimensat" >&6; }
70623   if test $glibcxx_cv_utimensat = yes; then
70624
70625 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70626
70627   fi
70628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70629 $as_echo_n "checking for utime... " >&6; }
70630 if ${glibcxx_cv_utime+:} false; then :
70631   $as_echo_n "(cached) " >&6
70632 else
70633       if test x$gcc_no_link = xyes; then
70634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70635 /* end confdefs.h.  */
70636
70637         #include <utime.h>
70638
70639 int
70640 main ()
70641 {
70642
70643         struct utimbuf t = { 1, 1 };
70644         int i = utime("path", &t);
70645
70646   ;
70647   return 0;
70648 }
70649 _ACEOF
70650 if ac_fn_cxx_try_compile "$LINENO"; then :
70651   glibcxx_cv_utime=yes
70652 else
70653   glibcxx_cv_utime=no
70654 fi
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 else
70657   if test x$gcc_no_link = xyes; then
70658   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70659 fi
70660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661 /* end confdefs.h.  */
70662
70663         #include <utime.h>
70664
70665 int
70666 main ()
70667 {
70668
70669         struct utimbuf t = { 1, 1 };
70670         int i = utime("path", &t);
70671
70672   ;
70673   return 0;
70674 }
70675 _ACEOF
70676 if ac_fn_cxx_try_link "$LINENO"; then :
70677   glibcxx_cv_utime=yes
70678 else
70679   glibcxx_cv_utime=no
70680 fi
70681 rm -f core conftest.err conftest.$ac_objext \
70682     conftest$ac_exeext conftest.$ac_ext
70683 fi
70684
70685 fi
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70687 $as_echo "$glibcxx_cv_utime" >&6; }
70688   if test $glibcxx_cv_utime = yes; then
70689
70690 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70691
70692   fi
70693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70694 $as_echo_n "checking for lstat... " >&6; }
70695 if ${glibcxx_cv_lstat+:} false; then :
70696   $as_echo_n "(cached) " >&6
70697 else
70698       if test x$gcc_no_link = xyes; then
70699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70700 /* end confdefs.h.  */
70701  #include <sys/stat.h>
70702 int
70703 main ()
70704 {
70705
70706         struct stat st;
70707         int i = lstat("path", &st);
70708
70709   ;
70710   return 0;
70711 }
70712 _ACEOF
70713 if ac_fn_cxx_try_compile "$LINENO"; then :
70714   glibcxx_cv_lstat=yes
70715 else
70716   glibcxx_cv_lstat=no
70717 fi
70718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70719 else
70720   if test x$gcc_no_link = xyes; then
70721   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70722 fi
70723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70724 /* end confdefs.h.  */
70725  #include <sys/stat.h>
70726 int
70727 main ()
70728 {
70729
70730         struct stat st;
70731         int i = lstat("path", &st);
70732
70733   ;
70734   return 0;
70735 }
70736 _ACEOF
70737 if ac_fn_cxx_try_link "$LINENO"; then :
70738   glibcxx_cv_lstat=yes
70739 else
70740   glibcxx_cv_lstat=no
70741 fi
70742 rm -f core conftest.err conftest.$ac_objext \
70743     conftest$ac_exeext conftest.$ac_ext
70744 fi
70745
70746 fi
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70748 $as_echo "$glibcxx_cv_lstat" >&6; }
70749   if test $glibcxx_cv_lstat = yes; then
70750
70751 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70752
70753   fi
70754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70755 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70756 if ${glibcxx_cv_st_mtim+:} false; then :
70757   $as_echo_n "(cached) " >&6
70758 else
70759       if test x$gcc_no_link = xyes; then
70760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70761 /* end confdefs.h.  */
70762  #include <sys/stat.h>
70763 int
70764 main ()
70765 {
70766
70767         struct stat st;
70768         return st.st_mtim.tv_nsec;
70769
70770   ;
70771   return 0;
70772 }
70773 _ACEOF
70774 if ac_fn_cxx_try_compile "$LINENO"; then :
70775   glibcxx_cv_st_mtim=yes
70776 else
70777   glibcxx_cv_st_mtim=no
70778 fi
70779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70780 else
70781   if test x$gcc_no_link = xyes; then
70782   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70783 fi
70784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70785 /* end confdefs.h.  */
70786  #include <sys/stat.h>
70787 int
70788 main ()
70789 {
70790
70791         struct stat st;
70792         return st.st_mtim.tv_nsec;
70793
70794   ;
70795   return 0;
70796 }
70797 _ACEOF
70798 if ac_fn_cxx_try_link "$LINENO"; then :
70799   glibcxx_cv_st_mtim=yes
70800 else
70801   glibcxx_cv_st_mtim=no
70802 fi
70803 rm -f core conftest.err conftest.$ac_objext \
70804     conftest$ac_exeext conftest.$ac_ext
70805 fi
70806
70807 fi
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70809 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70810   if test $glibcxx_cv_st_mtim = yes; then
70811
70812 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70813
70814   fi
70815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70816 $as_echo_n "checking for fchmod... " >&6; }
70817 if ${glibcxx_cv_fchmod+:} false; then :
70818   $as_echo_n "(cached) " >&6
70819 else
70820       if test x$gcc_no_link = xyes; then
70821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70822 /* end confdefs.h.  */
70823 #include <sys/stat.h>
70824 int
70825 main ()
70826 {
70827 fchmod(1, S_IWUSR);
70828   ;
70829   return 0;
70830 }
70831 _ACEOF
70832 if ac_fn_cxx_try_compile "$LINENO"; then :
70833   glibcxx_cv_fchmod=yes
70834 else
70835   glibcxx_cv_fchmod=no
70836 fi
70837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 else
70839   if test x$gcc_no_link = xyes; then
70840   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70841 fi
70842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70843 /* end confdefs.h.  */
70844 #include <sys/stat.h>
70845 int
70846 main ()
70847 {
70848 fchmod(1, S_IWUSR);
70849   ;
70850   return 0;
70851 }
70852 _ACEOF
70853 if ac_fn_cxx_try_link "$LINENO"; then :
70854   glibcxx_cv_fchmod=yes
70855 else
70856   glibcxx_cv_fchmod=no
70857 fi
70858 rm -f core conftest.err conftest.$ac_objext \
70859     conftest$ac_exeext conftest.$ac_ext
70860 fi
70861
70862 fi
70863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70864 $as_echo "$glibcxx_cv_fchmod" >&6; }
70865   if test $glibcxx_cv_fchmod = yes; then
70866
70867 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70868
70869   fi
70870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70871 $as_echo_n "checking for fchmodat... " >&6; }
70872 if ${glibcxx_cv_fchmodat+:} false; then :
70873   $as_echo_n "(cached) " >&6
70874 else
70875       if test x$gcc_no_link = xyes; then
70876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70877 /* end confdefs.h.  */
70878
70879         #include <fcntl.h>
70880         #include <sys/stat.h>
70881
70882 int
70883 main ()
70884 {
70885 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70886   ;
70887   return 0;
70888 }
70889 _ACEOF
70890 if ac_fn_cxx_try_compile "$LINENO"; then :
70891   glibcxx_cv_fchmodat=yes
70892 else
70893   glibcxx_cv_fchmodat=no
70894 fi
70895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70896 else
70897   if test x$gcc_no_link = xyes; then
70898   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70899 fi
70900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70901 /* end confdefs.h.  */
70902
70903         #include <fcntl.h>
70904         #include <sys/stat.h>
70905
70906 int
70907 main ()
70908 {
70909 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70910   ;
70911   return 0;
70912 }
70913 _ACEOF
70914 if ac_fn_cxx_try_link "$LINENO"; then :
70915   glibcxx_cv_fchmodat=yes
70916 else
70917   glibcxx_cv_fchmodat=no
70918 fi
70919 rm -f core conftest.err conftest.$ac_objext \
70920     conftest$ac_exeext conftest.$ac_ext
70921 fi
70922
70923 fi
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
70925 $as_echo "$glibcxx_cv_fchmodat" >&6; }
70926   if test $glibcxx_cv_fchmodat = yes; then
70927
70928 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
70929
70930   fi
70931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
70932 $as_echo_n "checking for sendfile that can copy files... " >&6; }
70933 if ${glibcxx_cv_sendfile+:} false; then :
70934   $as_echo_n "(cached) " >&6
70935 else
70936       case "${target_os}" in
70937       gnu* | linux* | solaris* | uclinux*)
70938         if test x$gcc_no_link = xyes; then
70939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70940 /* end confdefs.h.  */
70941 #include <sys/sendfile.h>
70942 int
70943 main ()
70944 {
70945 sendfile(1, 2, (off_t*)0, sizeof 1);
70946   ;
70947   return 0;
70948 }
70949 _ACEOF
70950 if ac_fn_cxx_try_compile "$LINENO"; then :
70951   glibcxx_cv_sendfile=yes
70952 else
70953   glibcxx_cv_sendfile=no
70954 fi
70955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70956 else
70957   if test x$gcc_no_link = xyes; then
70958   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70959 fi
70960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70961 /* end confdefs.h.  */
70962 #include <sys/sendfile.h>
70963 int
70964 main ()
70965 {
70966 sendfile(1, 2, (off_t*)0, sizeof 1);
70967   ;
70968   return 0;
70969 }
70970 _ACEOF
70971 if ac_fn_cxx_try_link "$LINENO"; then :
70972   glibcxx_cv_sendfile=yes
70973 else
70974   glibcxx_cv_sendfile=no
70975 fi
70976 rm -f core conftest.err conftest.$ac_objext \
70977     conftest$ac_exeext conftest.$ac_ext
70978 fi
70979         ;;
70980       *)
70981         glibcxx_cv_sendfile=no
70982         ;;
70983     esac
70984
70985 fi
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
70987 $as_echo "$glibcxx_cv_sendfile" >&6; }
70988   if test $glibcxx_cv_sendfile = yes; then
70989
70990 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
70991
70992   fi
70993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
70994 $as_echo_n "checking for link... " >&6; }
70995 if ${glibcxx_cv_link+:} false; then :
70996   $as_echo_n "(cached) " >&6
70997 else
70998       if test x$gcc_no_link = xyes; then
70999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71000 /* end confdefs.h.  */
71001 #include <unistd.h>
71002 int
71003 main ()
71004 {
71005 link("", "");
71006   ;
71007   return 0;
71008 }
71009 _ACEOF
71010 if ac_fn_cxx_try_compile "$LINENO"; then :
71011   glibcxx_cv_link=yes
71012 else
71013   glibcxx_cv_link=no
71014 fi
71015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71016 else
71017   if test x$gcc_no_link = xyes; then
71018   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71019 fi
71020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71021 /* end confdefs.h.  */
71022 #include <unistd.h>
71023 int
71024 main ()
71025 {
71026 link("", "");
71027   ;
71028   return 0;
71029 }
71030 _ACEOF
71031 if ac_fn_cxx_try_link "$LINENO"; then :
71032   glibcxx_cv_link=yes
71033 else
71034   glibcxx_cv_link=no
71035 fi
71036 rm -f core conftest.err conftest.$ac_objext \
71037     conftest$ac_exeext conftest.$ac_ext
71038 fi
71039
71040 fi
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
71042 $as_echo "$glibcxx_cv_link" >&6; }
71043   if test $glibcxx_cv_link = yes; then
71044
71045 $as_echo "#define HAVE_LINK 1" >>confdefs.h
71046
71047   fi
71048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
71049 $as_echo_n "checking for readlink... " >&6; }
71050 if ${glibcxx_cv_readlink+:} false; then :
71051   $as_echo_n "(cached) " >&6
71052 else
71053       if test x$gcc_no_link = xyes; then
71054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71055 /* end confdefs.h.  */
71056 #include <unistd.h>
71057 int
71058 main ()
71059 {
71060 char buf[32]; readlink("", buf, sizeof(buf));
71061   ;
71062   return 0;
71063 }
71064 _ACEOF
71065 if ac_fn_cxx_try_compile "$LINENO"; then :
71066   glibcxx_cv_readlink=yes
71067 else
71068   glibcxx_cv_readlink=no
71069 fi
71070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71071 else
71072   if test x$gcc_no_link = xyes; then
71073   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71074 fi
71075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71076 /* end confdefs.h.  */
71077 #include <unistd.h>
71078 int
71079 main ()
71080 {
71081 char buf[32]; readlink("", buf, sizeof(buf));
71082   ;
71083   return 0;
71084 }
71085 _ACEOF
71086 if ac_fn_cxx_try_link "$LINENO"; then :
71087   glibcxx_cv_readlink=yes
71088 else
71089   glibcxx_cv_readlink=no
71090 fi
71091 rm -f core conftest.err conftest.$ac_objext \
71092     conftest$ac_exeext conftest.$ac_ext
71093 fi
71094
71095 fi
71096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
71097 $as_echo "$glibcxx_cv_readlink" >&6; }
71098   if test $glibcxx_cv_readlink = yes; then
71099
71100 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
71101
71102   fi
71103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
71104 $as_echo_n "checking for symlink... " >&6; }
71105 if ${glibcxx_cv_symlink+:} false; then :
71106   $as_echo_n "(cached) " >&6
71107 else
71108       if test x$gcc_no_link = xyes; then
71109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71110 /* end confdefs.h.  */
71111 #include <unistd.h>
71112 int
71113 main ()
71114 {
71115 symlink("", "");
71116   ;
71117   return 0;
71118 }
71119 _ACEOF
71120 if ac_fn_cxx_try_compile "$LINENO"; then :
71121   glibcxx_cv_symlink=yes
71122 else
71123   glibcxx_cv_symlink=no
71124 fi
71125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71126 else
71127   if test x$gcc_no_link = xyes; then
71128   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71129 fi
71130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71131 /* end confdefs.h.  */
71132 #include <unistd.h>
71133 int
71134 main ()
71135 {
71136 symlink("", "");
71137   ;
71138   return 0;
71139 }
71140 _ACEOF
71141 if ac_fn_cxx_try_link "$LINENO"; then :
71142   glibcxx_cv_symlink=yes
71143 else
71144   glibcxx_cv_symlink=no
71145 fi
71146 rm -f core conftest.err conftest.$ac_objext \
71147     conftest$ac_exeext conftest.$ac_ext
71148 fi
71149
71150 fi
71151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
71152 $as_echo "$glibcxx_cv_symlink" >&6; }
71153   if test $glibcxx_cv_symlink = yes; then
71154
71155 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
71156
71157   fi
71158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
71159 $as_echo_n "checking for truncate... " >&6; }
71160 if ${glibcxx_cv_truncate+:} false; then :
71161   $as_echo_n "(cached) " >&6
71162 else
71163       if test x$gcc_no_link = xyes; then
71164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71165 /* end confdefs.h.  */
71166 #include <unistd.h>
71167 int
71168 main ()
71169 {
71170 truncate("", 99);
71171   ;
71172   return 0;
71173 }
71174 _ACEOF
71175 if ac_fn_cxx_try_compile "$LINENO"; then :
71176   glibcxx_cv_truncate=yes
71177 else
71178   glibcxx_cv_truncate=no
71179 fi
71180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71181 else
71182   if test x$gcc_no_link = xyes; then
71183   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71184 fi
71185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71186 /* end confdefs.h.  */
71187 #include <unistd.h>
71188 int
71189 main ()
71190 {
71191 truncate("", 99);
71192   ;
71193   return 0;
71194 }
71195 _ACEOF
71196 if ac_fn_cxx_try_link "$LINENO"; then :
71197   glibcxx_cv_truncate=yes
71198 else
71199   glibcxx_cv_truncate=no
71200 fi
71201 rm -f core conftest.err conftest.$ac_objext \
71202     conftest$ac_exeext conftest.$ac_ext
71203 fi
71204
71205 fi
71206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
71207 $as_echo "$glibcxx_cv_truncate" >&6; }
71208   if test $glibcxx_cv_truncate = yes; then
71209
71210 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
71211
71212   fi
71213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
71214 $as_echo_n "checking for fdopendir... " >&6; }
71215 if ${glibcxx_cv_fdopendir+:} false; then :
71216   $as_echo_n "(cached) " >&6
71217 else
71218       if test x$gcc_no_link = xyes; then
71219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71220 /* end confdefs.h.  */
71221 #include <dirent.h>
71222 int
71223 main ()
71224 {
71225 ::DIR* dir = ::fdopendir(1);
71226   ;
71227   return 0;
71228 }
71229 _ACEOF
71230 if ac_fn_cxx_try_compile "$LINENO"; then :
71231   glibcxx_cv_fdopendir=yes
71232 else
71233   glibcxx_cv_fdopendir=no
71234 fi
71235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71236 else
71237   if test x$gcc_no_link = xyes; then
71238   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71239 fi
71240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71241 /* end confdefs.h.  */
71242 #include <dirent.h>
71243 int
71244 main ()
71245 {
71246 ::DIR* dir = ::fdopendir(1);
71247   ;
71248   return 0;
71249 }
71250 _ACEOF
71251 if ac_fn_cxx_try_link "$LINENO"; then :
71252   glibcxx_cv_fdopendir=yes
71253 else
71254   glibcxx_cv_fdopendir=no
71255 fi
71256 rm -f core conftest.err conftest.$ac_objext \
71257     conftest$ac_exeext conftest.$ac_ext
71258 fi
71259
71260 fi
71261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
71262 $as_echo "$glibcxx_cv_fdopendir" >&6; }
71263   if test $glibcxx_cv_fdopendir = yes; then
71264
71265 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
71266
71267   fi
71268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
71269 $as_echo_n "checking for dirfd... " >&6; }
71270 if ${glibcxx_cv_dirfd+:} false; then :
71271   $as_echo_n "(cached) " >&6
71272 else
71273       if test x$gcc_no_link = xyes; then
71274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71275 /* end confdefs.h.  */
71276 #include <dirent.h>
71277 int
71278 main ()
71279 {
71280 int fd = ::dirfd((::DIR*)0);
71281   ;
71282   return 0;
71283 }
71284 _ACEOF
71285 if ac_fn_cxx_try_compile "$LINENO"; then :
71286   glibcxx_cv_dirfd=yes
71287 else
71288   glibcxx_cv_dirfd=no
71289 fi
71290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71291 else
71292   if test x$gcc_no_link = xyes; then
71293   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71294 fi
71295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71296 /* end confdefs.h.  */
71297 #include <dirent.h>
71298 int
71299 main ()
71300 {
71301 int fd = ::dirfd((::DIR*)0);
71302   ;
71303   return 0;
71304 }
71305 _ACEOF
71306 if ac_fn_cxx_try_link "$LINENO"; then :
71307   glibcxx_cv_dirfd=yes
71308 else
71309   glibcxx_cv_dirfd=no
71310 fi
71311 rm -f core conftest.err conftest.$ac_objext \
71312     conftest$ac_exeext conftest.$ac_ext
71313 fi
71314
71315 fi
71316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
71317 $as_echo "$glibcxx_cv_dirfd" >&6; }
71318   if test $glibcxx_cv_dirfd = yes; then
71319
71320 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
71321
71322   fi
71323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
71324 $as_echo_n "checking for openat... " >&6; }
71325 if ${glibcxx_cv_openat+:} false; then :
71326   $as_echo_n "(cached) " >&6
71327 else
71328       if test x$gcc_no_link = xyes; then
71329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h.  */
71331 #include <fcntl.h>
71332 int
71333 main ()
71334 {
71335 int fd = ::openat(AT_FDCWD, "", 0);
71336   ;
71337   return 0;
71338 }
71339 _ACEOF
71340 if ac_fn_cxx_try_compile "$LINENO"; then :
71341   glibcxx_cv_openat=yes
71342 else
71343   glibcxx_cv_openat=no
71344 fi
71345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71346 else
71347   if test x$gcc_no_link = xyes; then
71348   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71349 fi
71350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71351 /* end confdefs.h.  */
71352 #include <fcntl.h>
71353 int
71354 main ()
71355 {
71356 int fd = ::openat(AT_FDCWD, "", 0);
71357   ;
71358   return 0;
71359 }
71360 _ACEOF
71361 if ac_fn_cxx_try_link "$LINENO"; then :
71362   glibcxx_cv_openat=yes
71363 else
71364   glibcxx_cv_openat=no
71365 fi
71366 rm -f core conftest.err conftest.$ac_objext \
71367     conftest$ac_exeext conftest.$ac_ext
71368 fi
71369
71370 fi
71371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
71372 $as_echo "$glibcxx_cv_openat" >&6; }
71373   if test $glibcxx_cv_openat = yes; then
71374
71375 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
71376
71377   fi
71378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
71379 $as_echo_n "checking for unlinkat... " >&6; }
71380 if ${glibcxx_cv_unlinkat+:} false; then :
71381   $as_echo_n "(cached) " >&6
71382 else
71383       if test x$gcc_no_link = xyes; then
71384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71385 /* end confdefs.h.  */
71386 #include <fcntl.h>
71387        #include <unistd.h>
71388 int
71389 main ()
71390 {
71391 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71392   ;
71393   return 0;
71394 }
71395 _ACEOF
71396 if ac_fn_cxx_try_compile "$LINENO"; then :
71397   glibcxx_cv_unlinkat=yes
71398 else
71399   glibcxx_cv_unlinkat=no
71400 fi
71401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71402 else
71403   if test x$gcc_no_link = xyes; then
71404   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71405 fi
71406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71407 /* end confdefs.h.  */
71408 #include <fcntl.h>
71409        #include <unistd.h>
71410 int
71411 main ()
71412 {
71413 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71414   ;
71415   return 0;
71416 }
71417 _ACEOF
71418 if ac_fn_cxx_try_link "$LINENO"; then :
71419   glibcxx_cv_unlinkat=yes
71420 else
71421   glibcxx_cv_unlinkat=no
71422 fi
71423 rm -f core conftest.err conftest.$ac_objext \
71424     conftest$ac_exeext conftest.$ac_ext
71425 fi
71426
71427 fi
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
71429 $as_echo "$glibcxx_cv_unlinkat" >&6; }
71430   if test $glibcxx_cv_unlinkat = yes; then
71431
71432 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
71433
71434   fi
71435   CXXFLAGS="$ac_save_CXXFLAGS"
71436   ac_ext=c
71437 ac_cpp='$CPP $CPPFLAGS'
71438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71441
71442
71443
71444
71445    # Check whether --enable-libstdcxx-backtrace was given.
71446 if test "${enable_libstdcxx_backtrace+set}" = set; then :
71447   enableval=$enable_libstdcxx_backtrace;
71448       case "$enableval" in
71449        yes|no|auto) ;;
71450        *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
71451                         esac
71452
71453 else
71454   enable_libstdcxx_backtrace=auto
71455 fi
71456
71457
71458
71459   # Most of this is adapted from libsanitizer/configure.ac
71460
71461   BACKTRACE_CPPFLAGS=
71462
71463   # libbacktrace only needs atomics for int, which we've already tested
71464   if test "$glibcxx_cv_atomic_int" = "yes"; then
71465     BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71466   fi
71467
71468   # Test for __sync support.
71469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71470 $as_echo_n "checking __sync extensions... " >&6; }
71471 if ${glibcxx_cv_sys_sync+:} false; then :
71472   $as_echo_n "(cached) " >&6
71473 else
71474   if test x$gcc_no_link = xyes; then
71475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71476 /* end confdefs.h.  */
71477 int i;
71478 int
71479 main ()
71480 {
71481 __sync_bool_compare_and_swap (&i, i, i);
71482      __sync_lock_test_and_set (&i, 1);
71483      __sync_lock_release (&i);
71484   ;
71485   return 0;
71486 }
71487 _ACEOF
71488 if ac_fn_c_try_compile "$LINENO"; then :
71489   glibcxx_cv_sys_sync=yes
71490 else
71491   glibcxx_cv_sys_sync=no
71492 fi
71493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494 else
71495   if test x$gcc_no_link = xyes; then
71496   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71497 fi
71498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71499 /* end confdefs.h.  */
71500 int i;
71501 int
71502 main ()
71503 {
71504 __sync_bool_compare_and_swap (&i, i, i);
71505      __sync_lock_test_and_set (&i, 1);
71506      __sync_lock_release (&i);
71507   ;
71508   return 0;
71509 }
71510 _ACEOF
71511 if ac_fn_c_try_link "$LINENO"; then :
71512   glibcxx_cv_sys_sync=yes
71513 else
71514   glibcxx_cv_sys_sync=no
71515 fi
71516 rm -f core conftest.err conftest.$ac_objext \
71517     conftest$ac_exeext conftest.$ac_ext
71518 fi
71519
71520 fi
71521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71522 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71523   if test "$glibcxx_cv_sys_sync" = "yes"; then
71524     BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71525   fi
71526
71527   # Check for dl_iterate_phdr.
71528   for ac_header in link.h
71529 do :
71530   ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71531 if test "x$ac_cv_header_link_h" = xyes; then :
71532   cat >>confdefs.h <<_ACEOF
71533 #define HAVE_LINK_H 1
71534 _ACEOF
71535
71536 fi
71537
71538 done
71539
71540   if test "$ac_cv_header_link_h" = "no"; then
71541     have_dl_iterate_phdr=no
71542   else
71543     # When built as a GCC target library, we can't do a link test.
71544     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71545 /* end confdefs.h.  */
71546 #include <link.h>
71547
71548 _ACEOF
71549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71550   $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71551   have_dl_iterate_phdr=yes
71552 else
71553   have_dl_iterate_phdr=no
71554 fi
71555 rm -f conftest*
71556
71557   fi
71558   if test "$have_dl_iterate_phdr" = "yes"; then
71559     BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71560   fi
71561
71562   # Check for the fcntl function.
71563   if test -n "${with_target_subdir}"; then
71564      case "${host}" in
71565      *-*-mingw*) have_fcntl=no ;;
71566      *) have_fcntl=yes ;;
71567      esac
71568   else
71569     ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71570 if test "x$ac_cv_func_fcntl" = xyes; then :
71571   have_fcntl=yes
71572 else
71573   have_fcntl=no
71574 fi
71575
71576   fi
71577   if test "$have_fcntl" = "yes"; then
71578     BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71579   fi
71580
71581   ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71582 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71583   ac_have_decl=1
71584 else
71585   ac_have_decl=0
71586 fi
71587
71588 cat >>confdefs.h <<_ACEOF
71589 #define HAVE_DECL_STRNLEN $ac_have_decl
71590 _ACEOF
71591
71592
71593   # Check for getexecname function.
71594   if test -n "${with_target_subdir}"; then
71595      case "${host}" in
71596      *-*-solaris2*) have_getexecname=yes ;;
71597      *) have_getexecname=no ;;
71598      esac
71599   else
71600     ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71601 if test "x$ac_cv_func_getexecname" = xyes; then :
71602   have_getexecname=yes
71603 else
71604   have_getexecname=no
71605 fi
71606
71607   fi
71608   if test "$have_getexecname" = "yes"; then
71609     BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71610   fi
71611
71612 # The library needs to be able to read the executable itself.  Compile
71613 # a file to determine the executable format.  The awk script
71614 # filetype.awk prints out the file type.
71615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71616 $as_echo_n "checking output filetype... " >&6; }
71617 if ${glibcxx_cv_sys_filetype+:} false; then :
71618   $as_echo_n "(cached) " >&6
71619 else
71620   filetype=
71621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71622 /* end confdefs.h.  */
71623 int i;
71624 int
71625 main ()
71626 {
71627 int j;
71628   ;
71629   return 0;
71630 }
71631 _ACEOF
71632 if ac_fn_c_try_compile "$LINENO"; then :
71633   filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71634 else
71635   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71637 as_fn_error $? "compiler failed
71638 See \`config.log' for more details" "$LINENO" 5; }
71639 fi
71640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71641 glibcxx_cv_sys_filetype=$filetype
71642 fi
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71644 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71645
71646 # Match the file type to decide what files to compile.
71647 FORMAT_FILE=
71648 case "$glibcxx_cv_sys_filetype" in
71649 elf*) FORMAT_FILE="elf.lo" ;;
71650 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71651 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71652    FORMAT_FILE="unknown.lo"
71653    enable_libstdcxx_backtrace=no
71654    ;;
71655 esac
71656
71657
71658 # ELF defines.
71659 elfsize=
71660 case "$glibcxx_cv_sys_filetype" in
71661 elf32) elfsize=32 ;;
71662 elf64) elfsize=64 ;;
71663 esac
71664 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71665
71666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71667 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71668   if test "$enable_libstdcxx_backtrace" = "auto"; then
71669     enable_libstdcxx_backtrace=no
71670   fi
71671   if test "$enable_libstdcxx_backtrace" = "yes"; then
71672     BACKTRACE_SUPPORTED=1
71673
71674     for ac_header in sys/mman.h
71675 do :
71676   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71677 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71678   cat >>confdefs.h <<_ACEOF
71679 #define HAVE_SYS_MMAN_H 1
71680 _ACEOF
71681
71682 fi
71683
71684 done
71685
71686     case "${host}" in
71687       *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71688         have_mmap=no ;;
71689       *-*-*)
71690         have_mmap="$ac_cv_header_sys_mman_h" ;;
71691     esac
71692
71693     if test "$have_mmap" = "no"; then
71694       VIEW_FILE=read.lo
71695       ALLOC_FILE=alloc.lo
71696     else
71697       VIEW_FILE=mmapio.lo
71698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71699 /* end confdefs.h.  */
71700
71701     #include <sys/mman.h>
71702     #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71703       #error no MAP_ANONYMOUS
71704     #endif
71705
71706 _ACEOF
71707 if ac_fn_c_try_cpp "$LINENO"; then :
71708   ALLOC_FILE=mmap.lo
71709 else
71710   ALLOC_FILE=alloc.lo
71711 fi
71712 rm -f conftest.err conftest.i conftest.$ac_ext
71713     fi
71714
71715
71716
71717     BACKTRACE_USES_MALLOC=0
71718     if test "$ALLOC_FILE" = "alloc.lo"; then
71719       BACKTRACE_USES_MALLOC=1
71720     fi
71721
71722     if test "$ac_has_gthreads" = "yes"; then
71723       BACKTRACE_SUPPORTS_THREADS=1
71724     else
71725       BACKTRACE_SUPPORTS_THREADS=0
71726     fi
71727
71728
71729
71730
71731
71732 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71733
71734   else
71735     BACKTRACE_SUPPORTED=0
71736     BACKTRACE_USES_MALLOC=0
71737     BACKTRACE_SUPPORTS_THREADS=0
71738   fi
71739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71740 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71741
71742
71743
71744 # For Networking TS.
71745 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
71746 do :
71747   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71748 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71750   cat >>confdefs.h <<_ACEOF
71751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71752 _ACEOF
71753
71754 fi
71755
71756 done
71757
71758 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71759 "
71760 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71761
71762 fi
71763
71764 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71765 "
71766 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71767
71768 fi
71769
71770 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71771   ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71772 "
71773 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71774
71775 fi
71776
71777 fi
71778
71779 # For Transactional Memory TS
71780
71781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71782 $as_echo_n "checking how size_t is mangled... " >&6; }
71783 if ${glibcxx_cv_size_t_mangling+:} false; then :
71784   $as_echo_n "(cached) " >&6
71785 else
71786
71787     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h.  */
71789
71790 int
71791 main ()
71792 {
71793 extern __SIZE_TYPE__ x; extern unsigned long x;
71794   ;
71795   return 0;
71796 }
71797 _ACEOF
71798 if ac_fn_c_try_compile "$LINENO"; then :
71799   glibcxx_cv_size_t_mangling=m
71800 else
71801
71802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71803 /* end confdefs.h.  */
71804
71805 int
71806 main ()
71807 {
71808 extern __SIZE_TYPE__ x; extern unsigned int x;
71809   ;
71810   return 0;
71811 }
71812 _ACEOF
71813 if ac_fn_c_try_compile "$LINENO"; then :
71814   glibcxx_cv_size_t_mangling=j
71815 else
71816
71817         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71818 /* end confdefs.h.  */
71819
71820 int
71821 main ()
71822 {
71823 extern __SIZE_TYPE__ x; extern unsigned long long x;
71824   ;
71825   return 0;
71826 }
71827 _ACEOF
71828 if ac_fn_c_try_compile "$LINENO"; then :
71829   glibcxx_cv_size_t_mangling=y
71830 else
71831
71832           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71833 /* end confdefs.h.  */
71834
71835 int
71836 main ()
71837 {
71838 extern __SIZE_TYPE__ x; extern unsigned short x;
71839   ;
71840   return 0;
71841 }
71842 _ACEOF
71843 if ac_fn_c_try_compile "$LINENO"; then :
71844   glibcxx_cv_size_t_mangling=t
71845 else
71846
71847             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71848 /* end confdefs.h.  */
71849
71850 int
71851 main ()
71852 {
71853 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
71854   ;
71855   return 0;
71856 }
71857 _ACEOF
71858 if ac_fn_c_try_compile "$LINENO"; then :
71859   glibcxx_cv_size_t_mangling=u6uint20
71860 else
71861   glibcxx_cv_size_t_mangling=x
71862 fi
71863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71864
71865 fi
71866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71867
71868 fi
71869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71870
71871 fi
71872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71873
71874 fi
71875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71876
71877 fi
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
71879 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
71880   if test $glibcxx_cv_size_t_mangling = x; then
71881     as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
71882   fi
71883
71884 cat >>confdefs.h <<_ACEOF
71885 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
71886 _ACEOF
71887
71888
71889
71890 # Check which release added std::exception_ptr for the target
71891
71892   if test $enable_symvers != no; then
71893     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
71894 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
71895     case ${target} in
71896       aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
71897       m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
71898         ac_exception_ptr_since_gcc46=yes
71899         ;;
71900       *)
71901         # If the value of this macro changes then we will need to hardcode
71902         # yes/no here for additional targets based on the original value.
71903         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71904 /* end confdefs.h.  */
71905
71906 int
71907 main ()
71908 {
71909
71910           #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
71911           # error atomic int not always lock free
71912           #endif
71913
71914   ;
71915   return 0;
71916 }
71917 _ACEOF
71918 if ac_fn_c_try_compile "$LINENO"; then :
71919   ac_exception_ptr_since_gcc46=yes
71920 else
71921   ac_exception_ptr_since_gcc46=no
71922 fi
71923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71924         ;;
71925     esac
71926     if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
71927
71928 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
71929
71930       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
71931 $as_echo "4.6.0" >&6; }
71932     else
71933       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
71934 $as_echo "7.1.0" >&6; }
71935     fi
71936   fi
71937
71938
71939 # For libsupc++/eh_alloc.cc defaults.
71940
71941   eh_pool_static=
71942   eh_pool_nobjs=
71943   # Check whether --enable-libstdcxx-static-eh-pool was given.
71944 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
71945   enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
71946       eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
71947       { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
71948 $as_echo "$as_me: EH pool using static buffer" >&6;}
71949     fi
71950 fi
71951
71952
71953
71954 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
71955 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
71956   withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
71957       eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
71958       { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
71959 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
71960     else
71961       as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
71962     fi
71963 fi
71964
71965
71966   EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
71967
71968
71969
71970 # Define documentation rules conditionally.
71971
71972 # See if makeinfo has been installed and is modern enough
71973 # that we can use it.
71974
71975   # Extract the first word of "makeinfo", so it can be a program name with args.
71976 set dummy makeinfo; ac_word=$2
71977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71978 $as_echo_n "checking for $ac_word... " >&6; }
71979 if ${ac_cv_prog_MAKEINFO+:} false; then :
71980   $as_echo_n "(cached) " >&6
71981 else
71982   if test -n "$MAKEINFO"; then
71983   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71984 else
71985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71986 for as_dir in $PATH
71987 do
71988   IFS=$as_save_IFS
71989   test -z "$as_dir" && as_dir=.
71990     for ac_exec_ext in '' $ac_executable_extensions; do
71991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71992     ac_cv_prog_MAKEINFO="makeinfo"
71993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71994     break 2
71995   fi
71996 done
71997   done
71998 IFS=$as_save_IFS
71999
72000 fi
72001 fi
72002 MAKEINFO=$ac_cv_prog_MAKEINFO
72003 if test -n "$MAKEINFO"; then
72004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72005 $as_echo "$MAKEINFO" >&6; }
72006 else
72007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72008 $as_echo "no" >&6; }
72009 fi
72010
72011
72012   if test -n "$MAKEINFO"; then
72013     # Found it, now check the version.
72014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72015 $as_echo_n "checking for modern makeinfo... " >&6; }
72016 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
72017   $as_echo_n "(cached) " >&6
72018 else
72019   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72020                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72021
72022                     case $ac_prog_version in
72023                       '')  gcc_cv_prog_makeinfo_modern=no;;
72024                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
72025                       *)   gcc_cv_prog_makeinfo_modern=no;;
72026                     esac
72027
72028 fi
72029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72030 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72031   else
72032     gcc_cv_prog_makeinfo_modern=no
72033   fi
72034   if test $gcc_cv_prog_makeinfo_modern = no; then
72035     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72036   fi
72037
72038  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72039   BUILD_INFO_TRUE=
72040   BUILD_INFO_FALSE='#'
72041 else
72042   BUILD_INFO_TRUE='#'
72043   BUILD_INFO_FALSE=
72044 fi
72045
72046
72047 # Check for doxygen
72048 # Extract the first word of "doxygen", so it can be a program name with args.
72049 set dummy doxygen; ac_word=$2
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72051 $as_echo_n "checking for $ac_word... " >&6; }
72052 if ${ac_cv_prog_DOXYGEN+:} false; then :
72053   $as_echo_n "(cached) " >&6
72054 else
72055   if test -n "$DOXYGEN"; then
72056   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72057 else
72058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72059 for as_dir in $PATH
72060 do
72061   IFS=$as_save_IFS
72062   test -z "$as_dir" && as_dir=.
72063     for ac_exec_ext in '' $ac_executable_extensions; do
72064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72065     ac_cv_prog_DOXYGEN="yes"
72066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72067     break 2
72068   fi
72069 done
72070   done
72071 IFS=$as_save_IFS
72072
72073   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72074 fi
72075 fi
72076 DOXYGEN=$ac_cv_prog_DOXYGEN
72077 if test -n "$DOXYGEN"; then
72078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72079 $as_echo "$DOXYGEN" >&6; }
72080 else
72081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72082 $as_echo "no" >&6; }
72083 fi
72084
72085
72086 # Extract the first word of "dot", so it can be a program name with args.
72087 set dummy dot; ac_word=$2
72088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72089 $as_echo_n "checking for $ac_word... " >&6; }
72090 if ${ac_cv_prog_DOT+:} false; then :
72091   $as_echo_n "(cached) " >&6
72092 else
72093   if test -n "$DOT"; then
72094   ac_cv_prog_DOT="$DOT" # Let the user override the test.
72095 else
72096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72097 for as_dir in $PATH
72098 do
72099   IFS=$as_save_IFS
72100   test -z "$as_dir" && as_dir=.
72101     for ac_exec_ext in '' $ac_executable_extensions; do
72102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72103     ac_cv_prog_DOT="yes"
72104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72105     break 2
72106   fi
72107 done
72108   done
72109 IFS=$as_save_IFS
72110
72111   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72112 fi
72113 fi
72114 DOT=$ac_cv_prog_DOT
72115 if test -n "$DOT"; then
72116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72117 $as_echo "$DOT" >&6; }
72118 else
72119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72120 $as_echo "no" >&6; }
72121 fi
72122
72123
72124
72125 # Check for docbook
72126 # Extract the first word of "xmlcatalog", so it can be a program name with args.
72127 set dummy xmlcatalog; ac_word=$2
72128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72129 $as_echo_n "checking for $ac_word... " >&6; }
72130 if ${ac_cv_prog_XMLCATALOG+:} false; then :
72131   $as_echo_n "(cached) " >&6
72132 else
72133   if test -n "$XMLCATALOG"; then
72134   ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
72135 else
72136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72137 for as_dir in $PATH
72138 do
72139   IFS=$as_save_IFS
72140   test -z "$as_dir" && as_dir=.
72141     for ac_exec_ext in '' $ac_executable_extensions; do
72142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72143     ac_cv_prog_XMLCATALOG="yes"
72144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72145     break 2
72146   fi
72147 done
72148   done
72149 IFS=$as_save_IFS
72150
72151   test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
72152 fi
72153 fi
72154 XMLCATALOG=$ac_cv_prog_XMLCATALOG
72155 if test -n "$XMLCATALOG"; then
72156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
72157 $as_echo "$XMLCATALOG" >&6; }
72158 else
72159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72160 $as_echo "no" >&6; }
72161 fi
72162
72163
72164 # Extract the first word of "xsltproc", so it can be a program name with args.
72165 set dummy xsltproc; ac_word=$2
72166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72167 $as_echo_n "checking for $ac_word... " >&6; }
72168 if ${ac_cv_prog_XSLTPROC+:} false; then :
72169   $as_echo_n "(cached) " >&6
72170 else
72171   if test -n "$XSLTPROC"; then
72172   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72173 else
72174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72175 for as_dir in $PATH
72176 do
72177   IFS=$as_save_IFS
72178   test -z "$as_dir" && as_dir=.
72179     for ac_exec_ext in '' $ac_executable_extensions; do
72180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72181     ac_cv_prog_XSLTPROC="yes"
72182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72183     break 2
72184   fi
72185 done
72186   done
72187 IFS=$as_save_IFS
72188
72189   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72190 fi
72191 fi
72192 XSLTPROC=$ac_cv_prog_XSLTPROC
72193 if test -n "$XSLTPROC"; then
72194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72195 $as_echo "$XSLTPROC" >&6; }
72196 else
72197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72198 $as_echo "no" >&6; }
72199 fi
72200
72201
72202 # Extract the first word of "xmllint", so it can be a program name with args.
72203 set dummy xmllint; ac_word=$2
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72205 $as_echo_n "checking for $ac_word... " >&6; }
72206 if ${ac_cv_prog_XMLLINT+:} false; then :
72207   $as_echo_n "(cached) " >&6
72208 else
72209   if test -n "$XMLLINT"; then
72210   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72211 else
72212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72213 for as_dir in $PATH
72214 do
72215   IFS=$as_save_IFS
72216   test -z "$as_dir" && as_dir=.
72217     for ac_exec_ext in '' $ac_executable_extensions; do
72218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72219     ac_cv_prog_XMLLINT="yes"
72220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72221     break 2
72222   fi
72223 done
72224   done
72225 IFS=$as_save_IFS
72226
72227   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72228 fi
72229 fi
72230 XMLLINT=$ac_cv_prog_XMLLINT
72231 if test -n "$XMLLINT"; then
72232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72233 $as_echo "$XMLLINT" >&6; }
72234 else
72235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72236 $as_echo "no" >&6; }
72237 fi
72238
72239
72240
72241
72242 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
72243
72244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72245 $as_echo_n "checking for local stylesheet directory... " >&6; }
72246 glibcxx_local_stylesheets=no
72247 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
72248 then
72249   XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
72250   glibcxx_local_stylesheets=yes
72251 else
72252   for dir in \
72253     /usr/share/sgml/docbook/xsl-ns-stylesheets \
72254     /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
72255     /usr/share/xml/docbook/stylesheet/nwalsh5/current \
72256     /usr/share/xml/docbook/stylesheet/nwalsh/current
72257   do
72258     if test -d $dir; then
72259       glibcxx_local_stylesheets=yes
72260       XSL_STYLE_DIR=$dir
72261       break
72262     fi
72263   done
72264 fi
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72266 $as_echo "$glibcxx_local_stylesheets" >&6; }
72267
72268 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72269
72270   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72271 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72272
72273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72274 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72275   glibcxx_stylesheets=no
72276   if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
72277     if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
72278       glibcxx_stylesheets=yes
72279     fi
72280   fi
72281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72282 $as_echo "$glibcxx_stylesheets" >&6; }
72283
72284 else
72285   glibcxx_stylesheets=no
72286 fi
72287
72288 # Check for epub3 dependencies.
72289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72290 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72291 glibcxx_epub_stylesheets=no
72292 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72293    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72294       glibcxx_epub_stylesheets=yes
72295    fi
72296 fi
72297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72298 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72299  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72300   BUILD_EPUB_TRUE=
72301   BUILD_EPUB_FALSE='#'
72302 else
72303   BUILD_EPUB_TRUE='#'
72304   BUILD_EPUB_FALSE=
72305 fi
72306
72307
72308
72309
72310 # Check for xml/html dependencies.
72311  if test $ac_cv_prog_DOXYGEN = "yes" &&
72312                test $ac_cv_prog_DOT = "yes" &&
72313                test $ac_cv_prog_XSLTPROC = "yes" &&
72314                test $ac_cv_prog_XMLLINT = "yes" &&
72315                test $glibcxx_stylesheets = "yes"; then
72316   BUILD_XML_TRUE=
72317   BUILD_XML_FALSE='#'
72318 else
72319   BUILD_XML_TRUE='#'
72320   BUILD_XML_FALSE=
72321 fi
72322
72323
72324  if test $ac_cv_prog_DOXYGEN = "yes" &&
72325                test $ac_cv_prog_DOT = "yes" &&
72326                test $ac_cv_prog_XSLTPROC = "yes" &&
72327                test $ac_cv_prog_XMLLINT = "yes" &&
72328                test $glibcxx_stylesheets = "yes"; then
72329   BUILD_HTML_TRUE=
72330   BUILD_HTML_FALSE='#'
72331 else
72332   BUILD_HTML_TRUE='#'
72333   BUILD_HTML_FALSE=
72334 fi
72335
72336
72337 # Check for man dependencies.
72338  if test $ac_cv_prog_DOXYGEN = "yes" &&
72339                test $ac_cv_prog_DOT = "yes"; then
72340   BUILD_MAN_TRUE=
72341   BUILD_MAN_FALSE='#'
72342 else
72343   BUILD_MAN_TRUE='#'
72344   BUILD_MAN_FALSE=
72345 fi
72346
72347
72348 # Check for pdf dependencies.
72349 # Extract the first word of "dblatex", so it can be a program name with args.
72350 set dummy dblatex; ac_word=$2
72351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72352 $as_echo_n "checking for $ac_word... " >&6; }
72353 if ${ac_cv_prog_DBLATEX+:} false; then :
72354   $as_echo_n "(cached) " >&6
72355 else
72356   if test -n "$DBLATEX"; then
72357   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72358 else
72359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72360 for as_dir in $PATH
72361 do
72362   IFS=$as_save_IFS
72363   test -z "$as_dir" && as_dir=.
72364     for ac_exec_ext in '' $ac_executable_extensions; do
72365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72366     ac_cv_prog_DBLATEX="yes"
72367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72368     break 2
72369   fi
72370 done
72371   done
72372 IFS=$as_save_IFS
72373
72374   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72375 fi
72376 fi
72377 DBLATEX=$ac_cv_prog_DBLATEX
72378 if test -n "$DBLATEX"; then
72379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72380 $as_echo "$DBLATEX" >&6; }
72381 else
72382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72383 $as_echo "no" >&6; }
72384 fi
72385
72386
72387 # Extract the first word of "pdflatex", so it can be a program name with args.
72388 set dummy pdflatex; ac_word=$2
72389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72390 $as_echo_n "checking for $ac_word... " >&6; }
72391 if ${ac_cv_prog_PDFLATEX+:} false; then :
72392   $as_echo_n "(cached) " >&6
72393 else
72394   if test -n "$PDFLATEX"; then
72395   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72396 else
72397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72398 for as_dir in $PATH
72399 do
72400   IFS=$as_save_IFS
72401   test -z "$as_dir" && as_dir=.
72402     for ac_exec_ext in '' $ac_executable_extensions; do
72403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72404     ac_cv_prog_PDFLATEX="yes"
72405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72406     break 2
72407   fi
72408 done
72409   done
72410 IFS=$as_save_IFS
72411
72412   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72413 fi
72414 fi
72415 PDFLATEX=$ac_cv_prog_PDFLATEX
72416 if test -n "$PDFLATEX"; then
72417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72418 $as_echo "$PDFLATEX" >&6; }
72419 else
72420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72421 $as_echo "no" >&6; }
72422 fi
72423
72424
72425  if test $ac_cv_prog_DOXYGEN = "yes" &&
72426                test $ac_cv_prog_DOT = "yes" &&
72427                test $ac_cv_prog_XSLTPROC = "yes" &&
72428                test $ac_cv_prog_XMLLINT = "yes" &&
72429                test $ac_cv_prog_DBLATEX = "yes" &&
72430                test $ac_cv_prog_PDFLATEX = "yes"; then
72431   BUILD_PDF_TRUE=
72432   BUILD_PDF_FALSE='#'
72433 else
72434   BUILD_PDF_TRUE='#'
72435   BUILD_PDF_FALSE=
72436 fi
72437
72438
72439 case "$build" in
72440  *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72441  * ) glibcxx_include_dir_notparallel=no ;;
72442 esac
72443  if test $glibcxx_include_dir_notparallel = "yes"; then
72444   INCLUDE_DIR_NOTPARALLEL_TRUE=
72445   INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72446 else
72447   INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72448   INCLUDE_DIR_NOTPARALLEL_FALSE=
72449 fi
72450
72451
72452 # Propagate the target-specific source directories through the build chain.
72453 ATOMICITY_SRCDIR=config/${atomicity_dir}
72454 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72455 ATOMIC_FLAGS=${atomic_flags}
72456 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72457 OS_INC_SRCDIR=config/${os_include_dir}
72458 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72459 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72460 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72461 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72462
72463
72464
72465
72466
72467
72468
72469
72470
72471
72472 # Conditionalize the makefile for this target machine.
72473 tmake_file_=
72474 for f in ${tmake_file}
72475 do
72476         if test -f ${srcdir}/config/$f
72477         then
72478                 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72479         fi
72480 done
72481 tmake_file="${tmake_file_}"
72482
72483
72484 # Add CET specific flags if Intel CET is enabled.
72485  # Check whether --enable-cet was given.
72486 if test "${enable_cet+set}" = set; then :
72487   enableval=$enable_cet;
72488       case "$enableval" in
72489        yes|no|auto) ;;
72490        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72491                           esac
72492
72493 else
72494   enable_cet=auto
72495 fi
72496
72497
72498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72499 $as_echo_n "checking for CET support... " >&6; }
72500
72501 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72502 case "$host" in
72503   i[34567]86-*-linux* | x86_64-*-linux*)
72504     case "$enable_cet" in
72505       auto)
72506         # Check if target supports multi-byte NOPs
72507         # and if compiler and assembler support CET insn.
72508         cet_save_CFLAGS="$CFLAGS"
72509         CFLAGS="$CFLAGS -fcf-protection"
72510         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72511 /* end confdefs.h.  */
72512
72513 int
72514 main ()
72515 {
72516
72517 #if !defined(__SSE2__)
72518 #error target does not support multi-byte NOPs
72519 #else
72520 asm ("setssbsy");
72521 #endif
72522
72523   ;
72524   return 0;
72525 }
72526 _ACEOF
72527 if ac_fn_c_try_compile "$LINENO"; then :
72528   enable_cet=yes
72529 else
72530   enable_cet=no
72531 fi
72532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72533         CFLAGS="$cet_save_CFLAGS"
72534         ;;
72535       yes)
72536         # Check if assembler supports CET.
72537         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72538 /* end confdefs.h.  */
72539
72540 int
72541 main ()
72542 {
72543 asm ("setssbsy");
72544   ;
72545   return 0;
72546 }
72547 _ACEOF
72548 if ac_fn_c_try_compile "$LINENO"; then :
72549
72550 else
72551   as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72552 fi
72553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72554         ;;
72555     esac
72556     ;;
72557   *)
72558     enable_cet=no
72559     ;;
72560 esac
72561 if test x$enable_cet = xyes; then
72562   CET_FLAGS="-fcf-protection -mshstk"
72563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72564 $as_echo "yes" >&6; }
72565 else
72566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72567 $as_echo "no" >&6; }
72568 fi
72569
72570 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72571 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72572
72573
72574
72575 # Determine cross-compile flags and AM_CONDITIONALs.
72576 #AC_SUBST(GLIBCXX_IS_NATIVE)
72577 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72578     if test $is_hosted = yes; then
72579   GLIBCXX_HOSTED_TRUE=
72580   GLIBCXX_HOSTED_FALSE='#'
72581 else
72582   GLIBCXX_HOSTED_TRUE='#'
72583   GLIBCXX_HOSTED_FALSE=
72584 fi
72585
72586
72587     if test $enable_libstdcxx_pch = yes; then
72588   GLIBCXX_BUILD_PCH_TRUE=
72589   GLIBCXX_BUILD_PCH_FALSE='#'
72590 else
72591   GLIBCXX_BUILD_PCH_TRUE='#'
72592   GLIBCXX_BUILD_PCH_FALSE=
72593 fi
72594
72595
72596     if test $enable_float128 = yes; then
72597   ENABLE_FLOAT128_TRUE=
72598   ENABLE_FLOAT128_FALSE='#'
72599 else
72600   ENABLE_FLOAT128_TRUE='#'
72601   ENABLE_FLOAT128_FALSE=
72602 fi
72603
72604
72605     if test $enable_libstdcxx_allocator_flag = new; then
72606   ENABLE_ALLOCATOR_NEW_TRUE=
72607   ENABLE_ALLOCATOR_NEW_FALSE='#'
72608 else
72609   ENABLE_ALLOCATOR_NEW_TRUE='#'
72610   ENABLE_ALLOCATOR_NEW_FALSE=
72611 fi
72612
72613
72614     if test $enable_cheaders = c; then
72615   GLIBCXX_C_HEADERS_C_TRUE=
72616   GLIBCXX_C_HEADERS_C_FALSE='#'
72617 else
72618   GLIBCXX_C_HEADERS_C_TRUE='#'
72619   GLIBCXX_C_HEADERS_C_FALSE=
72620 fi
72621
72622
72623     if test $enable_cheaders = c_std; then
72624   GLIBCXX_C_HEADERS_C_STD_TRUE=
72625   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72626 else
72627   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72628   GLIBCXX_C_HEADERS_C_STD_FALSE=
72629 fi
72630
72631
72632     if test $enable_cheaders = c_global; then
72633   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72634   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72635 else
72636   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72637   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72638 fi
72639
72640
72641     if test $c_compatibility = yes; then
72642   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72643   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72644 else
72645   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72646   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72647 fi
72648
72649
72650     if test $enable_libstdcxx_debug = yes; then
72651   GLIBCXX_BUILD_DEBUG_TRUE=
72652   GLIBCXX_BUILD_DEBUG_FALSE='#'
72653 else
72654   GLIBCXX_BUILD_DEBUG_TRUE='#'
72655   GLIBCXX_BUILD_DEBUG_FALSE=
72656 fi
72657
72658
72659     if test $enable_extern_template = yes; then
72660   ENABLE_EXTERN_TEMPLATE_TRUE=
72661   ENABLE_EXTERN_TEMPLATE_FALSE='#'
72662 else
72663   ENABLE_EXTERN_TEMPLATE_TRUE='#'
72664   ENABLE_EXTERN_TEMPLATE_FALSE=
72665 fi
72666
72667
72668     if test $python_mod_dir != no; then
72669   ENABLE_PYTHONDIR_TRUE=
72670   ENABLE_PYTHONDIR_FALSE='#'
72671 else
72672   ENABLE_PYTHONDIR_TRUE='#'
72673   ENABLE_PYTHONDIR_FALSE=
72674 fi
72675
72676
72677     if test $enable_werror = yes; then
72678   ENABLE_WERROR_TRUE=
72679   ENABLE_WERROR_FALSE='#'
72680 else
72681   ENABLE_WERROR_TRUE='#'
72682   ENABLE_WERROR_FALSE=
72683 fi
72684
72685
72686     if test $enable_vtable_verify = yes; then
72687   ENABLE_VTABLE_VERIFY_TRUE=
72688   ENABLE_VTABLE_VERIFY_FALSE='#'
72689 else
72690   ENABLE_VTABLE_VERIFY_TRUE='#'
72691   ENABLE_VTABLE_VERIFY_FALSE=
72692 fi
72693
72694
72695     if test $enable_symvers != no; then
72696   ENABLE_SYMVERS_TRUE=
72697   ENABLE_SYMVERS_FALSE='#'
72698 else
72699   ENABLE_SYMVERS_TRUE='#'
72700   ENABLE_SYMVERS_FALSE=
72701 fi
72702
72703
72704     if test $enable_symvers = gnu; then
72705   ENABLE_SYMVERS_GNU_TRUE=
72706   ENABLE_SYMVERS_GNU_FALSE='#'
72707 else
72708   ENABLE_SYMVERS_GNU_TRUE='#'
72709   ENABLE_SYMVERS_GNU_FALSE=
72710 fi
72711
72712
72713     if test $enable_symvers = gnu-versioned-namespace; then
72714   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72715   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72716 else
72717   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72718   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72719 fi
72720
72721
72722     if test $enable_symvers = darwin; then
72723   ENABLE_SYMVERS_DARWIN_TRUE=
72724   ENABLE_SYMVERS_DARWIN_FALSE='#'
72725 else
72726   ENABLE_SYMVERS_DARWIN_TRUE='#'
72727   ENABLE_SYMVERS_DARWIN_FALSE=
72728 fi
72729
72730
72731     if test $enable_symvers = sun; then
72732   ENABLE_SYMVERS_SUN_TRUE=
72733   ENABLE_SYMVERS_SUN_FALSE='#'
72734 else
72735   ENABLE_SYMVERS_SUN_TRUE='#'
72736   ENABLE_SYMVERS_SUN_FALSE=
72737 fi
72738
72739
72740     if test $enable_libstdcxx_visibility = yes; then
72741   ENABLE_VISIBILITY_TRUE=
72742   ENABLE_VISIBILITY_FALSE='#'
72743 else
72744   ENABLE_VISIBILITY_TRUE='#'
72745   ENABLE_VISIBILITY_FALSE=
72746 fi
72747
72748
72749     if test $enable_libstdcxx_dual_abi = yes; then
72750   ENABLE_DUAL_ABI_TRUE=
72751   ENABLE_DUAL_ABI_FALSE='#'
72752 else
72753   ENABLE_DUAL_ABI_TRUE='#'
72754   ENABLE_DUAL_ABI_FALSE=
72755 fi
72756
72757
72758     if test $glibcxx_cxx11_abi = 1; then
72759   ENABLE_CXX11_ABI_TRUE=
72760   ENABLE_CXX11_ABI_FALSE='#'
72761 else
72762   ENABLE_CXX11_ABI_TRUE='#'
72763   ENABLE_CXX11_ABI_FALSE=
72764 fi
72765
72766
72767     if test $ac_ldbl_compat = yes; then
72768   GLIBCXX_LDBL_COMPAT_TRUE=
72769   GLIBCXX_LDBL_COMPAT_FALSE='#'
72770 else
72771   GLIBCXX_LDBL_COMPAT_TRUE='#'
72772   GLIBCXX_LDBL_COMPAT_FALSE=
72773 fi
72774
72775
72776     if test $ac_ldbl_alt128_compat = yes; then
72777   GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
72778   GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
72779 else
72780   GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
72781   GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
72782 fi
72783
72784
72785     if test $enable_libstdcxx_filesystem_ts = yes; then
72786   ENABLE_FILESYSTEM_TS_TRUE=
72787   ENABLE_FILESYSTEM_TS_FALSE='#'
72788 else
72789   ENABLE_FILESYSTEM_TS_TRUE='#'
72790   ENABLE_FILESYSTEM_TS_FALSE=
72791 fi
72792
72793
72794     if test "$enable_libstdcxx_backtrace" = yes; then
72795   ENABLE_BACKTRACE_TRUE=
72796   ENABLE_BACKTRACE_FALSE='#'
72797 else
72798   ENABLE_BACKTRACE_TRUE='#'
72799   ENABLE_BACKTRACE_FALSE=
72800 fi
72801
72802
72803
72804
72805 cat >confcache <<\_ACEOF
72806 # This file is a shell script that caches the results of configure
72807 # tests run on this system so they can be shared between configure
72808 # scripts and configure runs, see configure's option --config-cache.
72809 # It is not useful on other systems.  If it contains results you don't
72810 # want to keep, you may remove or edit it.
72811 #
72812 # config.status only pays attention to the cache file if you give it
72813 # the --recheck option to rerun configure.
72814 #
72815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72817 # following values.
72818
72819 _ACEOF
72820
72821 # The following way of writing the cache mishandles newlines in values,
72822 # but we know of no workaround that is simple, portable, and efficient.
72823 # So, we kill variables containing newlines.
72824 # Ultrix sh set writes to stderr and can't be redirected directly,
72825 # and sets the high bit in the cache file unless we assign to the vars.
72826 (
72827   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72828     eval ac_val=\$$ac_var
72829     case $ac_val in #(
72830     *${as_nl}*)
72831       case $ac_var in #(
72832       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72834       esac
72835       case $ac_var in #(
72836       _ | IFS | as_nl) ;; #(
72837       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72838       *) { eval $ac_var=; unset $ac_var;} ;;
72839       esac ;;
72840     esac
72841   done
72842
72843   (set) 2>&1 |
72844     case $as_nl`(ac_space=' '; set) 2>&1` in #(
72845     *${as_nl}ac_space=\ *)
72846       # `set' does not quote correctly, so add quotes: double-quote
72847       # substitution turns \\\\ into \\, and sed turns \\ into \.
72848       sed -n \
72849         "s/'/'\\\\''/g;
72850           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72851       ;; #(
72852     *)
72853       # `set' quotes correctly as required by POSIX, so do not add quotes.
72854       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72855       ;;
72856     esac |
72857     sort
72858 ) |
72859   sed '
72860      /^ac_cv_env_/b end
72861      t clear
72862      :clear
72863      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72864      t end
72865      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72866      :end' >>confcache
72867 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72868   if test -w "$cache_file"; then
72869     if test "x$cache_file" != "x/dev/null"; then
72870       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72871 $as_echo "$as_me: updating cache $cache_file" >&6;}
72872       if test ! -f "$cache_file" || test -h "$cache_file"; then
72873         cat confcache >"$cache_file"
72874       else
72875         case $cache_file in #(
72876         */* | ?:*)
72877           mv -f confcache "$cache_file"$$ &&
72878           mv -f "$cache_file"$$ "$cache_file" ;; #(
72879         *)
72880           mv -f confcache "$cache_file" ;;
72881         esac
72882       fi
72883     fi
72884   else
72885     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72886 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72887   fi
72888 fi
72889 rm -f confcache
72890
72891 if test ${multilib} = yes; then
72892   multilib_arg="--enable-multilib"
72893 else
72894   multilib_arg=
72895 fi
72896
72897 # Export all the install information.
72898
72899   glibcxx_toolexecdir=no
72900   glibcxx_toolexeclibdir=no
72901   glibcxx_prefixdir=$prefix
72902
72903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72904 $as_echo_n "checking for gxx-include-dir... " >&6; }
72905
72906 # Check whether --with-gxx-include-dir was given.
72907 if test "${with_gxx_include_dir+set}" = set; then :
72908   withval=$with_gxx_include_dir; case "$withval" in
72909       yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72910       no)  gxx_include_dir=no ;;
72911       *)   gxx_include_dir=$withval ;;
72912      esac
72913 else
72914   gxx_include_dir=no
72915 fi
72916
72917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72918 $as_echo "$gxx_include_dir" >&6; }
72919
72920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72921 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72922   # Check whether --enable-version-specific-runtime-libs was given.
72923 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72924   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72925       yes) version_specific_libs=yes ;;
72926       no)  version_specific_libs=no ;;
72927       *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72928      esac
72929 else
72930   version_specific_libs=no
72931 fi
72932
72933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72934 $as_echo "$version_specific_libs" >&6; }
72935
72936
72937 # Check whether --with-toolexeclibdir was given.
72938 if test "${with_toolexeclibdir+set}" = set; then :
72939   withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
72940   /)
72941     ;;
72942   */)
72943     with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
72944     ;;
72945 esac
72946 else
72947   with_toolexeclibdir=no
72948 fi
72949
72950
72951
72952   # Default case for install directory for include files.
72953   if test $version_specific_libs = no && test $gxx_include_dir = no; then
72954     gxx_include_dir='include/c++/${gcc_version}'
72955     if test -n "$with_cross_host" &&
72956        test x"$with_cross_host" != x"no"; then
72957       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72958     else
72959       gxx_include_dir='${prefix}/'"$gxx_include_dir"
72960     fi
72961   fi
72962
72963   # Version-specific runtime libs processing.
72964   if test $version_specific_libs = yes; then
72965     # Need the gcc compiler version to know where to install libraries
72966     # and header files if --enable-version-specific-runtime-libs option
72967     # is selected.  FIXME: these variables are misnamed, there are
72968     # no executables installed in _toolexecdir or _toolexeclibdir.
72969     if test x"$gxx_include_dir" = x"no"; then
72970       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72971     fi
72972     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72973     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72974   fi
72975
72976   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72977   # Install a library built with a cross compiler in tooldir, not libdir.
72978   if test x"$glibcxx_toolexecdir" = x"no"; then
72979     if test -n "$with_cross_host" &&
72980        test x"$with_cross_host" != x"no"; then
72981       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72982       case ${with_toolexeclibdir} in
72983         no)
72984           glibcxx_toolexeclibdir='${toolexecdir}/lib'
72985           ;;
72986         *)
72987           glibcxx_toolexeclibdir=${with_toolexeclibdir}
72988           ;;
72989       esac
72990     else
72991       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72992       glibcxx_toolexeclibdir='${libdir}'
72993     fi
72994     multi_os_directory=`$CXX -print-multi-os-directory`
72995     case $multi_os_directory in
72996       .) ;; # Avoid trailing /.
72997       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72998     esac
72999   fi
73000
73001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73002 $as_echo_n "checking for install location... " >&6; }
73003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73004 $as_echo "$gxx_include_dir" >&6; }
73005
73006
73007
73008
73009
73010
73011
73012 # Export all the include and flag information to Makefiles.
73013
73014   # Used for every C++ compile we perform.
73015   GLIBCXX_INCLUDES="\
73016 -I$glibcxx_builddir/include/$host_alias \
73017 -I$glibcxx_builddir/include \
73018 -I$glibcxx_srcdir/libsupc++"
73019
73020   # For Canadian crosses, pick this up too.
73021   if test $CANADIAN = yes; then
73022     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73023   fi
73024
73025   # Stuff in the actual top level.  Currently only used by libsupc++ to
73026   # get unwind* headers from the libgcc dir.
73027   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73028   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73029
73030   # Now, export this to all the little Makefiles....
73031
73032
73033
73034
73035   # Optimization flags that are probably a good idea for thrill-seekers. Just
73036   # uncomment the lines below and make, everything else is ready to go...
73037   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73038   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73039
73040
73041   WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
73042
73043
73044
73045 # Determine what GCC version number to use in filesystem paths.
73046
73047   get_gcc_base_ver="cat"
73048
73049 # Check whether --with-gcc-major-version-only was given.
73050 if test "${with_gcc_major_version_only+set}" = set; then :
73051   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
73052         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
73053       fi
73054
73055 fi
73056
73057
73058
73059
73060 ac_config_files="$ac_config_files Makefile"
73061
73062 ac_config_files="$ac_config_files scripts/testsuite_flags"
73063
73064 ac_config_files="$ac_config_files scripts/extract_symvers"
73065
73066 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73067
73068 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
73069
73070
73071 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73072 # that multilib installs will end up installed in the correct place.
73073 # The testsuite needs it for multilib-aware ABI baseline files.
73074 # To work around this not being passed down from config-ml.in ->
73075 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73076 # append it here.  Only modify Makefiles that have just been created.
73077 #
73078 # Also, get rid of this simulated-VPATH thing that automake does.
73079 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
73080
73081
73082 ac_config_commands="$ac_config_commands generate-headers"
73083
73084
73085 cat >confcache <<\_ACEOF
73086 # This file is a shell script that caches the results of configure
73087 # tests run on this system so they can be shared between configure
73088 # scripts and configure runs, see configure's option --config-cache.
73089 # It is not useful on other systems.  If it contains results you don't
73090 # want to keep, you may remove or edit it.
73091 #
73092 # config.status only pays attention to the cache file if you give it
73093 # the --recheck option to rerun configure.
73094 #
73095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73097 # following values.
73098
73099 _ACEOF
73100
73101 # The following way of writing the cache mishandles newlines in values,
73102 # but we know of no workaround that is simple, portable, and efficient.
73103 # So, we kill variables containing newlines.
73104 # Ultrix sh set writes to stderr and can't be redirected directly,
73105 # and sets the high bit in the cache file unless we assign to the vars.
73106 (
73107   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73108     eval ac_val=\$$ac_var
73109     case $ac_val in #(
73110     *${as_nl}*)
73111       case $ac_var in #(
73112       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73114       esac
73115       case $ac_var in #(
73116       _ | IFS | as_nl) ;; #(
73117       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73118       *) { eval $ac_var=; unset $ac_var;} ;;
73119       esac ;;
73120     esac
73121   done
73122
73123   (set) 2>&1 |
73124     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73125     *${as_nl}ac_space=\ *)
73126       # `set' does not quote correctly, so add quotes: double-quote
73127       # substitution turns \\\\ into \\, and sed turns \\ into \.
73128       sed -n \
73129         "s/'/'\\\\''/g;
73130           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73131       ;; #(
73132     *)
73133       # `set' quotes correctly as required by POSIX, so do not add quotes.
73134       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73135       ;;
73136     esac |
73137     sort
73138 ) |
73139   sed '
73140      /^ac_cv_env_/b end
73141      t clear
73142      :clear
73143      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73144      t end
73145      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73146      :end' >>confcache
73147 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73148   if test -w "$cache_file"; then
73149     if test "x$cache_file" != "x/dev/null"; then
73150       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73151 $as_echo "$as_me: updating cache $cache_file" >&6;}
73152       if test ! -f "$cache_file" || test -h "$cache_file"; then
73153         cat confcache >"$cache_file"
73154       else
73155         case $cache_file in #(
73156         */* | ?:*)
73157           mv -f confcache "$cache_file"$$ &&
73158           mv -f "$cache_file"$$ "$cache_file" ;; #(
73159         *)
73160           mv -f confcache "$cache_file" ;;
73161         esac
73162       fi
73163     fi
73164   else
73165     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73166 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73167   fi
73168 fi
73169 rm -f confcache
73170
73171 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73172 # Let make expand exec_prefix.
73173 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73174
73175 DEFS=-DHAVE_CONFIG_H
73176
73177 ac_libobjs=
73178 ac_ltlibobjs=
73179 U=
73180 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73181   # 1. Remove the extension, and $U if already installed.
73182   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73183   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73184   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
73185   #    will be set to the directory where LIBOBJS objects are built.
73186   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73187   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73188 done
73189 LIBOBJS=$ac_libobjs
73190
73191 LTLIBOBJS=$ac_ltlibobjs
73192
73193
73194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
73195 $as_echo_n "checking that generated files are newer than configure... " >&6; }
73196    if test -n "$am_sleep_pid"; then
73197      # Hide warnings about reused PIDs.
73198      wait $am_sleep_pid 2>/dev/null
73199    fi
73200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
73201 $as_echo "done" >&6; }
73202  if test -n "$EXEEXT"; then
73203   am__EXEEXT_TRUE=
73204   am__EXEEXT_FALSE='#'
73205 else
73206   am__EXEEXT_TRUE='#'
73207   am__EXEEXT_FALSE=
73208 fi
73209
73210 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73211   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
73212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73213 fi
73214 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73215   as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
73216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73217 fi
73218 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73219   as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73221 fi
73222 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
73223   as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
73224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73225 fi
73226 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
73227   as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
73228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73229 fi
73230 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73231   as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73233 fi
73234 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73235   as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73237 fi
73238 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73239   as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73241 fi
73242 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73243   as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73245 fi
73246 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73247   as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73249 fi
73250 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73251   as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73253 fi
73254 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73255   as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
73256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73257 fi
73258 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73259   as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
73260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73261 fi
73262 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
73263   as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
73264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73265 fi
73266 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73267   as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73269 fi
73270 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73271   as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
73272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73273 fi
73274 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73275   as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73277 fi
73278 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73279   as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73281 fi
73282 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73283   as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73285 fi
73286 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73287   as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73289 fi
73290 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73291   as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
73292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73293 fi
73294 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
73295   as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
73296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73297 fi
73298 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
73299   as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
73300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73301 fi
73302 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73303   as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73305 fi
73306 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
73307   as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
73308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73309 fi
73310 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
73311   as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
73312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73313 fi
73314 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
73315   as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
73316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73317 fi
73318 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73319   as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
73320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73321 fi
73322 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73323   as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
73324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73325 fi
73326 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73327   as_fn_error $? "conditional \"BUILD_XML\" was never defined.
73328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73329 fi
73330 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73331   as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
73332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73333 fi
73334 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73335   as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
73336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73337 fi
73338 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73339   as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
73340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73341 fi
73342 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73343   as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73345 fi
73346
73347 : "${CONFIG_STATUS=./config.status}"
73348 ac_write_fail=0
73349 ac_clean_files_save=$ac_clean_files
73350 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73352 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73353 as_write_fail=0
73354 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73355 #! $SHELL
73356 # Generated by $as_me.
73357 # Run this file to recreate the current configuration.
73358 # Compiler output produced by configure, useful for debugging
73359 # configure, is in config.log if it exists.
73360
73361 debug=false
73362 ac_cs_recheck=false
73363 ac_cs_silent=false
73364
73365 SHELL=\${CONFIG_SHELL-$SHELL}
73366 export SHELL
73367 _ASEOF
73368 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73369 ## -------------------- ##
73370 ## M4sh Initialization. ##
73371 ## -------------------- ##
73372
73373 # Be more Bourne compatible
73374 DUALCASE=1; export DUALCASE # for MKS sh
73375 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73376   emulate sh
73377   NULLCMD=:
73378   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73379   # is contrary to our usage.  Disable this feature.
73380   alias -g '${1+"$@"}'='"$@"'
73381   setopt NO_GLOB_SUBST
73382 else
73383   case `(set -o) 2>/dev/null` in #(
73384   *posix*) :
73385     set -o posix ;; #(
73386   *) :
73387      ;;
73388 esac
73389 fi
73390
73391
73392 as_nl='
73393 '
73394 export as_nl
73395 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73396 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73397 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73398 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73399 # Prefer a ksh shell builtin over an external printf program on Solaris,
73400 # but without wasting forks for bash or zsh.
73401 if test -z "$BASH_VERSION$ZSH_VERSION" \
73402     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73403   as_echo='print -r --'
73404   as_echo_n='print -rn --'
73405 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73406   as_echo='printf %s\n'
73407   as_echo_n='printf %s'
73408 else
73409   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73410     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73411     as_echo_n='/usr/ucb/echo -n'
73412   else
73413     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73414     as_echo_n_body='eval
73415       arg=$1;
73416       case $arg in #(
73417       *"$as_nl"*)
73418         expr "X$arg" : "X\\(.*\\)$as_nl";
73419         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73420       esac;
73421       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73422     '
73423     export as_echo_n_body
73424     as_echo_n='sh -c $as_echo_n_body as_echo'
73425   fi
73426   export as_echo_body
73427   as_echo='sh -c $as_echo_body as_echo'
73428 fi
73429
73430 # The user is always right.
73431 if test "${PATH_SEPARATOR+set}" != set; then
73432   PATH_SEPARATOR=:
73433   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73434     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73435       PATH_SEPARATOR=';'
73436   }
73437 fi
73438
73439
73440 # IFS
73441 # We need space, tab and new line, in precisely that order.  Quoting is
73442 # there to prevent editors from complaining about space-tab.
73443 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73444 # splitting by setting IFS to empty value.)
73445 IFS=" ""        $as_nl"
73446
73447 # Find who we are.  Look in the path if we contain no directory separator.
73448 as_myself=
73449 case $0 in #((
73450   *[\\/]* ) as_myself=$0 ;;
73451   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73452 for as_dir in $PATH
73453 do
73454   IFS=$as_save_IFS
73455   test -z "$as_dir" && as_dir=.
73456     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73457   done
73458 IFS=$as_save_IFS
73459
73460      ;;
73461 esac
73462 # We did not find ourselves, most probably we were run as `sh COMMAND'
73463 # in which case we are not to be found in the path.
73464 if test "x$as_myself" = x; then
73465   as_myself=$0
73466 fi
73467 if test ! -f "$as_myself"; then
73468   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73469   exit 1
73470 fi
73471
73472 # Unset variables that we do not need and which cause bugs (e.g. in
73473 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
73474 # suppresses any "Segmentation fault" message there.  '((' could
73475 # trigger a bug in pdksh 5.2.14.
73476 for as_var in BASH_ENV ENV MAIL MAILPATH
73477 do eval test x\${$as_var+set} = xset \
73478   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73479 done
73480 PS1='$ '
73481 PS2='> '
73482 PS4='+ '
73483
73484 # NLS nuisances.
73485 LC_ALL=C
73486 export LC_ALL
73487 LANGUAGE=C
73488 export LANGUAGE
73489
73490 # CDPATH.
73491 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73492
73493
73494 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73495 # ----------------------------------------
73496 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73497 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73498 # script with STATUS, using 1 if that was 0.
73499 as_fn_error ()
73500 {
73501   as_status=$1; test $as_status -eq 0 && as_status=1
73502   if test "$4"; then
73503     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73504     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73505   fi
73506   $as_echo "$as_me: error: $2" >&2
73507   as_fn_exit $as_status
73508 } # as_fn_error
73509
73510
73511 # as_fn_set_status STATUS
73512 # -----------------------
73513 # Set $? to STATUS, without forking.
73514 as_fn_set_status ()
73515 {
73516   return $1
73517 } # as_fn_set_status
73518
73519 # as_fn_exit STATUS
73520 # -----------------
73521 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73522 as_fn_exit ()
73523 {
73524   set +e
73525   as_fn_set_status $1
73526   exit $1
73527 } # as_fn_exit
73528
73529 # as_fn_unset VAR
73530 # ---------------
73531 # Portably unset VAR.
73532 as_fn_unset ()
73533 {
73534   { eval $1=; unset $1;}
73535 }
73536 as_unset=as_fn_unset
73537 # as_fn_append VAR VALUE
73538 # ----------------------
73539 # Append the text in VALUE to the end of the definition contained in VAR. Take
73540 # advantage of any shell optimizations that allow amortized linear growth over
73541 # repeated appends, instead of the typical quadratic growth present in naive
73542 # implementations.
73543 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73544   eval 'as_fn_append ()
73545   {
73546     eval $1+=\$2
73547   }'
73548 else
73549   as_fn_append ()
73550   {
73551     eval $1=\$$1\$2
73552   }
73553 fi # as_fn_append
73554
73555 # as_fn_arith ARG...
73556 # ------------------
73557 # Perform arithmetic evaluation on the ARGs, and store the result in the
73558 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73559 # must be portable across $(()) and expr.
73560 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73561   eval 'as_fn_arith ()
73562   {
73563     as_val=$(( $* ))
73564   }'
73565 else
73566   as_fn_arith ()
73567   {
73568     as_val=`expr "$@" || test $? -eq 1`
73569   }
73570 fi # as_fn_arith
73571
73572
73573 if expr a : '\(a\)' >/dev/null 2>&1 &&
73574    test "X`expr 00001 : '.*\(...\)'`" = X001; then
73575   as_expr=expr
73576 else
73577   as_expr=false
73578 fi
73579
73580 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73581   as_basename=basename
73582 else
73583   as_basename=false
73584 fi
73585
73586 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73587   as_dirname=dirname
73588 else
73589   as_dirname=false
73590 fi
73591
73592 as_me=`$as_basename -- "$0" ||
73593 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73594          X"$0" : 'X\(//\)$' \| \
73595          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73596 $as_echo X/"$0" |
73597     sed '/^.*\/\([^/][^/]*\)\/*$/{
73598             s//\1/
73599             q
73600           }
73601           /^X\/\(\/\/\)$/{
73602             s//\1/
73603             q
73604           }
73605           /^X\/\(\/\).*/{
73606             s//\1/
73607             q
73608           }
73609           s/.*/./; q'`
73610
73611 # Avoid depending upon Character Ranges.
73612 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73613 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73614 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73615 as_cr_digits='0123456789'
73616 as_cr_alnum=$as_cr_Letters$as_cr_digits
73617
73618 ECHO_C= ECHO_N= ECHO_T=
73619 case `echo -n x` in #(((((
73620 -n*)
73621   case `echo 'xy\c'` in
73622   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
73623   xy)  ECHO_C='\c';;
73624   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
73625        ECHO_T=' ';;
73626   esac;;
73627 *)
73628   ECHO_N='-n';;
73629 esac
73630
73631 rm -f conf$$ conf$$.exe conf$$.file
73632 if test -d conf$$.dir; then
73633   rm -f conf$$.dir/conf$$.file
73634 else
73635   rm -f conf$$.dir
73636   mkdir conf$$.dir 2>/dev/null
73637 fi
73638 if (echo >conf$$.file) 2>/dev/null; then
73639   if ln -s conf$$.file conf$$ 2>/dev/null; then
73640     as_ln_s='ln -s'
73641     # ... but there are two gotchas:
73642     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73643     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73644     # In both cases, we have to default to `cp -pR'.
73645     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73646       as_ln_s='cp -pR'
73647   elif ln conf$$.file conf$$ 2>/dev/null; then
73648     as_ln_s=ln
73649   else
73650     as_ln_s='cp -pR'
73651   fi
73652 else
73653   as_ln_s='cp -pR'
73654 fi
73655 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73656 rmdir conf$$.dir 2>/dev/null
73657
73658
73659 # as_fn_mkdir_p
73660 # -------------
73661 # Create "$as_dir" as a directory, including parents if necessary.
73662 as_fn_mkdir_p ()
73663 {
73664
73665   case $as_dir in #(
73666   -*) as_dir=./$as_dir;;
73667   esac
73668   test -d "$as_dir" || eval $as_mkdir_p || {
73669     as_dirs=
73670     while :; do
73671       case $as_dir in #(
73672       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73673       *) as_qdir=$as_dir;;
73674       esac
73675       as_dirs="'$as_qdir' $as_dirs"
73676       as_dir=`$as_dirname -- "$as_dir" ||
73677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73678          X"$as_dir" : 'X\(//\)[^/]' \| \
73679          X"$as_dir" : 'X\(//\)$' \| \
73680          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73681 $as_echo X"$as_dir" |
73682     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73683             s//\1/
73684             q
73685           }
73686           /^X\(\/\/\)[^/].*/{
73687             s//\1/
73688             q
73689           }
73690           /^X\(\/\/\)$/{
73691             s//\1/
73692             q
73693           }
73694           /^X\(\/\).*/{
73695             s//\1/
73696             q
73697           }
73698           s/.*/./; q'`
73699       test -d "$as_dir" && break
73700     done
73701     test -z "$as_dirs" || eval "mkdir $as_dirs"
73702   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
73703
73704
73705 } # as_fn_mkdir_p
73706 if mkdir -p . 2>/dev/null; then
73707   as_mkdir_p='mkdir -p "$as_dir"'
73708 else
73709   test -d ./-p && rmdir ./-p
73710   as_mkdir_p=false
73711 fi
73712
73713
73714 # as_fn_executable_p FILE
73715 # -----------------------
73716 # Test if FILE is an executable regular file.
73717 as_fn_executable_p ()
73718 {
73719   test -f "$1" && test -x "$1"
73720 } # as_fn_executable_p
73721 as_test_x='test -x'
73722 as_executable_p=as_fn_executable_p
73723
73724 # Sed expression to map a string onto a valid CPP name.
73725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73726
73727 # Sed expression to map a string onto a valid variable name.
73728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73729
73730
73731 exec 6>&1
73732 ## ----------------------------------- ##
73733 ## Main body of $CONFIG_STATUS script. ##
73734 ## ----------------------------------- ##
73735 _ASEOF
73736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73737
73738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73739 # Save the log message, to keep $0 and so on meaningful, and to
73740 # report actual input values of CONFIG_FILES etc. instead of their
73741 # values after options handling.
73742 ac_log="
73743 This file was extended by package-unused $as_me version-unused, which was
73744 generated by GNU Autoconf 2.69.  Invocation command line was
73745
73746   CONFIG_FILES    = $CONFIG_FILES
73747   CONFIG_HEADERS  = $CONFIG_HEADERS
73748   CONFIG_LINKS    = $CONFIG_LINKS
73749   CONFIG_COMMANDS = $CONFIG_COMMANDS
73750   $ $0 $@
73751
73752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73753 "
73754
73755 _ACEOF
73756
73757 case $ac_config_files in *"
73758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73759 esac
73760
73761 case $ac_config_headers in *"
73762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73763 esac
73764
73765
73766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73767 # Files that config.status was made for.
73768 config_files="$ac_config_files"
73769 config_headers="$ac_config_headers"
73770 config_commands="$ac_config_commands"
73771
73772 _ACEOF
73773
73774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73775 ac_cs_usage="\
73776 \`$as_me' instantiates files and other configuration actions
73777 from templates according to the current configuration.  Unless the files
73778 and actions are specified as TAGs, all are instantiated by default.
73779
73780 Usage: $0 [OPTION]... [TAG]...
73781
73782   -h, --help       print this help, then exit
73783   -V, --version    print version number and configuration settings, then exit
73784       --config     print configuration, then exit
73785   -q, --quiet, --silent
73786                    do not print progress messages
73787   -d, --debug      don't remove temporary files
73788       --recheck    update $as_me by reconfiguring in the same conditions
73789       --file=FILE[:TEMPLATE]
73790                    instantiate the configuration file FILE
73791       --header=FILE[:TEMPLATE]
73792                    instantiate the configuration header FILE
73793
73794 Configuration files:
73795 $config_files
73796
73797 Configuration headers:
73798 $config_headers
73799
73800 Configuration commands:
73801 $config_commands
73802
73803 Report bugs to the package provider."
73804
73805 _ACEOF
73806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73807 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
73808 ac_cs_version="\\
73809 package-unused config.status version-unused
73810 configured by $0, generated by GNU Autoconf 2.69,
73811   with options \\"\$ac_cs_config\\"
73812
73813 Copyright (C) 2012 Free Software Foundation, Inc.
73814 This config.status script is free software; the Free Software Foundation
73815 gives unlimited permission to copy, distribute and modify it."
73816
73817 ac_pwd='$ac_pwd'
73818 srcdir='$srcdir'
73819 INSTALL='$INSTALL'
73820 MKDIR_P='$MKDIR_P'
73821 AWK='$AWK'
73822 test -n "\$AWK" || AWK=awk
73823 _ACEOF
73824
73825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73826 # The default lists apply if the user does not specify any file.
73827 ac_need_defaults=:
73828 while test $# != 0
73829 do
73830   case $1 in
73831   --*=?*)
73832     ac_option=`expr "X$1" : 'X\([^=]*\)='`
73833     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73834     ac_shift=:
73835     ;;
73836   --*=)
73837     ac_option=`expr "X$1" : 'X\([^=]*\)='`
73838     ac_optarg=
73839     ac_shift=:
73840     ;;
73841   *)
73842     ac_option=$1
73843     ac_optarg=$2
73844     ac_shift=shift
73845     ;;
73846   esac
73847
73848   case $ac_option in
73849   # Handling of the options.
73850   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73851     ac_cs_recheck=: ;;
73852   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73853     $as_echo "$ac_cs_version"; exit ;;
73854   --config | --confi | --conf | --con | --co | --c )
73855     $as_echo "$ac_cs_config"; exit ;;
73856   --debug | --debu | --deb | --de | --d | -d )
73857     debug=: ;;
73858   --file | --fil | --fi | --f )
73859     $ac_shift
73860     case $ac_optarg in
73861     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73862     '') as_fn_error $? "missing file argument" ;;
73863     esac
73864     as_fn_append CONFIG_FILES " '$ac_optarg'"
73865     ac_need_defaults=false;;
73866   --header | --heade | --head | --hea )
73867     $ac_shift
73868     case $ac_optarg in
73869     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73870     esac
73871     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73872     ac_need_defaults=false;;
73873   --he | --h)
73874     # Conflict between --help and --header
73875     as_fn_error $? "ambiguous option: \`$1'
73876 Try \`$0 --help' for more information.";;
73877   --help | --hel | -h )
73878     $as_echo "$ac_cs_usage"; exit ;;
73879   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73880   | -silent | --silent | --silen | --sile | --sil | --si | --s)
73881     ac_cs_silent=: ;;
73882
73883   # This is an error.
73884   -*) as_fn_error $? "unrecognized option: \`$1'
73885 Try \`$0 --help' for more information." ;;
73886
73887   *) as_fn_append ac_config_targets " $1"
73888      ac_need_defaults=false ;;
73889
73890   esac
73891   shift
73892 done
73893
73894 ac_configure_extra_args=
73895
73896 if $ac_cs_silent; then
73897   exec 6>/dev/null
73898   ac_configure_extra_args="$ac_configure_extra_args --silent"
73899 fi
73900
73901 _ACEOF
73902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73903 if \$ac_cs_recheck; then
73904   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73905   shift
73906   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73907   CONFIG_SHELL='$SHELL'
73908   export CONFIG_SHELL
73909   exec "\$@"
73910 fi
73911
73912 _ACEOF
73913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73914 exec 5>>config.log
73915 {
73916   echo
73917   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73918 ## Running $as_me. ##
73919 _ASBOX
73920   $as_echo "$ac_log"
73921 } >&5
73922
73923 _ACEOF
73924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73925 #
73926 # INIT-COMMANDS
73927 #
73928
73929 srcdir="$srcdir"
73930 host="$host"
73931 target="$target"
73932 with_multisubdir="$with_multisubdir"
73933 with_multisrctop="$with_multisrctop"
73934 with_target_subdir="$with_target_subdir"
73935 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73936 multi_basedir="$multi_basedir"
73937 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73938 CC="$CC"
73939 CXX="$CXX"
73940 GFORTRAN="$GFORTRAN"
73941 GDC="$GDC"
73942
73943
73944 # The HP-UX ksh and POSIX shell print the target directory to stdout
73945 # if CDPATH is set.
73946 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73947
73948 sed_quote_subst='$sed_quote_subst'
73949 double_quote_subst='$double_quote_subst'
73950 delay_variable_subst='$delay_variable_subst'
73951 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73952 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73953 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73954 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73955 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73956 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73957 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73958 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73959 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73960 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73961 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73962 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73963 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73964 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73965 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73966 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73967 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73968 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73969 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73970 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73971 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73972 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73973 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73974 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73975 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73976 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73977 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73978 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73979 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73980 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73981 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73982 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73983 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73984 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73985 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73986 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73987 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73988 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73989 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73990 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73991 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73992 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73993 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73994 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73995 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73996 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73997 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73998 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73999 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
74000 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74001 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74002 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74003 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74004 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74005 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74006 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74007 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74008 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74009 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74010 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74011 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74012 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74013 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74014 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74015 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74016 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74017 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74018 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74019 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74020 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74021 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74022 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74023 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74024 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74025 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74026 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74027 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74028 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74029 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74030 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74031 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74032 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74033 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74034 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74035 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74036 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74037 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74038 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74039 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74040 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74041 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74042 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74043 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74044 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74045 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74046 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74047 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74048 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74049 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74050 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74051 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74052 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74053 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74054 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74055 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74056 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74057 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74058 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74059 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74060 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74061 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74062 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74063 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74064 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74065 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74066 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74067 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74068 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74069 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74070 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74071 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74072 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74073 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74074 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74075 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74076 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74077 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74078 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74079 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74080 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74081 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74082 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74083 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74084 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74085 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74086 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74087 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74088 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74089 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74090 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74091 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74092 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74093 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74094 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74095 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74096 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74097 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74098 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74099 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74100 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74101 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74102 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74103 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74104 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74105 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74106 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74107 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74108 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74109 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74110 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74111 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74112 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74113 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74114 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74115 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74116 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74117 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74118 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74119 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74120 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74121 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74122 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74123 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74124 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74125 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74126
74127 LTCC='$LTCC'
74128 LTCFLAGS='$LTCFLAGS'
74129 compiler='$compiler_DEFAULT'
74130
74131 # A function that is used when there is no print builtin or printf.
74132 func_fallback_echo ()
74133 {
74134   eval 'cat <<_LTECHO_EOF
74135 \$1
74136 _LTECHO_EOF'
74137 }
74138
74139 # Quote evaled strings.
74140 for var in SHELL \
74141 ECHO \
74142 SED \
74143 GREP \
74144 EGREP \
74145 FGREP \
74146 LD \
74147 NM \
74148 LN_S \
74149 lt_SP2NL \
74150 lt_NL2SP \
74151 reload_flag \
74152 OBJDUMP \
74153 deplibs_check_method \
74154 file_magic_cmd \
74155 AR \
74156 AR_FLAGS \
74157 STRIP \
74158 RANLIB \
74159 CC \
74160 CFLAGS \
74161 compiler \
74162 lt_cv_sys_global_symbol_pipe \
74163 lt_cv_sys_global_symbol_to_cdecl \
74164 lt_cv_sys_global_symbol_to_c_name_address \
74165 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74166 lt_prog_compiler_no_builtin_flag \
74167 lt_prog_compiler_wl \
74168 lt_prog_compiler_pic \
74169 lt_prog_compiler_static \
74170 lt_cv_prog_compiler_c_o \
74171 need_locks \
74172 DSYMUTIL \
74173 NMEDIT \
74174 LIPO \
74175 OTOOL \
74176 OTOOL64 \
74177 shrext_cmds \
74178 export_dynamic_flag_spec \
74179 whole_archive_flag_spec \
74180 compiler_needs_object \
74181 with_gnu_ld \
74182 allow_undefined_flag \
74183 no_undefined_flag \
74184 hardcode_libdir_flag_spec \
74185 hardcode_libdir_flag_spec_ld \
74186 hardcode_libdir_separator \
74187 fix_srcfile_path \
74188 exclude_expsyms \
74189 include_expsyms \
74190 file_list_spec \
74191 variables_saved_for_relink \
74192 libname_spec \
74193 library_names_spec \
74194 soname_spec \
74195 install_override_mode \
74196 finish_eval \
74197 old_striplib \
74198 striplib \
74199 compiler_lib_search_dirs \
74200 predep_objects \
74201 postdep_objects \
74202 predeps \
74203 postdeps \
74204 compiler_lib_search_path \
74205 LD_CXX \
74206 reload_flag_CXX \
74207 compiler_CXX \
74208 lt_prog_compiler_no_builtin_flag_CXX \
74209 lt_prog_compiler_wl_CXX \
74210 lt_prog_compiler_pic_CXX \
74211 lt_prog_compiler_static_CXX \
74212 lt_cv_prog_compiler_c_o_CXX \
74213 export_dynamic_flag_spec_CXX \
74214 whole_archive_flag_spec_CXX \
74215 compiler_needs_object_CXX \
74216 with_gnu_ld_CXX \
74217 allow_undefined_flag_CXX \
74218 no_undefined_flag_CXX \
74219 hardcode_libdir_flag_spec_CXX \
74220 hardcode_libdir_flag_spec_ld_CXX \
74221 hardcode_libdir_separator_CXX \
74222 fix_srcfile_path_CXX \
74223 exclude_expsyms_CXX \
74224 include_expsyms_CXX \
74225 file_list_spec_CXX \
74226 compiler_lib_search_dirs_CXX \
74227 predep_objects_CXX \
74228 postdep_objects_CXX \
74229 predeps_CXX \
74230 postdeps_CXX \
74231 compiler_lib_search_path_CXX; do
74232     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74233     *[\\\\\\\`\\"\\\$]*)
74234       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74235       ;;
74236     *)
74237       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74238       ;;
74239     esac
74240 done
74241
74242 # Double-quote double-evaled strings.
74243 for var in reload_cmds \
74244 old_postinstall_cmds \
74245 old_postuninstall_cmds \
74246 old_archive_cmds \
74247 extract_expsyms_cmds \
74248 old_archive_from_new_cmds \
74249 old_archive_from_expsyms_cmds \
74250 archive_cmds \
74251 archive_expsym_cmds \
74252 module_cmds \
74253 module_expsym_cmds \
74254 export_symbols_cmds \
74255 prelink_cmds \
74256 postinstall_cmds \
74257 postuninstall_cmds \
74258 finish_cmds \
74259 sys_lib_search_path_spec \
74260 sys_lib_dlsearch_path_spec \
74261 reload_cmds_CXX \
74262 old_archive_cmds_CXX \
74263 old_archive_from_new_cmds_CXX \
74264 old_archive_from_expsyms_cmds_CXX \
74265 archive_cmds_CXX \
74266 archive_expsym_cmds_CXX \
74267 module_cmds_CXX \
74268 module_expsym_cmds_CXX \
74269 export_symbols_cmds_CXX \
74270 prelink_cmds_CXX; do
74271     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74272     *[\\\\\\\`\\"\\\$]*)
74273       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74274       ;;
74275     *)
74276       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74277       ;;
74278     esac
74279 done
74280
74281 ac_aux_dir='$ac_aux_dir'
74282 xsi_shell='$xsi_shell'
74283 lt_shell_append='$lt_shell_append'
74284
74285 # See if we are running on zsh, and set the options which allow our
74286 # commands through without removal of \ escapes INIT.
74287 if test -n "\${ZSH_VERSION+set}" ; then
74288    setopt NO_GLOB_SUBST
74289 fi
74290
74291
74292     PACKAGE='$PACKAGE'
74293     VERSION='$VERSION'
74294     TIMESTAMP='$TIMESTAMP'
74295     RM='$RM'
74296     ofile='$ofile'
74297
74298
74299
74300
74301
74302
74303 GCC="$GCC"
74304 CC="$CC"
74305 acx_cv_header_stdint="$acx_cv_header_stdint"
74306 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74307 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74308 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74309 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74310 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74311 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74312 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74313 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74314 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74315 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74316 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74317 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74318 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74319
74320
74321 _ACEOF
74322
74323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74324
74325 # Handling of arguments.
74326 for ac_config_target in $ac_config_targets
74327 do
74328   case $ac_config_target in
74329     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74330     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74331     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74332     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74333     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74334     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74335     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74336     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74337     "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
74338     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74339     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74340     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74341     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74342     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74343     "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
74344     "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
74345     "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
74346     "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
74347     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74348     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74349     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74350     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74351     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74352
74353   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74354   esac
74355 done
74356
74357
74358 # If the user did not use the arguments to specify the items to instantiate,
74359 # then the envvar interface is used.  Set only those that are not.
74360 # We use the long form for the default assignment because of an extremely
74361 # bizarre bug on SunOS 4.1.3.
74362 if $ac_need_defaults; then
74363   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74364   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74365   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74366 fi
74367
74368 # Have a temporary directory for convenience.  Make it in the build tree
74369 # simply because there is no reason against having it here, and in addition,
74370 # creating and moving files from /tmp can sometimes cause problems.
74371 # Hook for its removal unless debugging.
74372 # Note that there is a small window in which the directory will not be cleaned:
74373 # after its creation but before its name has been assigned to `$tmp'.
74374 $debug ||
74375 {
74376   tmp= ac_tmp=
74377   trap 'exit_status=$?
74378   : "${ac_tmp:=$tmp}"
74379   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74380 ' 0
74381   trap 'as_fn_exit 1' 1 2 13 15
74382 }
74383 # Create a (secure) tmp directory for tmp files.
74384
74385 {
74386   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74387   test -d "$tmp"
74388 }  ||
74389 {
74390   tmp=./conf$$-$RANDOM
74391   (umask 077 && mkdir "$tmp")
74392 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74393 ac_tmp=$tmp
74394
74395 # Set up the scripts for CONFIG_FILES section.
74396 # No need to generate them if there are no CONFIG_FILES.
74397 # This happens for instance with `./config.status config.h'.
74398 if test -n "$CONFIG_FILES"; then
74399
74400
74401 ac_cr=`echo X | tr X '\015'`
74402 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74403 # But we know of no other shell where ac_cr would be empty at this
74404 # point, so we can use a bashism as a fallback.
74405 if test "x$ac_cr" = x; then
74406   eval ac_cr=\$\'\\r\'
74407 fi
74408 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74409 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74410   ac_cs_awk_cr='\\r'
74411 else
74412   ac_cs_awk_cr=$ac_cr
74413 fi
74414
74415 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74416 _ACEOF
74417
74418
74419 {
74420   echo "cat >conf$$subs.awk <<_ACEOF" &&
74421   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74422   echo "_ACEOF"
74423 } >conf$$subs.sh ||
74424   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74425 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74426 ac_delim='%!_!# '
74427 for ac_last_try in false false false false false :; do
74428   . ./conf$$subs.sh ||
74429     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74430
74431   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74432   if test $ac_delim_n = $ac_delim_num; then
74433     break
74434   elif $ac_last_try; then
74435     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74436   else
74437     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74438   fi
74439 done
74440 rm -f conf$$subs.sh
74441
74442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74443 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74444 _ACEOF
74445 sed -n '
74446 h
74447 s/^/S["/; s/!.*/"]=/
74448 p
74449 g
74450 s/^[^!]*!//
74451 :repl
74452 t repl
74453 s/'"$ac_delim"'$//
74454 t delim
74455 :nl
74456 h
74457 s/\(.\{148\}\)..*/\1/
74458 t more1
74459 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74460 p
74461 n
74462 b repl
74463 :more1
74464 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74465 p
74466 g
74467 s/.\{148\}//
74468 t nl
74469 :delim
74470 h
74471 s/\(.\{148\}\)..*/\1/
74472 t more2
74473 s/["\\]/\\&/g; s/^/"/; s/$/"/
74474 p
74475 b
74476 :more2
74477 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74478 p
74479 g
74480 s/.\{148\}//
74481 t delim
74482 ' <conf$$subs.awk | sed '
74483 /^[^""]/{
74484   N
74485   s/\n//
74486 }
74487 ' >>$CONFIG_STATUS || ac_write_fail=1
74488 rm -f conf$$subs.awk
74489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74490 _ACAWK
74491 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74492   for (key in S) S_is_set[key] = 1
74493   FS = "\a"
74494
74495 }
74496 {
74497   line = $ 0
74498   nfields = split(line, field, "@")
74499   substed = 0
74500   len = length(field[1])
74501   for (i = 2; i < nfields; i++) {
74502     key = field[i]
74503     keylen = length(key)
74504     if (S_is_set[key]) {
74505       value = S[key]
74506       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74507       len += length(value) + length(field[++i])
74508       substed = 1
74509     } else
74510       len += 1 + keylen
74511   }
74512
74513   print line
74514 }
74515
74516 _ACAWK
74517 _ACEOF
74518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74519 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74520   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74521 else
74522   cat
74523 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74524   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74525 _ACEOF
74526
74527 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74528 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74529 # trailing colons and then remove the whole line if VPATH becomes empty
74530 # (actually we leave an empty line to preserve line numbers).
74531 if test "x$srcdir" = x.; then
74532   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
74533 h
74534 s///
74535 s/^/:/
74536 s/[      ]*$/:/
74537 s/:\$(srcdir):/:/g
74538 s/:\${srcdir}:/:/g
74539 s/:@srcdir@:/:/g
74540 s/^:*//
74541 s/:*$//
74542 x
74543 s/\(=[   ]*\).*/\1/
74544 G
74545 s/\n//
74546 s/^[^=]*=[       ]*$//
74547 }'
74548 fi
74549
74550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74551 fi # test -n "$CONFIG_FILES"
74552
74553 # Set up the scripts for CONFIG_HEADERS section.
74554 # No need to generate them if there are no CONFIG_HEADERS.
74555 # This happens for instance with `./config.status Makefile'.
74556 if test -n "$CONFIG_HEADERS"; then
74557 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74558 BEGIN {
74559 _ACEOF
74560
74561 # Transform confdefs.h into an awk script `defines.awk', embedded as
74562 # here-document in config.status, that substitutes the proper values into
74563 # config.h.in to produce config.h.
74564
74565 # Create a delimiter string that does not exist in confdefs.h, to ease
74566 # handling of long lines.
74567 ac_delim='%!_!# '
74568 for ac_last_try in false false :; do
74569   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74570   if test -z "$ac_tt"; then
74571     break
74572   elif $ac_last_try; then
74573     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74574   else
74575     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74576   fi
74577 done
74578
74579 # For the awk script, D is an array of macro values keyed by name,
74580 # likewise P contains macro parameters if any.  Preserve backslash
74581 # newline sequences.
74582
74583 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74584 sed -n '
74585 s/.\{148\}/&'"$ac_delim"'/g
74586 t rset
74587 :rset
74588 s/^[     ]*#[    ]*define[       ][      ]*/ /
74589 t def
74590 d
74591 :def
74592 s/\\$//
74593 t bsnl
74594 s/["\\]/\\&/g
74595 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74596 D["\1"]=" \3"/p
74597 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
74598 d
74599 :bsnl
74600 s/["\\]/\\&/g
74601 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74602 D["\1"]=" \3\\\\\\n"\\/p
74603 t cont
74604 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74605 t cont
74606 d
74607 :cont
74608 n
74609 s/.\{148\}/&'"$ac_delim"'/g
74610 t clear
74611 :clear
74612 s/\\$//
74613 t bsnlc
74614 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74615 d
74616 :bsnlc
74617 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74618 b cont
74619 ' <confdefs.h | sed '
74620 s/'"$ac_delim"'/"\\\
74621 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74622
74623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74624   for (key in D) D_is_set[key] = 1
74625   FS = "\a"
74626 }
74627 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74628   line = \$ 0
74629   split(line, arg, " ")
74630   if (arg[1] == "#") {
74631     defundef = arg[2]
74632     mac1 = arg[3]
74633   } else {
74634     defundef = substr(arg[1], 2)
74635     mac1 = arg[2]
74636   }
74637   split(mac1, mac2, "(") #)
74638   macro = mac2[1]
74639   prefix = substr(line, 1, index(line, defundef) - 1)
74640   if (D_is_set[macro]) {
74641     # Preserve the white space surrounding the "#".
74642     print prefix "define", macro P[macro] D[macro]
74643     next
74644   } else {
74645     # Replace #undef with comments.  This is necessary, for example,
74646     # in the case of _POSIX_SOURCE, which is predefined and required
74647     # on some systems where configure will not decide to define it.
74648     if (defundef == "undef") {
74649       print "/*", prefix defundef, macro, "*/"
74650       next
74651     }
74652   }
74653 }
74654 { print }
74655 _ACAWK
74656 _ACEOF
74657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74658   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
74659 fi # test -n "$CONFIG_HEADERS"
74660
74661
74662 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
74663 shift
74664 for ac_tag
74665 do
74666   case $ac_tag in
74667   :[FHLC]) ac_mode=$ac_tag; continue;;
74668   esac
74669   case $ac_mode$ac_tag in
74670   :[FHL]*:*);;
74671   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
74672   :[FH]-) ac_tag=-:-;;
74673   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74674   esac
74675   ac_save_IFS=$IFS
74676   IFS=:
74677   set x $ac_tag
74678   IFS=$ac_save_IFS
74679   shift
74680   ac_file=$1
74681   shift
74682
74683   case $ac_mode in
74684   :L) ac_source=$1;;
74685   :[FH])
74686     ac_file_inputs=
74687     for ac_f
74688     do
74689       case $ac_f in
74690       -) ac_f="$ac_tmp/stdin";;
74691       *) # Look for the file first in the build tree, then in the source tree
74692          # (if the path is not absolute).  The absolute path cannot be DOS-style,
74693          # because $ac_f cannot contain `:'.
74694          test -f "$ac_f" ||
74695            case $ac_f in
74696            [\\/$]*) false;;
74697            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74698            esac ||
74699            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74700       esac
74701       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74702       as_fn_append ac_file_inputs " '$ac_f'"
74703     done
74704
74705     # Let's still pretend it is `configure' which instantiates (i.e., don't
74706     # use $as_me), people would be surprised to read:
74707     #    /* config.h.  Generated by config.status.  */
74708     configure_input='Generated from '`
74709           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74710         `' by configure.'
74711     if test x"$ac_file" != x-; then
74712       configure_input="$ac_file.  $configure_input"
74713       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74714 $as_echo "$as_me: creating $ac_file" >&6;}
74715     fi
74716     # Neutralize special characters interpreted by sed in replacement strings.
74717     case $configure_input in #(
74718     *\&* | *\|* | *\\* )
74719        ac_sed_conf_input=`$as_echo "$configure_input" |
74720        sed 's/[\\\\&|]/\\\\&/g'`;; #(
74721     *) ac_sed_conf_input=$configure_input;;
74722     esac
74723
74724     case $ac_tag in
74725     *:-:* | *:-) cat >"$ac_tmp/stdin" \
74726       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
74727     esac
74728     ;;
74729   esac
74730
74731   ac_dir=`$as_dirname -- "$ac_file" ||
74732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74733          X"$ac_file" : 'X\(//\)[^/]' \| \
74734          X"$ac_file" : 'X\(//\)$' \| \
74735          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74736 $as_echo X"$ac_file" |
74737     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74738             s//\1/
74739             q
74740           }
74741           /^X\(\/\/\)[^/].*/{
74742             s//\1/
74743             q
74744           }
74745           /^X\(\/\/\)$/{
74746             s//\1/
74747             q
74748           }
74749           /^X\(\/\).*/{
74750             s//\1/
74751             q
74752           }
74753           s/.*/./; q'`
74754   as_dir="$ac_dir"; as_fn_mkdir_p
74755   ac_builddir=.
74756
74757 case "$ac_dir" in
74758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74759 *)
74760   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74761   # A ".." for each directory in $ac_dir_suffix.
74762   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74763   case $ac_top_builddir_sub in
74764   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74765   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74766   esac ;;
74767 esac
74768 ac_abs_top_builddir=$ac_pwd
74769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74770 # for backward compatibility:
74771 ac_top_builddir=$ac_top_build_prefix
74772
74773 case $srcdir in
74774   .)  # We are building in place.
74775     ac_srcdir=.
74776     ac_top_srcdir=$ac_top_builddir_sub
74777     ac_abs_top_srcdir=$ac_pwd ;;
74778   [\\/]* | ?:[\\/]* )  # Absolute name.
74779     ac_srcdir=$srcdir$ac_dir_suffix;
74780     ac_top_srcdir=$srcdir
74781     ac_abs_top_srcdir=$srcdir ;;
74782   *) # Relative name.
74783     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74784     ac_top_srcdir=$ac_top_build_prefix$srcdir
74785     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74786 esac
74787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74788
74789
74790   case $ac_mode in
74791   :F)
74792   #
74793   # CONFIG_FILE
74794   #
74795
74796   case $INSTALL in
74797   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74798   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74799   esac
74800   ac_MKDIR_P=$MKDIR_P
74801   case $MKDIR_P in
74802   [\\/$]* | ?:[\\/]* ) ;;
74803   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74804   esac
74805 _ACEOF
74806
74807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74808 # If the template does not know about datarootdir, expand it.
74809 # FIXME: This hack should be removed a few years after 2.60.
74810 ac_datarootdir_hack=; ac_datarootdir_seen=
74811 ac_sed_dataroot='
74812 /datarootdir/ {
74813   p
74814   q
74815 }
74816 /@datadir@/p
74817 /@docdir@/p
74818 /@infodir@/p
74819 /@localedir@/p
74820 /@mandir@/p'
74821 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74822 *datarootdir*) ac_datarootdir_seen=yes;;
74823 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74824   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74825 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74826 _ACEOF
74827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74828   ac_datarootdir_hack='
74829   s&@datadir@&$datadir&g
74830   s&@docdir@&$docdir&g
74831   s&@infodir@&$infodir&g
74832   s&@localedir@&$localedir&g
74833   s&@mandir@&$mandir&g
74834   s&\\\${datarootdir}&$datarootdir&g' ;;
74835 esac
74836 _ACEOF
74837
74838 # Neutralize VPATH when `$srcdir' = `.'.
74839 # Shell code in configure.ac might set extrasub.
74840 # FIXME: do we really want to maintain this feature?
74841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74842 ac_sed_extra="$ac_vpsub
74843 $extrasub
74844 _ACEOF
74845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74846 :t
74847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74848 s|@configure_input@|$ac_sed_conf_input|;t t
74849 s&@top_builddir@&$ac_top_builddir_sub&;t t
74850 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74851 s&@srcdir@&$ac_srcdir&;t t
74852 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74853 s&@top_srcdir@&$ac_top_srcdir&;t t
74854 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74855 s&@builddir@&$ac_builddir&;t t
74856 s&@abs_builddir@&$ac_abs_builddir&;t t
74857 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74858 s&@INSTALL@&$ac_INSTALL&;t t
74859 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74860 $ac_datarootdir_hack
74861 "
74862 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
74863   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74864
74865 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74866   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
74867   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
74868       "$ac_tmp/out"`; test -z "$ac_out"; } &&
74869   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74870 which seems to be undefined.  Please make sure it is defined" >&5
74871 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74872 which seems to be undefined.  Please make sure it is defined" >&2;}
74873
74874   rm -f "$ac_tmp/stdin"
74875   case $ac_file in
74876   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
74877   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
74878   esac \
74879   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74880  ;;
74881   :H)
74882   #
74883   # CONFIG_HEADER
74884   #
74885   if test x"$ac_file" != x-; then
74886     {
74887       $as_echo "/* $configure_input  */" \
74888       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
74889     } >"$ac_tmp/config.h" \
74890       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74891     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
74892       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74893 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74894     else
74895       rm -f "$ac_file"
74896       mv "$ac_tmp/config.h" "$ac_file" \
74897         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74898     fi
74899   else
74900     $as_echo "/* $configure_input  */" \
74901       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
74902       || as_fn_error $? "could not create -" "$LINENO" 5
74903   fi
74904 # Compute "$ac_file"'s index in $config_headers.
74905 _am_arg="$ac_file"
74906 _am_stamp_count=1
74907 for _am_header in $config_headers :; do
74908   case $_am_header in
74909     $_am_arg | $_am_arg:* )
74910       break ;;
74911     * )
74912       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74913   esac
74914 done
74915 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74916 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74917          X"$_am_arg" : 'X\(//\)[^/]' \| \
74918          X"$_am_arg" : 'X\(//\)$' \| \
74919          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74920 $as_echo X"$_am_arg" |
74921     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74922             s//\1/
74923             q
74924           }
74925           /^X\(\/\/\)[^/].*/{
74926             s//\1/
74927             q
74928           }
74929           /^X\(\/\/\)$/{
74930             s//\1/
74931             q
74932           }
74933           /^X\(\/\).*/{
74934             s//\1/
74935             q
74936           }
74937           s/.*/./; q'`/stamp-h$_am_stamp_count
74938  ;;
74939
74940   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74941 $as_echo "$as_me: executing $ac_file commands" >&6;}
74942  ;;
74943   esac
74944
74945
74946   case $ac_file$ac_mode in
74947     "default-1":C)
74948 # Only add multilib support code if we just rebuilt the top-level
74949 # Makefile.
74950 case " $CONFIG_FILES " in
74951  *" Makefile "*)
74952    ac_file=Makefile . ${multi_basedir}/config-ml.in
74953    ;;
74954 esac ;;
74955     "libtool":C)
74956
74957     # See if we are running on zsh, and set the options which allow our
74958     # commands through without removal of \ escapes.
74959     if test -n "${ZSH_VERSION+set}" ; then
74960       setopt NO_GLOB_SUBST
74961     fi
74962
74963     cfgfile="${ofile}T"
74964     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74965     $RM "$cfgfile"
74966
74967     cat <<_LT_EOF >> "$cfgfile"
74968 #! $SHELL
74969
74970 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74971 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74972 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74973 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74974 #
74975 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74976 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74977 #   Written by Gordon Matzigkeit, 1996
74978 #
74979 #   This file is part of GNU Libtool.
74980 #
74981 # GNU Libtool is free software; you can redistribute it and/or
74982 # modify it under the terms of the GNU General Public License as
74983 # published by the Free Software Foundation; either version 2 of
74984 # the License, or (at your option) any later version.
74985 #
74986 # As a special exception to the GNU General Public License,
74987 # if you distribute this file as part of a program or library that
74988 # is built using GNU Libtool, you may include this file under the
74989 # same distribution terms that you use for the rest of that program.
74990 #
74991 # GNU Libtool is distributed in the hope that it will be useful,
74992 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74993 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
74994 # GNU General Public License for more details.
74995 #
74996 # You should have received a copy of the GNU General Public License
74997 # along with GNU Libtool; see the file COPYING.  If not, a copy
74998 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74999 # obtained by writing to the Free Software Foundation, Inc.,
75000 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75001
75002
75003 # The names of the tagged configurations supported by this script.
75004 available_tags="CXX "
75005
75006 # ### BEGIN LIBTOOL CONFIG
75007
75008 # Which release of libtool.m4 was used?
75009 macro_version=$macro_version
75010 macro_revision=$macro_revision
75011
75012 # Whether or not to build shared libraries.
75013 build_libtool_libs=$enable_shared
75014
75015 # Whether or not to build static libraries.
75016 build_old_libs=$enable_static
75017
75018 # What type of objects to build.
75019 pic_mode=$pic_mode
75020
75021 # Whether or not to optimize for fast installation.
75022 fast_install=$enable_fast_install
75023
75024 # Shell to use when invoking shell scripts.
75025 SHELL=$lt_SHELL
75026
75027 # An echo program that protects backslashes.
75028 ECHO=$lt_ECHO
75029
75030 # The host system.
75031 host_alias=$host_alias
75032 host=$host
75033 host_os=$host_os
75034
75035 # The build system.
75036 build_alias=$build_alias
75037 build=$build
75038 build_os=$build_os
75039
75040 # A sed program that does not truncate output.
75041 SED=$lt_SED
75042
75043 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75044 Xsed="\$SED -e 1s/^X//"
75045
75046 # A grep program that handles long lines.
75047 GREP=$lt_GREP
75048
75049 # An ERE matcher.
75050 EGREP=$lt_EGREP
75051
75052 # A literal string matcher.
75053 FGREP=$lt_FGREP
75054
75055 # A BSD- or MS-compatible name lister.
75056 NM=$lt_NM
75057
75058 # Whether we need soft or hard links.
75059 LN_S=$lt_LN_S
75060
75061 # What is the maximum length of a command?
75062 max_cmd_len=$max_cmd_len
75063
75064 # Object file suffix (normally "o").
75065 objext=$ac_objext
75066
75067 # Executable file suffix (normally "").
75068 exeext=$exeext
75069
75070 # whether the shell understands "unset".
75071 lt_unset=$lt_unset
75072
75073 # turn spaces into newlines.
75074 SP2NL=$lt_lt_SP2NL
75075
75076 # turn newlines into spaces.
75077 NL2SP=$lt_lt_NL2SP
75078
75079 # An object symbol dumper.
75080 OBJDUMP=$lt_OBJDUMP
75081
75082 # Method to check whether dependent libraries are shared objects.
75083 deplibs_check_method=$lt_deplibs_check_method
75084
75085 # Command to use when deplibs_check_method == "file_magic".
75086 file_magic_cmd=$lt_file_magic_cmd
75087
75088 # The archiver.
75089 AR=$lt_AR
75090 AR_FLAGS=$lt_AR_FLAGS
75091
75092 # A symbol stripping program.
75093 STRIP=$lt_STRIP
75094
75095 # Commands used to install an old-style archive.
75096 RANLIB=$lt_RANLIB
75097 old_postinstall_cmds=$lt_old_postinstall_cmds
75098 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75099
75100 # Whether to use a lock for old archive extraction.
75101 lock_old_archive_extraction=$lock_old_archive_extraction
75102
75103 # A C compiler.
75104 LTCC=$lt_CC
75105
75106 # LTCC compiler flags.
75107 LTCFLAGS=$lt_CFLAGS
75108
75109 # Take the output of nm and produce a listing of raw symbols and C names.
75110 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75111
75112 # Transform the output of nm in a proper C declaration.
75113 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75114
75115 # Transform the output of nm in a C name address pair.
75116 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75117
75118 # Transform the output of nm in a C name address pair when lib prefix is needed.
75119 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75120
75121 # The name of the directory that contains temporary libtool files.
75122 objdir=$objdir
75123
75124 # Used to examine libraries when file_magic_cmd begins with "file".
75125 MAGIC_CMD=$MAGIC_CMD
75126
75127 # Must we lock files when doing compilation?
75128 need_locks=$lt_need_locks
75129
75130 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75131 DSYMUTIL=$lt_DSYMUTIL
75132
75133 # Tool to change global to local symbols on Mac OS X.
75134 NMEDIT=$lt_NMEDIT
75135
75136 # Tool to manipulate fat objects and archives on Mac OS X.
75137 LIPO=$lt_LIPO
75138
75139 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75140 OTOOL=$lt_OTOOL
75141
75142 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75143 OTOOL64=$lt_OTOOL64
75144
75145 # Old archive suffix (normally "a").
75146 libext=$libext
75147
75148 # Shared library suffix (normally ".so").
75149 shrext_cmds=$lt_shrext_cmds
75150
75151 # The commands to extract the exported symbol list from a shared archive.
75152 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75153
75154 # Variables whose values should be saved in libtool wrapper scripts and
75155 # restored at link time.
75156 variables_saved_for_relink=$lt_variables_saved_for_relink
75157
75158 # Do we need the "lib" prefix for modules?
75159 need_lib_prefix=$need_lib_prefix
75160
75161 # Do we need a version for libraries?
75162 need_version=$need_version
75163
75164 # Library versioning type.
75165 version_type=$version_type
75166
75167 # Shared library runtime path variable.
75168 runpath_var=$runpath_var
75169
75170 # Shared library path variable.
75171 shlibpath_var=$shlibpath_var
75172
75173 # Is shlibpath searched before the hard-coded library search path?
75174 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75175
75176 # Format of library name prefix.
75177 libname_spec=$lt_libname_spec
75178
75179 # List of archive names.  First name is the real one, the rest are links.
75180 # The last name is the one that the linker finds with -lNAME
75181 library_names_spec=$lt_library_names_spec
75182
75183 # The coded name of the library, if different from the real name.
75184 soname_spec=$lt_soname_spec
75185
75186 # Permission mode override for installation of shared libraries.
75187 install_override_mode=$lt_install_override_mode
75188
75189 # Command to use after installation of a shared archive.
75190 postinstall_cmds=$lt_postinstall_cmds
75191
75192 # Command to use after uninstallation of a shared archive.
75193 postuninstall_cmds=$lt_postuninstall_cmds
75194
75195 # Commands used to finish a libtool library installation in a directory.
75196 finish_cmds=$lt_finish_cmds
75197
75198 # As "finish_cmds", except a single script fragment to be evaled but
75199 # not shown.
75200 finish_eval=$lt_finish_eval
75201
75202 # Whether we should hardcode library paths into libraries.
75203 hardcode_into_libs=$hardcode_into_libs
75204
75205 # Compile-time system search path for libraries.
75206 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75207
75208 # Run-time system search path for libraries.
75209 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75210
75211 # Whether dlopen is supported.
75212 dlopen_support=$enable_dlopen
75213
75214 # Whether dlopen of programs is supported.
75215 dlopen_self=$enable_dlopen_self
75216
75217 # Whether dlopen of statically linked programs is supported.
75218 dlopen_self_static=$enable_dlopen_self_static
75219
75220 # Commands to strip libraries.
75221 old_striplib=$lt_old_striplib
75222 striplib=$lt_striplib
75223
75224
75225 # The linker used to build libraries.
75226 LD=$lt_LD
75227
75228 # How to create reloadable object files.
75229 reload_flag=$lt_reload_flag
75230 reload_cmds=$lt_reload_cmds
75231
75232 # Commands used to build an old-style archive.
75233 old_archive_cmds=$lt_old_archive_cmds
75234
75235 # A language specific compiler.
75236 CC=$lt_compiler
75237
75238 # Is the compiler the GNU compiler?
75239 with_gcc=$GCC
75240
75241 # Compiler flag to turn off builtin functions.
75242 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75243
75244 # How to pass a linker flag through the compiler.
75245 wl=$lt_lt_prog_compiler_wl
75246
75247 # Additional compiler flags for building library objects.
75248 pic_flag=$lt_lt_prog_compiler_pic
75249
75250 # Compiler flag to prevent dynamic linking.
75251 link_static_flag=$lt_lt_prog_compiler_static
75252
75253 # Does compiler simultaneously support -c and -o options?
75254 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75255
75256 # Whether or not to add -lc for building shared libraries.
75257 build_libtool_need_lc=$archive_cmds_need_lc
75258
75259 # Whether or not to disallow shared libs when runtime libs are static.
75260 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75261
75262 # Compiler flag to allow reflexive dlopens.
75263 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75264
75265 # Compiler flag to generate shared objects directly from archives.
75266 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75267
75268 # Whether the compiler copes with passing no objects directly.
75269 compiler_needs_object=$lt_compiler_needs_object
75270
75271 # Create an old-style archive from a shared archive.
75272 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75273
75274 # Create a temporary old-style archive to link instead of a shared archive.
75275 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75276
75277 # Commands used to build a shared archive.
75278 archive_cmds=$lt_archive_cmds
75279 archive_expsym_cmds=$lt_archive_expsym_cmds
75280
75281 # Commands used to build a loadable module if different from building
75282 # a shared archive.
75283 module_cmds=$lt_module_cmds
75284 module_expsym_cmds=$lt_module_expsym_cmds
75285
75286 # Whether we are building with GNU ld or not.
75287 with_gnu_ld=$lt_with_gnu_ld
75288
75289 # Flag that allows shared libraries with undefined symbols to be built.
75290 allow_undefined_flag=$lt_allow_undefined_flag
75291
75292 # Flag that enforces no undefined symbols.
75293 no_undefined_flag=$lt_no_undefined_flag
75294
75295 # Flag to hardcode \$libdir into a binary during linking.
75296 # This must work even if \$libdir does not exist
75297 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75298
75299 # If ld is used when linking, flag to hardcode \$libdir into a binary
75300 # during linking.  This must work even if \$libdir does not exist.
75301 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75302
75303 # Whether we need a single "-rpath" flag with a separated argument.
75304 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75305
75306 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75307 # DIR into the resulting binary.
75308 hardcode_direct=$hardcode_direct
75309
75310 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75311 # DIR into the resulting binary and the resulting library dependency is
75312 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75313 # library is relocated.
75314 hardcode_direct_absolute=$hardcode_direct_absolute
75315
75316 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75317 # into the resulting binary.
75318 hardcode_minus_L=$hardcode_minus_L
75319
75320 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75321 # into the resulting binary.
75322 hardcode_shlibpath_var=$hardcode_shlibpath_var
75323
75324 # Set to "yes" if building a shared library automatically hardcodes DIR
75325 # into the library and all subsequent libraries and executables linked
75326 # against it.
75327 hardcode_automatic=$hardcode_automatic
75328
75329 # Set to yes if linker adds runtime paths of dependent libraries
75330 # to runtime path list.
75331 inherit_rpath=$inherit_rpath
75332
75333 # Whether libtool must link a program against all its dependency libraries.
75334 link_all_deplibs=$link_all_deplibs
75335
75336 # Fix the shell variable \$srcfile for the compiler.
75337 fix_srcfile_path=$lt_fix_srcfile_path
75338
75339 # Set to "yes" if exported symbols are required.
75340 always_export_symbols=$always_export_symbols
75341
75342 # The commands to list exported symbols.
75343 export_symbols_cmds=$lt_export_symbols_cmds
75344
75345 # Symbols that should not be listed in the preloaded symbols.
75346 exclude_expsyms=$lt_exclude_expsyms
75347
75348 # Symbols that must always be exported.
75349 include_expsyms=$lt_include_expsyms
75350
75351 # Commands necessary for linking programs (against libraries) with templates.
75352 prelink_cmds=$lt_prelink_cmds
75353
75354 # Specify filename containing input files.
75355 file_list_spec=$lt_file_list_spec
75356
75357 # How to hardcode a shared library path into an executable.
75358 hardcode_action=$hardcode_action
75359
75360 # The directories searched by this compiler when creating a shared library.
75361 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75362
75363 # Dependencies to place before and after the objects being linked to
75364 # create a shared library.
75365 predep_objects=$lt_predep_objects
75366 postdep_objects=$lt_postdep_objects
75367 predeps=$lt_predeps
75368 postdeps=$lt_postdeps
75369
75370 # The library search path used internally by the compiler when linking
75371 # a shared library.
75372 compiler_lib_search_path=$lt_compiler_lib_search_path
75373
75374 # ### END LIBTOOL CONFIG
75375
75376 _LT_EOF
75377
75378   case $host_os in
75379   aix3*)
75380     cat <<\_LT_EOF >> "$cfgfile"
75381 # AIX sometimes has problems with the GCC collect2 program.  For some
75382 # reason, if we set the COLLECT_NAMES environment variable, the problems
75383 # vanish in a puff of smoke.
75384 if test "X${COLLECT_NAMES+set}" != Xset; then
75385   COLLECT_NAMES=
75386   export COLLECT_NAMES
75387 fi
75388 _LT_EOF
75389     ;;
75390   esac
75391
75392
75393 ltmain="$ac_aux_dir/ltmain.sh"
75394
75395
75396   # We use sed instead of cat because bash on DJGPP gets confused if
75397   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
75398   # text mode, it properly converts lines to CR/LF.  This bash problem
75399   # is reportedly fixed, but why not run on old versions too?
75400   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75401     || (rm -f "$cfgfile"; exit 1)
75402
75403   case $xsi_shell in
75404   yes)
75405     cat << \_LT_EOF >> "$cfgfile"
75406
75407 # func_dirname file append nondir_replacement
75408 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75409 # otherwise set result to NONDIR_REPLACEMENT.
75410 func_dirname ()
75411 {
75412   case ${1} in
75413     */*) func_dirname_result="${1%/*}${2}" ;;
75414     *  ) func_dirname_result="${3}" ;;
75415   esac
75416 }
75417
75418 # func_basename file
75419 func_basename ()
75420 {
75421   func_basename_result="${1##*/}"
75422 }
75423
75424 # func_dirname_and_basename file append nondir_replacement
75425 # perform func_basename and func_dirname in a single function
75426 # call:
75427 #   dirname:  Compute the dirname of FILE.  If nonempty,
75428 #             add APPEND to the result, otherwise set result
75429 #             to NONDIR_REPLACEMENT.
75430 #             value returned in "$func_dirname_result"
75431 #   basename: Compute filename of FILE.
75432 #             value retuned in "$func_basename_result"
75433 # Implementation must be kept synchronized with func_dirname
75434 # and func_basename. For efficiency, we do not delegate to
75435 # those functions but instead duplicate the functionality here.
75436 func_dirname_and_basename ()
75437 {
75438   case ${1} in
75439     */*) func_dirname_result="${1%/*}${2}" ;;
75440     *  ) func_dirname_result="${3}" ;;
75441   esac
75442   func_basename_result="${1##*/}"
75443 }
75444
75445 # func_stripname prefix suffix name
75446 # strip PREFIX and SUFFIX off of NAME.
75447 # PREFIX and SUFFIX must not contain globbing or regex special
75448 # characters, hashes, percent signs, but SUFFIX may contain a leading
75449 # dot (in which case that matches only a dot).
75450 func_stripname ()
75451 {
75452   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75453   # positional parameters, so assign one to ordinary parameter first.
75454   func_stripname_result=${3}
75455   func_stripname_result=${func_stripname_result#"${1}"}
75456   func_stripname_result=${func_stripname_result%"${2}"}
75457 }
75458
75459 # func_opt_split
75460 func_opt_split ()
75461 {
75462   func_opt_split_opt=${1%%=*}
75463   func_opt_split_arg=${1#*=}
75464 }
75465
75466 # func_lo2o object
75467 func_lo2o ()
75468 {
75469   case ${1} in
75470     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75471     *)    func_lo2o_result=${1} ;;
75472   esac
75473 }
75474
75475 # func_xform libobj-or-source
75476 func_xform ()
75477 {
75478   func_xform_result=${1%.*}.lo
75479 }
75480
75481 # func_arith arithmetic-term...
75482 func_arith ()
75483 {
75484   func_arith_result=$(( $* ))
75485 }
75486
75487 # func_len string
75488 # STRING may not start with a hyphen.
75489 func_len ()
75490 {
75491   func_len_result=${#1}
75492 }
75493
75494 _LT_EOF
75495     ;;
75496   *) # Bourne compatible functions.
75497     cat << \_LT_EOF >> "$cfgfile"
75498
75499 # func_dirname file append nondir_replacement
75500 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75501 # otherwise set result to NONDIR_REPLACEMENT.
75502 func_dirname ()
75503 {
75504   # Extract subdirectory from the argument.
75505   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75506   if test "X$func_dirname_result" = "X${1}"; then
75507     func_dirname_result="${3}"
75508   else
75509     func_dirname_result="$func_dirname_result${2}"
75510   fi
75511 }
75512
75513 # func_basename file
75514 func_basename ()
75515 {
75516   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75517 }
75518
75519
75520 # func_stripname prefix suffix name
75521 # strip PREFIX and SUFFIX off of NAME.
75522 # PREFIX and SUFFIX must not contain globbing or regex special
75523 # characters, hashes, percent signs, but SUFFIX may contain a leading
75524 # dot (in which case that matches only a dot).
75525 # func_strip_suffix prefix name
75526 func_stripname ()
75527 {
75528   case ${2} in
75529     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75530     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75531   esac
75532 }
75533
75534 # sed scripts:
75535 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75536 my_sed_long_arg='1s/^-[^=]*=//'
75537
75538 # func_opt_split
75539 func_opt_split ()
75540 {
75541   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75542   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75543 }
75544
75545 # func_lo2o object
75546 func_lo2o ()
75547 {
75548   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75549 }
75550
75551 # func_xform libobj-or-source
75552 func_xform ()
75553 {
75554   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75555 }
75556
75557 # func_arith arithmetic-term...
75558 func_arith ()
75559 {
75560   func_arith_result=`expr "$@"`
75561 }
75562
75563 # func_len string
75564 # STRING may not start with a hyphen.
75565 func_len ()
75566 {
75567   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75568 }
75569
75570 _LT_EOF
75571 esac
75572
75573 case $lt_shell_append in
75574   yes)
75575     cat << \_LT_EOF >> "$cfgfile"
75576
75577 # func_append var value
75578 # Append VALUE to the end of shell variable VAR.
75579 func_append ()
75580 {
75581   eval "$1+=\$2"
75582 }
75583 _LT_EOF
75584     ;;
75585   *)
75586     cat << \_LT_EOF >> "$cfgfile"
75587
75588 # func_append var value
75589 # Append VALUE to the end of shell variable VAR.
75590 func_append ()
75591 {
75592   eval "$1=\$$1\$2"
75593 }
75594
75595 _LT_EOF
75596     ;;
75597   esac
75598
75599
75600   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75601     || (rm -f "$cfgfile"; exit 1)
75602
75603   mv -f "$cfgfile" "$ofile" ||
75604     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75605   chmod +x "$ofile"
75606
75607
75608     cat <<_LT_EOF >> "$ofile"
75609
75610 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75611
75612 # The linker used to build libraries.
75613 LD=$lt_LD_CXX
75614
75615 # How to create reloadable object files.
75616 reload_flag=$lt_reload_flag_CXX
75617 reload_cmds=$lt_reload_cmds_CXX
75618
75619 # Commands used to build an old-style archive.
75620 old_archive_cmds=$lt_old_archive_cmds_CXX
75621
75622 # A language specific compiler.
75623 CC=$lt_compiler_CXX
75624
75625 # Is the compiler the GNU compiler?
75626 with_gcc=$GCC_CXX
75627
75628 # Compiler flag to turn off builtin functions.
75629 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75630
75631 # How to pass a linker flag through the compiler.
75632 wl=$lt_lt_prog_compiler_wl_CXX
75633
75634 # Additional compiler flags for building library objects.
75635 pic_flag=$lt_lt_prog_compiler_pic_CXX
75636
75637 # Compiler flag to prevent dynamic linking.
75638 link_static_flag=$lt_lt_prog_compiler_static_CXX
75639
75640 # Does compiler simultaneously support -c and -o options?
75641 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75642
75643 # Whether or not to add -lc for building shared libraries.
75644 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75645
75646 # Whether or not to disallow shared libs when runtime libs are static.
75647 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75648
75649 # Compiler flag to allow reflexive dlopens.
75650 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75651
75652 # Compiler flag to generate shared objects directly from archives.
75653 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75654
75655 # Whether the compiler copes with passing no objects directly.
75656 compiler_needs_object=$lt_compiler_needs_object_CXX
75657
75658 # Create an old-style archive from a shared archive.
75659 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75660
75661 # Create a temporary old-style archive to link instead of a shared archive.
75662 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75663
75664 # Commands used to build a shared archive.
75665 archive_cmds=$lt_archive_cmds_CXX
75666 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75667
75668 # Commands used to build a loadable module if different from building
75669 # a shared archive.
75670 module_cmds=$lt_module_cmds_CXX
75671 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75672
75673 # Whether we are building with GNU ld or not.
75674 with_gnu_ld=$lt_with_gnu_ld_CXX
75675
75676 # Flag that allows shared libraries with undefined symbols to be built.
75677 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75678
75679 # Flag that enforces no undefined symbols.
75680 no_undefined_flag=$lt_no_undefined_flag_CXX
75681
75682 # Flag to hardcode \$libdir into a binary during linking.
75683 # This must work even if \$libdir does not exist
75684 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75685
75686 # If ld is used when linking, flag to hardcode \$libdir into a binary
75687 # during linking.  This must work even if \$libdir does not exist.
75688 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75689
75690 # Whether we need a single "-rpath" flag with a separated argument.
75691 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75692
75693 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75694 # DIR into the resulting binary.
75695 hardcode_direct=$hardcode_direct_CXX
75696
75697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75698 # DIR into the resulting binary and the resulting library dependency is
75699 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75700 # library is relocated.
75701 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75702
75703 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75704 # into the resulting binary.
75705 hardcode_minus_L=$hardcode_minus_L_CXX
75706
75707 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75708 # into the resulting binary.
75709 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75710
75711 # Set to "yes" if building a shared library automatically hardcodes DIR
75712 # into the library and all subsequent libraries and executables linked
75713 # against it.
75714 hardcode_automatic=$hardcode_automatic_CXX
75715
75716 # Set to yes if linker adds runtime paths of dependent libraries
75717 # to runtime path list.
75718 inherit_rpath=$inherit_rpath_CXX
75719
75720 # Whether libtool must link a program against all its dependency libraries.
75721 link_all_deplibs=$link_all_deplibs_CXX
75722
75723 # Fix the shell variable \$srcfile for the compiler.
75724 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75725
75726 # Set to "yes" if exported symbols are required.
75727 always_export_symbols=$always_export_symbols_CXX
75728
75729 # The commands to list exported symbols.
75730 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75731
75732 # Symbols that should not be listed in the preloaded symbols.
75733 exclude_expsyms=$lt_exclude_expsyms_CXX
75734
75735 # Symbols that must always be exported.
75736 include_expsyms=$lt_include_expsyms_CXX
75737
75738 # Commands necessary for linking programs (against libraries) with templates.
75739 prelink_cmds=$lt_prelink_cmds_CXX
75740
75741 # Specify filename containing input files.
75742 file_list_spec=$lt_file_list_spec_CXX
75743
75744 # How to hardcode a shared library path into an executable.
75745 hardcode_action=$hardcode_action_CXX
75746
75747 # The directories searched by this compiler when creating a shared library.
75748 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75749
75750 # Dependencies to place before and after the objects being linked to
75751 # create a shared library.
75752 predep_objects=$lt_predep_objects_CXX
75753 postdep_objects=$lt_postdep_objects_CXX
75754 predeps=$lt_predeps_CXX
75755 postdeps=$lt_postdeps_CXX
75756
75757 # The library search path used internally by the compiler when linking
75758 # a shared library.
75759 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75760
75761 # ### END LIBTOOL TAG CONFIG: CXX
75762 _LT_EOF
75763
75764  ;;
75765     "include/gstdint.h":C)
75766 if test "$GCC" = yes; then
75767   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75768 else
75769   echo "/* generated for $CC */" > tmp-stdint.h
75770 fi
75771
75772 sed 's/^ *//' >> tmp-stdint.h <<EOF
75773
75774   #ifndef GCC_GENERATED_STDINT_H
75775   #define GCC_GENERATED_STDINT_H 1
75776
75777   #include <sys/types.h>
75778 EOF
75779
75780 if test "$acx_cv_header_stdint" != stdint.h; then
75781   echo "#include <stddef.h>" >> tmp-stdint.h
75782 fi
75783 if test "$acx_cv_header_stdint" != stddef.h; then
75784   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75785 fi
75786
75787 sed 's/^ *//' >> tmp-stdint.h <<EOF
75788   /* glibc uses these symbols as guards to prevent redefinitions.  */
75789   #ifdef __int8_t_defined
75790   #define _INT8_T
75791   #define _INT16_T
75792   #define _INT32_T
75793   #endif
75794   #ifdef __uint32_t_defined
75795   #define _UINT32_T
75796   #endif
75797
75798 EOF
75799
75800 # ----------------- done header, emit basic int types -------------
75801 if test "$acx_cv_header_stdint" = stddef.h; then
75802   sed 's/^ *//' >> tmp-stdint.h <<EOF
75803
75804     #ifndef _UINT8_T
75805     #define _UINT8_T
75806     #ifndef __uint8_t_defined
75807     #define __uint8_t_defined
75808     #ifndef uint8_t
75809     typedef unsigned $acx_cv_type_int8_t uint8_t;
75810     #endif
75811     #endif
75812     #endif
75813
75814     #ifndef _UINT16_T
75815     #define _UINT16_T
75816     #ifndef __uint16_t_defined
75817     #define __uint16_t_defined
75818     #ifndef uint16_t
75819     typedef unsigned $acx_cv_type_int16_t uint16_t;
75820     #endif
75821     #endif
75822     #endif
75823
75824     #ifndef _UINT32_T
75825     #define _UINT32_T
75826     #ifndef __uint32_t_defined
75827     #define __uint32_t_defined
75828     #ifndef uint32_t
75829     typedef unsigned $acx_cv_type_int32_t uint32_t;
75830     #endif
75831     #endif
75832     #endif
75833
75834     #ifndef _INT8_T
75835     #define _INT8_T
75836     #ifndef __int8_t_defined
75837     #define __int8_t_defined
75838     #ifndef int8_t
75839     typedef $acx_cv_type_int8_t int8_t;
75840     #endif
75841     #endif
75842     #endif
75843
75844     #ifndef _INT16_T
75845     #define _INT16_T
75846     #ifndef __int16_t_defined
75847     #define __int16_t_defined
75848     #ifndef int16_t
75849     typedef $acx_cv_type_int16_t int16_t;
75850     #endif
75851     #endif
75852     #endif
75853
75854     #ifndef _INT32_T
75855     #define _INT32_T
75856     #ifndef __int32_t_defined
75857     #define __int32_t_defined
75858     #ifndef int32_t
75859     typedef $acx_cv_type_int32_t int32_t;
75860     #endif
75861     #endif
75862     #endif
75863 EOF
75864 elif test "$ac_cv_type_u_int32_t" = yes; then
75865   sed 's/^ *//' >> tmp-stdint.h <<EOF
75866
75867     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75868     #ifndef _INT8_T
75869     #define _INT8_T
75870     #endif
75871     #ifndef _INT16_T
75872     #define _INT16_T
75873     #endif
75874     #ifndef _INT32_T
75875     #define _INT32_T
75876     #endif
75877
75878     #ifndef _UINT8_T
75879     #define _UINT8_T
75880     #ifndef __uint8_t_defined
75881     #define __uint8_t_defined
75882     #ifndef uint8_t
75883     typedef u_int8_t uint8_t;
75884     #endif
75885     #endif
75886     #endif
75887
75888     #ifndef _UINT16_T
75889     #define _UINT16_T
75890     #ifndef __uint16_t_defined
75891     #define __uint16_t_defined
75892     #ifndef uint16_t
75893     typedef u_int16_t uint16_t;
75894     #endif
75895     #endif
75896     #endif
75897
75898     #ifndef _UINT32_T
75899     #define _UINT32_T
75900     #ifndef __uint32_t_defined
75901     #define __uint32_t_defined
75902     #ifndef uint32_t
75903     typedef u_int32_t uint32_t;
75904     #endif
75905     #endif
75906     #endif
75907 EOF
75908 else
75909   sed 's/^ *//' >> tmp-stdint.h <<EOF
75910
75911     /* Some systems have guard macros to prevent redefinitions, define them.  */
75912     #ifndef _INT8_T
75913     #define _INT8_T
75914     #endif
75915     #ifndef _INT16_T
75916     #define _INT16_T
75917     #endif
75918     #ifndef _INT32_T
75919     #define _INT32_T
75920     #endif
75921     #ifndef _UINT8_T
75922     #define _UINT8_T
75923     #endif
75924     #ifndef _UINT16_T
75925     #define _UINT16_T
75926     #endif
75927     #ifndef _UINT32_T
75928     #define _UINT32_T
75929     #endif
75930 EOF
75931 fi
75932
75933 # ------------- done basic int types, emit int64_t types ------------
75934 if test "$ac_cv_type_uint64_t" = yes; then
75935   sed 's/^ *//' >> tmp-stdint.h <<EOF
75936
75937     /* system headers have good uint64_t and int64_t */
75938     #ifndef _INT64_T
75939     #define _INT64_T
75940     #endif
75941     #ifndef _UINT64_T
75942     #define _UINT64_T
75943     #endif
75944 EOF
75945 elif test "$ac_cv_type_u_int64_t" = yes; then
75946   sed 's/^ *//' >> tmp-stdint.h <<EOF
75947
75948     /* system headers have an u_int64_t (and int64_t) */
75949     #ifndef _INT64_T
75950     #define _INT64_T
75951     #endif
75952     #ifndef _UINT64_T
75953     #define _UINT64_T
75954     #ifndef __uint64_t_defined
75955     #define __uint64_t_defined
75956     #ifndef uint64_t
75957     typedef u_int64_t uint64_t;
75958     #endif
75959     #endif
75960     #endif
75961 EOF
75962 elif test -n "$acx_cv_type_int64_t"; then
75963   sed 's/^ *//' >> tmp-stdint.h <<EOF
75964
75965     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
75966     #ifndef _INT64_T
75967     #define _INT64_T
75968     #ifndef int64_t
75969     typedef $acx_cv_type_int64_t int64_t;
75970     #endif
75971     #endif
75972     #ifndef _UINT64_T
75973     #define _UINT64_T
75974     #ifndef __uint64_t_defined
75975     #define __uint64_t_defined
75976     #ifndef uint64_t
75977     typedef unsigned $acx_cv_type_int64_t uint64_t;
75978     #endif
75979     #endif
75980     #endif
75981 EOF
75982 else
75983   sed 's/^ *//' >> tmp-stdint.h <<EOF
75984
75985     /* some common heuristics for int64_t, using compiler-specific tests */
75986     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
75987     #ifndef _INT64_T
75988     #define _INT64_T
75989     #ifndef __int64_t_defined
75990     #ifndef int64_t
75991     typedef long long int64_t;
75992     #endif
75993     #endif
75994     #endif
75995     #ifndef _UINT64_T
75996     #define _UINT64_T
75997     #ifndef uint64_t
75998     typedef unsigned long long uint64_t;
75999     #endif
76000     #endif
76001
76002     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76003     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76004        does not implement __extension__.  But that compiler doesn't define
76005        __GNUC_MINOR__.  */
76006     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76007     # define __extension__
76008     # endif
76009
76010     # ifndef _INT64_T
76011     # define _INT64_T
76012     # ifndef int64_t
76013     __extension__ typedef long long int64_t;
76014     # endif
76015     # endif
76016     # ifndef _UINT64_T
76017     # define _UINT64_T
76018     # ifndef uint64_t
76019     __extension__ typedef unsigned long long uint64_t;
76020     # endif
76021     # endif
76022
76023     #elif !defined __STRICT_ANSI__
76024     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76025
76026     #  ifndef _INT64_T
76027     #  define _INT64_T
76028     #  ifndef int64_t
76029     typedef __int64 int64_t;
76030     #  endif
76031     #  endif
76032     #  ifndef _UINT64_T
76033     #  define _UINT64_T
76034     #  ifndef uint64_t
76035     typedef unsigned __int64 uint64_t;
76036     #  endif
76037     #  endif
76038     # endif /* compiler */
76039
76040     #endif /* ANSI version */
76041 EOF
76042 fi
76043
76044 # ------------- done int64_t types, emit intptr types ------------
76045 if test "$ac_cv_type_uintptr_t" != yes; then
76046   sed 's/^ *//' >> tmp-stdint.h <<EOF
76047
76048     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76049     #ifndef __uintptr_t_defined
76050     #ifndef uintptr_t
76051     typedef u$acx_cv_type_intptr_t uintptr_t;
76052     #endif
76053     #endif
76054     #ifndef __intptr_t_defined
76055     #ifndef intptr_t
76056     typedef $acx_cv_type_intptr_t  intptr_t;
76057     #endif
76058     #endif
76059 EOF
76060 fi
76061
76062 # ------------- done intptr types, emit int_least types ------------
76063 if test "$ac_cv_type_int_least32_t" != yes; then
76064   sed 's/^ *//' >> tmp-stdint.h <<EOF
76065
76066     /* Define int_least types */
76067     typedef int8_t     int_least8_t;
76068     typedef int16_t    int_least16_t;
76069     typedef int32_t    int_least32_t;
76070     #ifdef _INT64_T
76071     typedef int64_t    int_least64_t;
76072     #endif
76073
76074     typedef uint8_t    uint_least8_t;
76075     typedef uint16_t   uint_least16_t;
76076     typedef uint32_t   uint_least32_t;
76077     #ifdef _UINT64_T
76078     typedef uint64_t   uint_least64_t;
76079     #endif
76080 EOF
76081 fi
76082
76083 # ------------- done intptr types, emit int_fast types ------------
76084 if test "$ac_cv_type_int_fast32_t" != yes; then
76085       sed 's/^ *//' >> tmp-stdint.h <<EOF
76086
76087     /* Define int_fast types.  short is often slow */
76088     typedef int8_t       int_fast8_t;
76089     typedef int          int_fast16_t;
76090     typedef int32_t      int_fast32_t;
76091     #ifdef _INT64_T
76092     typedef int64_t      int_fast64_t;
76093     #endif
76094
76095     typedef uint8_t      uint_fast8_t;
76096     typedef unsigned int uint_fast16_t;
76097     typedef uint32_t     uint_fast32_t;
76098     #ifdef _UINT64_T
76099     typedef uint64_t     uint_fast64_t;
76100     #endif
76101 EOF
76102 fi
76103
76104 if test "$ac_cv_type_uintmax_t" != yes; then
76105   sed 's/^ *//' >> tmp-stdint.h <<EOF
76106
76107     /* Define intmax based on what we found */
76108     #ifndef intmax_t
76109     #ifdef _INT64_T
76110     typedef int64_t       intmax_t;
76111     #else
76112     typedef long          intmax_t;
76113     #endif
76114     #endif
76115     #ifndef uintmax_t
76116     #ifdef _UINT64_T
76117     typedef uint64_t      uintmax_t;
76118     #else
76119     typedef unsigned long uintmax_t;
76120     #endif
76121     #endif
76122 EOF
76123 fi
76124
76125 sed 's/^ *//' >> tmp-stdint.h <<EOF
76126
76127   #endif /* GCC_GENERATED_STDINT_H */
76128 EOF
76129
76130 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76131   rm -f tmp-stdint.h
76132 else
76133   mv -f tmp-stdint.h include/gstdint.h
76134 fi
76135
76136  ;;
76137     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76138     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76139     "include/Makefile":F) cat > vpsed$$ << \_EOF
76140 s!`test -f '$<' || echo '$(srcdir)/'`!!
76141 _EOF
76142    sed -f vpsed$$ $ac_file > tmp$$
76143    mv tmp$$ $ac_file
76144    rm vpsed$$
76145    echo 'MULTISUBDIR =' >> $ac_file
76146    ml_norecursion=yes
76147    . ${multi_basedir}/config-ml.in
76148    { ml_norecursion=; unset ml_norecursion;}
76149  ;;
76150     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76151 s!`test -f '$<' || echo '$(srcdir)/'`!!
76152 _EOF
76153    sed -f vpsed$$ $ac_file > tmp$$
76154    mv tmp$$ $ac_file
76155    rm vpsed$$
76156    echo 'MULTISUBDIR =' >> $ac_file
76157    ml_norecursion=yes
76158    . ${multi_basedir}/config-ml.in
76159    { ml_norecursion=; unset ml_norecursion;}
76160  ;;
76161     "src/Makefile":F) cat > vpsed$$ << \_EOF
76162 s!`test -f '$<' || echo '$(srcdir)/'`!!
76163 _EOF
76164    sed -f vpsed$$ $ac_file > tmp$$
76165    mv tmp$$ $ac_file
76166    rm vpsed$$
76167    echo 'MULTISUBDIR =' >> $ac_file
76168    ml_norecursion=yes
76169    . ${multi_basedir}/config-ml.in
76170    { ml_norecursion=; unset ml_norecursion;}
76171  ;;
76172     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76173 s!`test -f '$<' || echo '$(srcdir)/'`!!
76174 _EOF
76175    sed -f vpsed$$ $ac_file > tmp$$
76176    mv tmp$$ $ac_file
76177    rm vpsed$$
76178    echo 'MULTISUBDIR =' >> $ac_file
76179    ml_norecursion=yes
76180    . ${multi_basedir}/config-ml.in
76181    { ml_norecursion=; unset ml_norecursion;}
76182  ;;
76183     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76184 s!`test -f '$<' || echo '$(srcdir)/'`!!
76185 _EOF
76186    sed -f vpsed$$ $ac_file > tmp$$
76187    mv tmp$$ $ac_file
76188    rm vpsed$$
76189    echo 'MULTISUBDIR =' >> $ac_file
76190    ml_norecursion=yes
76191    . ${multi_basedir}/config-ml.in
76192    { ml_norecursion=; unset ml_norecursion;}
76193  ;;
76194     "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
76195 s!`test -f '$<' || echo '$(srcdir)/'`!!
76196 _EOF
76197    sed -f vpsed$$ $ac_file > tmp$$
76198    mv tmp$$ $ac_file
76199    rm vpsed$$
76200    echo 'MULTISUBDIR =' >> $ac_file
76201    ml_norecursion=yes
76202    . ${multi_basedir}/config-ml.in
76203    { ml_norecursion=; unset ml_norecursion;}
76204  ;;
76205     "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
76206 s!`test -f '$<' || echo '$(srcdir)/'`!!
76207 _EOF
76208    sed -f vpsed$$ $ac_file > tmp$$
76209    mv tmp$$ $ac_file
76210    rm vpsed$$
76211    echo 'MULTISUBDIR =' >> $ac_file
76212    ml_norecursion=yes
76213    . ${multi_basedir}/config-ml.in
76214    { ml_norecursion=; unset ml_norecursion;}
76215  ;;
76216     "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
76217 s!`test -f '$<' || echo '$(srcdir)/'`!!
76218 _EOF
76219    sed -f vpsed$$ $ac_file > tmp$$
76220    mv tmp$$ $ac_file
76221    rm vpsed$$
76222    echo 'MULTISUBDIR =' >> $ac_file
76223    ml_norecursion=yes
76224    . ${multi_basedir}/config-ml.in
76225    { ml_norecursion=; unset ml_norecursion;}
76226  ;;
76227     "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
76228 s!`test -f '$<' || echo '$(srcdir)/'`!!
76229 _EOF
76230    sed -f vpsed$$ $ac_file > tmp$$
76231    mv tmp$$ $ac_file
76232    rm vpsed$$
76233    echo 'MULTISUBDIR =' >> $ac_file
76234    ml_norecursion=yes
76235    . ${multi_basedir}/config-ml.in
76236    { ml_norecursion=; unset ml_norecursion;}
76237  ;;
76238     "doc/Makefile":F) cat > vpsed$$ << \_EOF
76239 s!`test -f '$<' || echo '$(srcdir)/'`!!
76240 _EOF
76241    sed -f vpsed$$ $ac_file > tmp$$
76242    mv tmp$$ $ac_file
76243    rm vpsed$$
76244    echo 'MULTISUBDIR =' >> $ac_file
76245    ml_norecursion=yes
76246    . ${multi_basedir}/config-ml.in
76247    { ml_norecursion=; unset ml_norecursion;}
76248  ;;
76249     "po/Makefile":F) cat > vpsed$$ << \_EOF
76250 s!`test -f '$<' || echo '$(srcdir)/'`!!
76251 _EOF
76252    sed -f vpsed$$ $ac_file > tmp$$
76253    mv tmp$$ $ac_file
76254    rm vpsed$$
76255    echo 'MULTISUBDIR =' >> $ac_file
76256    ml_norecursion=yes
76257    . ${multi_basedir}/config-ml.in
76258    { ml_norecursion=; unset ml_norecursion;}
76259  ;;
76260     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76261 s!`test -f '$<' || echo '$(srcdir)/'`!!
76262 _EOF
76263    sed -f vpsed$$ $ac_file > tmp$$
76264    mv tmp$$ $ac_file
76265    rm vpsed$$
76266    echo 'MULTISUBDIR =' >> $ac_file
76267    ml_norecursion=yes
76268    . ${multi_basedir}/config-ml.in
76269    { ml_norecursion=; unset ml_norecursion;}
76270  ;;
76271     "python/Makefile":F) cat > vpsed$$ << \_EOF
76272 s!`test -f '$<' || echo '$(srcdir)/'`!!
76273 _EOF
76274    sed -f vpsed$$ $ac_file > tmp$$
76275    mv tmp$$ $ac_file
76276    rm vpsed$$
76277    echo 'MULTISUBDIR =' >> $ac_file
76278    ml_norecursion=yes
76279    . ${multi_basedir}/config-ml.in
76280    { ml_norecursion=; unset ml_norecursion;}
76281  ;;
76282     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76283
76284   esac
76285 done # for ac_tag
76286
76287
76288 as_fn_exit 0
76289 _ACEOF
76290 ac_clean_files=$ac_clean_files_save
76291
76292 test $ac_write_fail = 0 ||
76293   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
76294
76295
76296 # configure is writing to config.log, and then calls config.status.
76297 # config.status does its own redirection, appending to config.log.
76298 # Unfortunately, on DOS this fails, as config.log is still kept open
76299 # by configure, so config.status won't be able to write to it; its
76300 # output is simply discarded.  So we exec the FD to /dev/null,
76301 # effectively closing config.log, so it can be properly (re)opened and
76302 # appended to by config.status.  When coming back to configure, we
76303 # need to make the FD available again.
76304 if test "$no_create" != yes; then
76305   ac_cs_success=:
76306   ac_config_status_args=
76307   test "$silent" = yes &&
76308     ac_config_status_args="$ac_config_status_args --quiet"
76309   exec 5>/dev/null
76310   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76311   exec 5>>config.log
76312   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76313   # would make configure fail if this is the last instruction.
76314   $ac_cs_success || as_fn_exit 1
76315 fi
76316 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76317   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76318 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76319 fi
76320